Know if you're actually ready. Take the Azure AI-103 quiz → get your AI readiness report.Take the free test →

Study guide · Azure AI-103

Text Analysis: AI-103 Domain 5 (10-15%)

Turning free text into structured data, handling personal data safely, and the speech capabilities that make an agent something you can talk to.

What this domain covers

Implement text analysis solutions is 10-15% of AI-103. Microsoft's study guide splits it into two areas: apply language model text analysis, and implement speech solutions. The first covers extracting entities, topics, summaries and structured JSON output with generative prompting and Foundry Tools; detecting sentiment, tone, safety issues and sensitive content; translating text with Azure Translator in Foundry Tools or LLM-powered translation flows; and customising language model output for domain tasks such as compliance summarisation and domain extraction. The second covers speech to text and text to speech for agentic interactions, speech as an agent modality including custom speech models, multimodal reasoning from audio inputs, and translating speech into other languages.

Free text into structured data

Named entity recognition locates the spans that name things and labels each with its type, which is what makes prose queryable. For richer requirements — turning a support ticket into a record with category, urgency and affected product — a generative extraction prompt returning a defined JSON schema handles all the fields in one call and adapts when the taxonomy changes. Keyword lookup tables miss every paraphrase, and a classifier per field triples the training and maintenance burden.

Sentiment is not one number

Document-level sentiment collapses a review that praises one aspect and criticises another into a middle value describing neither. Aspect-level analysis keeps them separate, which is why it is the right answer whenever the question involves mixed opinions. Detecting hostility that contains no prohibited vocabulary is a related case: it is expressed through phrasing and intent, so it needs a model-based classifier judging the whole message rather than a blocklist.

Redaction happens before, not after

Personal data has to be removed before the text reaches the model and before it is written to logs or traces. A pipeline that cleans the prompt but writes the raw transcript to its trace has not achieved redaction — it has moved the exposure. This is the single most repeated mistake in this area, because traces feel like infrastructure rather than storage.

NoteAgents accumulate context, and that context is frequently personal data. Every place it lands is a place it has to be redacted.

Translation with things that must not move

General-purpose translation will localise brand and product names along with everything else. Supplying a glossary or do-not-translate list constrains those specific terms so they survive intact. Pivoting through an intermediate language compounds errors, and splitting into sentences to translate independently loses the context that made the translation correct.

Speech as an agent modality

Speech-to-text is the input leg — transcribing what the user said so the agent can reason over it — and text-to-speech is the output. A voice agent also needs barge-in detection: listening while speaking, so it can stop playback when the user starts talking. Without it, the agent talks over the person it is serving. Where recognition fails on domain vocabulary in a specific acoustic environment, a custom speech model trained on that vocabulary and those conditions is the direct remedy; no amount of downstream reasoning recovers a misheard part number.

Reasoning over audio directly

Transcription flattens speech to words and discards prosody. A model that consumes audio directly can attend to tone, hesitation and emphasis, which matters for sentiment, urgency and intent in ways the transcript cannot express. It is not universally faster and language coverage is comparable — the signal that survives is the reason to choose it.

A translation service or an LLM translation flow

The outline names two routes for translating text: Azure Translator in Foundry Tools, or an LLM-powered translation flow. They suit different jobs. A dedicated translation service is built for volume and consistency: the same input gives the same output, and it is the natural fit for translating a large catalogue or a stream of support messages at predictable cost. An LLM flow can follow instructions about the translation itself, such as keeping a formal register, adapting an idiom rather than translating it literally, or translating and summarising in one step, at a higher cost per word and with output that varies more between runs. Whichever route is chosen, protected terms still need a glossary, and quality is judged on a fixed sample of your own content reviewed by fluent speakers rather than on a general benchmark.

Matching the requirement to the technique

Text and speech questions usually turn on one property of the requirement: whether meaning matters more than matching, where the personal data goes, or which signal must survive. The table pairs common requirements with the approach that fits.

The requirement is ...                               Leans toward
Several fields from a ticket in one pass ........... generative extraction to a JSON schema
Mixed opinions in one review ....................... aspect-level sentiment
Hostility without any banned words ................. model-based classifier, not a blocklist
Personal data in transcripts ....................... detect and redact before model and logs
Brand names must survive translation ............... glossary / do-not-translate list
Domain vocabulary misheard on a noisy site ......... custom speech model
Tone and hesitation carry the meaning .............. a model that reasons over audio directly
A caller speaks another language ................... speech translation

Worked scenario: a contact-centre voice agent

An illustration we wrote, not an exam question. An insurer wants a voice agent that takes first notice of a claim by phone. Speech to text is the input leg, and callers name policy types and vehicle parts the general model mishears in a noisy roadside call, so a custom speech model trained on that vocabulary and those conditions is the fix at the source. Callers give names, addresses and policy numbers, so personal data is detected and redacted before the transcript reaches the model and before anything is written to logs or traces, not only in the prompt. Text to speech carries the reply, and barge-in detection lets the caller interrupt. A distressed caller sounds different from a calm one even when the words are the same, so reasoning over the audio directly, rather than over the transcript alone, is what lets the agent notice and hand over to a person. A caller who prefers another language is served with speech translation rather than a separate agent.

Worked scenario: compliance summaries

An illustration we wrote, not an exam question. A compliance team wants each new regulatory notice summarised into a fixed record: what changed, who it applies to, the effective date and the obligations created. The outline names exactly this kind of work, customising language model output for domain tasks such as compliance summarisation. The design uses a defined JSON schema, so every summary has the same fields and can be compared, and instructions to quote the clause each obligation comes from and to leave a field empty rather than guess when the notice does not say. Entities such as regulator names and dates are extracted into their own fields so records can be filtered. Because a missed obligation is costly, the summaries are evaluated against a fixed set of notices with known answers before any prompt change ships, and a person signs off each record before it is relied on.

Common misconceptions

"Redacting the prompt is enough": the raw text in traces and logs is still exposed. "One sentiment score summarises a review": it averages opposing opinions into a number that describes neither. "A blocklist catches abuse": hostility is carried by phrasing and intent, not vocabulary. "Machine translation handles product names": it will localise them unless they are protected by a glossary. "Better reasoning fixes bad transcription": nothing downstream recovers a misheard part number. "A transcript contains everything the call said": it discards tone, hesitation and emphasis.

How this domain connects to the rest of the blueprint

Speech as an agent modality makes this domain the voice of the agents built in Implement generative AI and agentic solutions (30-35%), and structured JSON output is how those agents turn free text into something a tool can use. Detecting sensitive content and redacting personal data are part of the responsible AI controls in Plan and manage an Azure AI solution (25-30%). Audio ingestion for retrieval sits in Implement information extraction solutions (10-15%), next to the document pipelines it shares an index with.

NoteTo check this domain under exam-like weighting, take the free AI-103 readiness test. It samples questions across all five domains in proportion to their published weights and returns a per-domain weak-area breakdown.
Exam tipWatch for questions where the naive answer is a lexicon — a blocklist for hostility, a keyword table for categories, a phrase list for injection. The exam consistently prefers a model that judges meaning over a list that matches strings.

Worked example questions

Exam-style questions on this domain, with the reasoning spelled out. They are written for this guide rather than taken from the readiness test's question bank.

A team reviews hotel feedback in which guests often praise the room but criticise check-in. Document-level scoring reports such reviews as neutral. What fits better?

  1. AAveraging the document scores across each month of reviews
  2. BA blocklist of negative words matched against the review text
  3. CTranslating every review into a single language before it is scored
  4. DAspect-level sentiment analysis that scores each topic separatelyCorrect
WhyA single document score collapses opposing opinions into a middle value that describes neither. Aspect-level analysis keeps the praise and the criticism separate. Averaging across reviews only repeats the collapse at a larger scale, and a blocklist or a translation step does nothing about it.

A voice pipeline redacts personal data from each prompt before calling the model, yet a privacy review still finds callers' names in storage. Where is the likely exposure?

  1. AThe raw transcript written to logs and traces before redactionCorrect
  2. BThe text-to-speech voice that reads replies aloud
  3. CThe temperature setting, which makes output less repeatable
  4. DThe barge-in detection that stops playback when a caller speaks
WhyRedaction has to happen before the text reaches the model and before it is written to logs or traces. A pipeline that cleans only the prompt while tracing the raw transcript has moved the exposure rather than removed it. The other options are real parts of a voice pipeline but do not store what callers said.

Sources and last verified

Exam figures on this page are read from the vendor pages below. Each date is when we last checked that page.

← All Azure AI-103 guides