Q39 — AWS SAA-C03 第3章

第 39/65 题 | ← 返回第3章

Q169.一家公司正在建立一个新的动态订购网站.该公司希望最大限度地减少服务器维护和修补.网站必须是高可用的,必须尽快扩展读写容量以满足用户需求的变化.哪种解决方案可以满足这些要求?

正确答案: A. 在 Amazon S3 中托管静态内容.使用 Amazon API Gateway 和 AWS Lambda 托管动态内容.使用具有按需容量的数据库的 Amazon DynamoDB.配置 Amazon CloudFront 以交付网站内容.

解析

To meet the requirement of minimizing server maintenance and patching while building a highly available dynamic ordering website that can scale read and write capacity quickly to adapt to changes in user demand, a solutions architect should host static content in Amazon S3, host dynamic content using Amazon API Gateway and AWS Lambda, and use Amazon DynamoDB with on-demand capacity for the database. The website content can be delivered using Amazon CloudFront. Therefore, option A is the correct answer.Option B suggests using Amazon Aurora with Aurora Auto Scaling for the database, which is more expensive and requires more maintenance than using DynamoDB with on-demand capacity.Option C and D suggest hosting all website content on Amazon EC2 instances and using an Application Load Balancer to distribute traffic. These approaches require significant server maintenance and patching, as well as manual scaling and configuration management, which does not meet the requirement of minimizing administrative overhead.Using Amazon S3 for hosting static content, Amazon API Gateway and AWS Lambda for hosting dynamic content, and DynamoDB with on-demand capacity for the database provides a fully managed, scalable, secure, and cost-effective solution with minimal server maintenance and patching. Amazon CloudFront can be used to deliver the website content to users globally, providing high availability and low latency. This approach meets the requirement of building a highly available, scalable dynamic ordering website with minimal administrative overhead. 为了满足最小化服务器维护和补丁的需求,同时构建一个高可用的动态订购网站,可以快速扩展读写容量以适应用户需求的变化,解决方案架构师应该在Amazon S3中托管静态内容,使用Amazon API Gateway和AWS Lambda托管动态内容,并使用Amazon DynamoDB随需应变的数据库容量。网站内容可以使用Amazon CloudFront交付。因此,选项A是正确答案。选项B建议使用Amazon Aurora和Aurora Auto Scaling作为数据库,这比使用DynamoDB和按需容量更昂贵,需要更多的维护。选项C和D建议将所有网站内容托管在Amazon EC2实例上,并使用应用程序负载平衡器来分配流量。这些方法需要大量的服务器维护和修补,以及手动扩展和配置管理,这不能满足最小化管理开销的要求。使用Amazon S3托管静态内容,使用Amazon API Gateway和AWS Lambda托管动态内容,使用DynamoDB随需应变的数据库容量,提供了一个完全托管的、可扩展的、安全和经济高效的解决方案,只需最少的服务器维护和补丁。Amazon CloudFront可用于向全球用户交付网站内容,提供高可用性和低延迟。这种方法满足了以最小的管理开销构建高可用性、可扩展的动态订购网站的要求。