Describe features of Natural Language Processing workloads on Azure →mediumMultiple ChoiceObjective-mapped
AI-900 Practice Question: Describe features of Natural Language Processing workloads on Azure
What is 'sentiment analysis' at the opinion mining level vs. document level in Azure AI Language?
⚠ Common exam trap
Watch out — candidates often confuse 'opinion mining' with a faster, less accurate method, when in fact it is a more granular, aspect-specific analysis that works on any text, not just social media.
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
✓
Document-level assigns one overall sentiment; opinion mining extracts per-aspect sentiments
In Azure AI Language, document-level sentiment analysis assigns a single overall sentiment (positive, negative, neutral, or mixed) to the entire document, while opinion mining (a feature of aspect-based sentiment analysis) extracts sentiments for specific aspects or targets within the text, such as 'service' or 'food' in a restaurant review. This allows for granular, per-aspect sentiment detection rather than a single aggregate score.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Document-level is more accurate; opinion mining is a faster but less precise approximation
Why it's wrong here
This is a false dichotomy: document-level sentiment and opinion mining are not different algorithms competing on accuracy or speed. Both are produced by the same underlying model in Azure AI Language, and opinion mining simply performs additional word-level analysis to associate sentiments with specific aspects of the text. Neither is an approximation of the other—document-level returns one overall label, while opinion mining returns per-aspect labels. You might choose one over the other based on the level of insight you need, but you are not trading accuracy for speed.
- ✓
Document-level assigns one overall sentiment; opinion mining extracts per-aspect sentiments
Why this is correct
Document-level sentiment analysis in Azure AI Language evaluates an entire text and returns a single sentiment label (positive, negative, mixed, or neutral) with confidence scores. Opinion mining, however, goes further by running aspect-based analysis that identifies specific targets in the text—such as 'food' or 'service'—and assigns each its own sentiment. This makes opinion mining far more actionable: for a mixed review like 'The food was great but the service was slow,' document-level gives a mixed score, while opinion mining reveals food: positive and service: negative. The core distinction is granularity, not capability.
- ✗
Opinion mining works only on social media posts; document-level works on all text types
Why it's wrong here
The claim that opinion mining only works on social media posts is incorrect. Both document-level sentiment analysis and opinion mining are powered by the same pre-built Azure AI Language API and accept any raw text, including product reviews, support tickets, survey responses, and forum posts. The actual difference lies in output granularity: document-level condenses the whole text into one sentiment score, whereas opinion mining extracts sentiment per mentioned aspect. Neither tool is constrained by source type or content channel.
- ✗
Document-level sentiment requires training data; opinion mining is pre-built
Why it's wrong here
This option misrepresents how Azure AI Language works. Both document-level sentiment analysis and opinion mining are pre-built capabilities of the Sentiment Analysis API—they require no training data, no custom models, and no labeled examples from the developer. You simply call the API and choose the 'opinion mining' flag to get aspect-level results. Document-level sentiment is not a custom ML solution; it is a standard, out-of-the-box feature that works immediately on your text. The only thing that differs is the level of detail returned, not the need for training.
Go deeper
Related to this question
Learn chapter
Azure Machine Learning Studio
Key term
Sentiment analysis
Sentiment analysis is a natural language processing technique that uses machine learning to determine the emotional tone or opinion expressed in a piece of text.
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.