Microsoft Azure AI Engineer Associate AI-102 Practice Question

You have an Azure.AI.TextAnalytics client configured with your Cognitive Services key and endpoint. For a document that contains 140 Unicode characters, you call the DetectLanguage method without providing any additional options. The result shows the following scores:

  • Language: es
  • ConfidenceScore: 0.60

Your solution must improve the reliability of language detection for documents that may be short or ambiguous while keeping the code changes minimal. Which approach should you use?

  • Set the service version to the newest preview when instantiating the TextAnalyticsClient.

  • Wrap the text in an AnalyzeActions operation that runs DetectLanguage as an action.

  • Call the DetectLanguageBatch method with IncludeStatistics set to true so that additional metadata is returned.

  • Pass a DetectLanguageOptions object with the CountryHint property set to the user's locale (for example, "ES").

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