Q46 — AWS DOP-C02 Ch.3

Question 46 of 100 | ← Chapter 3

A company has a Go-based internal application. A DevOps engineer is tasked with migrating 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 application version in Amazon S3. Deploy new application versions using this location. Use Elastic Beanstalk to manage deployment options.

Explanation

This question tests understanding of AWS deployment services and implementation of blue/green and A/B testing. AWS documentation states Elastic Beanstalk supports blue/green deployments and traffic distribution policies. Option D hosts the application via Elastic Beanstalk, deploys code packages directly from S3, and leverages built-in deployment strategy features for version switching. Other options fail to meet automated blue/green and A/B testing requirements: A relies on manual instance refreshes, B lacks native traffic splitting in Lightsail, and C combines CodeDeploy but introduces unnecessary complexity. Option D aligns with AWS best practices.