Q30 — AWS SAA-C03 Ch.13
Question 30 of 100 | ← Chapter 13
Q930. A company has a web application that includes an embedded NoSQL database. The application runs on Amazon EC2 instances behind an Application Load Balancer (ALB).The instances run in an Amazon EC2 Auto Scaling group in asingle Availability Zone.A recent increase in traffic requires the application to be highly available and for the database to be eventually consistent.Which solution will meet these requirements with the LEAST operational overhead?
- A. Replace the ALB with a Network Load Balancer. Maintain the embedded NoSQL database with its replication service on the EC2 instances
- B. Replace the ALB with a Network Load Balancer. Migrate the embedded NoSQL database to Amazon DynamoDB by using AWS Database Migration Service (AWS DMS).
- C. Modify the Auto Scaling group to use EC2 instances across three Availability Zones. Maintain the embedded NoSQL database with its replication service on the EC2 instances.
- D. Modify the Auto Scaling group to use EC2 instances across three Availability Zones. Migrate the embedded NoSQL database to Amazon DynamoDB by using AWS Database Migration Service (AWS DMS) ✓
Correct Answer: D. Modify the Auto Scaling group to use EC2 instances across three Availability Zones. Migrate the embedded NoSQL database to Amazon DynamoDB by using AWS Database Migration Service (AWS DMS)
Explanation
The solution that will meet the requirements with the least operational overhead is:D. Modify the Auto Scaling group to use EC2 instances across three Availability Zones. Migrate the embedded NoSQL database to Amazon DynamoDB by using AWS Database Migration Service (AWS DMS).By modifying the Auto Scaling group to use EC2 instances across three Availability Zones, the company can improve the availability of the application by spreading the instances across multiple physical locations. This will help ensure that the application can continue to operate even if one Availability Zone becomes unavailable.Additionally, by migrating the embedded NoSQL database to Amazon DynamoDB, the company can take advantage of DynamoDB's built-in high availability and eventually consistent data model. DynamoDB automatically replicates data across multiple Availability Zones, providing fault tolerance and ensuring that data is available even in the event of a failure.Using AWS Database Migration Service (AWS DMS) to migrate the database will help simplify the migration process and minimize downtime. DMS can migrate data from a variety of source databases to DynamoDB, including NoSQL databases, and can be configured to minimize the impact on the existing application.Option A would not improve the availability of the application as the Network Load Balancer (NLB) does not provide cross-zone load balancing. Option B would also improve availability but would require maintaining the embedded NoSQL database, which may not be as highly available or scalable as DynamoDB. Option C would improve availability but would not address the need for an eventually consistent database.