Courseiva
Implement natural language processing solutionsmediumMultiple ChoiceObjective-mapped

AI-102 Practice Question: Implement natural language processing solutions

Exhibit

{
  "parameters": {
    "projectName": "InvoiceExtractor",
    "deploymentName": "production",
    "api-version": "2023-04-01",
    "body": {
      "analysisInput": {
        "documents": [
          {"id": "1", "language": "en", "text": "Invoice #1234 dated 01/15/2023 for $500.00 from Acme Corp."}
        ]
      },
      "parameters": {
        "modelVersion": "latest"
      }
    }
  }
}

Refer to the exhibit. You send this request to the Azure AI Language Service for custom entity recognition. The response returns no entities. What is the most likely reason?

⚠ Common exam trap

It's easy for candidates to assume the request is valid because it includes text and a language parameter, overlooking that custom entity recognition requires explicit project and deployment identifiers to invoke the trained model.

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 projectName and deploymentName are missing from the body parameters

The Azure AI Language Service for custom entity recognition requires both `projectName` and `deploymentName` in the request body to identify which trained custom model to invoke. Without these parameters, the service cannot route the request to the correct custom model, so it returns no entities. The standard pre-built entity recognition does not require these fields, but custom entity recognition mandates them.

Answer analysis

Option-by-option breakdown

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

  • The text input is too short for entity recognition

    Why it's wrong here

    The input length is sufficient.

  • The language parameter is set incorrectly

    Why it's wrong here

    The language 'en' is valid.

  • The model version is not specified

    Why it's wrong here

    It is set to 'latest'.

  • The projectName and deploymentName are missing from the body parameters

    Why this is correct

    Custom entity recognition requires project and deployment names in the body.

About these practice questions

This AI-102 question is part of Courseiva's 945-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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AI-102 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-102 exam.