AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 160

A DevOps engineer wants to find a solution to migrate an application from on premises to AWS. The application is running on Linux and needs to run on specific versions of Apache Tomcat, HAProxy, and Varnish Cache to function properly. The application's operating system-level parameters require tuning. The solution must include a way to automate the deployment of new application versions. The infrastructure should be scalable and faulty servers should be replaced automatically.

Which solution should the DevOps engineer use?

Answer options

Correct answer: D

Explanation

The correct answer is D because it uses AWS CodeDeploy with an Auto Scaling group, allowing for automated deployment and management of application versions while ensuring scalability and fault tolerance. Options A, B, and C do not fully meet the requirement for automatic replacement of faulty servers or the specific software version management needed for this application.