A developer team uses Amazon EFS for a content management system across multiple EC2 instances. They notice performance degradation during heavy file operations. Which TWO configurations would improve performance for this shared file system? (Select TWO.)
Trap 1: Set the performance mode to General Purpose.
General Purpose mode is the default and is best for latency-sensitive applications like web serving or home directories. However, for 'heavy file operations' that are likely highly parallel, this mode may reach its IOPS limit, making it the cause of the degradation rather than the solution.
Trap 2: Move files to the Infrequent Access (IA) storage class.
The Infrequent Access storage class is designed for cost optimization of data that is not accessed regularly. It has higher latency for first-byte access compared to the Standard storage class, so moving files here would likely decrease performance rather than improve it for an active CMS.
Trap 3: Transition the workload to EBS Multi-Attach volumes.
EBS Multi-Attach allows an io1 or io2 volume to be attached to multiple instances in the same Availability Zone. However, it requires a cluster-aware file system and does not scale across multiple Availability Zones like EFS, making it a complex and restricted alternative for a CMS.
- A
Switch the throughput mode to Provisioned Throughput.
Provisioned Throughput allows you to specify the throughput capacity of your file system in MiB/s, independent of the amount of data stored. This is critical for workloads that have high performance requirements but relatively small amounts of data, ensuring they don't get throttled by burst credits.
- B
Change the performance mode to Max I/O.
Max I/O mode is designed for large-scale, scale-out workloads where hundreds or thousands of EC2 instances access the file system simultaneously. It allows for higher aggregate throughput and IOPS at the cost of slightly higher latencies for individual file operations, solving bottlenecks in highly parallelized systems.
- C
Set the performance mode to General Purpose.
Why it fails: General Purpose mode is the default and is best for latency-sensitive applications like web serving or home directories. However, for 'heavy file operations' that are likely highly parallel, this mode may reach its IOPS limit, making it the cause of the degradation rather than the solution.
- D
Move files to the Infrequent Access (IA) storage class.
Why it fails: The Infrequent Access storage class is designed for cost optimization of data that is not accessed regularly. It has higher latency for first-byte access compared to the Standard storage class, so moving files here would likely decrease performance rather than improve it for an active CMS.
- E
Transition the workload to EBS Multi-Attach volumes.
Why it fails: EBS Multi-Attach allows an io1 or io2 volume to be attached to multiple instances in the same Availability Zone. However, it requires a cluster-aware file system and does not scale across multiple Availability Zones like EFS, making it a complex and restricted alternative for a CMS.