Q25 — AWS SAA-C03 Ch.13
Question 25 of 100 | ← Chapter 13
Q925. A company is running a media store across multiple Amazon EC2 instances distributed across multiple Availability Zones in a single VPC.The company wants a high-performing solution to share data between all the EC2 instances,and prefers to keep the data within the VPC only.What should a solutions architect recommend?
- A. Create an Amazon S3 bucket and call the service APIs from each instance's application.
- B. Create an Amazon S3 bucket and configure all instances to access it as a mounted volume.
- C. Configure an Amazon Elastic Block Store(Amazon EBS) volume and mount it across all instances.
- D. Configure an Amazon Elastic File System (Amazon EFS) file system and mount it across all instances. ✓
Correct Answer: D. Configure an Amazon Elastic File System (Amazon EFS) file system and mount it across all instances.
Explanation
The best recommendation for the company is:D. Configure an Amazon Elastic File System (Amazon EFS) file system and mount it across all instances.Here's why:High Performance: Amazon EFS is a fully managed, scalable file system designed for high- performance file sharing across multiple EC2 instances. It provides low latency and high throughput, ideal for media storage.Within VPC: EFS keeps data within the VPC, ensuring security and control over access.Scalability: EFS scales automatically as your data and workload grow, eliminating the need for manual scaling.Easy Integration: EFS can be easily mounted as a volume on your EC2 instances, making it simple to access and share data.Why other options are less suitable:A. Create an Amazon S3 bucket and call the service APIs from each instance's application. While S3 is a good option for object storage, it's not ideal for high-performance file sharing. Frequent API calls can add latency and overhead.B. Create an Amazon S3 bucket and configure all instances to access it as a mounted volume. S3 is not designed for direct mounting as a volume. It's primarily for object storage.C. Configure an Amazon Elastic Block Store(Amazon EBS) volume and mount it across all instances. EBS volumes are designed for single-instance use. Mounting an EBS volume across multiple instances can lead to data inconsistency and performance issues.In summary:Amazon EFS provides the best solution for high-performance, scalable file sharing within a VPC, making it the ideal choice for the company's media store.