Release Strategies Flashcards
7 cards from real AWS practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Release Strategies flashcards as text
A DevOps team wants to ensure that a new microservice release does not degrade the p99 latency of dependent services. Which release strategy combined with which AWS tool best addresses this?
Answer: Canary deployment with Amazon CloudWatch metric alarms and automatic CodeDeploy rollback
A canary deployment exposes the new version to limited traffic while CloudWatch alarms on p99 latency metrics trigger automatic CodeDeploy rollback if thresholds are breached.
What is the primary risk of using a 'rolling with additional batch' deployment policy in Elastic Beanstalk compared to a standard 'rolling' policy?
Answer: It temporarily runs more instances than the desired capacity, increasing cost
Rolling with additional batch launches extra instances to maintain full capacity during the update, which temporarily increases infrastructure cost compared to standard rolling.
During a CodeDeploy deployment using the 'CodeDeployDefault.ECSLinear10PercentEvery1Minutes' configuration, traffic fails health checks after the first shift. What happens next?
Answer: CodeDeploy automatically rolls back to the original task set
When health checks fail during an ECS linear deployment, CodeDeploy automatically triggers a rollback, restoring all traffic to the original (blue) task set.
A team maintains separate AWS accounts for dev, staging, and production. Which AWS service enables automated, policy-controlled promotion of CloudFormation stacks across these accounts as part of a release pipeline?
Answer: AWS CloudFormation StackSets with AWS Organizations
CloudFormation StackSets with AWS Organizations allow centrally deploying and updating stacks across multiple accounts and regions with delegated administration and deployment policies.
Which metric is MOST important to monitor during the bake period of a canary release for a database-backed web application?
Answer: Application-level error rate and database query latency from the canary group
Monitoring error rates and database query latency from the canary group reveals application regressions and data-layer performance issues before they affect all users.
In AWS CodePipeline, what is the role of an 'artifact' between pipeline stages?
Answer: An immutable package (stored in S3) that represents the output of one stage and serves as the input to the next
Artifacts are versioned files stored in S3 that carry build outputs, test results, or configuration from one pipeline stage to subsequent stages.
A company wants to minimize the time their production environment runs two versions simultaneously during a blue/green release. Which approach achieves this?
Answer: Automate traffic cutover as soon as canary health checks pass, then terminate the blue environment promptly
Automating the full cutover immediately after health checks pass and terminating the old environment promptly reduces dual-environment running time and associated costs.