exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 669 discussion

A Solutions Architect is building a solution for updating user metadata that is initiated by web servers. The solution needs to rapidly scale from hundreds to tens of thousands of jobs in less than 30 seconds. The solution must be asynchronous always avertable and minimize costs.
Which strategies should the Solutions Architect use to meet these requirements?

  • A. Create an AWS SWF worker that will update user metadata updating web application to start a new workflow for every job.
  • B. Create an AWS Lambda function that will update user metadata. Create an Amazon SOS queue and configure it as an event source for the Lambda function. Update the web application to send jobs to the queue.
  • C. Create an AWS Lambda function that will update user metadata. Create AWS Step Functions that will trigger the Lambda function. Update the web application to initiate Step Functions for every job.
  • D. Create an Amazon SQS queue. Create an AMI with a worker to check the queue and update user metadata. Configure an Amazon EC2 Auto Scaling group with the new AMI. Update the web application to send jobs to the queue.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Bulti
Highly Voted 3 years, 7 months ago
Since this is a just a simple job to update the metadata, I would eliminate workflow options such as A and C. Between B and D I would chose B because it will be easier to scale with Lambda using SQS as an event source as per the requirement than it is with EC2 Auto scaling.
upvoted 8 times
...
rbm2023
Most Recent 1 year, 11 months ago
Selected Answer: B
I don't think D would be a good option in terms of cost effectiveness. In this case I chose B also. https://aws.amazon.com/blogs/compute/understanding-how-aws-lambda-scales-when-subscribed-to-amazon-sqs-queues/
upvoted 2 times
...
hilft
2 years, 9 months ago
queue + lambda to decouple the task
upvoted 3 times
...
KiraguJohn
2 years, 10 months ago
What is SOS queue?
upvoted 1 times
...
challenger1
3 years, 5 months ago
My answer B: No Simple Workflow Service (SWF) or Step Functions needed.
upvoted 2 times
...
AzureDP900
3 years, 5 months ago
B is perfect
upvoted 1 times
...
andylogan
3 years, 6 months ago
It's B
upvoted 1 times
...
student22
3 years, 6 months ago
B SQS with Lambda
upvoted 1 times
...
tgv
3 years, 6 months ago
BBB ---
upvoted 1 times
...
blackgamer
3 years, 6 months ago
Yes, it is B. Lambda concurrent quota can increase up to Tens of thousands.
upvoted 3 times
kirrim
3 years, 6 months ago
Agree, here's the documentation for that: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html The problem with D is that it takes time to spin up new instances in an ASG. And the question said "rapidly scale from hundreds to tens of thousands of jobs in less than 30 seconds".
upvoted 1 times
...
...
WhyIronMan
3 years, 6 months ago
I'll go with B
upvoted 3 times
...
Waiweng
3 years, 6 months ago
it's B
upvoted 3 times
...
alisyech
3 years, 6 months ago
i go with B
upvoted 2 times
...
cnethers
3 years, 6 months ago
B is talking about SOS not SQS If it was talking about SQS then B would make sense .. is that just a typo ?
upvoted 2 times
student22
3 years, 6 months ago
It's a typo. The questions also mentions 'avertable' instead of 'available'
upvoted 1 times
...
champcloud
3 years, 6 months ago
Yup probably a typo. Ans is B.
upvoted 2 times
...
...
Joaster
3 years, 7 months ago
B. Asynchronous workflows have always been the primary use case for SQS.
upvoted 3 times
...
Kian1
3 years, 7 months ago
going with B
upvoted 2 times
...
Ebi
3 years, 7 months ago
My choice is B, but even that is not a complete solution as Lambda concurrency limit must be increased as well which hasn't been included in this answer. All other answers can be eliminated easily A, no SWF is needed in here C, No step function is needed, simple metadata update D, Auto scaling group can not scale fast, can take more than 30 sec to launch new instances in asg
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago