Q93 — AWS SAA-C03 Ch.16
Question 93 of 100 | ← Chapter 16
Q1293. A company is migrating a Linux-based web server group to AWS. The web servers must access shared files by using the NFS protocol. The company must not make any changes to the web server application.Which solution will meet these requirements?
- A. Create an Amazon S3 bucket to store the shared files in S3 Standard. Grant the S3 bucket access to the web servers.
- B. Configure an Amazon CloudFront distribution. Set an Amazon S3 bucket as the origin. Store the shared files in the S3 bucket.
- C. Create an Amazon Elastic File System (Amazon EFS) file system. Mount the EFS file system on the web servers. ✓
- D. Create an Amazon FSx for Windows File Server file system. Configure SMB protocol access for the web servers.
Correct Answer: C. Create an Amazon Elastic File System (Amazon EFS) file system. Mount the EFS file system on the web servers.
Explanation
The correct answer is C. Create an Amazon Elastic File System (Amazon EFS) file system. Mount the EFS file system on the web servers.Why Option C is the Best Solution:NFS Protocol SupportAmazon EFS is a fully managed, scalable NFS file system that supports the NFSv4.1 and NFSv4.0 protocols, making it compatible with Linux-based web servers without requiring application changes. The web servers can mount the EFS file system just like a local NFS share, ensuring seamless access to shared files.No Application Changes RequiredSince EFS uses standard NFS, the existing web server application can continue accessing files via the same paths and permissions as before.Scalability & High AvailabilityEFS automatically scales storage capacity and throughput as needed. Files are replicated across multiple Availability Zones (AZs) for high durability and availability.Shared Access Across Multiple ServersMultiple web servers can concurrently mount and access the same EFS file system, enabling shared storage for a server group.Why the Other Options Are Incorrect:A. Create an Amazon S3 bucket to store the shared files in S3 Standard. Grant the S3 bucket access to the web servers.S3 uses an HTTP-based API, not NFS.The web server application would need significant changes to use S3 (e.g., using AWS SDKs instead of NFS mounts).Not compatible with the requirement of no application changes. B. Configure an Amazon CloudFront distribution. Set an Amazon S3 bucket as the origin. Store the shared files in the S3 bucket.CloudFront is a CDN for caching and distributing content globally, not a file system.Does not provide NFS access to web servers.Useless for shared file storage in this scenario.D. Create an Amazon FSx for Windows File Server file system. Configure SMB protocol access for the web servers.FSx for Windows File Server uses SMB/CIFS, not NFS.Linux-based web servers would need additional configuration (e.g., Samba) to access SMB shares, which may require application changes.Not ideal for a Linux-only environment.Conclusion:Option C (Amazon EFS) is the only solution that:Supports NFS protocol (no app changes needed).Provides shared, scalable storage for multiple web servers.Works seamlessly with Linux-based systems.Final Answer:C