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 457 discussion

An online retailer needs to regularly process large product catalogs, which are handled in batches. These are sent out to be processed by people using the
Amazon Mechanical Turk service, but the retailer has asked its Solutions Architect to design a workflow orchestration system that allows it to handle multiple concurrent Mechanical Turk operations, deal with the result assessment process, and reprocess failures.
Which of the following options gives the retailer the ability to interrogate the state of every workflow with the LEAST amount of implementation effort?

  • A. Trigger Amazon CloudWatch alarms based upon message visibility in multiple Amazon SQS queues (one queue per workflow stage) and send messages via Amazon SNS to trigger AWS Lambda functions to process the next step. Use Amazon ES and Kibana to visualize Lambda processing logs to see the workflow states.
  • B. Hold workflow information in an Amazon RDS instance with AWS Lambda functions polling RDS for status changes. Worker Lambda functions then process the next workflow steps. Amazon QuickSight will visualize workflow states directly out of Amazon RDS.
  • C. Build the workflow in AWS Step Functions, using it to orchestrate multiple concurrent workflows. The status of each workflow can be visualized in the AWS Management Console, and historical data can be written to Amazon S3 and visualized using Amazon QuickSight.
  • D. Use Amazon SWF to create a workflow that handles a single batch of catalog records with multiple worker tasks to extract the data, transform it, and send it through Mechanical Turk. Use Amazon ES and Kibana to visualize AWS Lambda processing logs to see the workflow states.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
huhupai
Highly Voted 3 years, 7 months ago
I would go for D, Use case #2: Processing large product catalogs using Amazon Mechanical Turk. https://aws.amazon.com/swf/faqs/
upvoted 47 times
newme
3 years, 6 months ago
The FAQ itself becomes a question. Have to go for D.
upvoted 6 times
...
...
donathon
Highly Voted 3 years, 7 months ago
C AWS Step Functions is a fully managed service that makes it easy to coordinate the components of distributed applications and microservices using visual workflows. Instead of writing a Decider program, you define state machines in JSON. AWS customers should consider using Step Functions for new applications. If Step Functions does not fit your needs, then you should consider Amazon Simple Workflow (SWF). Amazon SWF provides you complete control over your orchestration logic, but increases the complexity of developing applications. You may write decider programs in the programming language of your choice, or you may use the Flow framework to use programming constructs that structure asynchronous interactions for you. AWS will continue to provide the Amazon SWF service, Flow framework, and support all Amazon SWF customers. https://aws.amazon.com/swf/faqs/
upvoted 27 times
consultsk
3 years, 6 months ago
https://blog.mturk.com/tutorial-using-mturk-together-with-aws-lambda-c91d414496d3 C is correct.
upvoted 1 times
DashL
3 years, 5 months ago
Steps Functions does not support Mechanical Turk.
upvoted 6 times
...
...
MultiAZ
3 years, 6 months ago
Step Functions do not support Mechanical Turk. You need SWF, so D
upvoted 18 times
hailiang
3 years, 6 months ago
it can use lambda to call mechanical turk, does not need to "support" it per say
upvoted 4 times
...
consultsk
3 years, 6 months ago
your assumptions are incorrect and may check the link: https://blog.mturk.com/tutorial-using-mturk-together-with-aws-lambda-c91d414496d3
upvoted 2 times
...
sg0206
2 years, 6 months ago
it supports mechanical turk
upvoted 1 times
...
...
...
SkyZeroZx
Most Recent 1 year, 10 months ago
Selected Answer: D
I would go for D, Use case #2: Processing large product catalogs using Amazon Mechanical Turk. https://aws.amazon.com/swf/faqs/
upvoted 1 times
...
sg0206
2 years, 6 months ago
C is the correct answer, we can implement human approval feature in step function.. SWF is old and not serverless feature.
upvoted 1 times
wofu
2 years, 5 months ago
Step Functions does not work with Mechanical Turk
upvoted 1 times
mnsait
4 months, 2 weeks ago
sg0206 is right. AWS recommends using Step Functions instead of SWF. Step functions do support Mechanical Turk. Links are shared by others here.
upvoted 1 times
...
...
...
dmscountera
2 years, 6 months ago
Selected Answer: D
Based on all comments
upvoted 2 times
...
Mr_nobody79
2 years, 8 months ago
Selected Answer: D
It's D 100%. Mechanical Turk = Human intervention = SWF.
upvoted 2 times
...
hilft
2 years, 9 months ago
D. keyword here is SWF.
upvoted 1 times
...
azure_kai
3 years, 2 months ago
Selected Answer: D
Mechanical Turk supports integration with SWF, not Step functions
upvoted 2 times
...
futen0326
3 years, 2 months ago
D IS CORRECT, MECHANICAL TURK DOES NOT SUPPORT STEP FUNCTIONS. SWF IS USED WHERE STEP FUNCTIONS ARE NOT SUPPORTED.
upvoted 1 times
...
jj22222
3 years, 2 months ago
C. Build the workflow in AWS Step Functions, using it to orchestrate multiple concurrent workflows. The status of each workflow can be visualized in the AWS Management Console, and historical data can be written to Amazon S3 and visualized using Amazon QuickSight.
upvoted 1 times
...
zoliv
3 years, 2 months ago
Selected Answer: D
D. Mechanical Turk works well with SWF, and that is the only few cases where both services complement one another.
upvoted 2 times
...
cldy
3 years, 4 months ago
D. Use Amazon SWF to create a workflow that handles a single batch of catalog records with multiple worker tasks to extract the data, transform it, and send it through Mechanical Turk. Use Amazon ES and Kibana to visualize AWS Lambda processing logs to see the workflow states.
upvoted 1 times
...
wem
3 years, 4 months ago
D is correct or miss it on the test
upvoted 1 times
...
tkanmani76
3 years, 4 months ago
Option C When should I use Amazon SWF vs. AWS Step Functions? AWS Step Functions is a fully managed service that makes it easy to coordinate the components of distributed applications and microservices using visual workflows. Instead of writing a Decider program, you define state machines in JSON. AWS customers should consider using Step Functions for new applications. If Step Functions does not fit your needs, then you should consider Amazon Simple Workflow (SWF). Amazon SWF provides you complete control over your orchestration logic, but increases the complexity of developing applications. You may write decider programs in the programming language of your choice, or you may use the Flow framework to use programming constructs that structure asynchronous interactions for you. AWS will continue to provide the Amazon SWF service, Flow framework, and support all Amazon SWF customers.
upvoted 1 times
tkanmani76
3 years, 3 months ago
Go for D - Use case #2: Processing large product catalogs using Amazon Mechanical Turk. Under SWF FAQ.
upvoted 1 times
...
...
AzureDP900
3 years, 4 months ago
D is correct answer
upvoted 1 times
...
acloudguru
3 years, 4 months ago
Selected Answer: C
C,typical step function question and easy one, hope i can have it in my exam
upvoted 2 times
...
StelSen
3 years, 5 months ago
I will choose D. I won't debate SWF/Step. Rather I use another technique to prove D is correct. Management asked SA to design a workflow which can handle multiple concurrent Mech Turk Operations. PLEASE NOTE. It will be a single workflow with concurrent operations. Ans C says build multiple concurrent workflow, No need. Ans D, says single batch with multiple worker. One more Tips: AWS Mechanical Turk is just a outsourcing service performed by another human via marketplace. Isn't the good reason to use SWF?
upvoted 2 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