Microsoft
AI-102 · Question #243
You create a bot by using the Microsoft Bot Framework SDK. You need to configure the bot to respond to events by using custom text responses. What should you use?
The correct answer is B. an activity handler. An activity handler is a class in the Bot Framework SDK that processes incoming activities (e.g., messages, events, etc.) from the user and generates outgoing activities (e.g., replies). By overriding the OnMessageActivityAsync method of the activity handler, you can provide…
Submitted by lukas.cz· Mar 30, 2026Implement and monitor AI solutions
Question
You create a bot by using the Microsoft Bot Framework SDK. You need to configure the bot to respond to events by using custom text responses. What should you use?
Options
- Aa dialog
- Ban activity handler
- Can adaptive card
- Da skill
How the community answered
(28 responses)- A14% (4)
- B71% (20)
- C4% (1)
- D11% (3)
Explanation
An activity handler is a class in the Bot Framework SDK that processes incoming activities (e.g., messages, events, etc.) from the user and generates outgoing activities (e.g., replies). By overriding the OnMessageActivityAsync method of the activity handler, you can provide custom logic for responding to user messages.
Topics
#Bot Framework SDK#activity handler#event response#custom text response
Community Discussion
No community discussion yet for this question.