Question 271 · 328 in bank
HOTSPOT - You have a chatbot. You need to ensure that the bot conversation resets if a user fails to respond for 10 minutes. How should you complete the code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

This is an interactive task on the real exam — a drag-and-drop, hotspot or ordering question. There is nothing to select here, so the answer is shown below for reference.
Show the answer figure
Answer: See figure below
Explanation
1. send_activity 2. clear_state https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-howto-expire-conversation?view=azure-bot-service-4.0&tabs=python#user-interaction-expiration # Notify the user that the conversation is being restarted. - await turn_context.send_activity( # Clear state. - await self.conversation_state.clear_state(turn_context)
Source: Adapted from community discussion — zellck
