AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 154
A DevOps engineer is planning to deploy a Ruby-based application to production. The application needs to interact with an Amazon RDS for MySQL database and should have automatic scaling and high availability. The stored data in the database is critical and should persist regardless of the state of the application stack.
The DevOps engineer needs to set up an automated deployment strategy for the application with automatic rollbacks. The solution also must alert the application team when a deployment fails.
Which combination of steps will meet these requirements? (Choose three.)
Answer options
- A. Deploy the application on AWS Elastic Beanstalk. Deploy an Amazon RDS for MySQL DB instance as part of the Elastic Beanstalk configuration.
- B. Deploy the application on AWS Elastic Beanstalk. Deploy a separate Amazon RDS for MySQL DB instance outside of Elastic Beanstalk.
- C. Configure a notification email address that alerts the application team in the AWS Elastic Beanstalk configuration.
- D. Configure an Amazon EventBridge rule to monitor AWS Health events. Use an Amazon Simple Notification Service (Amazon SNS) topic as a target to alert the application team.
- E. Use the immutable deployment method to deploy new application versions.
- F. Use the rolling deployment method to deploy new application versions.
Correct answer: B, C, E
Explanation
The correct combination includes B, C, and E. Option B ensures that the database instance is managed independently for better reliability, while C provides a direct alert mechanism for the application team on deployment issues. Option E leverages the immutable deployment strategy, which minimizes risk during updates by creating new instances rather than modifying existing ones. Options A, D, and F do not fully meet the requirements as they either do not separate the database instance adequately or do not address the alerting and rollback needs as effectively.