Q79 — AWS SAA-C03 Ch.14

Question 79 of 100 | ← Chapter 14

Q1079. A company is migrating an on-premises application to the AWS Cloud.The application compute nodes in AWS will consist of multiple Amazon EC2 instances across multiple Availability Zones within the us-east-1 Region.The company expects the amount of application data to increase for the next 12 months. Every EC2 instance must be able to access the same data.Which solution will meet these requirements?

Correct Answer: C. Store the application data in an Amazon Elastic File System (Amazon EFS) file system. Create a mount target in each Availability Zone. Mount the file system on all the EC2 instances.

Explanation

To address the requirements of the company migrating an on-premises application to AWS, where multiple EC2 instances across multiple Availability Zones within the us-east-1 Region need access to the same increasing amount of data, let's analyze each of the provided options:A. Amazon Elastic Block Store (Amazon EBS) General Purpose volumes:EBS volumes are block storage devices designed to be attached to a single EC2 instance. Attaching the same EBS volume to multiple EC2 instances simultaneously is not supported. This option does not meet the requirement for all EC2 instances to access the same data. B. Amazon Elastic Block Store (Amazon EBS) Provisioned IOPS volumes:Similar to General Purpose volumes, Provisioned IOPS volumes are also block storage and are designed to be attached to a single EC2 instance.They offer higher performance but suffer from the same limitation as General Purpose volumes regarding multiple attachments.This option also does not meet the requirement.C. Amazon Elastic File System (Amazon EFS):Amazon EFS is a scalable file storage service that provides file system access over the network using the Network File System (NFS) protocol.EFS allows multiple EC2 instances to access the same data simultaneously. By creating a mount target in each Availability Zone, the file system can be accessed from any EC2 instance in those Availability Zones.This option meets the requirement for all EC2 instances to access the same data and can scale as the data grows.D. Amazon S3 Express One Zone buckets:Amazon S3 is an object storage service offering high scalability, data availability, security, and performance.Express One Zone buckets store data in a single AWS Availability Zone for cost savings, but this reduces redundancy.While S3 buckets can be accessed from multiple EC2 instances, they are not mounted directly like file systems. Access is typically through APIs or SDKs.Direct mounting of S3 buckets on EC2 instances is not supported. Tools like s3fs can be used, but they are not as seamless or performant as native file systems.This option does not meet the requirement for a seamless, mounted file system accessible by all EC2 instances.Conclusion:The best solution for the company's needs is:C. Store the application data in an Amazon Elastic File System (Amazon EFS) file system. Create a mount target in each Availability Zone. Mount the file system on all the EC2 instances.This solution allows all EC2 instances across multiple Availability Zones to access the same data simultaneously, scales with the increasing amount of data, and provides a seamless file system experience.