exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 254 discussion

A developer is creating a machine learning (ML) pipeline in AWS Step Functions that contains AWS Lambda functions. The developer has configured an Amazon Simple Queue Service (Amazon SQS) queue to deliver ML model parameters to the ML pipeline to train ML models. The developer uploads the trained models are uploaded to an Amazon S3 bucket.

The developer needs a solution that can locally test the ML pipeline without making service integration calls to Amazon SQS and Amazon S3.

Which solution will meet these requirements?

  • A. Use the Amazon CodeGuru Profiler to analyze the Lambda functions used in the AWS Step Functions pipeline.
  • B. Use the AWS Step Functions Local Docker Image to run and locally test the Lambda functions.
  • C. Use the AWS Serverless Application Model (AWS SAM) CLI to run and locally test the Lambda functions.
  • D. Use AWS Step Functions Local with mocked service integrations.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
SerialiDr
Highly Voted 1 year, 3 months ago
Selected Answer: D
AWS Step Functions Local allows developers to test Step Functions workflows on their local machines, without the need to deploy them to AWS. By using Step Functions Local, developers can simulate Step Functions and mock the integration with AWS services such as Amazon SQS and Amazon S3. This approach is ideal for testing the flow of the ML pipeline, including the interaction of Lambda functions, without actually triggering external AWS services.
upvoted 5 times
...
Anandesh
Most Recent 9 months, 3 weeks ago
Selected Answer: D
https://docs.aws.amazon.com/step-functions/latest/dg/sfn-local-test-sm-exec.html
upvoted 2 times
...
tsangckl
10 months, 3 weeks ago
This appear at 17 Jun exam
upvoted 1 times
...
65703c1
11 months, 2 weeks ago
Selected Answer: D
D is the correct answer.
upvoted 1 times
...
KarBiswa
1 year, 2 months ago
Selected Answer: D
https://docs.aws.amazon.com/step-functions/latest/dg/sfn-local-test-sm-exec.html
upvoted 1 times
...
deepak547
1 year, 5 months ago
Step Functions Local, specifically allows mocking AWS services like SQS and S3. This enables end-to-end local testing of the state machine while simulating external calls. Therefore, AWS Step Functions Local with mocked integrations meets the requirements to test the pipeline offline without relying on live AWS services. This is the simplest way to achieve local testing.
upvoted 2 times
...
tapan666
1 year, 6 months ago
Selected Answer: D
D. Use AWS Step Functions Local with mocked service integrations. Hide Solution
upvoted 3 times
...
Claire_KMT
1 year, 6 months ago
D. Use AWS Step Functions Local with mocked service integrations.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago