Microsoft Azure AI Engineer Associate AI-102 Practice Question
You are developing a customer service kiosk that must capture a customer's spoken English request, translate it to Spanish in real time, and immediately play the Spanish audio back to the customer. You want to minimize latency by avoiding multiple round-trips to the service. Which approach should you implement in the client application?
Submit the captured audio to an Azure Speech Batch Transcription job that is configured to output a Spanish voice file.
Configure a TranslationRecognizer with "es-ES" as a target language, set the translation synthesis voice property to a Spanish neural voice, and play the audio returned in the Synthesizing event.
Create a Custom Commands project and assign a Spanish neural voice to all command responses for automatic speech output.
Use SpeechRecognizer to obtain the English text, send it to the Azure Translator REST API, then pass the translated text to SpeechSynthesizer for playback.
The Azure Speech SDK can perform real-time speech-to-speech translation with a single connection by using TranslationRecognizer. Configure SpeechTranslationConfig with the source language and add "es-ES" to the target languages, then call SetVoiceName (or set the SpeechServiceConnection_TranslationVoice property) to select a Spanish neural voice. Subscribe to the TranslationRecognizer's Synthesizing event and stream the returned audio directly to the device speakers. This removes the extra requests needed for separate text translation and speech synthesis. Using SpeechRecognizer plus REST calls introduces two additional network hops, Batch Transcription is asynchronous and not suitable for real-time audio, and Custom Commands is limited to predefined commands and still requires separate synthesis.
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 a TranslationRecognizer in Azure Speech SDK?
Open an interactive chat with Bash
What is the Synthesizing event in Azure Speech SDK's TranslationRecognizer?
Open an interactive chat with Bash
What is a neural voice in Azure Speech SDK, and why use it for translation synthesis?
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 .