QuestionQ15

Accelerate Workload Migration and Modernization

A company operates an on-premises website application that supplies real estate information to prospective renters and buyers. The website uses a Java backend and a NoSQL MongoDB database to store subscriber data.

The company must migrate the complete application to AWS while retaining a similar architecture. The application must be deployed for high availability, and the company cannot modify the application.

Which solution meets these requirements?

  • A Use an Amazon Aurora DB cluster as the database for the subscriber data. Deploy Amazon EC2 instances in an Auto Scaling group across multiple Availability Zones for the Java backend application.
  • B Use MongoDB on Amazon EC2 instances as the database for the subscriber data. Deploy EC2 instances in an Auto Scaling group in a single Availability Zone for the Java backend application.
  • C Configure Amazon DocumentDB (with MongoDB compatibility) with appropriately sized instances in multiple Availability Zones as the database for the subscriber data. Deploy Amazon EC2 instances in an Auto Scaling group across multiple Availability Zones for the Java backend application.
  • D Configure Amazon DocumentDB (with MongoDB compatibility) in on-demand capacity mode in multiple Availability Zones as the database for the subscriber data. Deploy Amazon EC2 instances in an Auto Scaling group across multiple Availability Zones for the Java backend application.
Explanation

Amazon DocumentDB is a fully managed MongoDB-compatible database service that can run the same application code, drivers, and tools used with MongoDB. Deploying DocumentDB instances and EC2 Auto Scaling group instances across multiple Availability Zones provides high availability without requiring a database-engine or application-code change. Amazon Aurora is a relational database, a single-AZ backend is not highly available, and DocumentDB does not use a DynamoDB-style on-demand capacity mode.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!