
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 provides an API interface to customers so the customers can retrieve their financial information. The company expects a larger number of requests during peak usage times of the year. The company requires the API to respond consistently with low latency to ensure customer satisfaction. The company needs to provide a compute host for the API. Which solution will meet these requirements with the LEAST operational overhead?
A
Use an Application Load Balancer and Amazon Elastic Container Service (Amazon ECS).
B
Use Amazon API Gateway and AWS Lambda functions with provisioned concurrency.
C
Use an Application Load Balancer and an Amazon Elastic Kubernetes Service (Amazon EKS) cluster.
D
Use Amazon API Gateway and AWS Lambda functions with reserved concurrency.
Explanation:
Correct Answer: B - Use Amazon API Gateway and AWS Lambda functions with provisioned concurrency.
Why this is the correct answer:
Lowest operational overhead: API Gateway + Lambda with provisioned concurrency requires minimal operational management. AWS handles server provisioning, scaling, and maintenance automatically.
Consistent low latency during peak times: Provisioned concurrency keeps Lambda functions initialized and ready to respond, eliminating cold starts. This ensures consistent low-latency responses even during sudden traffic spikes.
Automatic scaling: Both API Gateway and Lambda scale automatically to handle increased traffic without manual intervention.
Cost-effective for variable workloads: Lambda's pay-per-use model combined with provisioned concurrency for predictable performance during peaks is cost-effective.
Why other options are not optimal:
Key AWS Services Used:
This solution provides the best balance of consistent low-latency performance during peak usage with minimal operational management.