Exam DVA-C02 All QuestionsBrowse all questions from this exam
Question 254

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?

    Correct Answer: D

    AWS Step Functions Local with mocked service integrations is the best solution for locally testing the ML pipeline without making service integration calls to Amazon SQS and Amazon S3. Step Functions Local allows developers to simulate their state machine executions and mock external service integrations, enabling comprehensive local testing of the pipeline, including the Lambda functions used.

Discussion
SerialiDrOption: 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.

tapan666Option: D

D. Use AWS Step Functions Local with mocked service integrations. Hide Solution

deepak547

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.

Claire_KMT

D. Use AWS Step Functions Local with mocked service integrations.

AnandeshOption: D

https://docs.aws.amazon.com/step-functions/latest/dg/sfn-local-test-sm-exec.html

tsangckl

This appear at 17 Jun exam

65703c1Option: D

D is the correct answer.

KarBiswaOption: D

https://docs.aws.amazon.com/step-functions/latest/dg/sfn-local-test-sm-exec.html