AWS Certified DevOps Engineer – Professional — Question 53

A company wants to use AWS development tools to replace its current bash deployment scripts. The company currently deploys a LAMP application to a group of
Amazon EC2 instances behind an Application Load Balancer (ALB). During the deployments, the company unit tests the committed application, stops and starts services, unregisters and re-registers instances with the load balancer, and updates file permissions. The company wants to maintain the same deployment functionality through the shift to using AWS services.
Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

The correct answer is D because it allows for the use of AWS CodeBuild for testing, while also incorporating bash scripts to manage service restarts through the appspec.yml file. Options A, B, and C fail to adequately integrate the use of CodePipeline and CodeBuild in conjunction with necessary service management and ALB instance registration, which are crucial for maintaining the deployment functionality.