For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeAWS Solutions Architect Professional (SAP-C02)AWS Solutions Architect Professional SAP-C02 Practice Exam 6Question 21
    Hard1 markMultiple Choice
    Domain 2.1: Deployment StrategyDeploymentCloudFormationCI/CD

    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:

    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
    Use AWS CloudFormation StackSets integrated with AWS CodePipeline. Configure the pipeline to halt and trigger a rollback script on failure.
    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).
    Question 20All questionsQuestion 22

    Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 6

    75 questions · hints · full answers · grading

    Sign up freeTake the exam

    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
    View all 75 questions →