Câu 20: AWS Certified Alexa Skill Builder - Specialty
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 i…
Nội dung câu hỏi
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?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Place logic within the skill's SessionEndedRequest intent handler to copy the persistent attributes into the session attributes. — đáp án hiện tại
- 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
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.