Microsoft Azure AI Engineer Associate AI-102 Practice Question

You call the Azure AI Language Sentiment Analysis REST endpoint (v3.2) with a batch that contains a single customer-feedback sentence. The JSON response includes the following document-level confidence scores: "positive": 0.76, "neutral": 0.18, "negative": 0.06. The value of the "sentiment" property for the document is "positive". Which rule does the service apply to choose this sentiment label?

  • It declares the document positive only when the positive score is greater than or equal to 0.50; otherwise it returns negative.

  • It selects the sentiment class that has the greatest confidence score among the three returned scores.

  • It assigns the document the sentiment that occurs most frequently across its sentence-level predictions.

  • It adds the positive and neutral scores and compares that sum to the negative score; whichever side is larger determines the label.

Microsoft Azure AI Engineer Associate AI-102
Implement natural language processing solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot