
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
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 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.
Explanation:
Option A is the correct answer because it best meets all the requirements:
Minimize server maintenance and patching: Using S3 for static content, API Gateway + Lambda for dynamic content, and DynamoDB eliminates the need for server management. This is a serverless architecture where AWS manages the underlying infrastructure.
Highly available: All components (S3, API Gateway, Lambda, DynamoDB, CloudFront) are managed AWS services with built-in high availability and redundancy.
Scale read and write capacity as quickly as possible:
Why other options are incorrect:
Option B: Uses Amazon Aurora with Aurora Auto Scaling. While Aurora Auto Scaling helps with read replicas, it doesn't scale write capacity as quickly as DynamoDB on-demand. Aurora still requires some capacity planning and doesn't offer the same instant scaling for writes.
Option C: Uses EC2 instances which require server maintenance and patching (violating the first requirement). Also uses DynamoDB with provisioned write capacity which requires capacity planning and doesn't scale as quickly as on-demand mode.
Option D: Uses EC2 instances which require server maintenance and patching (violating the first requirement). Aurora Auto Scaling helps with read scaling but not write scaling as quickly as needed.
Key AWS Services:
This serverless architecture provides maximum scalability with minimal operational overhead.