exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 5 question 16 discussion

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

You need to enable speech capabilities for a chatbot.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Enable WebSockets for the chatbot app.
  • B. Create a Speech service.
  • C. Register a Direct Line Speech channel.
  • D. Register a Cortana channel.
  • E. Enable CORS for the chatbot app.
  • F. Create a Language Understanding service.
Show Suggested Answer Hide Answer
Suggested Answer: ABC 🗳️

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
Eltooth
Highly Voted 2 years, 6 months ago
Selected Answer: ABC
A, B and C are correct answers in order shown below. B. Create a Speech service https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk#create-a-speech-service-resource A. Enable WebSockets for the chatbot app https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk#enable-web-sockets C. Register a Direct Line Speech channel https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk#register-the-direct-line-speech-channel
upvoted 13 times
...
syupwsh
Most Recent 1 day, 14 hours ago
Selected Answer: ABC
Enable WebSockets for the chatbot app is CORRECT because WebSockets are required to establish a real-time, bidirectional communication channel between the client and the server, which is essential for handling speech input and output effectively. Create a Speech service is CORRECT because the Speech service provides the necessary capabilities to convert speech to text, text to speech, and handle other speech-related functionalities required for enabling speech in the chatbot. Register a Direct Line Speech channel is CORRECT because the Direct Line Speech channel allows the bot to integrate with the Speech service and handle voice interactions. This channel is specifically designed for enabling speech capabilities in a chatbot. ABC it is
upvoted 1 times
...
SAMBIT
7 months ago
Do create some to really get to the answer. A is not a choice. CORS is a must.
upvoted 1 times
...
reigenchimpo
8 months ago
Selected Answer: ABC
ABC is answer. difficult.
upvoted 2 times
...
nanaw770
8 months, 2 weeks ago
Selected Answer: ABC
ABC is justice! Sunshine Ikezaki!
upvoted 1 times
...
evangelist
1 year ago
Selected Answer: ABC
Please do not choose BCE, To enable speech capabilities for a chatbot, the correct actions include: A. Enable WebSockets for the chatbot app: Necessary for the bot to communicate with the Direct Line Speech channel using web sockets. B. Create a Speech service: Required to provide speech-to-text and text-to-speech capabilities for the chatbot. C. Register a Direct Line Speech channel: Essential for connecting the chatbot with the Speech service to enable speech interactions. For detailed steps, you can refer to the official Azure documentation: Tutorial: Voice-enable your bot. https://learn.microsoft.com/en-us/azure/ai-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk#enable-web-sockets
upvoted 1 times
...
rdemontis
1 year, 3 months ago
Selected Answer: ABC
https://learn.microsoft.com/en-us/azure/ai-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk
upvoted 2 times
...
zellck
1 year, 7 months ago
Selected Answer: ABC
ABC is the answer. https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk#create-a-speech-service-resource https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk#enable-web-sockets You need to make a small configuration change so that your bot can communicate with the Direct Line Speech channel by using web sockets. https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk#register-the-direct-line-speech-channel This channel creates a connection between your bot and a client app compiled with the Speech SDK.
upvoted 4 times
...
Pffffff
1 year, 9 months ago
Selected Answer: ABC
said ChatGPT
upvoted 3 times
...
marti_tremblay000
1 year, 11 months ago
Selected Answer: BCE
According to ChapGPT, the correct answers are BCE : The three actions that need to be performed to enable speech capabilities for an Azure chatbot are: B. Create a Speech service: A Speech service is needed to process the audio input and output of the chatbot. Azure provides the Speech service that can be created from the Azure portal. C. Register a Direct Line Speech channel: A Direct Line Speech channel needs to be registered in the Azure portal for the chatbot app. The Direct Line Speech channel enables the chatbot to receive audio input and provide audio output to the user. E. Enable CORS for the chatbot app: Cross-Origin Resource Sharing (CORS) needs to be enabled for the chatbot app to allow the browser to access resources from a different domain. This is required when using the Direct Line Speech channel. Therefore, the correct actions are B, C, and E.
upvoted 1 times
...
Pyguy
2 years, 1 month ago
Selected Answer: BCE
instead of WebSockets you should enable CORS . Cross-Origin Resource Sharing , will allow your bot app to communicate with the Speech service.. Nothing to do websockets here..
upvoted 2 times
AzureJobsTillRetire
1 year, 11 months ago
Can you please share your reference? Eltooth has provided link as below. Enable web sockets You need to make a small configuration change so that your bot can communicate with the Direct Line Speech channel by using web sockets. https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk#enable-web-sockets
upvoted 1 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