SOA-C02 Question 325
Select 4Your organization uses Amazon EC2 instances with Amazon EBS volumes to host a high-performance application. Recently, users reported degraded performance. Upon investigation, you notice that the VolumeQueueLength metric in Amazon CloudWatch is consistently high. Which actions can you take to improve the performance of the EBS volumes?
- A
Change the EBS volume type to a Provisioned IOPS SSD (io2)
- B
Increase the size of the EBS volume to improve IOPS and throughput
- C
Enable EBS Multi-Attach to distribute load across multiple instances
- D
Ensure the EC2 instance type supports the bandwidth needed for the EBS volume
- E
Create a new EBS volume and attach it in RAID 0 configuration with the existing volume
Show answer and explanation
Correct answers: A, B, D, E
Explanation
To address high VolumeQueueLength, you need to reduce the I/O bottleneck by either increasing the volume's performance capabilities or distributing the workload. Changing to a higher-performance EBS volume type, increasing the volume size, ensuring the EC2 instance type supports the required bandwidth, and using RAID 0 to distribute I/O are all valid approaches. EBS Multi-Attach, however, does not inherently improve performance and is designed for specific shared storage use cases.
- A. Correct.
Changing the EBS volume type to io2 (Provisioned IOPS SSD) can significantly improve performance by providing higher IOPS and consistent throughput, especially for workloads requiring low latency.
- B. Correct.
Increasing the size of the EBS volume can improve the baseline IOPS and throughput since these metrics scale with the size of the volume for certain EBS volume types like gp3 and gp2.
- C. Incorrect.
EBS Multi-Attach is designed for specific use cases such as shared storage across multiple instances for data consistency, but it does not inherently improve performance of a single workload.
- D. Correct.
Ensuring the EC2 instance type supports the necessary bandwidth for the EBS volume is critical, as the instance's EBS bandwidth might limit performance.
- E. Correct.
Using RAID 0 can help distribute I/O across multiple volumes, improving overall performance for I/O-intensive applications.