Courseiva
Back to Microsoft Azure AI Engineer Associate AI-102 questions

Scenario-based practice

Hard Difficulty 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.

20
scenario questions
AI-102
exam code
Microsoft
vendor

Scenario guide

How to approach hard difficulty questions

These are the questions most candidates get wrong. They require connecting multiple concepts, reading tricky output, or knowing edge-case behaviour that isn't on most study cards. Practising them trains you to operate under uncertainty — a necessary skill on the real exam.

Quick answer

Hard Difficulty Questions questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider 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.

Practice set

Practice scenarios

Question 1hardmulti select
Full question →

Which THREE components are required to build a custom copilot using Microsoft Copilot Studio that can answer questions from a SharePoint document library?

Question 2hardmultiple choice
Full question →

You are reviewing a skillset definition for an Azure AI Search indexer. The indexer is configured to index 1000 PDF documents. After running the indexer, you notice that only 500 documents have sentiment scores. What is the most likely cause?

Exhibit

Refer to the exhibit.

{
  "name": "my-skillset",
  "description": "Custom skillset",
  "skills": [
    {
      "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
      "context": "/document",
      "textSplitMode": "pages",
      "maximumPageLength": 5000,
      "defaultLanguageCode": "en",
      "inputs": [
        { "name": "text", "source": "/document/content" }
      ],
      "outputs": [
        { "name": "textItems", "targetName": "pages" }
      ]
    },
    {
      "@odata.type": "#Microsoft.Skills.Text.V3.SentimentSkill",
      "context": "/document/pages/*",
      "defaultLanguageCode": "en",
      "inputs": [
        { "name": "text", "source": "/document/pages/*" }
      ],
      "outputs": [
        { "name": "sentiment", "targetName": "sentiment" }
      ]
    }
  ]
}
Question 3hardmultiple 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 4hardmulti select
Full question →

Which THREE components are required to build a custom chat application using Azure OpenAI Service that can answer questions based on your own private data?

Question 5hardmultiple choice
Full question →

A healthcare organization uses Azure AI Health Insights to analyze patient data. They must ensure that PHI is not logged by the AI services. Which configuration should you apply?

Question 6hardmulti select
Full question →

You are designing a solution that uses Azure AI Document Intelligence to extract data from invoices. The solution must handle high throughput and process documents in batch. Which TWO configuration options should you use?

Question 7hardmultiple choice
Full question →

You manage an Azure AI Search service that indexes legal documents. The search latency is high, and you need to improve query performance without reducing index size. Which action should you take?

Question 8hardmultiple choice
Full question →

Refer to the exhibit. You are deploying an AI project in Microsoft Foundry using an ARM template. The deployment fails with an error indicating that the hub resource is not in the same region. What is the most likely cause?

Exhibit

{
  "name": "my-ai-project",
  "location": "eastus",
  "identity": {
    "type": "SystemAssigned"
  },
  "properties": {
    "aiResourceType": "Project",
    "hubResourceId": "/subscriptions/.../resourceGroups/.../providers/Microsoft.MachineLearningServices/workspaces/my-ai-hub"
  }
}
Question 9hardmultiple choice
Full question →

A healthcare company is using Azure AI Document Intelligence to extract patient data from forms. They need to ensure that all extracted data is encrypted at rest using a customer-managed key (CMK) and that the service endpoint is restricted to a specific virtual network. Which combination of steps should they take?

Question 10hardmultiple choice
Full question →

Your company is deploying an Azure AI solution that uses multiple AI services. You need to ensure that all API calls are authenticated securely using managed identities. Which of the following steps is required to enable managed identity authentication for an Azure AI service?

Question 11hardmultiple choice
Full question →

Your Azure AI Language custom entity recognition model incorrectly extracts 'Microsoft' as an organization when it refers to the company, but fails to extract 'Microsoft' as a product when it refers to the software. How should you improve the model?

Question 12hardmulti select
Full question →

You are designing a conversational AI solution using Microsoft Copilot Studio. The solution must: - Allow users to ask questions about company policies stored in SharePoint Online. - Use generative answers with grounding data. - Ensure that responses are based only on approved documents. - Support authentication via Microsoft Entra ID. Which THREE components must be configured as part of the solution?

Question 13hardmultiple choice
Full question →

You are a solution architect at a financial services company. You need to implement a knowledge mining solution that extracts information from annual reports (PDF) of publicly traded companies. The reports contain financial tables, executive summaries, and legal disclaimers. The solution must: (1) extract the company name, fiscal year, revenue, net income, and CEO name; (2) redact any personally identifiable information (PII) like email addresses and phone numbers before indexing; (3) index the extracted data in Azure AI Search; (4) allow users to query using natural language (e.g., 'Which company had the highest revenue in 2023?'). The reports are uploaded to an Azure Blob Storage container. You have access to Azure AI Services and Azure OpenAI. Which combination of services and configurations should you use?

Question 14hardmultiple choice
Full question →

Your Azure AI Search index contains millions of documents. Users report that search results are slow for complex queries. You need to improve query performance without reducing result quality. Which action should you take?

Question 15hardmultiple choice
Full question →

Refer to the exhibit. You are troubleshooting an Azure OpenAI API call that is returning incomplete responses. The response stops mid-sentence. Which parameter should you adjust?

Exhibit

{
  "model": "gpt-4",
  "messages": [
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": "What is the capital of France?"}
  ],
  "max_tokens": 500,
  "temperature": 0.7,
  "top_p": 0.95,
  "frequency_penalty": 0,
  "presence_penalty": 0,
  "stop": null
}
Question 16hardmulti select
Full question →

Which THREE considerations are important when planning to use Azure OpenAI Service in a production environment?

Question 17hardmultiple choice
Full question →

You are using Azure AI Foundry to fine-tune a GPT-3.5 model on a dataset of customer service conversations. The fine-tuning job fails with an error indicating that the training data format is invalid. What is the most likely issue?

Question 18hardmultiple choice
Full question →

You are developing a chatbot for a retail company using Azure AI Language's custom question answering. The chatbot must provide answers from a knowledge base of 500 FAQ documents. Users often ask the same question in different wording, and the chatbot fails to return an answer for paraphrased queries. What is the most effective solution?

Question 19hardmultiple choice
Full question →

You are building a generative AI solution using Azure AI Foundry. The solution must meet compliance requirements that require all model inputs and outputs to be auditable for a minimum of one year. What should you enable?

Question 20hardmultiple choice
Full question →

You are reviewing the ARM template snippet for an Azure AI Foundry hub. After deployment, you notice that the hub cannot connect to the storage account. What is the most likely cause?

Exhibit

Refer to the exhibit.
{
  "name": "AIHub-HR",
  "location": "eastus",
  "properties": {
    "storageAccount": "/subscriptions/abc/resourceGroups/rg-ai/providers/Microsoft.Storage/storageAccounts/staihub",
    "keyVault": "/subscriptions/abc/resourceGroups/rg-ai/providers/Microsoft.KeyVault/vaults/kvaihub",
    "applicationInsights": "/subscriptions/abc/resourceGroups/rg-ai/providers/microsoft.insights/components/appinsights-aihub",
    "containerRegistry": "/subscriptions/abc/resourceGroups/rg-ai/providers/Microsoft.ContainerRegistry/registries/acrai"
  }
}

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.