
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 recently migrated a message processing system to AWS. The system receives messages into an ActiveMQ queue running on an Amazon EC2 instance. Messages are processed by a consumer application running on Amazon EC2. The consumer application processes the messages and writes results to a MySQL database running on Amazon EC2. The company wants this application to be highly available with low operational complexity.
Which architecture offers the HIGHEST availability?
A
Add a second ActiveMQ server to another Availability Zone. Add an additional consumer EC2 instance in another Availability Zone. Replicate the MySQL database to another Availability Zone.
B
Use Amazon MQ with active/standby brokers configured across two Availability Zones. Add an additional consumer EC2 instance in another Availability Zone. Replicate the MySQL database to another Availability Zone.
C
Use Amazon MQ with active/standby brokers configured across two Availability Zones. Add an additional consumer EC2 instance in another Availability Zone. Use Amazon RDS for MySQL with Multi-AZ enabled.
D
Use Amazon MQ with active/standby brokers configured across two Availability Zones. Add an Auto Scaling group for the consumer EC2 instances across two Availability Zones. Use Amazon RDS for MySQL with Multi-AZ enabled.
Explanation:
Option D offers the highest availability because:
Amazon MQ with active/standby brokers - This is a managed message broker service that provides automatic failover across Availability Zones, reducing operational complexity compared to self-managed ActiveMQ on EC2.
Auto Scaling group for consumer EC2 instances - This provides automatic scaling and self-healing capabilities. If a consumer instance fails, Auto Scaling will automatically launch a new instance to replace it, ensuring continuous message processing.
Amazon RDS for MySQL with Multi-AZ enabled - This provides automatic failover for the database with synchronous replication to a standby instance in another Availability Zone, managed by AWS.
Comparison with other options:
Key benefits of Option D: