An Alexa Skill Builder is using session attributes to maintain a user's state. What can the Builder do to ensure that a user's session is not lost if they take too long to answer a question and the skill exists?

QuestionsCategory: AXS-C01An Alexa Skill Builder is using session attributes to maintain a user's state. What can the Builder do to ensure that a user's session is not lost if they take too long to answer a question and the skill exists?
Admin Staff asked 7 months ago
An Alexa Skill Builder is using session attributes to maintain a user's state.
What can the Builder do to ensure that a user's session is not lost if they take too long to answer a question and the skill exists?

A. Set shouldEndSession to false in the response object to prevent the skill from exiting.

B. Handle the SessionEndedRequest request type and persist the user's session to a database.

C. Return false from the SessionEndedRequest handler so the session does not exist.

D. Return a reprompt in the response object from the SessionEndedRequest handler.








 

Suggested Answer: A



Reference:
https://developer.amazon.com/blogs/alexa/post/08edaa00-59e2-46b7-aace-4080f2a87450/using-session-attributes-in-your-alexa-skill-to-enhance-the-
 voice-experience


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:

Next Post

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.