A company is building a web application that hosts a content management system on Amazon EC2 instances behind an Application Load Balancer. The EC2 instances run in an Auto Scaling group across multiple Availability Zones. Users constantly add and update files, blogs, and other website assets in the content management system. A solutions architect must implement a solution so that all EC2 instances share up-to-date website content with minimal lag. Which solution meets these requirements?
Choose an answer
Tap an option to check your answer.
Correct answer: Copy the website assets to an Amazon Elastic File System (Amazon EFS) file system. Configure each EC2 instance to mount the EFS file system locally. Configure the website hosting application to reference the website assets that are stored in the EFS file system..
Why this is the answer
The correct solution is to use Amazon EFS. EFS provides a shared, scalable, and highly available file system that multiple EC2 instances can mount concurrently. This ensures all instances access the same, up-to-date content with minimal lag, as changes made by one instance are immediately visible to others. The first incorrect option describes a complex and inefficient method that would lead to inconsistent content across instances and is not a standard practice for shared content. The third incorrect option, using S3 and hourly sync, would introduce significant lag and potential inconsistencies, as changes wouldn't be immediately propagated. The fourth incorrect option, using EBS snapshots, is suitable for restoring a point-in-time state but not for real-time sharing of frequently updated content across multiple instances, as each instance would have its own copy, leading to content drift.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed