Amazon
AXS-C01 · Question #44
AXS-C01 Question #44: Real Exam Question with Answer & Explanation
The correct answer is A. Set shouldEndSession to false in the response object to prevent the skill from exiting.. https://developer.amazon.com/blogs/alexa/post/08edaa00-59e2-46b7-aace-4080f2a87450/using- session-attributes-in-your-alexa-skill-to-enhance-the-voice-experience
Question
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?
Options
- ASet shouldEndSession to false in the response object to prevent the skill from exiting.
- BHandle the SessionEndedRequest request type and persist the user's session to a database.
- CReturn false from the SessionEndedRequest handler so the session does not exist.
- DReturn a reprompt in the response object from the SessionEndedRequest handler.
Explanation
https://developer.amazon.com/blogs/alexa/post/08edaa00-59e2-46b7-aace-4080f2a87450/using- session-attributes-in-your-alexa-skill-to-enhance-the-voice-experience
Community Discussion
No community discussion yet for this question.