Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon Exam DVA-C02 Topic 3 Question 49 Discussion

Actual exam question for Amazon's DVA-C02 exam
Question #: 49
Topic #: 3
[All DVA-C02 Questions]

A developer is building an ecommerce application that uses multiple AWS Lambda functions. Each function performs a specific step in a customer order workflow, such as order processing and inventory management.

The developer must ensure that the Lambda functions run in a specific order.

Which solution will meet this requirement with the LEAST operational overhead?

Show Suggested Answer Hide Answer
Suggested Answer: C

The requirement here is to ensure that Lambda functions are executed in a specific order. AWS Step Functions is a low-code workflow orchestration service that enables you to sequence AWS services, such as AWS Lambda, into workflows. It is purpose-built for situations like this, where different steps need to be executed in a strict sequence.

AWS Step Functions: Step Functions allows developers to design workflows as state machines, where each state corresponds to a particular function. In this case, the developer can create a Step Functions state machine where each step (order processing, inventory management, etc.) is represented by a Lambda function.

Operational Overhead: Step Functions have very low operational overhead because it natively handles retries, error handling, and function sequencing.

Alternatives:

Amazon SQS (Option A): While SQS can manage message ordering, it requires more manual handling of each step and the logic to sequentially invoke the Lambda functions.

Amazon SNS (Option B): SNS is a pub/sub service and is not designed to handle sequences of Lambda executions.

EventBridge (Option D): EventBridge Scheduler allows you to invoke Lambda functions based on scheduled times, but it doesn't directly support sequencing based on workflow logic. Therefore, AWS Step Functions is the most appropriate solution due to its native orchestration capabilities and minimal operational complexity.


AWS Step Functions documentation

Contribute your Thoughts:

Serita
3 days ago
I agree, C is the best solution. It's straightforward and provides a clear way to manage the workflow.
upvoted 0 times
...
Josephine
4 days ago
I prefer option A. Configuring an SQS queue seems simpler and more straightforward to me.
upvoted 0 times
...
Lauran
6 days ago
I agree with Leslie. Using Step Functions will ensure the Lambda functions run in the specific order required.
upvoted 0 times
...
Leslie
12 days ago
I think option C is the best solution.
upvoted 0 times
...
Ma
17 days ago
Option C is the way to go. AWS Step Functions makes it easy to orchestrate the Lambda functions in a specific order with minimal overhead.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77