Courseiva
Text Analysis →hardMultiple Choice

AI-103 Practice Question: Designing an Azure AI Language solution that redacts PII from scanned insurance claim…

You are designing an Azure AI Language solution that redacts PII from scanned insurance claim narratives. Because the PII is stored with strict data-residency requirements, you must call the service from a specific Azure region and confirm which categories are detected. Which response element should you inspect to determine the exact PII category and confidence for each detected span?

⚠ Common exam trap

The trap here is treating the redacted narrative as proof of correct detection, when the category and confidence only appear in the entities array.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

The 'entities' array, where each entry includes 'category', 'confidenceScore', 'offset', and 'length'.

To confirm both the category and confidence of each detected PII span, you must examine the 'entities' array, whose entries pair a 'category' with a 'confidenceScore' and the span's 'offset' and 'length'. The redacted text alone hides that metadata, and the warnings and statistics objects describe document health and counts rather than individual PII detections.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    The 'entities' array, where each entry includes 'category', 'confidenceScore', 'offset', and 'length'.

    Why this is correct

    PII detection returns an 'entities' array whose entries carry the detected 'category' such as PhoneNumber or CreditCardNumber, a 'confidenceScore', and the 'offset' and 'length' of the span. Inspecting these fields lets you confirm both the exact category and its confidence for each detected span in the claim narrative.

  • ✗

    The 'statistics' object, where each entry includes 'documentsCount' and 'transactionsCount'.

    Why it's wrong here

    The 'statistics' object is only returned when the request sets 'includeStatistics' to true, and it reports counts such as the number of documents and transactions. It carries no per-span category or confidence information, so it cannot confirm what PII was detected.

  • ✗

    The 'warnings' array, where each entry includes a 'code' and 'message' for each document.

    Why it's wrong here

    The 'warnings' array reports document-level problems such as truncation or unsupported language, not the detected PII spans. It contains no category or confidence data, so inspecting it would tell you nothing about which PII categories were found in the narratives.

  • ✗

    The 'documents' array, where each entry includes a 'redactedText' field only.

    Why it's wrong here

    The 'redactedText' field gives you the sanitized narrative but omits the category and confidence for each span. You could not tell whether a masked value was classified as a phone number or an account number, nor how confident the model was, so it cannot satisfy the confirmation requirement.

About these practice questions

Courseiva writes every AI-103 question from scratch — 455 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

You might also like

Similar AI-103 questions

Written and reviewed by Johnson Ajibi, MSc IT Security

Security Systems Architect · founder of Courseiva

Last reviewed September 2026 · checked against the official Microsoft exam blueprint

This AI-103 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-103 exam.