Exam AI-102 Topic 5 Question 415 Discussion

Actual exam question for Microsoft's AI-102 exam
Question #: 415
Topic #: 5
You are building a text-to-speech app that will use a custom neural voice.
You need to create an SSML file for the app. The solution must ensure that the voice profile meets the following requirements:
* Expresses a calm tone
* Imitates the voice of a young adult female
How should you complete the code? To answer, select the appropriate options in the answer area. NOTE:
Each correct selection is worth one point.

Suggested Answer:


Explanation:

You are creating an SSML file for a text-to-speech app using a custom neural voice.
Requirements:
Expresses a calm tone # corresponds to style (e.g., " gentle " ).
Imitates the voice of a young adult female # corresponds to role (e.g., " YoungAdultFemale " ).
Key Knowledge:
In Speech Synthesis Markup Language (SSML) with Microsoft Azure TTS:
< mstts:express-as > supports attributes such as style, role, styledegree, voice, etc.
role # controls persona/age/gender (e.g., " YoungAdultFemale " ).
style # controls the speaking tone/intonation (e.g., " gentle " , " calm " , " chat " ).
Code Completion:
< mstts:express-as role = " YoungAdultFemale " style = " gentle " >
How can I assist you?
< / mstts:express-as >
Verified Answer:
First dropdown: role
Second dropdown: style
Microsoft References:
Azure Speech SSML - express-as element
Speech synthesis styles and roles
# Final Answer:
role = " YoungAdultFemale "
style = " gentle "

by Jeremy at Jun 20, 2026, 11:36 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
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.

0
0
0
10