exam questions

Exam AWS Certified Alexa Skill Builder - Specialty All Questions

View all questions & answers for the AWS Certified Alexa Skill Builder - Specialty exam

Exam AWS Certified Alexa Skill Builder - Specialty topic 1 question 18 discussion

An Alexa Skill Builder is using session attributes to maintain a user's state.
What can the Builder do to ensure that a user's session is not lost if they take too long to answer a question and the skill exists?

  • A. Set shouldEndSession to false in the response object to prevent the skill from exiting.
  • B. Handle the SessionEndedRequest request type and persist the user's session to a database.
  • C. Return false from the SessionEndedRequest handler so the session does not exist.
  • D. Return a reprompt in the response object from the SessionEndedRequest handler.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Reference:
https://developer.amazon.com/blogs/alexa/post/08edaa00-59e2-46b7-aace-4080f2a87450/using-session-attributes-in-your-alexa-skill-to-enhance-the- voice-experience

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
mm12341234
3 years, 6 months ago
answer is B.
upvoted 3 times
...
originaly
3 years, 7 months ago
The answer is B. The question states that the session already ended, so the only way to prevent the session data to disappear is to store it somewhere.
upvoted 1 times
...
gabbox
3 years, 7 months ago
A. correct https://developer.amazon.com/en-US/docs/alexa/custom-skills/manage-skill-session-and-session-attributes.html
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago