
Answer-first summary for fast verification
Answer: Make a snapshot of the database before it gets deleted
Overall explanation Correct option: Make a snapshot of the database before it gets deleted Use an Elastic Beanstalk blue (environment A)/green (environment B) deployment to decouple an RDS DB instance from environment. Create a new Elastic Beanstalk environment (environment B) with the necessary information to connect to the RDS DB instance. Note: An RDS DB instance attached to an Elastic Beanstalk environment is ideal for development and testing environments. However, it's not ideal for production environments because the lifecycle of the database instance is tied to the lifecycle of your application environment. If you terminate the environment, then you lose your data because the RDS DB instance is deleted by the environment. For more information, see Using Elastic Beanstalk with Amazon RDS.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You have set up a test environment in AWS Elastic Beanstalk, which includes an RDS (Relational Database Service) database instance. Your goal is to ensure the accessibility and retention of the database data even after the Elastic Beanstalk environment is deleted.
How can you ensure the database remains accessible for exploration after the Elastic Beanstalk environment is terminated?
A
Make a snapshot of the database before it gets deleted
B
Change the Elastic Beanstalk environment variables
C
Convert the Elastic Beanstalk environment to a worker environment
D
Make a selective delete in Elastic Beanstalk
No comments yet.