
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company needs a backup strategy for its three-tier stateless web application. The web application runs on Amazon EC2 instances in an Auto Scaling group with a dynamic scaling policy that is configured to respond to scaling events. The database tier runs on Amazon RDS for PostgreSQL. The web application does not require temporary local storage on the EC2 instances. The company's recovery point objective (RPO) is 2 hours.
The backup strategy must maximize scalability and optimize resource utilization for this environment.
Which solution will meet these requirements?
A
Take snapshots of Amazon Elastic Block Store (Amazon EBS) volumes of the EC2 instances and database every 2 hours to meet the RPO.
B
Configure a snapshot lifecycle policy to take Amazon Elastic Block Store (Amazon EBS) snapshots. Enable automated backups in Amazon RDS to meet the RPO.
C
Retain the latest Amazon Machine Images (AMIs) of the web and application tiers. Enable automated backups in Amazon RDS and use point-in-time recovery to meet the RPO.
D
Take snapshots of Amazon Elastic Block Store (Amazon EBS) volumes of the EC2 instances every 2 hours. Enable automated backups in Amazon RDS and use point-in-time recovery to meet the RPO.
Explanation:
Correct Answer: C
Why Option C is correct:
Stateless web application: Since the web application is stateless and doesn't require temporary local storage, there's no need to back up EBS volumes of EC2 instances. The application state should be stored elsewhere (like in the database or external storage).
Auto Scaling group: EC2 instances in an Auto Scaling group are ephemeral and can be terminated/recreated. The proper approach is to use Amazon Machine Images (AMIs) that contain the application code and configuration. When new instances are launched, they use the latest AMI.
RDS PostgreSQL: For the database tier, RDS automated backups with point-in-time recovery (PITR) provide the required RPO of 2 hours. RDS automated backups are managed by AWS and provide continuous backup capability.
Scalability and resource optimization: This solution maximizes scalability because:
Why other options are incorrect:
Option A: Incorrect because:
Option B: Incorrect because:
Option D: Incorrect because:
Key AWS Concepts:
This solution optimally balances backup requirements with scalability and resource utilization for the described environment.