AI-102 Practice Question: Implement natural language processing solutions
Exhibit
{
"parameters": {
"api-version": "2023-04-01",
"deployment-id": "myDeployment",
"document": {
"id": "1",
"language": "en",
"text": "The quick brown fox jumps over the lazy dog."
}
},
"endpoint": "https://mytextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/recognition/general"
}Refer to the exhibit. You are calling the Azure AI Language NER API. The response returns no entities. What is the most likely reason?
⚠ Common exam trap
Azure often tests the misconception that a missing or incorrect parameter (like API version, language, or region) would silently return empty results, when in reality those errors manifest as HTTP status codes or error messages, not a successful empty response.
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 text does not contain any recognized entities
The NER API returns entities only if the input text contains recognized entity types (e.g., Person, Location, Organization, DateTime, etc.). If no entities are found, the API returns an empty entities array. This is the most straightforward and common reason for a zero-entity response, assuming the request is otherwise valid.
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 text does not contain any recognized entities
Why this is correct
The text is a common pangram without named entities, so the API correctly returns none.
- ✗
The API version is incorrect
Why it's wrong here
v3.1 is a valid version for NER.
- ✗
The document language should be 'es' for Spanish
Why it's wrong here
Language is set to 'en' which matches the text; changing language would not help.
- ✗
The endpoint URL is for the wrong region
Why it's wrong here
The endpoint format looks correct; region is not specified but likely the issue is not region.
Go deeper
Related to this question
About these practice questions
One of 945 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.