Q26 — AWS SAA-C03 Ch.6
Question 26 of 65 | ← Chapter 6
Q391. A solutions architect is designing a new service behind Amazon API Gateway. The request patterns for the service will be unpredictable and can change suddenly from 0 requests to over 500 per second. The total size of the data that needs to be persisted in a backend database is currently less than 1 GB with unpredictable future growth Data can be queried using simple key-value requests. Which combination of AWS services would meet these requirements? (Select TWO )
- A. AWS Fargate
- B. AWS Lambda ✓
- C. Amazon DynamoDB ✓
- D. Amazon EC2 Auto Scaling
- E. MySQL-compatible Amazon Aurora
Correct Answer: B. AWS Lambda, C. Amazon DynamoDB
Explanation
B. AWS Lambda: AWS Lambda is a serverless computing service that can easily scale to handle sudden spikes in requests. It can be used to handle the unpredictable request patterns and scale dynamically based on demand.C. Amazon DynamoDB: Amazon DynamoDB is a NoSQL database service that can handle simple key- value requests and can also scale automatically to accommodate sudden increases in workload. It can easily handle the current data size and future growth.In this case AWS Lambda can perform the computation and store the data in an Amazon DynamoDB table. Lambda can scale concurrent executions to meet demand easily and DynamoDB is built for key-value data storage requirements and is also serverless and easily scalable. This is therefore a cost effective solution for unpredictable workloads.CORRECT: "AWS Lambda" is a correct answer.CORRECT: "Amazon DynamoDB" is also a correct answer.INCORRECT: "AWS Fargate" is incorrect as containers run constantly and therefore incur costs even when no requests are being made.INCORRECT: "Amazon EC2 Auto Scaling" is incorrect as this uses EC2 instances which will incur costs even when no requests are being made.INCORRECT: "Amazon RDS" is incorrect as this is a relational database not a No-SQL database. It is therefore not suitable for key-value data storage requirements.References: