Question 638 of 988

Quick Answer

The correct choice is to use a custom skill in the skillset to detect and redact PII before indexing. This works because Azure AI Search’s enrichment pipeline allows you to integrate a custom skill—such as one leveraging Azure Cognitive Services for PII detection—that processes documents during the indexing phase, removing or masking sensitive fields like names, social security numbers, or email addresses before they are written to the search index. On the AI-102 exam, this scenario tests your understanding of the knowledge mining lifecycle, specifically how to safeguard sensitive data within the enrichment pipeline rather than relying on post-index controls. A common trap is confusing encryption or access control with content redaction; encryption protects data at rest but does not strip PII from search results, while access control only limits who can query the index. Remember the pipeline principle: redact before you index, not after. A useful memory tip is “Redact in the pipeline, protect the index line.”

AI-102 Practice Question: Implement knowledge mining and information extraction solutions

This AI-102 practice question tests your understanding of implement knowledge mining and information extraction solutions. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

You are designing a knowledge mining solution that must handle sensitive customer data. The solution must ensure that personally identifiable information (PII) is not returned in search results. What should you do?

Question 1hardmultiple choice
Full question →

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

Use a custom skill in the skillset to detect and redact PII before indexing

Option B is correct because enabling PII detection in the enrichment pipeline and using a custom skill to remove or mask PII fields before indexing prevents PII from being stored in the index. Option A is wrong because encryption does not prevent PII from being returned in results. Option C is wrong because field mappings control how fields are imported, not content removal. Option D is wrong because access control restricts who can search but does not remove PII from results.

Key principle: Count usable hosts — not total addresses — and remember that the network and broadcast addresses are not available to hosts in standard IPv4 subnets.

Answer analysis

Option-by-option breakdown

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

  • Use Azure AI Search with encryption at rest

    Why it's wrong here

    Encryption protects data at rest but does not filter results.

  • Implement role-based access control on the search index

    Why it's wrong here

    Access control does not remove PII; it only restricts who can search.

  • Use a custom skill in the skillset to detect and redact PII before indexing

    Why this is correct

    Redacting PII in the enrichment pipeline prevents it from appearing in search results.

    Related concept

    CIDR notation defines the prefix length.

  • Configure field mappings to exclude PII fields

    Why it's wrong here

    Field mappings exclude fields, but PII may be in unstructured text.

Common exam traps

Common exam trap: usable hosts are not the same as total addresses

Subnetting questions often tempt you into counting all addresses. In normal IPv4 subnets, the network and broadcast addresses are not usable host addresses.

Detailed technical explanation

How to think about this question

Subnetting questions test whether you can identify the network, broadcast address, usable range, mask and correct subnet. Slow down enough to calculate the block size correctly.

KKey Concepts to Remember

  • CIDR notation defines the prefix length.
  • Block size helps identify subnet boundaries.
  • Network and broadcast addresses are not usable hosts in normal IPv4 subnets.
  • The required host count determines the smallest suitable subnet.

TExam Day Tips

  • Write the block size before choosing the subnet.
  • Check whether the question asks for hosts, subnets or a specific address range.
  • Do not confuse /24, /25, /26 and /27 host counts.

Key takeaway

Count usable hosts — not total addresses — and remember that the network and broadcast addresses are not available to hosts in standard IPv4 subnets.

Real-world example

How this comes up in practice

A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

What to study next

Got this wrong? Here's your next step.

Review block sizes, usable host formulas (2^n − 2), and how to find network and broadcast addresses for /24 through /30. Then practise related AI-102 subnetting questions on CIDR, address ranges, and subnet selection.

Related practice questions

Related AI-102 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Implement an agentic solution practice questions

Practise AI-102 questions linked to Implement an agentic solution.

Implement computer vision solutions practice questions

Practise AI-102 questions linked to Implement computer vision solutions.

Implement knowledge mining and information extraction solutions practice questions

Practise AI-102 questions linked to Implement knowledge mining and information extraction solutions.

Implement image and video processing solutions practice questions

Practise AI-102 questions linked to Implement image and video processing solutions.

Implement natural language processing solutions practice questions

Practise AI-102 questions linked to Implement natural language processing solutions.

Implement generative AI solutions practice questions

Practise AI-102 questions linked to Implement generative AI solutions.

Implement agentic AI solutions practice questions

Practise AI-102 questions linked to Implement agentic AI solutions.

Implement knowledge mining and document intelligence solutions practice questions

Practise AI-102 questions linked to Implement knowledge mining and document intelligence solutions.

Plan and manage an Azure AI solution practice questions

Practise AI-102 questions linked to Plan and manage an Azure AI solution.

Implement content moderation solutions practice questions

Practise AI-102 questions linked to Implement content moderation solutions.

AI-102 fundamentals practice questions

Practise AI-102 questions linked to AI-102 fundamentals.

AI-102 scenario practice questions

Practise AI-102 questions linked to AI-102 scenario.

Practice this exam

Start a free AI-102 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AI-102 question test?

Implement knowledge mining and information extraction solutions — This question tests Implement knowledge mining and information extraction solutions — CIDR notation defines the prefix length..

What is the correct answer to this question?

The correct answer is: Use a custom skill in the skillset to detect and redact PII before indexing — Option B is correct because enabling PII detection in the enrichment pipeline and using a custom skill to remove or mask PII fields before indexing prevents PII from being stored in the index. Option A is wrong because encryption does not prevent PII from being returned in results. Option C is wrong because field mappings control how fields are imported, not content removal. Option D is wrong because access control restricts who can search but does not remove PII from results.

What should I do if I get this AI-102 question wrong?

Review block sizes, usable host formulas (2^n − 2), and how to find network and broadcast addresses for /24 through /30. Then practise related AI-102 subnetting questions on CIDR, address ranges, and subnet selection.

What is the key concept behind this question?

CIDR notation defines the prefix length.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more ways this is tested on AI-102

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. You need to extract personally identifiable information (PII) from a set of text documents before indexing them in Azure AI Search. The PII must be redacted. Which Azure AI service and configuration should you use?

medium
  • A.Use the entity recognition skill in Azure AI Search and map to a target field
  • B.Use Azure AI Document Intelligence with a custom model to identify PII fields
  • C.Use the built-in PII detection skill in Azure AI Search with redaction mode enabled
  • D.Use Azure AI Language's key phrase extraction to find PII

Why C: Option A is correct because Azure AI Language's PII detection skill can redact PII. Options B and D do not redact. Option C is for form extraction.

Last reviewed: Jun 20, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This AI-102 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-102 exam.