AWS Certified Solutions Architect – Associate (SAA-C02) — Question 691
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?
Answer options
- 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 EC2 instances. 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 EC2 instances. Use an Application Load Balancer to distribute traffic. Use Amazon Aurora with Aurora Auto Scaling for the database.
Correct answer: B
Explanation
Option B is correct because hosting static content on Amazon S3 and dynamic content using Amazon API Gateway and AWS Lambda eliminates the need for managing underlying server infrastructure and patching. Amazon Aurora with Aurora Auto Scaling provides a highly available, managed relational database solution that automatically adjusts capacity to handle dynamic scaling demands. Options C and D are incorrect because using Amazon EC2 instances introduces significant administrative overhead for server maintenance and OS patching.