Microsoft Azure AI Engineer Associate AI-102 Practice Question
You trained a custom speech-to-text model in Speech Studio for en-US and deployed it, receiving a deployment (endpoint) ID. A C# desktop app creates a SpeechConfig instance by calling SpeechConfig.FromSubscription(key, region) and then instantiates a SpeechRecognizer for real-time recognition. To make sure the app uses your custom model instead of the base model, which SDK property should you set before creating the SpeechRecognizer?
Attach a Recognized event handler that sets a DeploymentId property on each recognition result.
Set SpeechConfig.SpeechRecognitionLanguage to the deployment ID value.
Append the deployment ID to the subscription key that SpeechConfig.FromSubscription uses.
Assign the deployment ID to the SpeechConfig.EndpointId property.
The Speech SDK selects a custom speech-to-text model when the client specifies the model's endpoint ID. This is done by assigning the deployment (endpoint) ID to the SpeechConfig.EndpointId property and then passing that SpeechConfig object to the SpeechRecognizer constructor. Modifying SpeechRecognitionLanguage only chooses a base language; adding the ID to the subscription key or to event handlers has no effect on model selection, so those approaches will still route audio to the standard model.
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 SpeechConfig.EndpointId property used for?
Open an interactive chat with Bash
How does SpeechRecognizer interact with custom speech models?
Open an interactive chat with Bash
Why doesn’t SpeechConfig.SpeechRecognitionLanguage choose a custom model?
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 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .