Q14 — AWS SAA-C03 Ch.15
Question 14 of 100 | ← Chapter 15
Q1114. A company is building a serverless web application with multiple interdependent workflows that millions of users worldwide will access. The application needs to handle bursts of traffic. Which solution will meet these requirements MOST cost-effectively?
- A. Deploy an Amazon API Gateway HTTP API with a usage plan and throttle settings. Use AWS Step Functions with a Standard Workflow.
- B. Deploy an Amazon API Gateway HTTP API with a usage plan and throttle settings. Use AWS Step Functions with an Express Workflow. ✓
- C. Deploy an Amazon API Gateway HTTP API without a usage plan. Use AWS Step Functions with an Express Workflow.
- D. Deploy an Amazon API Gateway HTTP API without a usage plan. Use AWS Step Functions and multiple AWS Lambda functions with reserved concurrency.
Correct Answer: B. Deploy an Amazon API Gateway HTTP API with a usage plan and throttle settings. Use AWS Step Functions with an Express Workflow.
Explanation
To address the company's requirements for building a serverless web application with multiple interdependent workflows that can handle bursts of traffic in a cost-effective manner, the most suitable solution is:B. Deploy an Amazon API Gateway HTTP API with a usage plan and throttle settings. Use AWS Step Functions with an Express Workflow.Here's why:Amazon API Gateway HTTP API:Cost-Effective: HTTP APIs are designed to be more cost-effective than REST APIs, providing a streamlined set of features focused on core functionalities. Scalable: HTTP APIs can handle bursts of traffic efficiently, scaling automatically to meet demand. Usage Plans and Throttling: By implementing a usage plan with throttle settings, the company can control and manage API usage, ensuring that the system remains stable even under high traffic conditions.AWS Step Functions with Express Workflow:Cost-Efficient Processing: Express Workflows offer a lower cost per million transitions compared to Standard Workflows, making them more suitable for cost-sensitive applications. Optimized for Short-Duration Tasks: Express Workflows are optimized for tasks that have short durations, which is likely the case for many operations in a serverless web application. High Performance: Express Workflows provide high performance and low latency, ensuring that workflows execute quickly and efficiently.Now, let's evaluate the other options:A. Deploy an Amazon API Gateway HTTP API with a usage plan and throttle settings. Use AWS Step Functions with a Standard Workflow.While this option provides a scalable and manageable API solution, using Standard Workflows may be more costly than necessary for the company's use case, especially if the workflows involve short-duration tasks.C. Deploy an Amazon API Gateway HTTP API without a usage plan. Use AWS Step Functions with an Express Workflow.Deploying an API Gateway without a usage plan may lead to unpredictable costs if the API is accessed more frequently than anticipated. A usage plan with throttle settings provides better control and cost management.D. Deploy an Amazon API Gateway HTTP API without a usage plan. Use AWS Step Functions and multiple AWS Lambda functions with reserved concurrency.This option lacks cost control due to the absence of a usage plan for the API Gateway. Additionally, reserved concurrency for Lambda functions can be costly and may not be necessary if the application can handle traffic bursts through automatic scaling.In conclusion, the combination of an Amazon API Gateway HTTP API with a usage plan and throttle settings, along with AWS Step Functions using an Express Workflow, provides a cost-effective and efficient solution for the company's serverless web application. This setup ensures scalability, cost management, and high performance, meeting the company's requirements for handling millions of users worldwide and bursts of traffic.