
Ultimate access to all questions.
Answer-first summary for fast verification
Answer: Use AWS Step Functions to build the application.
## Explanation **Correct Answer: A - Use AWS Step Functions to build the application.** **Why AWS Step Functions is the best choice:** 1. **Orchestration of distributed workflows**: AWS Step Functions is specifically designed to coordinate multiple AWS services (Lambda functions, EC2 instances, containers, on-premises servers) into serverless workflows. 2. **Manual approval support**: Step Functions has built-in support for human approval tasks through the `Wait for Callback` pattern, which is perfect for workflows requiring manual approvals. 3. **Least operational overhead**: Step Functions manages state, error handling, retries, and parallel execution automatically, reducing the operational burden compared to building custom orchestration logic. 4. **Visual workflow management**: Provides a visual interface to design, run, and debug workflows, making it easier to manage complex order-processing tasks. 5. **Integration with various compute options**: Can orchestrate Lambda functions, EC2 instances (via Activity workers), ECS/Fargate containers, and on-premises servers seamlessly. **Why other options are not optimal:** **B. AWS Glue**: Primarily designed for ETL (Extract, Transform, Load) jobs, not for general application orchestration with manual approvals. **C. Amazon SQS**: While SQS can help with message queuing, it doesn't provide workflow orchestration, state management, or built-in support for manual approvals. You would need to build custom logic on top of it. **D. Lambda + EventBridge**: EventBridge is great for event-driven architectures but doesn't provide workflow orchestration capabilities. You would need to build complex state management and error handling logic manually. **Key AWS Step Functions features relevant to this scenario:** - State machines that define workflow logic - Built-in error handling and retries - Support for human tasks and approvals - Integration with over 200 AWS services - Visual workflow designer - Automatic state tracking and persistence This solution provides the complete orchestration framework needed while minimizing operational overhead through managed services.
Author: LeetQuiz Editorial Team
No comments yet.
An ecommerce company is building a distributed application that involves several serverless functions and AWS services to complete order-processing tasks. These tasks require manual approvals as part of the workflow. A solutions architect needs to design an architecture for the order-processing application. The solution must be able to combine multiple AWS Lambda functions into responsive serverless applications. The solution also must orchestrate data and services that run on Amazon EC2 instances, containers, or on-premises servers.
Which solution will meet these requirements with the LEAST operational overhead?
A
Use AWS Step Functions to build the application.
B
Integrate all the application components in an AWS Glue job.
C
Use Amazon Simple Queue Service (Amazon SQS) to build the application.
D
Use AWS Lambda functions and Amazon EventBridge events to build the application.