AWS Certified Alexa Skill Builder – Specialty — Question 42

An Alexa Skill Builder made changes to an AWS Lambda function that is used as the endpoint for a skill. The Builder discovers that the skill now returns an error when it is launched.
How can the Builder use the Lambda console to trigger the function and debug the code?

Answer options

Correct answer: A

Explanation

The correct answer is A because creating a Lambda test event using the JSON request allows the Builder to simulate the input the skill would normally receive and identify any issues in the code. Options B, C, and D do not address the need to test the function with the actual input that the skill uses, making them less effective for debugging the issue at hand.