Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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 (?) , you can switch to a simple comment.
Switch to a voting comment New
Anandesh
1 month, 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
2 months, 3 weeks ago
This appear at 17 Jun exam
upvoted 1 times
...
65703c1
3 months, 2 weeks ago
Selected Answer: D
D is the correct answer.
upvoted 1 times
...
KarBiswa
6 months, 1 week ago
Selected Answer: D
https://docs.aws.amazon.com/step-functions/latest/dg/sfn-local-test-sm-exec.html
upvoted 1 times
...
SerialiDr
7 months, 2 weeks 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 4 times
...
deepak547
9 months, 1 week 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
10 months, 2 weeks ago
Selected Answer: D
D. Use AWS Step Functions Local with mocked service integrations. Hide Solution
upvoted 3 times
...
Claire_KMT
10 months, 2 weeks 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 ...