ExamQuestions.com

Register
Login
Microsoft Azure Exam Certification (AI-102) Exam Questions

Microsoft

Microsoft Azure Exam Certification (AI-102)

43 / 166

Question 43:

You are using the Azure Speech service to convert text to speech. The prerequisites are met, Speech SDK is installed and required packages are included. You are tasked to configure SpeechSynthesizer for the following use cases: Use Case 1: Output audio to a .wav file
Use Case 2: Output audio to a speaker
Use Case 3: Output audio as an in-memory stream
You configure four different variables to meet the requirements per the Use Cases given above. Var 1: using var synthesizer = new SpeechSynthesizer(speechConfig, null);
Var 2: using var synthesizer = new SpeechSynthesizer(null, audioConfig);
Var 3: using var synthesizer = new SpeechSynthesizer(speechConfig, audioConfig)
Var 4: using var synthesizer = new SpeechSynthesizer(speechConfig);
Review the Use Cases above and map them to the variables in order to meet the objective. 
 

Answer options:

A.Use Case 1: Var 3;Use Case 2: Var 2; Use Case 3: Var 1 
B.Use Case 1: Var 3;Use Case 2: Var 1; Use Case 3: Var 2
C.Use Case 1: Var 3;Use Case 2: Var 4; Use Case 3: Var 2
D.Use Case 1: Var 3;Use Case 2: Var 4; Use Case 3: Var 1