An Alexa Skill Builder is developing a skill containing a multi-turn dialog that can be invoked with or without a specific intent request. On invocation, the skill needs to retrieve persistent attributes that have been saved by a previous invocation, and then copy them into session attributes. How should the Builder implement this functionality?
A) Place logic within the skill's SessionEndedRequest intent handler to copy the persistent attributes into the session attributes. Place logic within the skill's SessionEndedRequest intent handler to copy the persistent attributes into the session attributes.
B) Implement ResponseInterceptor containing logic that takes the current persistent attributes and copies them into session attributes. Implement ResponseInterceptor containing logic that takes the current persistent attributes and copies them into session attributes.
C) Include logic within the LaunchRequest intent handler to retrieve persistent attributes and copy them into session attributes. Include logic within the LaunchRequest intent handler to retrieve persistent attributes and copy them into session attributes.
D) Implement RequestInterceptor containing logic which for new sessions, retrieves persistent attributes and copies them into session attributes RequestInterceptor containing logic which for new sessions, retrieves persistent attributes and copies them into session attributes
Correct Answer:
Verified
Q1: An Alexa Skill Builder adds a colleague
Q2: An Alexa Skill Builder is using session
Q3: A travel booking skill has slot elicitation
Q5: An Alexa Skill Builder is developing a
Q6: Before beginning the development of a skill,
Q7: An Alexa Skill Builder would like to
Q8: An Alexa Skill Builder is developing a
Q9: An Alexa Skill Builder has built a
Q10: An Amazon Alexa skill fetches data for
Q11: According to Amazon Alexa best practices, how
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents