Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

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

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

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 171 discussion

A company provides an API to its users that automates inquiries for tax computations based on item prices. The company experiences a larger number of inquiries during the holiday season only that cause slower response times. A solutions architect needs to design a solution that is scalable and elastic.

What should the solutions architect do to accomplish this?

  • A. Provide an API hosted on an Amazon EC2 instance. The EC2 instance performs the required computations when the API request is made.
  • B. Design a REST API using Amazon API Gateway that accepts the item names. API Gateway passes item names to AWS Lambda for tax computations.
  • C. Create an Application Load Balancer that has two Amazon EC2 instances behind it. The EC2 instances will compute the tax on the received item names.
  • D. Design a REST API using Amazon API Gateway that connects with an API hosted on an Amazon EC2 instance. API Gateway accepts and passes the item names to the EC2 instance for tax computations.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
bullrem
Highly Voted 1 year, 8 months ago
Selected Answer: B
Option D is similar to option B in that it uses Amazon API Gateway to handle the API requests, but it also includes an EC2 instance to perform the tax computations. However, using an EC2 instance in this way is less scalable and less elastic than using AWS Lambda to perform the computations. An EC2 instance is a fixed resource and requires manual scaling and management, while Lambda is an event-driven, serverless compute service that automatically scales with the number of requests, making it more suitable for handling variable workloads and reducing response times during high traffic periods. Additionally, Lambda is more cost-efficient than EC2 instances, as you only pay for the compute time consumed by your functions, making it a more cost-effective solution.
upvoted 27 times
...
lofzee
Most Recent 4 months, 2 weeks ago
Selected Answer: B
b. easy
upvoted 1 times
...
TruthWS
6 months, 3 weeks ago
Option B: Lamda = scalable and elastic
upvoted 2 times
...
Uzbekistan
6 months, 3 weeks ago
Selected Answer: B
Option B leverages AWS Lambda, which is a serverless compute service that automatically scales in response to incoming requests. When a request is made to the API hosted on Amazon API Gateway, API Gateway triggers the associated AWS Lambda function, passing the item names as input parameters. The Lambda function then performs the tax computations based on the provided item names. AWS Lambda automatically manages the compute capacity, ensuring that there is no need to provision or manage servers. This serverless architecture offers scalability and elasticity, as Lambda functions can scale out to handle a larger number of inquiries during the holiday season and scale in during periods of lower demand. Additionally, AWS Lambda is a fully managed service, reducing operational overhead for the company.
upvoted 1 times
...
app12
8 months, 4 weeks ago
The thing that bothers me about B is that the request sends the name and then based on the name, the tax is calculated. How do you calculate a value e.g. tax if you just have a name...
upvoted 2 times
...
awsgeek75
9 months, 2 weeks ago
Selected Answer: B
EC2 without autoscaling is not elastic so A, C & D won't be suitable. B uses AWS Lambda which is elastic and scalable by design.
upvoted 2 times
...
pentium75
9 months, 3 weeks ago
Selected Answer: B
Though EC2 can scale (even if less flexible than Lambda), neither A, C nor D involve scaling. All these answers are about a single EC2 instance or a pair of EC2 instances. The only answer that includes scaling and elasticity is B.
upvoted 3 times
LoXoL
9 months ago
I agree.
upvoted 1 times
...
...
Ruffyit
10 months, 2 weeks ago
scalable and elastic = serverless = API gateway and AWS Lambda
upvoted 2 times
...
paniya93
1 year ago
Selected Answer: B
in 002 answer is B. Why is that?
upvoted 1 times
...
vijaykamal
1 year ago
Selected Answer: B
Options A, C, and D involve EC2 instances, which are not as inherently scalable and elastic as serverless AWS Lambda functions, and they would require more manual management and operational overhead. Therefore, option B is the most appropriate choice for a scalable and elastic API solution.
upvoted 2 times
...
Guru4Cloud
1 year, 1 month ago
Selected Answer: B
REST API using Amazon API Gateway and integrating it with AWS Lambda (option B) is the recommended approach to achieve a scalable and elastic solution for the company's API during the holiday season. ________ No good EC2 in this case using an EC2 instance in this way is less scalable and less elastic than using AWS Lambda to perform the computations
upvoted 2 times
...
TariqKipkemei
1 year, 1 month ago
Selected Answer: B
scalable and elastic = serverless = API gateway and AWS Lambda
upvoted 1 times
...
Guru4Cloud
1 year, 2 months ago
B) Design a REST API using Amazon API Gateway that accepts the item names. API Gateway passes item names to AWS Lambda for tax computations. This option provides the most scalable and elastic solution: API Gateway handles creating the REST API frontend to receive requests Lambda functions scale automatically to handle spikes in traffic during peak seasons No servers to manage for the computations, providing high scalability
upvoted 2 times
...
cookieMr
1 year, 3 months ago
Selected Answer: B
Option A (hosting an API on an Amazon EC2 instance) would require manual management and scaling of the EC2 instances, making it less scalable and elastic compared to a serverless solution. Option C (creating an Application Load Balancer with EC2 instances for tax computations) also involves manual management of the instances and does not offer the same level of scalability and elasticity as a serverless solution. Option D (designing a REST API using API Gateway and connecting it with an API hosted on an EC2 instance) adds unnecessary complexity and management overhead. It is more efficient to directly integrate API Gateway with AWS Lambda for tax computations. Therefore, designing a REST API using Amazon API Gateway and integrating it with AWS Lambda (option B) is the recommended approach to achieve a scalable and elastic solution for the company's API during the holiday season.
upvoted 2 times
...
Bmarodi
1 year, 4 months ago
Selected Answer: B
Option B is the solution that is scalable and elastic, hence this meets requirements.
upvoted 1 times
...
jayce5
1 year, 5 months ago
Selected Answer: B
I also prefer B over D. However, it is quite vague since the question doesn't provide the processing time. The maximum processing time for AWS Lambda is 15 minutes.
upvoted 1 times
...
ProfXsamson
1 year, 8 months ago
B. Serverless option wins over EC2
upvoted 4 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 ...