Q7 — AWS DOP-C02 Ch.3
Question 7 of 100 | ← Chapter 3
A company has a legacy Go application deployment. DevOps engineers want to migrate the application to AWS. The company’s development team wants to enable blue/green deployments and perform A/B testing. Which solution meets these requirements?
- A. Deploy the application on Amazon EC2 instances and create an AMI from the instance. Use this AMI to create an Auto Scaling launch configuration used by an Auto Scaling group. Use an Elastic Load Balancer to distribute traffic. When changes are made to the application, create a new AMI, triggering EC2 instance refreshes.
- B. Deploy the application using Amazon Lightsail. Store the application in compressed format in an Amazon S3 bucket. Deploy new versions of the application to Lightsail using this compressed version. Use Lightsail deployment options to manage deployments.
- C. Use AWS CodeArtifact to store application code. Use AWS CodeDeploy to deploy the application to a set of Amazon EC2 instances. Use Elastic Load Balancing to route traffic to the EC2 instances. When changes are made to the application, upload the new version to CodeArtifact and create a new CodeDeploy deployment.
- D. Host the application using AWS Elastic Beanstalk. Store the compressed application version in Amazon S3 and deploy new versions using that location, managing deployments via Elastic Beanstalk. ✓
Correct Answer: D. Host the application using AWS Elastic Beanstalk. Store the compressed application version in Amazon S3 and deploy new versions using that location, managing deployments via Elastic Beanstalk.
Explanation
https://d1.awsstatic.com/whitepapers/AWS_Blue_Green_Deployments.pdf