AWS Certified Alexa Skill Builder – Specialty — Question 31
An Alexa Skill Builder needs to have knowledge of the previous prompt that was presented to the user in order to give context to the user's response.
How can the Builder accomplish this?
Answer options
- A. Find the corresponding prompt using the list events feature
- B. Store a reference to the prompt used as a session attribute
- C. Call the Intent Request History API to identify which prompt was used.
- D. Parse the context object from the skill request.
Correct answer: C
Explanation
The correct answer is C because the Intent Request History API specifically provides a way to track the prompts that have been used in interactions. The other options either suggest alternative methods that do not directly provide the necessary prompt history or involve tasks that do not link back to the previous prompt effectively.