Courseiva

AI-900 Practice Question: Describe features of Natural Language Processing workloads on Azure

What does Azure AI Language's 'language detection' feature return?

⚠ Common exam trap

Many candidates confuse language detection with translation or assume it only returns a language name, overlooking the ISO code and confidence score that are always part of the response.

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

The language name, ISO code, and a confidence score

Azure AI Language's language detection feature returns the language name, its ISO 639-1 code, and a confidence score between 0 and 1. This allows applications to identify the language of input text with a quantifiable level of certainty, enabling downstream processing like routing to the correct language-specific model.

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 language name in English

    Why it's wrong here

    Returning only an English-language name such as 'Spanish' would be insufficient for most automation scenarios because downstream systems typically need a consistent machine-readable identifier to branch on. The ISO 639-1 code gives an unambiguous, locale-independent key (e.g., 'es') that does not change based on the UI language of the caller, and the confidence score adds the ability to measure prediction certainty. Without both, the response cannot reliably drive automated workflows like routing a ticket to a Spanish-speaking agent or applying language-specific sentiment analysis.

  • The language name, ISO code, and a confidence score

    Why this is correct

    When a document is submitted to Azure AI Language's language detection feature, the service response contains a detectedLanguage object with the language name, its ISO 639-1 code, and a confidence score in the 0-to-1 range. The name is human-readable, the ISO code provides a standardized key for programmatic logic, and the confidence score lets applications decide whether to accept or re-evaluate the prediction. For example, a score near 1.0 for 'es' indicates high certainty that the text is Spanish, while a lower score often appears for very short or ambiguous input.

  • A translated version of the text in English

    Why it's wrong here

    Producing an English translation of the input text is outside the scope of language detection, which is purely a text classification operation. The Detect Language API returns metadata about the source text's language, whereas translation is performed by the Azure AI Translator service, a separate resource with a different API and response schema. Confusing these two services would lead a developer to call the wrong endpoint, because language detection does not transliterate, paraphrase, or alter the original text in any way.

  • Only a binary yes/no for whether the text is English

    Why it's wrong here

    Language detection in Azure AI Language is a multi-class classification task covering more than 120 languages, so the service never returns a simple boolean for 'is this English.' The API response includes a detected language name, an ISO 639-1 code, and a numeric confidence score, even when the detected language is English. Reducing this to a binary yes/no would discard the confidence level and the ability to detect any of the other supported languages, which is the entire purpose of the feature.

About these practice questions

One of 985 original AI-900 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.