AI-102 Practice Question: Implement knowledge mining and information extraction solutions
You are building a knowledge mining solution using Azure AI Search. You need to ensure that sensitive information such as credit card numbers is automatically removed from the indexed content. Which built-in skill should you add to your skillset?
⚠ Common exam trap
Test-takers frequently confuse the Entity Recognition skill (which can identify entities but not redact them) with the PII Detection skill, assuming that entity extraction inherently includes removal, when in fact redaction requires a separate skill designed for that purpose.
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
✓
PII Detection skill
The PII Detection skill is the correct built-in skill for automatically identifying and redacting sensitive information like credit card numbers from indexed content in Azure AI Search. It uses pre-trained models to detect patterns such as credit card numbers, social security numbers, and other personally identifiable information, and can either mask or remove them from the text before it is stored in the search index.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Entity Recognition skill
Why it's wrong here
Entity Recognition identifies and labels entities such as dates, people and organisations but does not remove them from indexed content. It suits extracting structured metadata for enrichment, whereas credit card redaction requires the PII detection skill.
- ✗
Conditional skill
Why it's wrong here
The Conditional skill evaluates expressions to route or filter content; it performs no detection or redaction of credit card numbers itself. It belongs in scenarios requiring conditional enrichment logic, such as applying OCR only when a document contains images.
- ✓
PII Detection skill
Why this is correct
The PII Detection skill scans enriched content and identifies entities such as credit card numbers, then allows masking or redaction before the data is written to the index. This satisfies the requirement that sensitive information is automatically removed from indexed content during skillset execution.
- ✗
Text Translation skill
Why it's wrong here
Text Translation converts content between languages and leaves credit card numbers intact in the index. It is the right skill when documents must be searchable across multiple languages, not when personally identifiable payment data must be detected and stripped.
Go deeper
Related to this question
About these practice questions
One of 761 original AI-102 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.