Hard1 markMultiple Choice
AWS SAP-C02 · Question 21 · Domain 2.1: Deployment Strategy
A development team uses AWS CDK to define their infrastructure. They need to deploy a new microservice across 5 different AWS Regions simultaneously. The deployment must automatically roll back in all regions if it fails in any single region. How should this be orchestrated?
A development team uses AWS CDK to define their infrastructure. They need to deploy a new microservice across 5 different AWS Regions simultaneously. The deployment must automatically roll back in all regions if it fails in any single region. How should this be orchestrated?
Answer options:
A.
Use AWS CodeDeploy to deploy to all regions simultaneously.
B.
Use AWS CloudFormation StackSets integrated with AWS CodePipeline. Configure the pipeline to halt and trigger a rollback script on failure.
C.
Write a bash script using the AWS CLI to run 'cdk deploy' in a loop.
D.
Use AWS Systems Manager Automation to run CloudFormation templates.
How to approach this question
Identify the service designed for multi-region infrastructure deployment.
Full Answer
B.Use AWS CloudFormation StackSets integrated with AWS CodePipeline. Configure the pipeline to halt and trigger a rollback script on failure.✓ Correct
AWS CloudFormation StackSets allow you to deploy infrastructure across multiple accounts and regions. CodePipeline can orchestrate this and handle complex rollback logic.
Common mistakes
Confusing CodeDeploy (app deployment) with CloudFormation (infrastructure deployment).
Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 6
75 questions · hints · full answers · grading
More questions from this exam
Q01A global enterprise requires highly available hybrid connectivity between its on-premises data ce...HardQ02An organization has 50 VPCs across two AWS Regions connected via Transit Gateways (TGW). The TGWs...HardQ03A company uses AWS Organizations. The network team wants to share a central Transit Gateway (TGW)...MediumQ04An enterprise has on-premises data centers in the US and Europe. They want to use the AWS global ...HardQ05A company requires that all API calls to Amazon S3 from their VPC must not traverse the public in...Medium
Expert