0
0
Jenkinsdevops~5 mins

Cloud agent provisioning (EC2, Azure) in Jenkins - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a cloud agent in Jenkins?
A cloud agent in Jenkins is a virtual machine or container that Jenkins provisions dynamically in the cloud (like EC2 or Azure) to run build jobs. It helps scale build capacity on demand.
Click to reveal answer
beginner
Name two popular cloud providers Jenkins can provision agents from.
Amazon EC2 (Elastic Compute Cloud) and Microsoft Azure are two popular cloud providers Jenkins can use to provision agents dynamically.
Click to reveal answer
intermediate
What Jenkins plugin is commonly used to provision EC2 agents?
The 'Amazon EC2 Plugin' is commonly used in Jenkins to provision EC2 instances as build agents automatically.
Click to reveal answer
intermediate
How does Jenkins authenticate to Azure to provision agents?
Jenkins uses Azure service principal credentials (client ID, secret, tenant ID) to authenticate and provision Azure virtual machines as agents.
Click to reveal answer
beginner
Why use cloud agent provisioning instead of static agents?
Cloud agent provisioning allows Jenkins to create agents only when needed, saving costs and resources by not running idle machines all the time.
Click to reveal answer
Which Jenkins plugin helps provision EC2 instances as build agents?
AAmazon EC2 Plugin
BAzure VM Agents Plugin
CDocker Plugin
DKubernetes Plugin
What credentials does Jenkins need to provision Azure agents?
ASSH key only
BAWS access key and secret
CGitHub personal access token
DAzure service principal credentials
What is a key benefit of using cloud agent provisioning in Jenkins?
AAgents run only when needed, saving cost
BAgents never need updates
CAgents are always offline
DAgents use physical hardware only
Which cloud provider is NOT typically used for Jenkins cloud agents?
AAmazon EC2
BMicrosoft Azure
CLocal desktop
DGoogle Cloud Platform
What is the first step to enable EC2 agent provisioning in Jenkins?
ACreate a Jenkins pipeline
BInstall the Amazon EC2 Plugin
CWrite a Dockerfile
DConfigure GitHub webhook
Explain how Jenkins provisions a cloud agent on EC2.
Think about the plugin, authentication, instance launch, and lifecycle.
You got /5 concepts.
    Describe the steps to configure Jenkins to provision agents on Azure.
    Focus on authentication, plugin, and VM template setup.
    You got /6 concepts.