
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
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.
Explanation:
Correct Answer: A - Use AWS Step Functions to build the application.
Why AWS Step Functions is the best choice:
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.
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.
Least operational overhead: Step Functions manages state, error handling, retries, and parallel execution automatically, reducing the operational burden compared to building custom orchestration logic.
Visual workflow management: Provides a visual interface to design, run, and debug workflows, making it easier to manage complex order-processing tasks.
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:
This solution provides the complete orchestration framework needed while minimizing operational overhead through managed services.