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?
Answer options:
Use AWS CodeDeploy to deploy to all regions simultaneously.
Use AWS CloudFormation StackSets integrated with AWS CodePipeline. Configure the pipeline to halt and trigger a rollback script on failure.
Write a bash script using the AWS CLI to run 'cdk deploy' in a loop.
Use AWS Systems Manager Automation to run CloudFormation templates.
75 questions · hints · full answers · grading