SAP-C02 Question 260
Select 2A company is running a web application on a fleet of Amazon EC2 instances behind an Application Load Balancer (ALB). The application stores user-uploaded media files in an Amazon S3 bucket. Recently, the company noticed performance issues caused by a sudden increase in user traffic, which led to high read and write latency on the S3 bucket. As a Solutions Architect, which of the following solutions can you implement to mitigate the performance issues?
- A
Enable S3 Transfer Acceleration for the bucket to reduce latency for uploads.
- B
Configure an Amazon CloudFront distribution with the S3 bucket as the origin to cache content closer to users.
- C
Use Amazon S3 multipart upload to optimize upload performance for large files.
- D
Enable S3 Requester Pays to distribute the cost of S3 usage to users and reduce traffic.
- E
Enable Amazon S3 Intelligent-Tiering to optimize file storage for cost savings.
Show answer and explanation
Correct answers: B, C
Explanation
To mitigate performance issues caused by high traffic to an S3 bucket, Amazon CloudFront can be used to cache frequently accessed content closer to users, reducing read latency and the load on the S3 bucket. Additionally, S3 multipart upload can optimize the upload process for large files, reducing write latency. These solutions directly address the performance issues without requiring changes to the application architecture or user behavior.
- A. Incorrect.
S3 Transfer Acceleration reduces latency for uploads to S3 over long distances, but it does not address the high read and write latency caused by a sudden increase in traffic.
- B. Correct.
Configuring CloudFront with the S3 bucket as the origin caches content closer to users and reduces the load on the S3 bucket, mitigating high read latency during traffic spikes.
- C. Correct.
Using S3 multipart upload improves upload performance for large files, which can help mitigate high write latency during sudden increases in traffic.
- D. Incorrect.
S3 Requester Pays is used for billing purposes, not for reducing latency or handling performance issues.
- E. Incorrect.
S3 Intelligent-Tiering optimizes costs by automatically moving data between storage tiers, but it does not address performance issues caused by high traffic.