{"id":32,"date":"2020-12-29T14:25:20","date_gmt":"2020-12-29T13:56:51","guid":{"rendered":"http:\/\/exampracticetests.com\/aws\/Alexa_Skill_Builder-Specialty\/2020\/12\/29\/aws-certified-alexa-skill-builder-specialty-question26\/"},"modified":"2020-12-29T14:26:00","modified_gmt":"2020-12-29T14:26:00","slug":"aws-certified-alexa-skill-builder-specialty-question26","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/aws\/Alexa_Skill_Builder-Specialty\/aws-certified-alexa-skill-builder-specialty-question26\/","title":{"rendered":"AWS Certified Alexa Skill Builder &#8211; Specialty &#8211; Question26"},"content":{"rendered":"<div class=\"question\">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.<br \/>\nHow should the Builder implement this functionality? <br \/><strong><br \/>A.<\/strong> Place logic within the skill\u2019s SessionEndedRequest intent handler to copy the persistent attributes into the session attributes. <br \/><strong>B.<\/strong> Implement ResponseInterceptor containing logic that takes the current persistent attributes and copies them into session attributes. <br \/><strong>C.<\/strong> Include logic within the LaunchRequest intent handler to retrieve persistent attributes and copy them into session attributes. <br \/><strong>D.<\/strong> Implement RequestInterceptor containing logic which for new sessions, retrieves persistent attributes and copies them into session attributes<\/div>\n<p><\/p>\n<style> .hidden-div{ display:none } <\/style>\n<p>\t\t\t\t\t\t\t<button onclick=\"getElementById('hidden-div').style.display = 'block'\"> Show Answer <\/button> <button onclick=\"getElementById('hidden-div').style.display = 'none'\">Hide Answer<\/button><\/p>\n<div class=\"hidden-div\" id=\"hidden-div\"><span style=\"\"><\/p>\n<div class=\"answer\">Correct Answer: <strong>A<\/strong><\/div>\n<p><strong>Explanation:<\/strong> <\/p>\n<div class=\"explanation\">\nReference: <a href=\"https:\/\/developer.amazon.com\/en-US\/docs\/alexa\/alexa-skills-kit-sdk-for-nodejs\/manage-attributes.html\" title=\"External link\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/developer.amazon.com\/en-US\/docs\/alexa\/alexa-skills-kit-sdk-for-nodejs\/manage-attributes.html<\/a><\/div>\n<p><\/strong><\/span> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>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. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[3,29],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/aws\/Alexa_Skill_Builder-Specialty\/wp-json\/wp\/v2\/posts\/32"}],"collection":[{"href":"https:\/\/exampracticetests.com\/aws\/Alexa_Skill_Builder-Specialty\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exampracticetests.com\/aws\/Alexa_Skill_Builder-Specialty\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Alexa_Skill_Builder-Specialty\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Alexa_Skill_Builder-Specialty\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":1,"href":"https:\/\/exampracticetests.com\/aws\/Alexa_Skill_Builder-Specialty\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":99,"href":"https:\/\/exampracticetests.com\/aws\/Alexa_Skill_Builder-Specialty\/wp-json\/wp\/v2\/posts\/32\/revisions\/99"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/aws\/Alexa_Skill_Builder-Specialty\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Alexa_Skill_Builder-Specialty\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Alexa_Skill_Builder-Specialty\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}