Q47 — AWS SAA-C03 Ch.15
Question 47 of 100 | ← Chapter 15
Q1147. A company is migrating a content management system (CMS) website to AWS. The company wants to host the application on multiple Amazon EC2 instances. The CMS relies on a relational database. All components must be highly available.Which solution will meet these requirements?
- A. Create an Application Load Balancer(ALB). Deploy two EC2 instances in one Availability Zone. Add the instances as ALB targets. Use an Amazon Elastic Block Store (Amazon EBS) volume on each instance to host the CMS files. Deploy an Amazon Aurora MySQL RDS instance to host the database.
- B. Create an Application Load Balancer(ALB). Deploy two EC2 instances in two Availability Zones. Add the instances as ALB targets. Use EC2 instance store volumes to host the CMS files. Deploy an Amazon Aurora MySQL RDS instance to host the database.
- C. Create an Application Load Balancer (ALB). Deploy two EC2 instances in two Availability Zones. Add the instances as ALB targets. Use an Amazon Elastic Block Store (Amazon EBS) volume on each instance to host the CMS files. Create an Amazon DynamoDB table to host the database.
- D. Create an Application Load Balancer (ALB). Deploy two EC2 instances in two Availability Zones. Add the instances as ALB targets. Create an Amazon Elastic File Store (Amazon EFS) volume. Attach the volume to both instances to host the CMS files. Deploy an Amazon Aurora MySQL RDS instance to host the database. ✓
Correct Answer: D. Create an Application Load Balancer (ALB). Deploy two EC2 instances in two Availability Zones. Add the instances as ALB targets. Create an Amazon Elastic File Store (Amazon EFS) volume. Attach the volume to both instances to host the CMS files. Deploy an Amazon Aurora MySQL RDS instance to host the database.
Explanation
The solution that best meets the requirements for hosting a highly available content management system (CMS) on AWS is:D. Create an Application Load Balancer (ALB). Deploy two EC2 instances in two Availability Zones. Add the instances as ALB targets. Create an Amazon Elastic File System (EFS) volume. Attach the volume to both instances to host the CMS files. Deploy an Amazon Aurora MySQL RDS instance to host the database.Application Load Balancer (ALB): Distributes incoming traffic across multiple EC2 instances, ensuring high availability.Two EC2 Instances in Two Availability Zones: This configuration ensures redundancy and fault tolerance. Amazon Elastic File System (EFS): Provides a shared file system that can be mounted on multiple EC2 instances, allowing both instances to access the CMS files concurrently. Amazon Aurora MySQL RDS: A highly available and managed relational database service that fits the requirements for the CMS's backend database.This setup ensures high availability for both the application and the database, as well as shared access to the CMS files.