SaveMyCert
Log in
5 of 5 free questions left today·for 30 a day
AI-103 · Domain 4

Implement text analysis solutions practice questions

Implement text analysis solutions is worth 13% of the AI-103 exam — the 3rd-heaviest of the 5 domains. Language-model text analysis (entities, summaries, structured JSON, sentiment, translation) and speech-to-text, text-to-speech and speech translation for agents. Official weighting 10–15%. 6 fully worked examples are further down this page, answers included.

Exam weight
13%
the 3rd-heaviest of the 5 domains
Questions
72
across 2 topics
Free, no account
5/day
a free account allows 30 a day
Explanations
Every option
right and wrong

Build a practice session

5 free questions left today.

Domains

How many?

Mode

Ready when you are

10 fresh questions drawn across 1 of 5 domains, in Learn mode.

Focused review

Every question you answer incorrectly, and every question you flag while practising, is saved here automatically. Finish a session and you can come back to re-drill just those.

6 sample Implement text analysis solutions questions, fully explained

Questions from the AI-103 bank mapped to domain 4, with the answer key and the reasoning behind every option. None of them repeat the examples on the main AI-103 practice page.

Question 1Implement text analysis solutions

An insurer wants to extract its own clause types, such as hail-damage riders and named-driver exclusions, from claim letters. The data team has 600 letters labelled with these clause types. Downstream auditing needs the exact character offset of every mention, and the data team must be able to retrain the extractor as new clause types appear. What should you use?

Choose one.

  • a
    The prebuilt named entity recognition feature run against the letters

    Prebuilt NER only knows its predefined categories. It has no category for the insurer's own clause types.

  • b
    A custom named entity recognition project trained on the labelled letters Correct

    Custom NER learns your own entity categories from labelled text, returns each mention with its offset and length, and can be retrained when you add categories.

  • c
    A GPT model prompted with labelled letters as few-shot extraction examples

    Prompted extraction can name clause types, but generated JSON gives no reliable character offsets, and examples in a prompt aren't a model the data team can retrain.

  • d
    Key phrase extraction with its phrases matched against the clause names

    Key phrase extraction returns the main phrases of the text with no categories. It can't be trained on the insurer's labelled clause types.

The concept

Custom NER trains an extractor for your own entity categories from labelled examples.

Why that’s the answer

The insurer needs its own categories, has labelled data, needs precise offsets and wants a retrainable model. Custom NER is built for exactly that. Prebuilt NER lacks the categories, key phrase extraction has no categories or training, and a prompted language model can name the clauses but doesn't give dependable span offsets or learn from the labelled set.

How to reason it out
  1. Spot the custom categories: the clause types are the insurer's own.
  2. Note the labelled data and the offset requirement.
  3. Choose the feature that trains on labelled spans and returns offsets.
  4. Reject the preconfigured features and the untrained prompt.

Exam tip: Own categories + labelled data + exact spans = custom NER.

AI-103: Text Analysis, PII, Content Safety and Translation with Foundry — the lesson that teaches this.

Question 2Implement text analysis solutions

A procurement app extracts fields from supplier contracts with a GPT-4.1 deployment in Microsoft Foundry and strict structured outputs.schema = { "type": "object", "properties": { "supplier": {"type": "string"}, "renewal_date": {"type": "string"}, }, "required": ["supplier", "renewal_date"], "additionalProperties": False, }About 15 percent of contracts have no renewal date, but every response contains a plausible date. What should you change?

Choose one.

  • a
    Make renewal_date type ["string", "null"] and tell the model to use null if no date appears Correct

    With strict mode every property must be present, so an optional value is modelled as a union with null. The model then has a valid way to say the date is missing.

  • b
    Remove renewal_date from the required list so the model can leave the field out

    Strict structured outputs require every property to be listed in required. Removing it makes the schema invalid for strict mode instead of making the field optional.

  • c
    Switch the text.format type to json_object so the model can drop missing values

    JSON mode only guarantees valid JSON. It no longer enforces the schema, so downstream code loses the field guarantees it relies on.

  • d
    Add an ISO 8601 pattern to the renewal_date string so invalid dates fail validation

    A pattern constrains the format, not the truth. The model still has to produce a date-shaped string and keeps inventing one.

The concept

Strict structured outputs need a way to express 'not present' for fields that are sometimes missing.

Why that’s the answer

Under strict mode all properties are required, so a field that is sometimes absent is declared as a union such as ["string", "null"], and the prompt says to return null when the document doesn't state it. Removing the field from required breaks strict-mode rules, JSON mode drops schema enforcement, and a pattern only shapes the fabricated value.

How to reason it out
  1. Diagnose the symptom: the schema forces a string, so the model invents one.
  2. Recall that strict mode requires every property in required.
  3. Express optional values as a null union and instruct the model to use null.
  4. Reject changes that weaken the schema or only constrain format.

Exam tip: In strict schemas, optional means a null union plus an instruction to use null, never a dropped required entry.

AI-103: Text Analysis, PII, Content Safety and Translation with Foundry — the lesson that teaches this.

Question 3Implement text analysis solutions

A help desk tags each support ticket with one of eight fixed topics by calling a language model in Microsoft Foundry. The routing service rejects about 5 percent of tickets because the model returns labels such as Billing issue or Login problems that aren't in the list of eight. What should you do?

Choose one.

  • a
    List the eight labels in the system message and ask the model to use them

    Instructions improve compliance but don't guarantee it. Labels outside the list can still appear, which is the current failure.

  • b
    Run key phrase extraction on each ticket and route on the top phrase

    Key phrases come from the ticket text itself, so they won't match a fixed list of topic labels either.

  • c
    Define the topic as an enum of the eight labels in a strict output schema Correct

    An enum in a strict schema constrains the generated value to the allowed labels, so the router only ever receives one of the eight topics.

  • d
    Lower the temperature to 0 so that each label is generated identically

    Lower temperature makes output more repeatable but doesn't restrict it to the allowed values, so invented labels remain possible.

The concept

Structured outputs can constrain a field to a fixed set of values.

Why that’s the answer

When a downstream system accepts only fixed values, make the model's output schema enforce them: an enum field with strict structured outputs. Prompt instructions and temperature reduce variation but don't guarantee valid labels, and key phrases aren't topic labels at all.

How to reason it out
  1. Identify the failure: labels outside the allowed set.
  2. Ask which control guarantees the value set, not just encourages it.
  3. Choose an enum in a strict schema.

Exam tip: Fixed taxonomies belong in an enum in the schema, not only in the prompt.

AI-103: Text Analysis, PII, Content Safety and Translation with Foundry — the lesson that teaches this.

Question 4Implement text analysis solutions

A regulator's analysts need an executive summary of each 400-page filing, covering every section. The app sends the whole filing to a chat model deployment in Microsoft Foundry, but the input exceeds the model's context window. The analysts also want each summary point traced to its section. What should you do?

Choose one.

  • a
    Split the filing on its section boundaries, summarize each part, then merge the results Correct

    Each part fits within the context window and its summary keeps its section reference, and a final pass merges the partial summaries into one executive summary.

  • b
    Enable truncation on the request so the service drops input that exceeds the window

    Truncation makes the request fit by dropping input, so whole sections never reach the model and the summary no longer covers every section.

  • c
    Raise max_output_tokens so the model has room to cover the remaining sections

    max_output_tokens limits the response length. It doesn't let more input fit into the context window.

  • d
    Send the table of contents and the first sections that fit within the context window

    Sending only the sections that fit stays inside the window but leaves the remaining sections unread, which breaks the coverage requirement.

The concept

Content larger than the context window is summarized in stages.

Why that’s the answer

When a document can't fit in one request, split it on its natural boundaries, summarize each part, then summarize or merge the partial summaries (a map-reduce pattern). Each partial summary keeps its section reference for traceability. Truncation and partial input both drop content, and the output token limit doesn't affect how much input fits.

How to reason it out
  1. Note two requirements: cover every section and trace points to sections.
  2. Recognize the hard limit: input exceeds the context window.
  3. Separate input limits from output limits and from truncation behaviour.
  4. Choose staged summarization by section, then a combining pass.

Exam tip: Too long for the window: summarize parts, then summarize the summaries.

AI-103: Text Analysis, PII, Content Safety and Translation with Foundry — the lesson that teaches this.

Question 5Implement text analysis solutions

A bank's compliance team uses a chat model in Microsoft Foundry to summarize internal audit reports. Each summary must use the same five headings, every finding must cite the report paragraph it comes from, and reviewers must be able to check that no finding was added from outside the report. Which TWO actions should you take? (Select TWO.)

Choose TWO.

  • a
    Add two example summaries that use the five headings to the system message

    Examples show the layout, but they don't make a citation mandatory or checkable, so a finding can still come back with no source paragraph.

  • b
    Attach a web search tool so the model can verify each finding paragraph against public sources

    Findings must come from the report itself. Web results are outside sources, which is exactly what reviewers need to exclude.

  • c
    Use JSON mode and describe the findings fields and their sources in the prompt

    JSON mode guarantees valid JSON, not adherence to a schema, so the model can still omit the source field on a finding.

  • d
    Define the five headings and a per-finding paragraph citation rule in the system message Correct

    Instructions set the house structure and make every finding point back to its source paragraph, which is what reviewers check.

  • e
    Use a strict schema whose findings array has a source_paragraph field per finding Correct

    A schema field per finding makes the citation mandatory and machine-checkable, so a finding without a source can't be returned.

The concept

Domain summaries are customized with instructions for structure and a schema that forces source references.

Why that’s the answer

Compliance summarization needs a fixed structure and verifiable grounding. A system message sets the headings and the citation rule, and a strict schema with a per-finding source field makes the citation impossible to skip. Few-shot examples show the layout but enforce nothing, JSON mode returns valid JSON without enforcing the fields, and web search brings in content from outside the report.

How to reason it out
  1. Separate the requirements: fixed headings, per-finding citations, nothing from outside.
  2. Use instructions for the headings and citation rule.
  3. Use a schema field so every finding carries its source paragraph.
  4. Reject options that only suggest a format or that bring in outside content.

Exam tip: For compliance summaries, instruct the structure and make source citations a required field in a strict schema.

AI-103: Text Analysis, PII, Content Safety and Translation with Foundry — the lesson that teaches this.

Question 6Implement text analysis solutions

A law firm summarizes contracts in its house style with a Foundry model deployment. Each request now carries 6,000 tokens of example summaries to keep the style consistent, and the cost and latency of the thousands of daily calls are too high. The contract text is always supplied in the request. The firm has 3,000 approved contract and summary pairs. What should you do?

Choose one.

  • a
    Index the approved pairs in Azure AI Search and retrieve similar examples per request

    Retrieval still puts example summaries into every prompt. It may pick better examples but doesn't remove the per-call token cost.

  • b
    Deploy a model router so cheaper models handle the simpler contract summary requests

    A router picks a model per prompt, but every prompt still carries the 6,000 tokens of examples that cause the cost.

  • c
    Send the summary requests through a Global Batch deployment of the same model

    Batch processing is cheaper per token, but jobs complete asynchronously within up to 24 hours, which makes latency worse, and every request still carries the examples.

  • d
    Fine-tune a model on the approved pairs and drop the long examples from each prompt Correct

    Supervised fine-tuning teaches the house style from the pairs, so the examples no longer need to be sent with every request, which cuts tokens and latency.

The concept

Fine-tuning moves repeated format and style guidance from the prompt into the model.

Why that’s the answer

Few-shot prompting works but costs tokens on every call. When a large set of approved input and output pairs exists and the knowledge is already in the request, supervised fine-tuning is the standard way to bake in format, tone and style so the prompt can shrink. Retrieval and routing keep sending examples, and batch processing lowers price at the cost of latency. Prompt caching can discount a repeated prefix, but it reduces rather than removes the per-call example tokens; fine-tuning removes them.

How to reason it out
  1. Find the root cost: thousands of example tokens on every request.
  2. Note that knowledge isn't missing; the contract is supplied each time.
  3. Recall that fine-tuning targets format and style and uses input and output pairs.
  4. Reject options that still send the examples with every call or that trade away latency.

Exam tip: Style or format that needs long examples every call is a fine-tuning candidate; missing knowledge is a retrieval candidate.

AI-103: Text Analysis, PII, Content Safety and Translation with Foundry — the lesson that teaches this.

What AI-103 domain 4 tests, topic by topic

The official exam guide breaks Implement text analysis solutions into 2 topics. The question bank follows the same split, so a weak topic shows up as a cluster of misses you can go back and read.

Published AI-103 practice questions per topic in Implement text analysis solutions
TopicWhat it coversQuestions
Apply language model text analysisSkills outline section (AI-103, as of April 16, 2026). Implement solutions to extract entities, topics, summaries, and structured JSON outputs by using generative prompting and Foundry Tools; Configure detection of sentiment, tone, safety issues, and sensitive content; Build solutions that translate text by using Azure Translator in Foundry Tools or LLM-powered translation flows; Customize language model outputs for domain tasks, such as compliance summarization and domain extraction.36
Implement speech solutionsSkills outline section (AI-103, as of April 16, 2026). Implement workflows to convert speech to text and text to speech for agentic interactions; Integrate speech as an agent modality, including custom speech models; Enable multimodal reasoning from audio inputs; Translate speech into other languages by using language models and Foundry Tools.36
Total72

Revise Implement text analysis solutions before you drill it

Other AI-103 domains

Implement text analysis solutions: your questions

Implement text analysis solutions is domain 4 of the AI-103 exam guide and carries 13% of the scored content — the 3rd-heaviest of the 5 domains. On a 50-question paper that works out to roughly 7 questions, though Microsoft Azure does not publish an exact per-domain count and individual exam forms vary.

Source

The domain weight and topic list on this page come from the official AI-103 exam guide.