exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 5 question 24 discussion

Actual exam question from Microsoft's AI-102
Question #: 24
Topic #: 5
[All AI-102 Questions]

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?

  • A. a dialog
  • B. an activity handler
  • C. an adaptive card
  • D. a skill
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
marti_tremblay000
Highly Voted 1 year, 11 months ago
Selected Answer: B
B is the correct answer as explained by ChatGPT : B. An activity handler is the correct choice for configuring the bot to respond to events by using custom text responses. 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.
upvoted 8 times
...
syupwsh
Most Recent 1 day, 14 hours ago
Selected Answer: B
An activity handler is designed to handle various types of activities in the Microsoft Bot Framework, including events. You can use an activity handler to respond to events and send custom text responses based on the type of activity received. https://learn.microsoft.com/en-us/azure/bot-service/bot-activity-handler-concept?view=azure-bot-service-4.0&tabs=csharp Answer is B
upvoted 1 times
...
krzkrzkra
7 months ago
Selected Answer: B
Selected Answer: B
upvoted 1 times
...
cxw23
7 months, 3 weeks ago
Azure Bot Service has been removed from the exam since oct 2023.
upvoted 3 times
...
reigenchimpo
8 months ago
Selected Answer: B
B is answer.
upvoted 1 times
...
evangelist
1 year ago
Selected Answer: B
To configure the bot to respond to events using custom text responses, you should use B. an activity handler. Activity handlers allow you to manage and respond to different types of activities and events in a bot's conversation, such as messages from users, with customized logic and responses.
upvoted 1 times
...
rdemontis
1 year, 3 months ago
Selected Answer: B
correct
upvoted 2 times
...
Tin_Tin
1 year, 7 months ago
Selected Answer: B
correct https://learn.microsoft.com/en-us/azure/bot-service/bot-activity-handler-concept?view=azure-bot-service-4.0&tabs=csharp
upvoted 3 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