Q20 — AWS SOA-C02 Ch.1

Question 20 of 100 | ← Chapter 1

A company has an existing web application that runs on two Amazon EC2 instances behind an Application Load Balancer (ALB) across two Availability Zones. The application uses an Amazon RDS Multi-AZ DB Instance. Amazon Route 53 record sets route requests for dynamic content to the load balancer and requests for static content to an Amazon S3 bucket. Site visitors are reporting extremely long loading times. Which actions should be taken to improve the performance of the website? (Choose two.)

Correct Answer: A. Add Amazon CloudFront caching for static content., D. Implement Amazon EC2 Auto Scaling for the web servers.

Explanation

题目涉及优化网站性能的AWS解决方案。AWS文档指出,Amazon CloudFront通过内容分发网络(CDN)缓存静态内容,减少用户访问延迟。将静态内容存储在S3并通过CloudFront分发,能有效提升加载速度。原架构中静态内容已托管在S3,添加CloudFront(选项A)可进一步优化。Amazon EC2 Auto Scaling(选项D)根据负载自动调整实例数量,确保流量高峰时维持性能,避免现有固定数量的EC2实例成为瓶颈。选项B中调整负载均衡器协议不影响性能;选项C的延迟路由适用于不同地理位置的用户请求,但动态内容已通过ALB处理;选项E将静态内容移至EC2实例会增加服务器负载,与最佳实践相悖。