exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 1 question 18 discussion

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

HOTSPOT -
You are developing a streaming Speech to Text solution that will use the Speech SDK and MP3 encoding.
You need to develop a method to convert speech to text for streaming MP3 data.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-use-codec-compressed-audio-input-streams?tabs=debian&pivots=programming- language-csharp

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
htolajide
Highly Voted 3 years ago
The answer is correct
upvoted 30 times
Mll1975
2 years, 11 months ago
I agree GetCompressedFormat https://docs.microsoft.com/en-us/dotnet/api/microsoft.cognitiveservices.speech.audio.audiostreamformat.getcompressedformat?view=azure-dotnet SpeechRecognizer https://docs.microsoft.com/en-us/dotnet/api/microsoft.cognitiveservices.speech.speechrecognizer.-ctor?view=azure-dotnet#Microsoft_CognitiveServices_Speech_SpeechRecognizer__ctor_Microsoft_CognitiveServices_Speech_SpeechConfig_Microsoft_CognitiveServices_Speech_Audio_AudioConfig_
upvoted 8 times
rdemontis
11 months, 2 weeks ago
correct answer. Thanks for the provided documentation
upvoted 2 times
...
...
...
sumanshu
Highly Voted 2 years, 9 months ago
We need to convert Streaming MP3 Data. So, option 1 is eliminated, as it's not a Audio Streaming function. rest 3 contains the keyword Stream. But, default audio stream format is WAV, and here we are passing MP3, So other then WAV, we need to pass compressed audio format, So correct answer is : AudioStreamFormat.GetCompressedFormat. and we need to recognize the speech to convert into the text - so, Speech Recognizer.
upvoted 13 times
...
syupwsh
Most Recent 1 month, 2 weeks ago
AudioStreamFormat.GetCompressedFormat is CORRECT because it specifies the format of the audio stream, which in this case is MP3. The AudioStreamFormat class allows you to define the specific format of the audio data being streamed. SpeechRecognizer is CORRECT because it is used for converting speech to text. The SpeechRecognizer class is designed to recognize speech from audio streams and convert it into text.
upvoted 1 times
...
CDL_Learner
6 months ago
AudioStreamFormat.GetCompressedFormat(AudioStreamContainerFormat.MP3): This option is selected because the audio data is in MP3 format, which is a compressed audio format. The GetCompressedFormat method is used to get the format of the compressed audio data. AudioConfig.SetProperty: This is used to set a property of the AudioConfig object, not to get the format of the audio data. AudioStreamFormat.GetWaveFormatPCM: This is used to get the format of PCM audio data, not MP3. PullAudioInputStream: This is used to create a pull audio input stream, not to get the format of the audio data.
upvoted 1 times
...
Prodyna
11 months, 1 week ago
appeared in november exam
upvoted 4 times
...
acsoma
1 year, 2 months ago
appeared in august exam
upvoted 4 times
...
zellck
1 year, 3 months ago
1. AudioStreamFormat.GetCompressedFormat. 2. SpeechRecognizer https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-use-codec-compressed-audio-input-streams https://learn.microsoft.com/en-us/dotnet/api/microsoft.cognitiveservices.speech.speechrecognizer?view=azure-dotnet Transcribes speech into text. Speech can arrive via microphone, audio file, or other audio input stream.
upvoted 5 times
...
DS_newb
1 year, 6 months ago
It is no longer in exam
upvoted 1 times
DS_newb
1 year, 6 months ago
wait the respond should in face related question, why appear in here?
upvoted 1 times
...
...
Eltooth
2 years, 3 months ago
AudioStream.GetCompressedFormat (MP3 is compressed audio file) SpeechRecognizer
upvoted 2 times
...
ashu789
2 years, 10 months ago
was on exam 05/12/2021
upvoted 1 times
...
Phong0411
2 years, 10 months ago
WAs on exam 30/11/2021
upvoted 1 times
...
Ravnit
2 years, 10 months ago
Was on exam 27/11/2021
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