Refer to the exhibit. You are calling the Azure AI Language API for extractive summarization. What will be the output of this request?
sortBy: Offset returns sentences in original order.
Why this answer
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.
Exam trap
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'`.
How to eliminate wrong answers
Option A is wrong because extractive summarization does not limit output to the first sentence based on document length; it selects sentences based on relevance scores, and the number of sentences is controlled by the `sentenceCount` parameter. Option B is wrong because abstractive summarization is a different capability of the Azure AI Language API (using a different endpoint or model), while this request specifically targets extractive summarization, which copies sentences verbatim. Option C is wrong because although sentences are ranked by confidence score internally, the API returns them in the original document order by default, not sorted by score; you would need to explicitly set `sortBy` to `'Rank'` to change this behavior.