AWS Certified DevOps Engineer – Professional — Question 66

A DevOps engineer is tasked with creating a more stable deployment solution for a web application in AWS. Previous deployments have resulted in user-facing bugs, premature user traffic, and inconsistencies between web servers running behind an Application Load Balancer. The current strategy uses AWS CodeCommit to store the code for the application. When developers push to the main branch of the repository, CodeCommit triggers an AWS Lambda deploy function, which invokes an AWS Systems Manager run command to build and deploy the new code to all Amazon EC2 instances.

Which combination of actions should be taken to implement a more stable deployment solution? (Choose two.)

Answer options

Correct answer: B, C

Explanation

Option B is correct as it emphasizes a structured approach with separate stages for building and testing the application, ensuring quality before deployment. Option C is correct because it involves using AWS CodeDeploy, which is designed for managing deployments, and selecting the Application Load Balancer enhances traffic management. The other options either lack the necessary structure for stability or do not leverage the capabilities of AWS CodeDeploy effectively.