SAA-C03 Question 146
Select 2A company is running a web application with unpredictable traffic patterns and wants to minimize operational overhead while ensuring the application scales automatically to handle bursts of traffic. The application consists of a containerized backend API and a front-end website. Which combination of AWS services provides a serverless solution to meet these requirements?
- A
Deploy the backend API using AWS Fargate and the front-end website using Amazon S3 with Amazon CloudFront.
- B
Deploy the backend API using Amazon EC2 Auto Scaling and the front-end website using AWS Elastic Beanstalk.
- C
Deploy the backend API using AWS Lambda and API Gateway, and the front-end website using Amazon S3 with Amazon CloudFront.
- D
Deploy the backend API using Amazon ECS on EC2 and the front-end website using Amazon S3 with Amazon CloudFront.
- E
Deploy the backend API using AWS Lambda and API Gateway, and the front-end website using AWS Amplify Hosting.
Show answer and explanation
Correct answers: A, C
Explanation
The question focuses on implementing a serverless architecture to minimize operational overhead and ensure automatic scaling. AWS Fargate and Lambda are serverless technologies for running containerized applications and backend APIs, respectively. Amazon S3 combined with CloudFront is an efficient serverless solution for hosting and distributing static websites. These combinations meet the requirements for a fully serverless, scalable, and low-maintenance solution.
- A. Correct.
Correct: AWS Fargate is a serverless compute engine for containers, and Amazon S3 with CloudFront can host and serve static websites, making this a fully serverless and scalable solution.
- B. Incorrect.
Incorrect: Amazon EC2 Auto Scaling and Elastic Beanstalk introduce operational overhead and do not align with the serverless requirement.
- C. Correct.
Correct: AWS Lambda and API Gateway provide a serverless backend API solution, while Amazon S3 with CloudFront handles static website hosting, ensuring scalability and minimal operational overhead.
- D. Incorrect.
Incorrect: Amazon ECS on EC2 requires EC2 instances for operation, which adds operational complexity and is not serverless.
- E. Incorrect.
Incorrect: While AWS Lambda and API Gateway are serverless for the backend, AWS Amplify Hosting is not the most optimal choice for serving static websites compared to Amazon S3 with CloudFront.