
Answer-first summary for fast verification
Answer: Build out the workflow in AWS Step Functions. Use Step Functions to create a state machine. Use the state machine to invoke AWS Lambda functions to process the workflow steps.
## Explanation **Correct Answer: D** **Why Option D is correct:** 1. **Event-driven architecture**: AWS Step Functions is designed for orchestrating workflows in an event-driven manner, allowing different steps to be triggered based on events or state changes. 2. **Serverless concepts**: Using AWS Lambda functions with Step Functions creates a completely serverless architecture, eliminating the need to manage servers. 3. **Distributed workflow**: Step Functions state machines can coordinate distributed components (Lambda functions) across different AWS services. 4. **Minimizes operational overhead**: Both Step Functions and Lambda are fully managed services with no infrastructure to manage, significantly reducing operational overhead. **Why other options are incorrect:** **Option A (AWS Glue):** - AWS Glue is primarily an ETL (Extract, Transform, Load) service for data processing, not a general workflow orchestration service. - While it can invoke Lambda functions, it's not designed for general event-driven workflow orchestration. **Option B (Step Functions with EC2):** - This contradicts the requirement for serverless concepts and minimizing operational overhead. - EC2 instances require server management, patching, scaling, and monitoring, increasing operational overhead. **Option C (EventBridge with scheduled Lambda):** - EventBridge is excellent for event routing and scheduling, but it's not a workflow orchestration service. - Using scheduled Lambda functions doesn't create a coordinated workflow with state management between steps. - This approach lacks the state management and error handling capabilities that Step Functions provides. **Key AWS Services Mentioned:** - **AWS Step Functions**: Serverless workflow service that coordinates AWS services, Lambda functions, and custom logic. - **AWS Lambda**: Serverless compute service that runs code in response to events. - **Amazon EventBridge**: Serverless event bus service for event-driven applications. - **AWS Glue**: Serverless ETL service for data preparation and loading. - **Amazon EC2**: Virtual servers in the cloud (not serverless).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company is moving its data management application to AWS. The company wants to transition to an event-driven architecture. The architecture needs to be more distributed and to use serverless concepts while performing the different aspects of the workflow. The company also wants to minimize operational overhead.
Which solution will meet these requirements?
A
Build out the workflow in AWS Glue. Use AWS Glue to invoke AWS Lambda functions to process the workflow steps.
B
Build out the workflow in AWS Step Functions. Deploy the application on Amazon EC2 instances. Use Step Functions to invoke the workflow steps on the EC2 instances.
C
Build out the workflow in Amazon EventBridge. Use EventBridge to invoke AWS Lambda functions on a schedule to process the workflow steps.
D
Build out the workflow in AWS Step Functions. Use Step Functions to create a state machine. Use the state machine to invoke AWS Lambda functions to process the workflow steps.