Back to Microsoft Azure AI Engineer Associate AI-102 questions

Scenario-based practice

Refer to the Exhibit Practice Questions

Practise Microsoft Azure AI Engineer Associate AI-102 practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

15
scenario questions
AI-102
exam code
Microsoft
vendor

Scenario guide

How to approach refer to the exhibit practice questions

Practise exhibit-style questions that ask you to read a topology, table, command output or diagram before choosing the best answer.

Quick answer

Exhibit-style questions test whether you can read a topology, command output, diagram or table before choosing the best answer.

How to extract the relevant detail from an exhibit.

How topology, command output or routing information affects the answer.

How to avoid answering from memory before reading the evidence.

How to map the exhibit back to the exam objective.

Related practice questions

Related AI-102 topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Implement an agentic solution practice questions

Practise AI-102 questions linked to Implement an agentic solution.

Implement computer vision solutions practice questions

Practise AI-102 questions linked to Implement computer vision solutions.

Implement knowledge mining and information extraction solutions practice questions

Practise AI-102 questions linked to Implement knowledge mining and information extraction solutions.

Implement image and video processing solutions practice questions

Practise AI-102 questions linked to Implement image and video processing solutions.

Implement natural language processing solutions practice questions

Practise AI-102 questions linked to Implement natural language processing solutions.

Implement generative AI solutions practice questions

Practise AI-102 questions linked to Implement generative AI solutions.

Implement agentic AI solutions practice questions

Practise AI-102 questions linked to Implement agentic AI solutions.

Implement knowledge mining and document intelligence solutions practice questions

Practise AI-102 questions linked to Implement knowledge mining and document intelligence solutions.

Plan and manage an Azure AI solution practice questions

Practise AI-102 questions linked to Plan and manage an Azure AI solution.

Implement content moderation solutions practice questions

Practise AI-102 questions linked to Implement content moderation solutions.

AI-102 fundamentals practice questions

Practise AI-102 questions linked to AI-102 fundamentals.

AI-102 scenario practice questions

Practise AI-102 questions linked to AI-102 scenario.

Practice set

Practice scenarios

Question 1hardmultiple choice
Full question →

An image was submitted to Azure Content Moderator's Image Moderation API. The application uses a threshold of 0.5 for Category1 (adult) to trigger a review. Based on the exhibit, what should the application do with this image?

Exhibit

Refer to the exhibit.

```json
{
  "Classification": {
    "ReviewRecommended": false,
    "Category1": {
      "Score": 0.99
    },
    "Category2": {
      "Score": 0.02
    },
    "Category3": {
      "Score": 0.01
    }
  },
  "Terms": []
}
```

The above JSON is the output from Azure Content Moderator's Image Moderation API for an image. The application uses a threshold of 0.5 for Category1 (adult) to trigger a review.
Question 2hardmultiple choice
Full question →

You are analyzing a document using Azure Cognitive Service for Language named entity recognition. The exhibit shows a partial JSON response for entity extraction. The engineer notices that 'Jane Smith' has a low confidence score of 0.45. Which action should the engineer take to improve the confidence score for similar entities?

Exhibit

Refer to the exhibit.
{
  "version": "2.0",
  "analysis": {
    "entities": [
      {
        "category": "Person",
        "text": "John Doe",
        "offset": 0,
        "length": 8,
        "confidenceScore": 0.99
      },
      {
        "category": "Person",
        "text": "Jane Smith",
        "offset": 20,
        "length": 10,
        "confidenceScore": 0.45
      }
    ]
  }
}
Question 3easymultiple choice
Full question →

Refer to the exhibit. You have a skillset with two skills. You run the indexer and find that the output field 'organizations' is empty for documents that clearly contain organization names. The 'keyPhrases' output is populated correctly. What is the most likely cause of the issue?

Exhibit

Refer to the exhibit.
```json
{
  "skills": [
    {
      "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
      "name": "#1",
      "description": "Extract organizations",
      "context": "/document",
      "categories": ["Organization"],
      "inputs": [
        {
          "name": "text",
          "source": "/document/content"
        }
      ],
      "outputs": [
        {
          "name": "organizations",
          "targetName": "organizations"
        }
      ]
    },
    {
      "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
      "name": "#2",
      "description": "Extract key phrases",
      "context": "/document",
      "inputs": [
        {
          "name": "text",
          "source": "/document/content"
        }
      ],
      "outputs": [
        {
          "name": "keyPhrases",
          "targetName": "keyPhrases"
        }
      ]
    }
  ]
}
```

Refer to the exhibit. You have created a Text Analytics resource and retrieved its keys. You want to use the key1 to call the Sentiment Analysis API from a Python application. Which endpoint URL should you use?

Network Topology
subscription MySubresource-group MyRGname MyTextAnalyticskind TextAnalyticsaz cognitiveservices account createsku Slocation westusyes"key1": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p","key2": "q1w2e3r4t5y6u7i8o9p0a1s2d3f4g5h6""endpoint": "https://mytextanalytics.cognitiveservices.azure.com/","properties": {"apiProperties": {"statisticsEnabled": true
Question 5mediummultiple choice
Full question →

Refer to the exhibit. You called the Key Phrase Extraction API on two documents. What is the total number of key phrases extracted?

Exhibit

{
  "documents": [
    {
      "id": "1",
      "keyPhrases": ["Azure", "NLP", "services"],
      "warnings": []
    },
    {
      "id": "2",
      "keyPhrases": ["Microsoft", "AI"],
      "warnings": []
    }
  ],
  "errors": []
}
Question 6hardmultiple choice
Full question →

Refer to the exhibit. You deployed a custom model for Language service. Which command should you run to check if the deployment is ready to accept inference requests?

Network Topology
resource-group myRGname myLangServicedeployment-name myDeploymentmodel-name myModelmodel-version 2023-04-15sku capacity 1"name": "myDeployment","model": {"name": "myModel","version": "2023-04-15"},"sku": {"name": "Standard","capacity": 1"status": "Succeeded""status": "Succeeded","properties": {"provisioningState": "Succeeded"
Question 7mediummultiple choice
Full question →

Refer to the exhibit. You called the Named Entity Recognition API on a document. Which entity type is "Seattle"?

Exhibit

{
  "documents": [
    {
      "id": "1",
      "entities": [
        {
          "text": "Seattle",
          "type": "Location",
          "subtype": null,
          "offset": 14,
          "length": 7,
          "confidenceScore": 0.99
        },
        {
          "text": "Microsoft",
          "type": "Organization",
          "subtype": null,
          "offset": 30,
          "length": 9,
          "confidenceScore": 0.95
        }
      ],
      "warnings": []
    }
  ],
  "errors": []
}
Question 8hardmultiple choice
Full question →

Refer to the exhibit. You receive this error when calling an Azure Cognitive Services API. What is the most likely cause?

Exhibit

{
  "error": {
    "code": "403",
    "message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription.",
    "innererror": {
      "code": "InvalidSubscriptionKey",
      "message": "The provided subscription key is not valid for the Cognitive Services resource."
    }
  }
}
Question 9hardmultiple choice
Full question →

You see the exhibit representing an Azure Bot resource configuration. The bot is not responding to user messages. What should you verify first?

Exhibit

Refer to the exhibit.
{
  "name": "MyBot",
  "kind": "bot",
  "location": "westus",
  "properties": {
    "displayName": "MyBot",
    "description": "Customer service bot",
    "endpoint": "https://mybot.azurewebsites.net/api/messages",
    "msaAppId": "12345678-1234-1234-1234-123456789012",
    "luisAppIds": [],
    "developerAppInsightsKey": "<key>",
    "developerAppInsightsApplicationId": "<appId>"
  }
}
Question 10mediummultiple choice
Full question →

Refer to the exhibit. You are configuring an Azure AI Foundry agent for customer support. The agent uses Azure AI Search for retrieval and Azure OpenAI for generation. Users report that the agent provides correct answers but sometimes includes inappropriate language. What is the most likely cause?

Exhibit

{
  "features": {
    "search": {
      "type": "azure_ai_search",
      "index_name": "support-index",
      "semantic_configuration": "default"
    },
    "chat": {
      "type": "azure_openai",
      "deployment": "gpt-4o",
      "system_message": "You are a helpful assistant."
    },
    "content_safety": {
      "type": "azure_content_safety",
      "blocklist": "custom-blocklist",
      "threshold": "high"
    }
  }
}
Question 11mediummultiple choice
Full question →

Refer to the exhibit. You deploy an Azure AI Services multi-service account using this ARM template. After deployment, developers cannot access the service from their local machines. What is the most likely reason?

Exhibit

{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "resources": [
    {
      "type": "Microsoft.CognitiveServices/accounts",
      "apiVersion": "2023-05-01",
      "name": "myaiservices",
      "location": "[resourceGroup().location]",
      "sku": {
        "name": "S0"
      },
      "kind": "AIServices",
      "properties": {
        "customSubDomainName": "myaiservices",
        "networkAcls": {
          "defaultAction": "Deny"
        }
      }
    }
  ]
}
Question 12mediummultiple choice
Full question →

Refer to the exhibit. You are configuring an agent in Azure AI Foundry. The agent fails to start because the specified model is not available in the current Azure OpenAI resource. What should you do to resolve the issue?

Exhibit

{
  "configurations": {
    "default": [
      {
        "model": {
          "provider": "AzureOpenAI",
          "name": "gpt-4",
          "version": "0613"
        },
        "connection_type": "Strong",
        "system_prompt": "You are an AI assistant..."
      }
    ]
  }
}
Question 13hardmultiple choice
Full question →

Refer to the exhibit. You deployed a Conversational Language Understanding (CLU) project. A user says 'hi, where is my order?' The model returns a single intent 'Greeting' with confidence 0.85. You need the model to detect both intents. What should you change?

Exhibit

{
  "name": "MyProject",
  "kind": "Conversation",
  "settings": {
    "confidenceThreshold": 0.7,
    "multipleIntents": false
  },
  "intents": [
    {"name": "Greeting", "utterances": ["hi", "hello"]},
    {"name": "OrderStatus", "utterances": ["where is my order", "order status"]}
  ]
}
Question 14mediummultiple choice
Full question →

You are configuring semantic search in Azure AI Search. Based on the exhibit, which field is used as the title field for semantic ranking?

Exhibit

Refer to the exhibit.

```json
{
  "name": "my-search-service",
  "properties": {
    "semantic": {
      "defaultConfiguration": "my-semantic-config",
      "configurations": [
        {
          "name": "my-semantic-config",
          "prioritizedFields": {
            "titleField": {
              "fieldName": "title"
            },
            "prioritizedContentFields": [
              {
                "fieldName": "description"
              }
            ],
            "prioritizedKeywordsFields": []
          }
        }
      ]
    }
  }
}
```
Question 15mediummultiple choice
Full question →

You see the exhibit in an Azure AI Search skillset definition. The custom skill is not executing as expected. What is the most likely cause?

Exhibit

Refer to the exhibit.
{
  "properties": {
    "displayName": "MySkill",
    "description": "Custom skill for translation",
    "context": "/document",
    "inputs": [
      {
        "name": "text",
        "source": "/document/content"
      }
    ],
    "outputs": [
      {
        "name": "translatedText",
        "targetName": "translated"
      }
    ]
  },
  "type": "Microsoft.Skills/CustomWebApiSkill"
}

These AI-102 practice questions are part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style AI-102 questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.