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:

Gracia
2 months ago
Ah, the age-old question of how to wrangle those pesky Lambda functions. Step Functions is the way to go, no doubt. Though I do sometimes wonder if the AWS team just throws darts at a board to name their services.
upvoted 0 times
Bettina
5 days ago
Yeah, Step Functions seem like the most efficient solution for managing the order of Lambda functions.
upvoted 0 times
...
Cristy
8 days ago
I think using Amazon SQS queue to run Lambda functions sequentially would be the best option.
upvoted 0 times
...
Ryan
12 days ago
I agree, Step Functions is definitely the way to go for ordering Lambda functions.
upvoted 0 times
...
...
Hui
2 months ago
Hmm, I'm not sure. Option B with SNS seems like a lot of extra work. Why not just use the built-in orchestration tool, Step Functions?
upvoted 0 times
...
Serita
2 months ago
I agree, C is the best solution. It's straightforward and provides a clear way to manage the workflow.
upvoted 0 times
Dolores
1 days ago
Agreed, C is straightforward and easy to understand.
upvoted 0 times
...
Lettie
2 days ago
Definitely, C seems like the most efficient option for managing the workflow.
upvoted 0 times
...
Leah
1 months ago
I think C is a good choice too. It simplifies the process.
upvoted 0 times
...
Jospeh
1 months ago
C) Configure an AWS Step Functions state machine to invoke the Lambda functions in a specific order.
upvoted 0 times
...
...
Josephine
2 months ago
I prefer option A. Configuring an SQS queue seems simpler and more straightforward to me.
upvoted 0 times
...
Lauran
2 months ago
I agree with Leslie. Using Step Functions will ensure the Lambda functions run in the specific order required.
upvoted 0 times
...
Leslie
2 months ago
I think option C is the best solution.
upvoted 0 times
...
Ma
2 months 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
Geraldo
12 days ago
Definitely, Step Functions take care of the orchestration for you, making it a great solution for this scenario.
upvoted 0 times
...
Emelda
13 days ago
It's a more efficient way to ensure the functions run in the correct order without much manual intervention.
upvoted 0 times
...
Nettie
14 days ago
I agree, using Step Functions simplifies the process and reduces operational overhead.
upvoted 0 times
...
Florinda
15 days ago
Option C is definitely the best choice. AWS Step Functions will handle the order of the Lambda functions seamlessly.
upvoted 0 times
...
Lisandra
16 days ago
Definitely, it will streamline the process without much hassle.
upvoted 0 times
...
Frederick
27 days ago
It sounds like the most efficient solution for this scenario.
upvoted 0 times
...
Chaya
1 months ago
I agree, AWS Step Functions will help keep everything in order.
upvoted 0 times
...
Laine
1 months ago
I think option C is the best choice.
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