Solved

An Alexa Skill Builder Is Using Session Attributes to Maintain

Question 2

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents