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.)
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 (Amazon CloudWatch Events) 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.
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.)
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 (Amazon CloudWatch Events) 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.
Answer: BCE
✅ Explanation
✅ B. Deploy the application on AWS Elastic Beanstalk. Deploy a separate Amazon RDS for MySQL DB instance outside of Elastic Beanstalk.
-Why: Deploying the RDS instance outside of the Elastic Beanstalk environment ensures database persistence, even if the Elastic Beanstalk environment is deleted or re-provisioned. This separation protects critical data and aligns with best practices.
✅ D. Configure an Amazon EventBridge (Amazon CloudWatch Events) rule to monitor AWS Health events. Use an Amazon Simple Notification Service (Amazon SNS) topic as a target to alert the application team.
-Why: This allows automatic alerting to the application team in the event of deployment failure or other -AWS Health-related events. Using EventBridge + SNS provides a robust and scalable alerting mechanism.
✅ E. Use the immutable deployment method to deploy new application versions.
-Why: Immutable deployments reduce the risk of downtime by provisioning a new set of instances for the new version. If deployment fails, AWS can automatically roll back to the previous version, making this method ideal for production environments requiring high availability and rollback support.
✅ Explanation
✅ B. Deploy the application on AWS Elastic Beanstalk. Deploy a separate Amazon RDS for MySQL DB instance outside of Elastic Beanstalk.
-Why: Deploying the RDS instance outside of the Elastic Beanstalk environment ensures database persistence, even if the Elastic Beanstalk environment is deleted or re-provisioned. This separation protects critical data and aligns with best practices.
✅ D. Configure an Amazon EventBridge (Amazon CloudWatch Events) rule to monitor AWS Health events. Use an Amazon Simple Notification Service (Amazon SNS) topic as a target to alert the application team.
-Why: This allows automatic alerting to the application team in the event of deployment failure or other -AWS Health-related events. Using EventBridge + SNS provides a robust and scalable alerting mechanism.
✅ E. Use the immutable deployment method to deploy new application versions.
-Why: Immutable deployments reduce the risk of downtime by provisioning a new set of instances for the new version. If deployment fails, AWS can automatically roll back to the previous version, making this method ideal for production environments requiring high availability and rollback support.