QuestionQ295

Data Operations and Support

A company must implement a workflow to process transactions. Each transaction passes through multiple validation levels. Every validation level depends on the validation level before it.

The workflow must process or reject every transaction within 24-hours. The workflow must run for fewer than 24 hours in total.

Which solution will satisfy these requirements with the LEAST operational cost?

  • A Create a standard workflow in AWS Step Functions. Implement a Wait for Callback pattern to wait for the validation steps to finish.
  • B Create an express workflow in AWS Step Functions. Implement a Wait for Callback pattern to wait for the validation steps to finish.
  • C Use AWS Lambda functions to implement the workflow. Use Amazon EventBridge to invoke the validation steps.
  • D Use Amazon Managed Workflows for Apache Airflow (Amazon MWAA) to implement the workflow.
Explanation

AWS Step Functions Standard Workflows support the Wait for Callback (.waitForTaskToken) pattern and can run for up to one year, allowing each dependent validation stage to complete before the next begins. Standard Workflows are billed per state transition, so waiting for validation callbacks does not incur duration-based workflow charges. Express Workflows are limited to five minutes and do not support callback task tokens.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!