An Alexa Skill Builder wants to create a skill that asks the user two yes/no questions: Alexa: Do you like cats? Alexa: Do you like dogs? When the username answers "yes", how should the Builder code the handler to know which question the answer refers to?

QuestionsCategory: AXS-C01An Alexa Skill Builder wants to create a skill that asks the user two yes/no questions: Alexa: Do you like cats? Alexa: Do you like dogs? When the username answers "yes", how should the Builder code the handler to know which question the answer refers to?
Admin Staff asked 3 months ago
An Alexa Skill Builder wants to create a skill that asks the user two yes/no questions:
Alexa: Do you like cats?
Alexa: Do you like dogs?
When the username answers "yes", how should the Builder code the handler to know which question the answer refers to?

A. Using session attributes, store the previous question as the context for use in the AMAZON.YesIntent handler.

B. Within the AMAZON.YesIntent handler, prompt the user to repeat the name of the animal that they like.

C. Within the AMAZON.YesIntent handler, define a slot to store and retrieve the previously asked question.

D. Access Amazon CloudWatch Logs and retrieve the previous question topic from the recent log messages.








 

Suggested Answer: C



Reference:
https://developer.amazon.com/en-US/docs/alexa/custom-skills/standard-built-in-intents.html


This question is in AXS-C01 AWS Certified Alexa Skill Builder – Specialty Exam
For getting AWS Certified Alexa Skill Builder – Specialty Certificate




Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Amazon.
Trademarks, certification & product names are used for reference only and belong to Amazon.
The website does not contain actual questions and answers from Amazon's Certification Exam.
Question Tags:

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.