A company runs an ecommerce application where each new order is published to a RabbitMQ queue on an Amazon EC2 instance in a single Availability Zone. A separate EC2 instance processes messages and stores details in a PostgreSQL database on another EC2 instance. All EC2 instances are in the same Availability Zone. The company wants the highest availability with the least operational overhead. What should a solutions architect do?
Choose an answer
Tap an option to check your answer.
Correct answer: 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..
Why this is the answer
The correct option provides the highest availability with the least operational overhead. Amazon MQ offers managed RabbitMQ with active/standby redundancy, eliminating the need to manage EC2 instances for the queue. A Multi-AZ Auto Scaling group for the application EC2 instances ensures high availability and automatic scaling. Migrating the database to a Multi-AZ Amazon RDS for PostgreSQL deployment provides automatic failover, backups, and patching, significantly reducing operational overhead compared to managing PostgreSQL on EC2 instances. The other options involve managing RabbitMQ or PostgreSQL on EC2 instances, which increases operational overhead. Creating Multi-AZ Auto Scaling groups for RabbitMQ or PostgreSQL EC2 instances still requires managing the underlying software, patching, and backups, which is less efficient than using managed services like Amazon MQ and Amazon RDS.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed