AI-102 Practice Question: Implement natural language processing solutions
This AI-102 practice question tests your understanding of implement natural language processing solutions. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. 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.
Exhibit
{
"kind": "ExtractiveSummarization",
"parameters": {
"sentenceCount": 3,
"sortBy": "Offset"
},
"analysisInput": {
"documents": [
{
"id": "1",
"language": "en",
"text": "Azure AI Language provides natural language processing capabilities. It includes summarization, sentiment analysis, and entity recognition. These features enable developers to build intelligent applications."
}
]
}
}
Refer to the exhibit. You are calling the Azure AI Language API for extractive summarization. What will be the output of this request?
Exhibit
{
"kind": "ExtractiveSummarization",
"parameters": {
"sentenceCount": 3,
"sortBy": "Offset"
},
"analysisInput": {
"documents": [
{
"id": "1",
"language": "en",
"text": "Azure AI Language provides natural language processing capabilities. It includes summarization, sentiment analysis, and entity recognition. These features enable developers to build intelligent applications."
}
]
}
}
A
Only the first sentence because the document is short.
Why wrong: The API returns up to sentenceCount sentences.
B
An abstractive summary generated from the text.
Why wrong: This is extractive summarization, not abstractive.
C
The three sentences ranked by confidence score.
Why wrong: sortBy: Offset does not rank by confidence.
D
The three sentences in the order they appear in the document.
sortBy: Offset returns sentences in original order.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The three sentences in the order they appear in the document.
The Azure AI Language API for extractive summarization returns the most relevant sentences from the original document in the order they appear, not reordered by score. The API extracts sentences based on a ranker, but the output preserves the original sentence sequence to maintain readability and context. Option D is correct because the default behavior is to return the extracted sentences in their original order.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✗
Only the first sentence because the document is short.
Why it's wrong here
The API returns up to sentenceCount sentences.
✗
An abstractive summary generated from the text.
Why it's wrong here
This is extractive summarization, not abstractive.
✗
The three sentences ranked by confidence score.
Why it's wrong here
sortBy: Offset does not rank by confidence.
✓
The three sentences in the order they appear in the document.
Why this is correct
sortBy: Offset returns sentences in original order.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Microsoft often tests the misconception that extractive summarization returns sentences sorted by confidence score, when in fact the default behavior preserves the original document order unless the `sortBy` parameter is explicitly set to `'Rank'`.
Detailed technical explanation
How to think about this question
Under the hood, the extractive summarization model uses a transformer-based ranker to assign a relevance score to each sentence, then selects the top-ranked sentences. The default `sortBy` parameter is `'Offset'`, which preserves the original sentence order; setting it to `'Rank'` would return sentences sorted by score descending. In real-world scenarios, maintaining original order is crucial for coherent summaries, especially in legal or technical documents where sentence sequence carries logical flow.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Implement natural language processing solutions — This question tests Implement natural language processing solutions — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The three sentences in the order they appear in the document. — The Azure AI Language API for extractive summarization returns the most relevant sentences from the original document in the order they appear, not reordered by score. The API extracts sentences based on a ranker, but the output preserves the original sentence sequence to maintain readability and context. Option D is correct because the default behavior is to return the extracted sentences in their original order.
What should I do if I get this AI-102 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
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 →
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.
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.
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.
Sign in to join the discussion.