exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 28 discussion

A company has been storing analytics data in an Amazon RDS instance for the past few years. The company asked a solutions architect to find a solution that allows users to access this data using an API. The expectation is that the application will experience periods of inactivity but could receive bursts of traffic within seconds.
Which solution should the solutions architect suggest?

  • A. Set up an Amazon API Gateway and use Amazon ECS.
  • B. Set up an Amazon API Gateway and use AWS Elastic Beanstalk.
  • C. Set up an Amazon API Gateway and use AWS Lambda functions.
  • D. Set up an Amazon API Gateway and use Amazon EC2 with Auto Scaling.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
AWS Lambda -
With Lambda, you can run code for virtually any type of application or backend service ג€" all with zero administration. Just upload your code and Lambda takes care of everything required to run and scale your code with high availability. You can set up your code to automatically trigger from other AWS services or call it directly from any web or mobile app.

How it works -


Amazon API Gateway -
Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. APIs act as the "front door" for applications to access data, business logic, or functionality from your backend services. Using API Gateway, you can create RESTful APIs and
WebSocket APIs that enable real-time two-way communication applications. API Gateway supports containerized and serverless workloads, as well as web applications.
API Gateway handles all the tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls, including traffic management, CORS support, authorization and access control, throttling, monitoring, and API version management. API Gateway has no minimum fees or startup costs. You pay for the API calls you receive and the amount of data transferred out and, with the API Gateway tiered pricing model, you can reduce your cost as your API usage scales.
Reference:
https://aws.amazon.com/lambda/
https://aws.amazon.com/api-gateway/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
sgupta_22
Highly Voted 3 years, 9 months ago
Answer is C - Lambda scales horizontally, so if the requests burst then it can handle it. Additionally, it is cost effective too.
upvoted 70 times
aguy9
3 years, 8 months ago
I agree, C is the answer.
upvoted 3 times
...
...
Mahesh_11
Highly Voted 3 years, 9 months ago
Ans: C Key here is "The expectation is that the application will experience periods of inactivity". Lambda is pay-per use and can scale out. A. You would pay for any resources ECS provisions B. You would pay for any resources EBS provisions C. Correct D. You would pay for Ec2 instances during periods of inactivity
upvoted 43 times
...
48cd959
Most Recent 1 year, 3 months ago
Selected Answer: C
Ans - C API Gateway along with Lambda. Lambda is server less and apt when application is inactive or lot of requests come all of sudden. ECS or EC2 instances with auto scaling are costly.
upvoted 1 times
...
tigerbaer
2 years, 10 months ago
Selected Answer: C
c is correct
upvoted 1 times
...
jj22222
3 years, 6 months ago
C looks right
upvoted 1 times
...
Vibes
3 years, 8 months ago
C is right
upvoted 2 times
...
damot
3 years, 8 months ago
can any one explain this
upvoted 1 times
...
Cabrera
3 years, 8 months ago
no doubt, C
upvoted 2 times
...
Abdullah777
3 years, 8 months ago
mostly once you see dealing with API and need unpredicted process , think about Lambda.
upvoted 10 times
...
raavanaasura
3 years, 8 months ago
c is the correct answer
upvoted 1 times
...
KK_uniq
3 years, 8 months ago
C for sure
upvoted 1 times
...
syu31svc
3 years, 8 months ago
Serverless requirement so answer is C
upvoted 1 times
...
mryala
3 years, 8 months ago
it's C
upvoted 1 times
...
Yogi
3 years, 8 months ago
Ans = C
upvoted 1 times
...
Ankitrathi85
3 years, 8 months ago
C right
upvoted 1 times
...
myutran
3 years, 8 months ago
Answer : C
upvoted 1 times
...
anpt
3 years, 8 months ago
CCCCCCCCCCCCCCCCC
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...