nerdexam
Amazon

AXS-C01 · Question #31

An Alexa Skill Builder is developing a custom skill and needs to verify that the correct slot values are being passed into the AWS Lambda function. According to best practices, what is the MOST…

The correct answer is D. Add a statement to parse the JSON request and save to the local disk for the Lambda function. https://developer.amazon.com/en-US/docs/alexa/custom-skills/validate-slot-values.html

Test, Validate, and Troubleshoot

Question

An Alexa Skill Builder is developing a custom skill and needs to verify that the correct slot values are being passed into the AWS Lambda function. According to best practices, what is the MOST efficient way to capture this information?

Options

  • AAdd a logging statement to write the event request to Amazon CloudWatch Logs.
  • BAdd an API call to write the environment variables to an Amazon S3 bucket when the function is
  • CAdd an API call to read the event information from AWS Cloud Trail logs and add a PutObject API
  • DAdd a statement to parse the JSON request and save to the local disk for the Lambda function

How the community answered

(53 responses)
  • A
    6% (3)
  • B
    11% (6)
  • C
    4% (2)
  • D
    79% (42)

Explanation

https://developer.amazon.com/en-US/docs/alexa/custom-skills/validate-slot-values.html

Topics

#debugging#slot values#AWS Lambda#CloudWatch Logs

Community Discussion

No community discussion yet for this question.

Full AXS-C01 Practice