nerdexam
Microsoft

AI-102 · Question #270

Drag and Drop Question You are building a bot. You need to test the bot in the Bot Framework Emulator. The solution must ensure that you can debug the bot interactively. Which three actions should…

The correct answer is Run the bot app on a local host.; Use the input prompt object to send a trace activity.; Use the trace activity to create a new trace activity. To debug a bot interactively in the Bot Framework Emulator, you first run the bot locally on a localhost so the emulator can connect to it without Azure deployment. You then use the input prompt object to send a trace activity, which allows the emulator to capture and display…

Submitted by yuriko_h· Mar 30, 2026Design and implement conversational AI solutions using Azure Bot Service, including local debugging and testing of bots using the Bot Framework Emulator with trace activities.

Question

Drag and Drop Question You are building a bot. You need to test the bot in the Bot Framework Emulator. The solution must ensure that you can debug the bot interactively. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. Answer:

Exhibit

AI-102 question #270 exhibit

Answer Area

Drag items

Run the bot app on a local host.Use the input prompt object to send a trace activity.Deploy the bot to Azure.Use the trace activity to create a new trace activity.Is the code for the bot, send a trace activity.

Correct arrangement

  • Run the bot app on a local host.
  • Use the input prompt object to send a trace activity.
  • Use the trace activity to create a new trace activity.

Explanation

To debug a bot interactively in the Bot Framework Emulator, you first run the bot locally on a localhost so the emulator can connect to it without Azure deployment. You then use the input prompt object to send a trace activity, which allows the emulator to capture and display internal state information. Finally, you use the trace activity to create a new trace activity, enabling step-by-step interactive debugging by surfacing additional diagnostic data in the emulator's inspector panel.

Topics

#Bot Framework Emulator#Trace Activities#Bot Debugging#Azure Bot Service

Community Discussion

No community discussion yet for this question.

Full AI-102 Practice