Q84 — AWS DOP-C02 Ch.1

Question 84 of 100 | ← Chapter 1

A company has a local application written in Go. A DevOps engineer wants to migrate the application to AWS. The company’s development team wants to enable blue/green deployments and perform A/B testing.

Correct Answer: D. Use AWS Elastic Beanstalk to host the application. Store the compressed version of the application in Amazon S3. Deploy new versions of the application using that location. Use Elastic Beanstalk to manage deployment options.

Explanation

AWS Elastic Beanstalk natively supports blue/green deployments and A/B testing via built-in environment swapping and traffic splitting capabilities. It abstracts infrastructure management while allowing seamless version rollouts and rollback. Option D leverages Elastic Beanstalk’s integrated deployment features—including S3-stored application bundles and configurable deployment policies—without requiring custom orchestration. Option A lacks native blue/green support and relies on manual AMI updates and instance refreshes. Option B uses Lightsail, which does not support blue/green deployments or A/B testing. Option C requires extensive custom setup with CodeDeploy and load balancer configuration to simulate blue/green behavior, increasing complexity and operational overhead. Elastic Beanstalk is the most appropriate managed service for this use case.