nerdexam
Microsoft

AI-102 · Question #255

You are building a bot by using Microsoft Bot Framework. You need to configure the bot to respond to spoken requests. The solution must minimize development effort. What should you do?

The correct answer is B. Integrate the bot with Cortana by using the Bot Framework SDK. To enable a bot to respond to spoken requests with minimal development effort, integrating it with a pre-existing voice assistant channel like Cortana (when available) would simplify the speech-to-text and text-to-speech setup.

Submitted by femi9· Mar 30, 2026

Question

You are building a bot by using Microsoft Bot Framework. You need to configure the bot to respond to spoken requests. The solution must minimize development effort. What should you do?

Options

  • ADeploy the bot to Azure and register the bot with a Direct Line Speech channel.
  • BIntegrate the bot with Cortana by using the Bot Framework SDK.
  • CCreate an Azure function that will call the Speech service and connect the bot to the function.
  • DDeploy the bot to Azure and register the bot with a Microsoft Teams channel.

How the community answered

(20 responses)
  • A
    10% (2)
  • B
    70% (14)
  • C
    15% (3)
  • D
    5% (1)

Why each option

To enable a bot to respond to spoken requests with minimal development effort, integrating it with a pre-existing voice assistant channel like Cortana (when available) would simplify the speech-to-text and text-to-speech setup.

ADeploy the bot to Azure and register the bot with a Direct Line Speech channel.

While Direct Line Speech offers robust voice capabilities, it typically requires more development effort to integrate the client-side SDK into custom applications, which doesn't align with minimizing development effort.

BIntegrate the bot with Cortana by using the Bot Framework SDK.Correct

Integrating a bot with Cortana via the Bot Framework SDK provides a ready-made channel for handling spoken requests, leveraging Cortana's built-in speech capabilities. This approach minimizes development effort compared to building custom speech integration, as the Bot Framework channel abstracts much of the underlying speech processing complexities.

CCreate an Azure function that will call the Speech service and connect the bot to the function.

Creating an Azure function to call the Speech service and connect it to the bot introduces additional custom development and management overhead, increasing effort.

DDeploy the bot to Azure and register the bot with a Microsoft Teams channel.

Microsoft Teams supports text and some voice/video calls, but it's not primarily a channel for generic voice-driven bot interactions in a way that inherently minimizes effort for spoken requests compared to a dedicated voice assistant channel.

Concept tested: Bot Framework channels for voice and effort

Topics

#Bot Framework#Speech integration#Cortana integration#Bot channels

Community Discussion

No community discussion yet for this question.

Full AI-102 Practice