Q39 — AWS SAA-C03 Ch.3
Question 39 of 65 | ← Chapter 3
Q169. A company is building a new dynamic ordering website. The company wants to minimize server maintenance and patching. The website must be highly available and must scale read and write capacity as quickly as possible to meet changes in user demand.Which solution will meet these requirements?
- A. Host static content in Amazon S3. Host dynamic content by using Amazon API Gateway and AWS Lambda. Use Amazon DynamoDB with on-demand capacity for the database. Configure Amazon CloudFront to deliver the website content. ✓
- B. Host static content in Amazon S3. Host dynamic content by using Amazon API Gateway and AWS Lambda. Use Amazon Aurora with Aurora Auto Scaling for the database. Configure Amazon CloudFront to deliver the website content.
- C. Host all the website content on Amazon EC2 instances. Create an Auto Scaling group to scale the EC2instances. Use an Application Load Balancer to distribute traffic. Use Amazon DynamoDB with provisioned write capacity for the database.
- D. Host all the website content on Amazon EC2 instances. Create an Auto Scaling group to scale the EC2instances Use an Application Load Balancer to distribute traffic. Use Amazon Aurora with Aurora Auto Scaling for the database.
Correct Answer: A. Host static content in Amazon S3. Host dynamic content by using Amazon API Gateway and AWS Lambda. Use Amazon DynamoDB with on-demand capacity for the database. Configure Amazon CloudFront to deliver the website content.
Explanation
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.