Courseiva
Plan and manage an Azure AI solutionhardMultiple ChoiceObjective-mapped

AI-102 Plan and manage an Azure AI solution Practice Question

Exhibit

{
  "skillset": {
    "name": "custom-entity-skillset",
    "skills": [
      {
        "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
        "description": "Custom entity extraction",
        "uri": "https://myfunctionapp.azurewebsites.net/api/extract",
        "context": "/document",
        "inputs": [
          {
            "name": "text",
            "source": "/document/content"
          }
        ],
        "outputs": [
          {
            "name": "entities",
            "targetName": "customEntities"
          }
        ]
      }
    ]
  }
}

Refer to the exhibit. The indexer using this skillset fails with an error that the skill cannot be executed. The Azure Function is deployed and responds correctly when tested directly. What is the most likely cause?

⚠ Common exam trap

Watch out — candidates often assume a working function tested directly (often via HTTP) will work in the indexer, overlooking the indexer's strict HTTPS requirement for custom skill endpoints.

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 skill endpoint is using HTTP instead of HTTPS.

Azure AI Search indexers that invoke custom skills via Azure Functions require the endpoint to use HTTPS. If the endpoint is configured with HTTP, the indexer will fail with a 'skill cannot be executed' error, even if the function itself works when tested directly. This is because the indexer enforces secure communication to protect data in transit.

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 context is set incorrectly to '/document'.

    Why it's wrong here

    Context is correctly set for document-level processing.

  • The input source '/document/content' is invalid.

    Why it's wrong here

    If content exists, this is valid; would cause a different error if missing.

  • The skill endpoint is using HTTP instead of HTTPS.

    Why this is correct

    Azure AI Search requires HTTPS for custom skill endpoints.

  • The skill's output targetName does not match the index field.

    Why it's wrong here

    Would cause a field mapping error, not a skill execution failure.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

One of 945 original AI-102 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-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.