ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 5 - AXS-C01 discussion

Report
Export

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.
Answers
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.
Answers
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.
Answers
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

Explanation:

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

asked 16/09/2024
Enayat Meer
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first