Designing and Implementing a Microsoft Azure AI Solution — Question 16
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?
Answer options
- A. a dialog
- B. an activity handler
- C. an adaptive card
- D. a skill
Correct answer: B
Explanation
The correct answer is B, as an activity handler is specifically designed to manage and respond to different types of activities, including events. Option A, a dialog, is more focused on managing conversations rather than direct event responses. Option C, an adaptive card, is a visual representation and not a mechanism for handling events, while Option D, a skill, is typically used to extend bot capabilities rather than directly manage event responses.