How should the Builder implement this functionality?

Posted by: Pdfprep Category: AXS-C01 Tags: , ,

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’sSessionEndedRequestintent handler to copy the persistent attributes into the session attributes.
B . ImplementResponseInterceptorcontaining logic that takes the current persistent attributes and copies them into session attributes.
C . Include logic within theLaunchRequestintent handler to retrieve persistent attributes and copy them into session attributes.
D . ImplementRequestInterceptorcontaining logic which for new sessions, retrieves persistent attributes and copies them into session attributes

Answer: A

Explanation:

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

Leave a Reply

Your email address will not be published.