0
0
Jenkinsdevops~5 mins

Agent types (permanent, cloud) in Jenkins - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a permanent agent in Jenkins?
A permanent agent is a Jenkins node that is always available and manually configured. It runs on a fixed machine and stays connected to the Jenkins master unless manually disconnected.
Click to reveal answer
beginner
What defines a cloud agent in Jenkins?
A cloud agent is a temporary Jenkins node created dynamically on cloud infrastructure. It spins up when needed for a job and is destroyed after the job finishes.
Click to reveal answer
intermediate
How does a cloud agent help optimize resources?
Cloud agents only run when jobs need them, so they save resources by not running all the time. This reduces costs and improves scalability.
Click to reveal answer
beginner
Name one key difference between permanent and cloud agents.
Permanent agents are always running and connected, while cloud agents are created and destroyed dynamically based on job demand.
Click to reveal answer
intermediate
Why might a team choose permanent agents over cloud agents?
Teams might choose permanent agents for stable, long-running environments or when cloud infrastructure is not available or too costly.
Click to reveal answer
What happens to a cloud agent after a Jenkins job finishes?
AIt disconnects but stays on the machine
BIt stays running indefinitely
CIt becomes a permanent agent
DIt is destroyed to save resources
Which agent type requires manual setup and stays connected to Jenkins?
APermanent agent
BDynamic agent
CEphemeral agent
DCloud agent
What is a main benefit of using cloud agents in Jenkins?
AThey reduce infrastructure costs by running only when needed
BThey provide permanent storage for builds
CThey require no network connection
DThey run on the Jenkins master machine
Which Jenkins agent type is best for long-running, stable workloads?
ACloud agent
BPermanent agent
CTemporary agent
DServerless agent
How does Jenkins typically create cloud agents?
ABy cloning permanent agents
BManually by the admin
CAutomatically via cloud plugins when jobs start
DBy running on the Jenkins master
Explain the differences between permanent and cloud agents in Jenkins.
Think about availability and resource management.
You got /4 concepts.
    Describe a scenario where using a cloud agent is better than a permanent agent.
    Consider cost and scalability benefits.
    You got /4 concepts.