Describe features of Natural Language Processing workloads on Azure →easyMultiple ChoiceObjective-mapped
AI-900 Practice Question: Describe features of Natural Language Processing workloads on Azure
A hospital wants to automatically anonymize patient medical records by removing all personally identifiable information (PII) such as names, dates, and social security numbers from unstructured text notes. Which Azure AI Language feature should they use?
⚠ Common exam trap
Candidates often confuse key phrase extraction with NER, thinking that extracting 'important phrases' includes names and dates, but key phrase extraction only returns topical phrases, not categorized PII entities.
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
✓
Named entity recognition (NER)
Named entity recognition (NER) is the correct Azure AI Language feature because it is specifically designed to identify and categorize entities in unstructured text, including PII categories such as names, dates, and social security numbers. The hospital can use NER's pre-built PII detection model to automatically locate and redact these sensitive elements from patient notes, meeting their anonymization requirement.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Key phrase extraction
Why it's wrong here
Key phrase extraction returns a flat list of prominent words or short phrases that capture the main themes of a document, but it does not assign semantic categories to spans of text. It might surface 'John Smith' as a key phrase, but it cannot label that span as a person or flag it as PII, nor does it support redaction. For anonymization, you need a model that recognizes and classifies entities into types such as person, date, or organization, which key phrase extraction fundamentally lacks.
- ✓
Named entity recognition (NER)
Why this is correct
Named entity recognition (NER) in Azure AI Language detects and classifies named entities in text into predefined categories such as Person, Organization, Location, and DateTime, and Azure's PII detection feature extends this to sensitive types like phone numbers, email addresses, and social security numbers. In a hospital context, NER can locate patient names, medical record numbers, and other identifiers, and because it returns character offsets, it enables precise redaction or masking of those spans. This structured, type-aware output makes NER the correct choice for automatically anonymizing unstructured medical notes.
- ✗
Sentiment analysis
Why it's wrong here
Sentiment analysis evaluates the emotional tone of a document or sentence, producing a sentiment score (positive, negative, neutral, or mixed) based on the overall polarity of the language. It operates at the document, sentence, or opinion level and has no concept of entities or identifiers, so it cannot distinguish a patient name from any other token. While sentiment analysis might be useful for analyzing patient feedback, it would not detect or redact names, dates, or ID numbers, and therefore is irrelevant to anonymization.
- ✗
Language detection
Why it's wrong here
Language detection identifies the dominant language of a text (for example, English, Spanish, or French) using language-specific features, typically returning a language code like 'en' and a confidence score. It works at the document or sentence level and does not analyze individual tokens or recognize named entities, so it cannot pinpoint PII such as a patient's name or date of birth. Even if you knew the record was written in English, you would still need NER to locate and mask the actual sensitive spans, making language detection only a preprocessing step, not an anonymization tool.
Go deeper
Related to this question
Learn chapter
Azure Machine Learning Studio
Key term
Model
In IT and AI, a model is a trained mathematical representation that learns patterns from data to make predictions or decisions.
Key term
Feature
A feature is a distinct unit of functionality that delivers value to the user, often managed and tracked throughout the software development lifecycle.
About these practice questions
This AI-900 question is part of Courseiva's 985-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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-900 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-900 exam.