nerdexam
Microsoft

AI-102 · Question #280

Drag and Drop Question You develop a Python app named App1 that performs speech-to-speech translation. You need to configure App1 to translate English to German. How should you complete the…

The correct answer is speech_recognition_language; add_target_language; speech_synthesis_language. For speech-to-speech translation using Azure Cognitive Services, you must configure three properties in sequence: 'speech_recognition_language' sets the source language (English, e.g., 'en-US') that the app will listen to and recognize, 'add_target_language' specifies the…

Submitted by andres_qro· Mar 30, 2026Implement natural language processing solutions using Azure AI Speech services, specifically configuring speech-to-speech translation pipelines with the Azure Speech SDK.

Question

Drag and Drop Question You develop a Python app 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. Answer:

Exhibit

AI-102 question #280 exhibit

Answer Area

Drag items

add_target_languagespeech_synthesis_languagespeech_recognition_languagevoice_name

Correct arrangement

  • speech_recognition_language
  • add_target_language
  • speech_synthesis_language

Explanation

For speech-to-speech translation using Azure Cognitive Services, you must configure three properties in sequence: 'speech_recognition_language' sets the source language (English, e.g., 'en-US') that the app will listen to and recognize, 'add_target_language' specifies the intermediate translation target language (German, e.g., 'de') for the translation engine, and 'speech_synthesis_language' defines the language used for the final synthesized speech output (German, e.g., 'de-DE'). This three-step configuration ensures the full speech-to-speech pipeline - recognition, translation, and synthesis - is correctly configured.

Topics

#Azure Cognitive Services#Speech Translation#SpeechTranslationConfig#Python SDK

Community Discussion

No community discussion yet for this question.

Full AI-102 Practice