AWS Certified SysOps Administrator – AssociateCost and Performance OptimizationEasy
A company is running a web application on several Amazon EC2 instances behind an Application Load Balancer (ALB). Users are reporting slow loading times, particularly for static assets like images, CSS, and JavaScript files. The EC2 instances are showing high CPU utilization, suggesting they are spending too much time serving these static files. Which AWS service should a SysOps Administrator implement to improve performance and reduce the load on the EC2 instances?
- AAmazon CloudFront to cache static content at edge locations.
- BAmazon SQS to decouple the application components.
- CAWS Direct Connect to establish a dedicated network connection.
- DAmazon RDS to offload database queries.
Show answer & explanationAnswer & explanation
Correct answer: A. Amazon CloudFront to cache static content at edge locations.
Amazon CloudFront is a content delivery network (CDN) service that caches static and dynamic web content at edge locations globally. By serving static assets from CloudFront, the load on the EC2 instances is reduced, and users experience faster loading times due to content being delivered from a location closer to them.
Why the other options are wrong
- B. Amazon SQS is a message queuing service used for decoupling application components and handling asynchronous tasks, not for serving static content.
- C. AWS Direct Connect provides a dedicated network connection between an on-premises data center and AWS, which is not relevant for improving static content delivery to global end-users.
- D. Amazon RDS is a relational database service. While important for data, it does not directly address the issue of serving static web content or high CPU from static file delivery.
Amazon CloudFront
A global content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers worldwide with low latency and high transfer speeds.
- Caches content at edge locations.
- Reduces load on origin servers.
- Improves user experience by reducing latency.
Memory trick: Speeding up websites: cache at the edge, distribute the load, or optimize the backend.