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 5Question 43
    Medium1 markMultiple Choice
    Domain 2.1: Deployment StrategyDeploymentCodeDeployBlue/Green

    AWS SAP-C02 · Question 43 · Domain 2.1: Deployment Strategy

    A company is running a large-scale web application on Amazon EC2 instances behind an Application Load Balancer. They want to implement a blue/green deployment strategy to minimize downtime and risk during updates. The infrastructure is managed using AWS CloudFormation. Which approach requires the LEAST custom scripting and operational overhead?

    Answer options:

    A.

    Use AWS CodeDeploy to manage the blue/green deployment, integrating it with the existing ALB and Auto Scaling groups.

    B.

    Update the CloudFormation template to create a second Auto Scaling group. Manually update the ALB listener rules to shift traffic.

    C.

    Use Amazon Route 53 weighted routing to shift traffic between two separate ALBs.

    D.

    Migrate the application to AWS Elastic Beanstalk and use the 'Swap Environment URLs' feature.

    How to approach this question

    Identify the native AWS deployment service that handles blue/green traffic shifting for EC2.

    Full Answer

    A.Use AWS CodeDeploy to manage the blue/green deployment, integrating it with the existing ALB and Auto Scaling groups.✓ Correct
    AWS CodeDeploy automates application deployments to Amazon EC2 instances. It natively supports blue/green deployments. CodeDeploy provisions the new (green) Auto Scaling group, deploys the new application version, registers the new instances with the ALB, shifts the traffic according to your rules (e.g., all at once, or linearly), and can automatically roll back if health checks fail.

    Common mistakes

    Choosing Route 53, which is less reliable for fast traffic shifting due to client-side DNS caching.
    Question 42All questionsQuestion 44

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

    75 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01A global enterprise is redesigning its AWS network architecture across 50 AWS accounts and 3 AWS ...HardQ02A company uses AWS Organizations to manage multiple accounts. The security team mandates that no ...MediumQ03A financial institution requires a disaster recovery strategy for its critical trading applicatio...HardQ04An enterprise is setting up a new multi-account AWS environment using AWS Control Tower. They nee...MediumQ05A company has a complex AWS environment with hundreds of linked accounts under AWS Organizations....Hard
    View all 75 questions →