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.
Explanations:
Amazon CodeGuru Profiler is used for analyzing and profiling applications, but it does not provide a way to locally test AWS Step Functions pipelines or mock AWS integrations.
The AWS Step Functions Local Docker Image only enables local testing of state machine execution, not mocking of external service integrations such as SQS or S3.
The AWS SAM CLI can locally test Lambda functions, but it does not support full Step Functions workflows or mock integrations with SQS and S3.
AWS Step Functions Local with mocked service integrations allows for local testing of the Step Functions workflow while mocking external integrations like SQS and S3.