
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 runs its ecommerce application on AWS. Every new order is published as a message in a RabbitMQ queue that runs on an Amazon EC2 instance in a single Availability Zone. These messages are processed by a different application that runs on a separate EC2 instance. This application stores the details in a PostgreSQL database on another EC2 instance. All the EC2 instances are in the same Availability Zone.
The company needs to redesign its architecture to provide the highest availability with the least operational overhead.
What should a solutions architect do to meet these requirements?
A
Migrate the queue to a redundant pair (active/standby) of RabbitMQ instances on Amazon MQ. Create a Multi-AZ Auto Scaling group for EC2 instances that host the application. Create another Multi-AZ Auto Scaling group for EC2 instances that host the PostgreSQL database.
B
Migrate the queue to a redundant pair (active/standby) of RabbitMQ instances on Amazon MQ. Create a Multi-AZ Auto Scaling group for EC2 instances that host the application. Migrate the database to run on a Multi-AZ deployment of Amazon RDS for PostgreSQL.
C
Create a Multi-AZ Auto Scaling group for EC2 instances that host the RabbitMQ queue. Create another Multi-AZ Auto Scaling group for EC2 instances that host the application. Migrate the database to run on a Multi-AZ deployment of Amazon RDS for PostgreSQL.
D
Create a Multi-AZ Auto Scaling group for EC2 instances that host the RabbitMQ queue. Create another Multi-AZ Auto Scaling group for EC2 instances that host the application. Create a third Multi-AZ Auto Scaling group for EC2 instances that host the PostgreSQL database.
Explanation:
Correct Answer: B
Why Option B is correct:
Amazon MQ with redundant pair (active/standby): Amazon MQ is a managed message broker service that provides high availability with minimal operational overhead. The redundant pair configuration automatically provides failover capability across Availability Zones.
Multi-AZ Auto Scaling group for application: This ensures the application tier is highly available and can scale horizontally across multiple Availability Zones.
Multi-AZ Amazon RDS for PostgreSQL: Amazon RDS Multi-AZ deployments provide automatic failover to a standby instance in another Availability Zone, with synchronous replication. This is a managed service that significantly reduces operational overhead compared to managing PostgreSQL on EC2 instances.
Why other options are incorrect:
Option A: While it uses Amazon MQ for the queue and Auto Scaling groups for application and database, it keeps the database on EC2 instances with Auto Scaling. Managing PostgreSQL on EC2 with Multi-AZ Auto Scaling is more complex and has higher operational overhead than using Amazon RDS Multi-AZ.
Option C: This option suggests managing RabbitMQ on EC2 instances with Auto Scaling, which is more complex and has higher operational overhead than using Amazon MQ. Amazon MQ is specifically designed as a managed message broker service.
Option D: This option suggests managing all three components (RabbitMQ, application, and database) on EC2 instances with Auto Scaling. This approach has the highest operational overhead and complexity, requiring management of message broker clustering, database replication, and failover mechanisms manually.
Key AWS Services and Concepts: