AWS Certified Developer – Associate — Question 417
A company is using AWS Elastic Beanstalk to deploy a three-tier application. The application uses an Amazon RDS DB instance as the database tier. The company wants to decouple the DB instance from the Elastic Beanstalk environment.
Which combination of steps should a developer lake to meet this requirement? (Choose two.)
Answer options
- A. Create a new Elastic Beanstalk environment that connects to the DB instance.
- B. Create a new DB instance from a snapshot of the previous DB instance.
- C. Use the Elastic Beanstalk CLI to decouple the DB instance.
- D. Use the AWS CLI to decouple the DB instance.
- E. Modify the current Elastic Beanstalk environment to connect to the DB instance.
Correct answer: B, E
Explanation
To decouple an integrated Amazon RDS database from AWS Elastic Beanstalk without data loss, you must first create a new, external DB instance from a snapshot of the current database. After provisioning the external database, the Elastic Beanstalk environment's configuration must be updated to connect to this new external DB instance instead of the integrated one. There are no CLI commands specifically designed to directly 'decouple' an integrated RDS instance without recreating it externally.