AWS Certified Solutions Architect – Associate (SAA-C02) — Question 618
A company is migrating a Linux-based web server group to AWS. The web servers must access files in a shared file store for some content. The company must not make any changes to the application.
What should a solutions architect do to meet these requirements?
Answer options
- A. Create an Amazon S3 Standard bucket with access to the web servers.
- B. Configure an Amazon CloudFront distribution with an Amazon S3 bucket as the origin.
- C. Create an Amazon Elastic File System (Amazon EFS) file system. Mount the EFS file system on all web servers.
- D. Configure a General Purpose SSD (gp3) Amazon Elastic Block Store (Amazon EBS) volume. Mount the EBS volume to all web servers.
Correct answer: C
Explanation
Amazon Elastic File System (Amazon EFS) provides a shared, POSIX-compliant file system that can be mounted simultaneously on multiple Linux-based EC2 instances, allowing the application to access shared files without requiring any code changes. Amazon EBS volumes (gp3) cannot be mounted to multiple instances simultaneously as a standard shared file system. Amazon S3 and CloudFront would require modifying the application to use APIs or HTTP requests instead of standard file system paths.