Solved

An Alexa Skill Builder Is Using Session Attributes to Maintain

Question 31

Multiple Choice

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. 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. 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. Return false from the handler so the session does not exist.
D) Return a reprompt in the response object from the SessionEndedRequest handler. Return a reprompt object from the SessionEndedRequest handler.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions