What this domain covers
Reported, thanks
A full Microsoft Certified: Azure AI Apps and Agents Developer Associate mock exam: 60 questions in 120 minutes, scored against the real exam's pass mark. Your first one is free.
Start a free mock examDomain 4 · Overview
Reported, thanks
Up next: Apply language model text analysis · 11 steps + check · 7 min
Domain 4 · Topic 1 of 2
Step 1 of 11
Think first When should you shape text output with a prompt and a schema, and when should you call a dedicated language or translation feature?
Why it matters: Questions describe a text task and ask which feature, parameter or translation option fits it.
Structured outputs make a model follow the JSON Schema you supply. Dedicated features handle summaries, sentiment, safety checks and translation, each with its own settings. Your job is to match each text task to the feature that fits it.
Reported, thanks
Step 2 of 11
| Term | Meaning |
|---|---|
| Structured outputs | A mode where the model's JSON must follow the JSON Schema you supply, not just be valid JSON. |
| Abstractive summary | A summary the model writes in its own words by paraphrasing the key information. |
| Confidence score | A value from 0 to 1 for how sure the model is about a sentiment label. |
| AdaptCT | Adaptive custom translation: steers LLM output with 5 to 10,000 example segment pairs, through few-shot retrieval at inference. |
| NMT | Azure Translator's standard translation model, the option you pick instead of an LLM deployment. |
Reported, thanks
Step 3 of 11
Structured outputs make the model follow your JSON Schema exactly. Both Chat Completions and the Responses API support it. For Chat Completions, the schema goes in response_format. For the Responses API, it goes in text.format.
Exam trap JSON mode is the older option. It guarantees valid JSON, but it can't guarantee that the output sticks to your schema.
Reported, thanks
Step 4 of 11
Every object in the schema needs additionalProperties: false. That setting blocks keys the schema doesn't define. A schema can hold up to 100 object properties in total, with up to five levels of nesting. Structured outputs don't work with parallel function calls, so set parallel_tool_calls to false.
Reported, thanks
Step 5 of 11
Extractive summaries pick sentences; abstractive summaries paraphrase. Document summarization takes at most 25 documents per request. Larger documents make each call slower.
Extractive and abstractive summaries compared
| Feature | Extractive | Abstractive |
|---|---|---|
| What you get back | Sentences taken from the input | New, succinct sentences that paraphrase it |
| What to watch | Chronological order unless you set sortBy |
Some information or accuracy can be lost |
Exam trap Summarization doesn't check facts or verify content. Your application needs its own guard against spreading false information.
Reported, thanks
Step 6 of 11
Key phrase extraction surfaces the main concepts in a text. It retires from Azure Language on March 31, 2029. Send new projects to Microsoft Foundry, and move existing workloads before that date to avoid disruption.
Reported, thanks
Step 7 of 11
Sentiment returns a label and 0 to 1 scores for each of three labels. You get positive, neutral and negative scores for each document and each sentence. By default, the label is the highest score, but you can set your own thresholds. Optional opinion mining adds aspects, such as product attributes, with their opinion words.
Exam trap A score near 1 means the model is confident in that label. It says nothing about how intense the sentiment is.
Reported, thanks
Step 8 of 11
Content Safety text detection covers hate, sexual, violence and self-harm. Each category comes back with a risk level on a multi-severity scale. Custom categories add finer control on top of those defaults; they don't replace them. Supported languages are currently Chinese, English, French, German, Italian, Japanese, Portuguese and Spanish.
Reported, thanks
Step 9 of 11
Azure Translator can run standard NMT or an LLM deployment. LLM-based translation needs a Microsoft Foundry resource and adds formal, informal or neutral tone plus gender controls. Repeat to to get several languages from one request. Leave out from and the input language is detected automatically. For profanity, profanityAction takes NoAction (default), Marked or Deleted.
Exam trap The dynamic dictionary doesn't work with autodetection. Pass
fromexplicitly, and remember that the dictionary is case-sensitive.
Reported, thanks
Step 10 of 11
Custom Translator trains a model; AdaptCT steers the LLM at inference. Choose Custom Translator for a dedicated production model built from a large parallel corpus. Choose AdaptCT to influence LLM style and terminology with no large training run or separate deployment.
Two ways to tailor translations to your domain
| Feature | Custom Translator | AdaptCT |
|---|---|---|
| How it adapts | Full model training and deployment | Few-shot retrieval at inference |
| Data you supply | A large parallel corpus | 5 to 10,000 segment pairs, each up to 250 characters |
| Time to update | Retrain and redeploy, up to about 48 hours | Adaptive dataset ready in minutes |
| How a request uses it | Category ID in category (default general) |
Up to five reference translations or a dataset index ID |
Exam trap With
allowFallback=false, Translator uses only custom systems for the requested category. If none exists, the request fails with a 400 status code.
Reported, thanks
Step 11 of 11
Sources: How to use structured outputs with Azure OpenAI in Microsoft Foundry Models - Microsoft Foundry | Microsoft Learn (opens in a new tab) · Characteristics and limitations for summarization - Foundry Tools | Microsoft Learn (opens in a new tab) · Transparency note - Sentiment Analysis feature of Azure Language in Foundry Tools - Foundry Tools | Microsoft Learn (opens in a new tab) · Transparency Note and use cases for AI Content Safety - Foundry Tools | Microsoft Learn (opens in a new tab) · What is Azure text translation in Microsoft Foundry? - Microsoft Foundry | Microsoft Learn (opens in a new tab) · Foundry Tools adaptive custom translation - Foundry Tools | Microsoft Learn (opens in a new tab) · What is key phrase extraction in Azure Language in Foundry Tools? - Foundry Tools | Microsoft Learn (opens in a new tab) · Translator Translate Method - Foundry Tools | Microsoft Learn (opens in a new tab)
Reported, thanks
Check
Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.
Every answer right. This topic is yours now.
Up next: Implement speech solutions · 11 steps + check · 7 min
Domain 4 · Topic 2 of 2
Step 1 of 11
Think first How would you give an agent the ability to listen, speak and translate, and when would you need a custom speech model?
Why it matters: Questions describe a voice scenario and ask which speech feature, setting or custom model fits it.
Speech to text turns a user's spoken words into text that a dialog system or analytics can use. The Speech Translation API transcribes audio, then translates it into the user's language, and text to speech can voice the result. You can customize recognition at runtime with a phrase list or ahead of time with custom speech.
Reported, thanks
Step 2 of 11
| Term | Meaning |
|---|---|
| Speech MCP server | The remote MCP server that gives a Foundry agent speech to text and text to speech. |
| Diarization | Telling speakers apart in a transcript, labeled GUEST1, GUEST2 and so on. |
| Phrase list | A runtime way to customize speech to text, with no model training ahead of time. |
| Voice sync for avatar | A custom voice like the avatar talent's, created with a custom avatar and used only with it. |
| ITN rules | Display text formatting rules for speech to text; Microsoft's default rules run before any custom ITN model. |
Reported, thanks
Step 3 of 11
Connect Azure Speech to an agent by adding a remote MCP server. The agent's model must be able to call tools, as gpt-4o and later models can. MCP tools need the Agent Service Enterprise tier. In X-Blob-Container-Url, give a SAS URL with read and write permissions; audio output files are stored there.
Exam trap The Speech MCP tool doesn't work with network-secured Microsoft Foundry.
Reported, thanks
Step 4 of 11
For the best recognition, send WAV audio at 16 kHz and 16-bit depth. Spoken output from the agent's Speech tool is saved as a WAV file in the blob container, and an audio link appears in the chat. Transcripts can feed a dialog system or analytics such as summarization and sentiment.
Exam trap Speakers aren't separated unless you ask. Diarization is off by default; turn it on to get a speaker label on each utterance.
Reported, thanks
Step 5 of 11
POST /openai/v1/audio/speech turns up to 4096 characters into audio. The required model field takes one of the available TTS models, such as tts-1, tts-1-hd or gpt-4o-mini-tts. The input field holds the text to speak.
Exam trap The
instructionsparameter for shaping the voice doesn't work withtts-1ortts-1-hd.
Reported, thanks
Step 6 of 11
Use a phrase list at runtime, or custom speech ahead of time. For custom display formatting, Microsoft's default ITN rules run first. Their output then feeds your custom ITN model, which matches regardless of case. A deployed model bills for endpoint uptime, whether or not anyone calls it.
Exam trap Deleting a deployment stops hosting charges but doesn't delete the model. To use it again, create a new deployment.
Reported, thanks
Step 7 of 11
The Speech Translation API transcribes audio, then translates it. It is a cascade of Speech Services and Text Translator, and the user chooses the target language. The translated result can stay as text, or text to speech can turn it into audible speech.
Reported, thanks
Step 8 of 11
Custom neural voice is a Limited Access feature that needs registration. Only customers managed by Microsoft are eligible. The lite project type (preview) builds a demo model from 20 to 50 samples recorded in Speech Studio. Every deployed custom voice must disclose that it is synthetic and offer users a feedback channel.
Reported, thanks
Step 9 of 11
Custom avatar supports only standard (S0) Foundry or Speech resources. Training usually takes 20 to 40 compute hours. All training data must match your chosen setting, such as 4K footage for 2160p. An avatar name allows letters, numbers, hyphens and underscores, and must be unique in the resource.
Exam trap A voice sync for avatar voice can't be reused elsewhere; it serves only its own avatar. Your consent statement must cover both.
Reported, thanks
Step 10 of 11
Set userOwnedStorage when you create the Foundry resource. Speech outputs then go to your bound storage containers. That covers batch and real-time speech to text, Custom Speech, text to speech and Custom Voice.
Exam trap Without
userOwnedStorage, Speech uses Microsoft-managed storage, which your customer-managed key doesn't cover.
Reported, thanks
Step 11 of 11
instructions voice control doesn't work with tts-1 or tts-1-hd.Sources: Use cases for Speech to text - Foundry Tools | Microsoft Learn (opens in a new tab) · Connect Azure Speech in Foundry Tools to an agent - Microsoft Foundry | Microsoft Learn (opens in a new tab) · How to create a custom text to speech avatar - Speech service - Foundry Tools | Microsoft Learn (opens in a new tab) · Display text format training data - Speech service - Foundry Tools | Microsoft Learn (opens in a new tab) · Create a speech | Microsoft Learn (opens in a new tab) · Limited Access - Foundry Tools | Microsoft Learn (opens in a new tab) · Connect your own storage to Speech/Language - Microsoft Foundry | Microsoft Learn (opens in a new tab)
Reported, thanks
Check
Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.
Every answer right. This topic is yours now.
Mixed quiz
8 questions mixed from every topic in this domain, each answer explained. Mixing topics is harder than one at a time, and it is what the exam does. No account needed; with a free account your answers also build your estimated exam score.
Flashcards
4 cards with this domain's key facts. Flip each one and check what you knew. No account needed.
Thank you. It goes straight to the people who write these notes.
A full Microsoft Certified: Azure AI Apps and Agents Developer Associate mock exam: 60 questions in 120 minutes, scored against the real exam's pass mark. Your first one is free.
Start a free mock examFree to start: the study notes and plan, quizzes, flashcards and the first mock exam, no card needed. A free account keeps your place and saves your quiz scores.