Topic 1 Question 545
A company is using the AWS Serverless Application Model (AWS SAM) to develop a social media application. A developer needs a quick way to test AWS Lambda functions locally by using test event payloads. The developer needs the structure of these test event payloads to match the actual events that AWS services create.
Which solution will meet these requirements with the LEAST development effort?
Create shareable test Lambda events. Use these test Lambda events for local testing.
Store manually created test event payloads locally. Use the sam local invoke command with the file path to the payloads.
Store manually created test event payloads in an Amazon S3 bucket. Use the sam local invoke command with the S3 path to the payloads.
Use the sam local generate-event command to create test payloads for local testing.
ユーザの投票
コメント(1)
- 正解だと思う選択肢: D
obvio sam local generate-event te permite generar payloads de eventos de prueba
👍 1italiancloud20252025/02/17
シャッフルモード