
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 hosts an online shopping application that stores all orders in an Amazon RDS for PostgreSQL Single-AZ DB instance. Management wants to eliminate single points of failure and has asked a solutions architect to recommend an approach to minimize database downtime without requiring any changes to the application code.
Which solution meets these requirements?
A
Convert the existing database instance to a Multi-AZ deployment by modifying the database instance and specifying the Multi-AZ option.
B
Create a new RDS Multi-AZ deployment. Take a snapshot of the current RDS instance and restore the new Multi-AZ deployment with the snapshot.
C
Create a read-only replica of the PostgreSQL database in another Availability Zone. Use Amazon Route 53 weighted record sets to distribute requests across the databases.
D
Place the RDS for PostgreSQL database in an Amazon EC2 Auto Scaling group with a minimum group size of two. Use Amazon Route 53 weighted record sets to distribute requests across instances.
Explanation:
Correct Answer: A
Why Option A is correct:
Why other options are incorrect:
Option B: While this creates a Multi-AZ deployment, it requires manual snapshot/restore operations which involve downtime during the cutover and requires application configuration changes to point to the new database endpoint.
Option C: Read-only replicas are asynchronous and cannot be used for failover of write operations. They are designed for read scaling, not high availability. Route 53 weighted record sets would not properly handle failover scenarios for write operations.
Option D: RDS databases cannot be placed in EC2 Auto Scaling groups. RDS is a managed service separate from EC2 instances. This approach misunderstands how RDS works and would not provide the required high availability.
Key AWS Concepts: