Microsoft Azure AI Engineer Associate AI-102 Practice Question
You integrate the Azure Speech SDK into a mobile app to perform real-time translation of English microphone input to spoken German output. You configure SpeechTranslationConfig with the subscription key, region, SpeechRecognitionLanguage="en-US", and AddTargetLanguage("de"). However, the runtime delivers only German text, not audio. Which additional action should you take to make the service return synthesized German audio for each translation result?
Replace TranslationRecognizer with a SpeechRecognizer object that has a Synthesizer attached.
Change SpeechRecognitionLanguage to "de-DE" so that the recognizer and synthesis language match.
Set the VoiceName property (for example, "de-DE-KatjaNeural") on the existing SpeechTranslationConfig instance.
Call FromEndpoint on SpeechTranslationConfig to point to the speech translation REST endpoint instead of using subscription credentials.
Speech translation returns audio only when a voice is specified for the target language. Setting the VoiceName (or SpeechSynthesisLanguage together with a default voice) on the SpeechTranslationConfig tells the service which neural voice to use, causing each TranslationRecognizer result to include an audio stream. Changing the recognition language, adding another target language, or switching to a different recognizer type does not affect whether audio is synthesized.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the VoiceName property in Azure Speech SDK?
Open an interactive chat with Bash
What is the role of SpeechTranslationConfig in Azure Speech SDK?
Open an interactive chat with Bash
How does the Azure Speech service synthesize audio in a translation task?
Open an interactive chat with Bash
Microsoft Azure AI Engineer Associate AI-102
Implement natural language processing solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .