Topic 1 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?
Use the Amazon CodeGuru Profiler to analyze the Lambda functions used in the AWS Step Functions pipeline.
Use the AWS Step Functions Local Docker Image to run and locally test the Lambda functions.
Use the AWS Serverless Application Model (AWS SAM) CLI to run and locally test the Lambda functions.
Use AWS Step Functions Local with mocked service integrations.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: D
D. Use AWS Step Functions Local with mocked service integrations. Hide Solution
👍 2tapan6662023/10/28 D. Use AWS Step Functions Local with mocked service integrations.
👍 1Claire_KMT2023/10/28Step 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.
👍 1deepak5472023/11/29
シャッフルモード