Microsoft Azure AI Engineer Associate AI-102 Practice Question

You are building a voice-enabled web application that uses Azure OpenAI to generate answers and Azure AI Speech to read them aloud. Because answers can be several paragraphs long, you need the browser to begin playback as soon as the first audio bytes arrive rather than waiting for the entire text to be synthesized.

Which implementation approach meets this requirement while minimizing latency?

  • Use the Batch Synthesis API so that the speech service produces the audio in parallel on the server and then download the final MP3.

  • Send the complete OpenAI response to the Speech Synthesis REST endpoint and return the resulting WAV file after the call finishes.

  • Call StartSpeakingTextAsync on a SpeechSynthesizer object and stream each audio buffer that arrives in the Synthesizing event directly to the client.

  • Enable AutoDetectSourceLanguageConfig and call SpeakTextAsync once the whole response is generated.

Microsoft Azure AI Engineer Associate AI-102
Implement natural language processing solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot