SAA-C03 Question 467
Select 2A company is designing a new web application that experiences unpredictable traffic spikes. They want to optimize their compute utilization and minimize operational overhead while ensuring the application can scale seamlessly to handle traffic fluctuations. Which AWS services should the company use to meet these requirements?
- A
Amazon ECS with Fargate
- B
AWS Lambda
- C
Amazon EC2 Auto Scaling with On-Demand Instances
- D
AWS Elastic Beanstalk with a custom AMI
- E
Amazon EC2 Reserved Instances
Show answer and explanation
Correct answers: A, B
Explanation
Amazon ECS with Fargate and AWS Lambda are both serverless solutions that abstract server management and automatically scale to handle unpredictable traffic patterns. ECS with Fargate is ideal for containerized workloads, while AWS Lambda is perfect for event-driven applications. Both options minimize operational overhead and optimize compute utilization, aligning with the company's requirements for flexibility and seamless scaling.
- A. Correct.
Amazon ECS with Fargate is a serverless compute engine for containers, which eliminates the need to provision and manage servers. It automatically scales based on workload, making it a good choice for optimizing compute utilization in unpredictable traffic scenarios.
- B. Correct.
AWS Lambda is a serverless compute service that automatically scales based on the number of incoming requests. It is ideal for unpredictable traffic patterns and minimizes operational overhead by abstracting server management.
- C. Incorrect.
Amazon EC2 Auto Scaling with On-Demand Instances can scale up and down based on demand, but it requires more management effort (e.g., configuring launch templates and managing the EC2 instances) compared to serverless options. It is not the most efficient solution for unpredictable traffic spikes if simplicity and minimal overhead are key priorities.
- D. Incorrect.
AWS Elastic Beanstalk with a custom AMI simplifies application deployment, but it still requires managing underlying EC2 instances and scaling configurations. This does not fully optimize compute utilization for unpredictable traffic spikes compared to serverless and container-based solutions.
- E. Incorrect.
Amazon EC2 Reserved Instances provide cost savings for predictable and steady-state workloads. However, they are not suitable for unpredictable traffic spikes as they don’t automatically scale to match demand.