Soru

Zorluk: OrtaHigh-Performing and Scalable Storage Solutions

A company is hosting a high-traffic Content Management System (CMS) on Amazon EC2 instances distributed across multiple Availability Zones. The instances must access a shared directory containing millions of small media files. The storage solution must deliver low-latency file operations and automatically scale throughput to handle sudden, unpredictable spikes in traffic without manual provisioning. Which storage configuration best meets these requirements?

  1. A
    An Amazon EBS gp3 volume with Multi-Attach enabled, attached directly to all the EC2 instances.
  2. B
    An Amazon S3 bucket mounted as a file system on the instances, with the media files stored in the Amazon S3 Glacier Flexible Retrieval storage class.
  3. C
    An Amazon EBS io2 volume attached to a central EC2 instance that shares the directory with the other instances over Network File System (NFS).
  4. An Amazon EFS file system configured with Elastic throughput.Cevap

Cevap

An Amazon EFS file system configured with Elastic throughput.
The correct option is the Amazon EFS file system configured with Elastic throughput. Amazon EFS is designed for shared file access across multiple Availability Zones, and Elastic throughput automatically adjusts performance dynamically to handle traffic spikes, paying only for what is used.

Adım Adım Çözüm

1
Analyze the file access requirements.
The application requires concurrent, shared access to a single directory from multiple EC2 instances distributed across multiple Availability Zones.
This rules out standard Amazon EBS volumes, which are typically attached to a single instance in a single Availability Zone.
2
Evaluate the scaling and cost performance requirements.
The storage solution must deliver low-latency file operations and scale throughput automatically to handle unpredictable traffic spikes without manual over-provisioning.
This points to a serverless shared storage option with automatic scaling capabilities, such as Amazon EFS with Elastic throughput.
3
Eliminate sub-optimal or invalid storage options.
Amazon EBS gp3 does not support Multi-Attach, and EBS Multi-Attach is limited to a single Availability Zone. S3 Glacier is meant for archiving and introduces retrieval delays. Sharing EBS via NFS on a single EC2 instance introduces a single point of failure and bottleneck.
Eliminating these options confirms that Amazon EFS configured with Elastic throughput is the only highly available, high-performing, and cost-effective solution.

Anahtar Kavram

Shared file storage with automatic throughput scaling for unpredictable workloads across multiple Availability Zones.
Bu soruyu puanla