Courseiva

Sentiment Analysis with Opinion Mining in Azure AI Language

A customer service department wants to automatically extract the names of products mentioned in customer emails and the sentiment expressed about each product. For example, from the sentence 'The battery life of the X100 is excellent, but the screen is too dark,' they need to identify 'X100' and associate 'positive' sentiment with 'battery life' and 'negative' sentiment with 'screen'. Which Azure AI Language feature should they use?

Quick Answer

The answer is sentiment analysis with opinion mining, the correct Azure AI Language feature for this task. This capability goes beyond basic sentiment scoring by performing aspect-based sentiment analysis, which identifies specific opinion targets—like product names or features—and the sentiment expressed toward each one. In the example, it would correctly extract “X100” as the product, then link “positive” to “battery life” and “negative” to “screen,” matching the requirement to extract both the named entities and their associated sentiments from customer emails. On the AI-900 exam, this question tests your understanding of Azure AI Language’s advanced features; a common trap is confusing standard sentiment analysis (which gives an overall positive/negative score for the whole sentence) with opinion mining (which breaks sentiment down by target). Remember the memory tip: “Opinion mining = sentiment + target,” so if the task asks for both what is being talked about and how it’s felt, opinion mining is your answer.

⚠ Common exam trap

Candidates often confuse key phrase extraction (Option B) with sentiment analysis with opinion mining, because key phrases can include product names, but key phrase extraction does not provide any sentiment association, which is the core requirement of the question.

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

Sentiment analysis with opinion mining

Sentiment analysis with opinion mining is specifically designed to extract both the sentiment (positive, negative, neutral) and the associated target (e.g., 'battery life', 'screen') from text. This feature goes beyond simple sentiment scoring by identifying the opinion target and the sentiment expressed toward it, which directly matches the requirement to extract product names and their associated sentiments from customer emails.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Custom text classification

    Why it's wrong here

    Incorrect. Custom text classification assigns categories to the whole document or sentence, not specific entities with their own sentiment.

  • Key phrase extraction

    Why it's wrong here

    Incorrect. Key phrase extraction returns important phrases but does not provide sentiment or associate specific opinions with entities.

  • Entity linking

    Why it's wrong here

    Incorrect. Entity linking identifies entities and connects them to a knowledge base, but does not extract sentiment about those entities.

  • Sentiment analysis with opinion mining

    Why this is correct

    Correct. Opinion mining (a component of sentiment analysis) extracts aspects (such as product names or features) and the expressed sentiment toward each aspect.

About these practice questions

Courseiva writes every AI-900 question from scratch — 985 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

2 more ways this is tested on AI-900

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A retail company wants to automatically determine whether customer reviews are positive, negative, or neutral. Which prebuilt Azure AI Language feature should they use?

easy
  • A.Key phrase extraction
  • B.Language detection
  • C.Sentiment analysis
  • D.Entity recognition

Why C: Sentiment analysis is the correct Azure AI Language feature because it is specifically designed to classify text into positive, negative, or neutral sentiment categories. This prebuilt capability analyzes customer reviews at the document and sentence level, returning a sentiment label and confidence scores, which directly meets the requirement of automatically determining review polarity.

Variation 2. A customer service team wants to automatically determine whether each customer feedback message is positive, negative, or neutral. Which Azure AI Language feature should they use?

easy
  • A.Key phrase extraction
  • B.Language detection
  • C.Sentiment analysis
  • D.Entity recognition

Why C: Sentiment analysis is the correct Azure AI Language feature because it is specifically designed to classify text into positive, negative, or neutral sentiments. This directly matches the customer service team's requirement to automatically determine the sentiment of each feedback message. Other features like key phrase extraction or entity recognition do not perform sentiment classification.

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.