exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 3 question 40 discussion

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

DRAG DROP
-

You develop an app in C# named App1 that performs speech-to-speech translation.

You need to configure App1 to translate English to German.

How should you complete the SpeechTranslationConfig object? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
MaliSanFuu
Highly Voted 1 year, 8 months ago
Agreeing with @WinzigWeich Answer should be: 1) SpeechRecognitionLanguage 2) AddTargetLanguage
upvoted 29 times
...
ziggy1117
Highly Voted 1 year, 7 months ago
1) SpeechRecognitionLanguage 2) AddTargetLanguage in the exercise of AI-102 online learning
upvoted 12 times
...
jkkkkkaaaaa
Most Recent 1 month, 4 weeks ago
https://learn.microsoft.com/en-us/azure/ai-services/speech-service/how-to-translate-speech?tabs=terminal&pivots=programming-language-csharp
upvoted 1 times
...
Skyhawks
3 months, 2 weeks ago
In this scenario, addTargetLanguage is not the best choice because you are configuring speech-to-speech translation with Azure Speech Translation API, and you need to set both the speech recognition language (input) and the speech synthesis language (output). If we were working with text translation, addTargetLanguage would be relevant. Because of this the correct answers are: speechRecognitionLanguage to "en-US" and speechSynthesisLanguage to "de"
upvoted 1 times
...
famco
4 months, 2 weeks ago
Wait a minute, Microsoft did it again. They made the first one an assignment and the second one a method call and gave the SpeechSynthesizer as an option. That's e v i l. I would just not notice that trick. How else can you explain that. Just to make the person who knows what SpeechSynthesis and with a time pressure fail.
upvoted 1 times
...
krzkrzkra
6 months, 1 week ago
1. SpeechRecognitionLanguage 2. AddTargetLanguage
upvoted 1 times
...
HaraTadahisa
7 months ago
1. speech_recognition_language 2. add_target_language
upvoted 1 times
...
omankoman
7 months, 4 weeks ago
1. SpeechRecognitionLanguage 2. AddTargetLanguage
upvoted 1 times
...
takaimomoGcup
8 months ago
SpeechRecognitionLanguage AddTargetLanguage
upvoted 2 times
...
sca88
1 year, 1 month ago
1) SpeechRecognitionLanguage 2) AddTargetLanguage https://learn.microsoft.com/en-us/dotnet/api/microsoft.cognitiveservices.speech.speechtranslationconfig?view=azure-dotnet
upvoted 1 times
...
zellck
1 year, 6 months ago
1. SpeechRecognitionLanguage 2. AddTargetLanguage https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-translate-speech?tabs=terminal&pivots=programming-language-csharp#change-the-source-language One common task of speech translation is specifying the input (or source) language. In your code, interact with the SpeechTranslationConfig instance by assigning it to the SpeechRecognitionLanguage property: https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-translate-speech?tabs=terminal&pivots=programming-language-csharp#add-a-translation-language Another common task of speech translation is to specify target translation languages. At least one is required, but multiples are supported. With every call to AddTargetLanguage, a new target translation language is specified. In other words, when speech is recognized from the source language, each target translation is available as part of the resulting translation operation.
upvoted 8 times
rdemontis
1 year, 2 months ago
thanks for explanation and the provided relevant documentation
upvoted 2 times
...
...
WinzigWeich
1 year, 8 months ago
https://microsoftlearning.github.io/AI-102-AIEngineer.de-de/Instructions/08-translate-speech.html C# Part translationConfig.SpeechRecognitionLanguage translationConfig.AddTargetLanguage
upvoted 6 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