0
0
Terraformcloud~5 mins

Zero-downtime deployment pattern in Terraform - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the main goal of the zero-downtime deployment pattern?
To update applications or services without interrupting user access or causing service downtime.
Click to reveal answer
intermediate
How does blue-green deployment help achieve zero downtime?
It runs two identical environments (blue and green). Traffic switches from the old to the new environment only after the new one is fully ready.
Click to reveal answer
beginner
What role does a load balancer play in zero-downtime deployments?
It directs user traffic to healthy instances and can shift traffic gradually to new versions without downtime.
Click to reveal answer
intermediate
Why is health checking important in zero-downtime deployments?
Health checks ensure that only healthy instances receive traffic, preventing users from hitting broken or incomplete deployments.
Click to reveal answer
intermediate
In Terraform, what resource type can help manage zero-downtime deployments for compute instances?
Resources like 'aws_autoscaling_group' or 'google_compute_instance_group_manager' can manage rolling updates to avoid downtime.
Click to reveal answer
Which deployment strategy involves running two identical environments and switching traffic between them?
ARecreate deployment
BCanary deployment
CShadow deployment
DBlue-green deployment
What is the purpose of health checks during zero-downtime deployment?
ATo backup data automatically
BTo speed up deployment time
CTo verify instances are ready before receiving traffic
DTo delete old instances immediately
In Terraform, which resource helps perform rolling updates to avoid downtime?
Aaws_autoscaling_group
Baws_s3_bucket
Caws_lambda_function
Daws_vpc
What does zero-downtime deployment aim to prevent?
AFaster deployment times
BService interruptions during updates
CIncreased server costs
DManual configuration
Which component typically shifts user traffic between old and new versions in zero-downtime deployments?
ALoad balancer
BDatabase
CFirewall
DDNS server
Explain how blue-green deployment works to achieve zero downtime.
Think of having a backup environment ready before switching.
You got /3 concepts.
    Describe the role of health checks and load balancers in zero-downtime deployments.
    Consider how traffic is managed safely during changes.
    You got /3 concepts.