AWS Cloud Practitioner · Cloud Technology and Services · hard

A Linux web cluster spans three Availability Zones and requires a shared POSIX filesystem that mounts concurrently on all EC2 instances and grows or shrinks automatically as files are added. Which AWS storage service meets this need?

Published · Last updated · checked before publication — how we verify questions

Options

  • AAmazon EBS gp3 block volumes attached to a single Availability Zone
  • BAmazon EFS elastic network file system mounted across Availability ZonesCorrect answer
  • CAmazon S3 Glacier Deep Archive tape replacement storage class
  • DEC2 Instance Store ephemeral NVMe disks attached to the physical host

Answer: B. Amazon EFS elastic network file system mounted across Availability Zones

Amazon EFS is a fully managed, serverless network file system that speaks NFS and supports POSIX semantics, so Linux instances mount it like a normal directory. Its mount targets exist in each Availability Zone of a VPC, which lets EC2 instances in all three zones mount the same file system at the same time and see the same files. EFS capacity is elastic: it grows as files are added and shrinks as they are removed, with no provisioning and you pay for what you store. These features match every requirement in the scenario: shared, POSIX, concurrent, multi-AZ, and automatic scaling. The common trap is choosing EBS because it is familiar block storage for Linux servers. EBS is designed for one instance at a time, lives in one Availability Zone, and needs a size chosen in advance. When you see shared file storage for Linux across many instances, think EFS; for Windows shared storage, think FSx for Windows File Server.

Why the other options are wrong

  • A. Amazon EBS gp3 block volumes attached to a single Availability Zone — Amazon EBS gp3 is block storage tied to a single Availability Zone and normally attached to one instance at a time. It cannot be mounted across three zones as a shared POSIX file system, and it does not resize itself automatically.
  • C. Amazon S3 Glacier Deep Archive tape replacement storage class — S3 Glacier Deep Archive is the lowest-cost object storage class for long-term archives, with retrieval measured in hours. It is object storage, not a mountable POSIX file system, so it cannot serve live web content to a cluster.
  • D. EC2 Instance Store ephemeral NVMe disks attached to the physical host — EC2 Instance Store is temporary block storage physically attached to a single host, and its data is lost when the instance stops or the hardware fails. It cannot be shared between instances or across Availability Zones, and it has no elastic growth.

All Cloud Technology and Services questions and the topic overview →

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.