Azure Language PII Detection for Data Masking
Which feature of the Azure Language in Foundry Tools service should you use to automate the masking of names and phone numbers in text data?
Community Insight
The question tests knowledge of Azure AI Language features, with the common trap being confusion between custom NER and built-in PII detection for standard sensitive data types.
This question tests the capability of Azure AI Language's Personally Identifiable Information (PII) detection feature to automatically identify and mask sensitive data like names and phone numbers. It establishes that built-in PII detection is the standard tool for this automation task.
Learners often choose Custom Named Entity Recognition (NER) because it sounds more technical, but they fail to recognize that PII detection is a pre-built, optimized solution specifically for masking sensitive information without training overhead.
Community Discussion (2 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Personally Identifiable Information (PII) detection in Azure AI Language is explicitly designed to detect and redact sensitive information from text. This includes entities such as names, phone numbers, email addresses, and credit card numbers. The service provides pre-built models that can automatically mask this data, making it the ideal choice for automating the masking of names and phone numbers.Why the Other Options Are Wrong
Custom text classification is used to categorize documents into predefined classes, not to extract or mask specific entities. Entity linking connects extracted entities to known knowledge base entries, which does not address the need for masking. Custom named entity recognition (NER) allows you to train models to find custom entities, but it requires significant effort to build and maintain, whereas PII detection is a ready-to-use service specifically tailored for common sensitive data types.Community Comment Notes
Community consensus strongly supports option A. One user noted that PII detection is "specifically designed to: Detect sensitive information... Redact or mask the detected information automatically." Another user confirmed this by referencing the official Microsoft documentation on PII overview, reinforcing that this is the correct feature for the task.Official Reference
Exam Strategy
When asked about detecting or masking sensitive data like names, emails, or financial info, immediately consider PII detection before custom solutions. Remember that built-in services are preferred for standard patterns unless unique, non-standard entities are involved.
Frequently Asked Questions
Why not use Custom NER for masking names?
Custom NER requires training and maintenance. PII detection is a pre-built, optimized service specifically for common sensitive data types like names and phones.
Does PII detection support phone number masking?
Yes, Azure AI Language PII detection includes built-in models that recognize and can redact phone numbers along with other personal identifiers.
Related Analysis
Practice All AI-901 Questions
Access 105 questions with complete answers and detailed explanations.
View Full AI-901 Practice Test →