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?

QuestionsCategory: AXS-C01An 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?
Admin Staff asked 3 months ago
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.

B. 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.

D. Implement RequestInterceptor containing logic which for new sessions, retrieves persistent attributes and copies them into session attributes








 

Suggested Answer: A



Reference:
https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html


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:

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.