Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← Implement generative AI solutions practice sets

AI-102 Implement generative AI solutions • Complete Question Bank

AI-102 Implement generative AI solutions — All Questions With Answers

Complete AI-102 Implement generative AI solutions question bank — all 0 questions with answers and detailed explanations.

179
Questions
Free
No signup
Certifications/AI-102/Practice Test/Implement generative AI solutions/All Questions
Question 1mediummultiple choice
Read the full Implement generative AI solutions explanation →

A company wants to generate personalized product descriptions for its e-commerce site using Azure OpenAI. They need to ensure the model's output adheres to brand guidelines and does not generate prohibited content. Which approach should they use?

Question 2hardmultiple choice
Read the full NAT/PAT explanation →

A healthcare startup is developing a chatbot that uses Azure OpenAI to answer patient questions. They need to ensure that the chatbot only uses information from their verified medical database and does not generate unsupported medical advice. What is the best approach?

Question 3easymultiple choice
Read the full Implement generative AI solutions explanation →

A developer wants to deploy a custom generative AI model using Azure Machine Learning. Which compute target should they choose for low-latency real-time inference?

Question 4mediummultiple choice
Read the full Implement generative AI solutions explanation →

A company uses Azure OpenAI to generate code snippets. They notice that the model sometimes produces code that uses deprecated APIs. They want to minimize this without retraining the model. What should they do?

Question 5hardmultiple choice
Read the full Implement generative AI solutions explanation →

A financial services firm wants to use Azure OpenAI to generate investment advice summaries. They must ensure that the model does not produce any advice that could be interpreted as personalized financial advice. What is the most effective strategy?

Question 6easymultiple choice
Read the full Implement generative AI solutions explanation →

A developer wants to use Azure OpenAI to generate text from a prompt. Which parameter controls the diversity of the generated output?

Question 7mediummultiple choice
Read the full Implement generative AI solutions explanation →

A company is using Azure OpenAI to generate customer support responses. They want to ensure the model does not use any personally identifiable information (PII) in its outputs. What should they implement?

Question 8hardmultiple choice
Read the full Implement generative AI solutions explanation →

A research lab wants to use Azure OpenAI to generate synthetic data for training a model. They need to generate a large volume of data quickly and cost-effectively. Which approach should they use?

Question 9mediummulti select
Read the full Implement generative AI solutions explanation →

Which TWO actions should you take to reduce the cost of using Azure OpenAI for a chatbot that handles high traffic?

Question 10hardmulti select
Read the full Implement generative AI solutions explanation →

Which THREE factors should you consider when selecting a model for a generative AI solution on Azure?

Question 11easymulti select
Read the full Implement generative AI solutions explanation →

Which TWO Azure services can be used together with Azure OpenAI to implement a Retrieval-Augmented Generation (RAG) solution?

Question 12hardmultiple choice
Read the full Implement generative AI solutions explanation →

You are a machine learning engineer at a large retail company. The company has thousands of product descriptions that need to be updated regularly. They currently use a manual process. You propose using Azure OpenAI to generate new descriptions based on product attributes. You have a dataset of existing product descriptions and attributes stored in an Azure SQL Database. The solution must be cost-effective, scalable, and must not require retraining the model. You need to design the solution. You have the following options:

Option A: Use Azure OpenAI with few-shot learning by including examples in the prompt for each product. Deploy the model on an Azure Kubernetes Service (AKS) cluster for high throughput.

Option B: Use Azure OpenAI with prompt templates that include product attributes and call the API for each product. Use Azure Logic Apps to orchestrate the workflow and store results back to Azure SQL Database.

Option C: Fine-tune a custom model on the existing product descriptions and deploy it as a managed endpoint. Use Azure Data Factory to batch process all products.

Option D: Use Azure OpenAI with the batch API to generate descriptions for all products at once, using a single prompt that lists all products and attributes. Store the batch output in Azure Blob Storage and then import into Azure SQL Database.

Which option should you choose?

Question 13mediummultiple choice
Read the full NAT/PAT explanation →

You are a cloud solution architect at a legal firm. The firm needs to automate the summarization of legal documents. They have a large corpus of past case summaries and legal documents stored in Azure Blob Storage. They want to use Azure OpenAI to generate summaries for new documents. The solution must ensure that the generated summaries are accurate and do not contain hallucinated legal facts. The firm also requires that the solution be serverless and minimize operational overhead. You need to design the solution.

Option A: Use Azure OpenAI with a system message that instructs the model to be accurate. Deploy the model as a web app on Azure App Service and call it from Azure Functions triggered by new blob uploads.

Option B: Use Azure OpenAI with Retrieval-Augmented Generation (RAG) by indexing the past case summaries in Azure AI Search. Use Azure Functions to process new documents, retrieve relevant cases, and pass them as context to the model. Store summaries in Azure Cosmos DB.

Option C: Fine-tune an Azure OpenAI model on the past case summaries and deploy it as a managed endpoint. Use Azure Logic Apps to trigger summarization when new blobs are added.

Option D: Use Azure OpenAI with the chat API and provide the entire document in the prompt. Use Azure Container Instances to run a service that calls the API and writes summaries back to Blob Storage.

Which option should you choose?

Question 14mediummultiple choice
Read the full Implement generative AI solutions explanation →

A company is building a chatbot using Azure OpenAI Service to answer customer queries. The chatbot must not generate harmful or offensive content. Which Azure AI service should be integrated to filter inappropriate content?

Question 15hardmultiple choice
Read the full Implement generative AI solutions explanation →

A company uses Azure OpenAI to generate product descriptions. They notice that the model occasionally produces descriptions that include false claims about product features. The company needs to reduce the frequency of these inaccuracies without changing the training data. Which parameter adjustment would be most effective?

Question 16easymultiple choice
Read the full Implement generative AI solutions explanation →

A developer wants to integrate a pre-built AI model that can extract key information from invoices, such as vendor name, invoice date, and total amount. Which Azure AI service should they use?

Question 17hardmultiple choice
Read the full NAT/PAT explanation →

An organization is deploying a conversational AI solution using Azure OpenAI. They want to ensure the model's responses are grounded in their own knowledge base documents to reduce hallucinations. Which approach should they implement?

Question 18mediummulti select
Read the full Implement generative AI solutions explanation →

Which TWO actions are required to enable a custom chatbot built with Azure OpenAI to answer questions based on a company's internal PDF documents?

Question 19hardmultiple choice
Read the full NAT/PAT explanation →

You are a data scientist at a healthcare company. You have deployed a GPT-4 model using Azure OpenAI to answer patient inquiries about medical conditions. The model is configured with temperature=0.3 and max_tokens=200. Recently, the compliance team flagged that some responses contain contradictory information compared to the official medical guidelines. You need to ensure the model's answers align strictly with the provided medical documents (stored as PDFs in Azure Blob Storage). You have access to Azure Cognitive Search and Azure AI Document Intelligence. The solution must minimize hallucinations and not require retraining the model. What should you do?

Question 20mediummultiple choice
Read the full Implement generative AI solutions explanation →

A company is deploying a generative AI solution using Azure OpenAI Service to generate product descriptions. The solution must comply with responsible AI principles, specifically ensuring that generated content does not include harmful or offensive language. Which Azure AI service feature should they implement to automatically filter the output?

Question 21hardmulti select
Read the full Implement generative AI solutions explanation →

A developer is using Azure OpenAI to generate code snippets. The developer needs to ensure that the generated code does not contain security vulnerabilities. Which TWO actions should the developer take? (Choose two.)

Question 22easymultiple choice
Read the full Implement generative AI solutions explanation →

Refer to the exhibit. The developer is using Azure OpenAI with data sources (preview) to ground the model on a custom dataset. The assistant response includes a citation [^1]. However, the developer notices that the citation does not appear in the final output displayed to the user. What is the most likely cause?

Exhibit

Refer to the exhibit.

```json
{
  "role": "system",
  "content": "You are an AI assistant that helps people find information. Provide concise answers with citations."
}
```

```json
{
  "role": "user",
  "content": "What is the capital of France?"
}
```

```json
{
  "role": "assistant",
  "content": "The capital of France is Paris [^1].",
  "context": {
    "citations": [
      {
        "content": "Paris is the capital and most populous city of France.",
        "title": "Wikipedia",
        "url": "https://en.wikipedia.org/wiki/Paris"
      }
    ]
  }
}
```
Question 23mediumdrag order
Read the full Implement generative AI solutions explanation →

Drag and drop the steps to configure a multi-region disaster recovery for Azure Cognitive Services into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 24mediumdrag order
Read the full Implement generative AI solutions explanation →

Drag and drop the steps to build and deploy a custom Azure AI Document Intelligence model into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 25mediummatching
Read the full Implement generative AI solutions explanation →

Match each Azure Cognitive Search skill to its capability.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Extract text from images

Identify entities like people or organizations

Extract key phrases from text

Detect language of text

Determine sentiment of text

Question 26mediummatching
Read the full Implement generative AI solutions explanation →

Match each Azure Bot Service channel to its description.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Custom client communication

Embedded chat in web pages

Integration with Teams

Integration with Slack

Integration with Facebook

Question 27mediummultiple choice
Read the full NAT/PAT explanation →

A company uses Azure OpenAI Service to generate product descriptions. They notice that the descriptions sometimes contain factually incorrect information. Which strategy should they use to reduce hallucinations?

Question 28hardmultiple choice
Read the full Implement generative AI solutions explanation →

You are designing a generative AI solution that uses Azure OpenAI GPT-4 to answer customer support questions. The solution must comply with Microsoft's Responsible AI principles, particularly transparency and accountability. Which implementation approach best meets these requirements?

Question 29easymultiple choice
Read the full Implement generative AI solutions explanation →

You need to generate realistic synthetic data for training a machine learning model while ensuring the data does not contain personally identifiable information (PII). Which Azure service should you use?

Question 30mediummultiple choice
Read the full Implement generative AI solutions explanation →

A company uses Microsoft Copilot for Microsoft 365 to automate email responses. They want to ensure that the Copilot responses comply with their data governance policies and do not expose sensitive information. What should they configure?

Question 31hardmultiple choice
Read the full Implement generative AI solutions explanation →

You are building a generative AI application that must process large volumes of PDF documents and generate summaries using Azure OpenAI. The solution must be cost-effective and handle variable workloads. Which architecture should you recommend?

Question 32easymultiple choice
Read the full NAT/PAT explanation →

You need to generate a poem using Azure OpenAI. The poem should be about nature and have a cheerful tone. Which parameter should you adjust to influence the tone?

Question 33mediummultiple choice
Read the full Implement generative AI solutions explanation →

A developer uses the Azure OpenAI SDK to generate code snippets. The generated code sometimes contains security vulnerabilities. What is the most effective way to mitigate this risk?

Question 34hardmulti select
Read the full Implement generative AI solutions explanation →

You are deploying a generative AI model using Azure AI Foundry. The model must be accessible only from a specific virtual network. Additionally, you need to monitor all API calls for auditing. Which two configurations are required? (Choose two.)

Question 35easymultiple choice
Read the full Implement generative AI solutions explanation →

You need to create a chatbot that uses Azure OpenAI to answer questions about your company's internal policies. The responses must be based only on the provided policy documents. Which approach should you use?

Question 36mediummultiple choice
Read the full Implement generative AI solutions explanation →

Refer to the exhibit. A developer received this response from an Azure OpenAI chat completion call. The prompt was "What is the capital of France?". The finish_reason is "stop". What does this indicate?

Exhibit

Refer to the exhibit.

{
  "completions": [
    {
      "choices": [
        {
          "finish_reason": "stop",
          "index": 0,
          "message": {
            "content": "The capital of France is Paris.",
            "role": "assistant"
          }
        }
      ],
      "created": 1710000000,
      "id": "cmpl-123abc",
      "model": "gpt-4",
      "object": "chat.completion",
      "usage": {
        "completion_tokens": 7,
        "prompt_tokens": 10,
        "total_tokens": 17
      }
    }
  ],
  "object": "list"
}
Question 37hardmultiple choice
Read the full Implement generative AI solutions explanation →

Refer to the exhibit. A developer runs this PowerShell script to call Azure OpenAI. The script fails with an authentication error. What is the most likely cause?

Exhibit

Refer to the exhibit.

$response = Invoke-RestMethod -Uri "https://myfoundry.openai.azure.com/openai/deployments/gpt-4/chat/completions?api-version=2024-02-15-preview" -Method Post -Headers @{
    "Authorization" = "Bearer my-key"
} -Body (ConvertTo-Json @{
    messages = @(
        @{ role = "system"; content = "You are an AI assistant." },
        @{ role = "user"; content = "Tell me a joke." }
    )
    max_tokens = 50
    temperature = 0.7
})
Question 38mediummultiple choice
Read the full Implement generative AI solutions explanation →

A company uses Azure OpenAI to generate marketing copy. They want to ensure that the generated content does not contain offensive language. Which feature should they enable?

Question 39hardmultiple choice
Read the full Implement generative AI solutions explanation →

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 40easymultiple choice
Read the full Implement generative AI solutions explanation →

You need to generate an image of a cat wearing a hat using Azure OpenAI. Which model should you use?

Question 41mediummultiple choice
Read the full Implement generative AI solutions explanation →

Refer to the exhibit. An administrator runs this Azure CLI command to deploy a GPT-4 model in Azure AI Foundry. The command fails with an error that the deployment name already exists. What should the administrator do to resolve the issue?

Network Topology
name myFoundryresource-group rg-aideployment-name gpt-4model-name gpt-4model-version 0613sku-name Standardsku-capacity 10Refer to the exhibit.
Question 42hardmultiple choice
Read the full Implement generative AI solutions explanation →

A company is developing a generative AI solution that must process sensitive customer data. They need to ensure that data remains within their Azure tenant and is not used to improve the base model. Which configuration is required in Azure OpenAI?

Question 43easymultiple choice
Read the full Implement generative AI solutions explanation →

You need to generate a summary of a long article using Azure OpenAI. The article is 10,000 tokens long. What should you do to fit the article within the model's context window?

Question 44mediummultiple choice
Study the full Python automation breakdown →

A developer uses the Azure OpenAI API to generate code. They want to ensure that the generated code is in Python. Which parameter should they set?

Question 45hardmultiple choice
Read the full Implement generative AI solutions explanation →

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 46easymultiple choice
Read the full Implement generative AI solutions explanation →

You need to translate a document from English to Spanish using Azure OpenAI. Which parameter should you include in the prompt to specify the target language?

Question 47mediummultiple choice
Read the full Implement generative AI solutions explanation →

A company uses Azure OpenAI to generate product descriptions. They want to ensure that the descriptions are consistent in style and tone. Which strategy should they use?

Question 48hardmulti select
Read the full Implement generative AI solutions explanation →

You are deploying a generative AI model using Azure AI Foundry. The model must be accessible only from within a specific virtual network. Additionally, you need to monitor all API calls for auditing. Which two configurations are required? (Choose two.)

Question 49mediummultiple choice
Read the full NAT/PAT explanation →

You need to generate a poem using Azure OpenAI. The poem should be about nature and have a cheerful tone. Which parameter should you adjust to influence the tone?

Question 50easymultiple choice
Read the full Implement generative AI solutions explanation →

You need to generate an image of a cat wearing a hat using Azure OpenAI. Which model should you use?

Question 51hardmultiple choice
Read the full Implement generative AI solutions explanation →

A company is developing a generative AI solution that must process sensitive customer data. They need to ensure that data remains within their Azure tenant and is not used to improve the base model. Which configuration is required in Azure OpenAI?

Question 52mediummultiple choice
Study the full Python automation breakdown →

A developer uses the Azure OpenAI API to generate code. They want to ensure that the generated code is in Python. Which parameter should they set?

Question 53easymultiple choice
Read the full Implement generative AI solutions explanation →

You need to translate a document from English to Spanish using Azure OpenAI. Which parameter should you include in the prompt to specify the target language?

Question 54mediummultiple choice
Read the full Implement generative AI solutions explanation →

A company uses Azure OpenAI to generate product descriptions. They want to ensure that the descriptions are consistent in style and tone. Which strategy should they use?

Question 55mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are deploying a chatbot using Azure OpenAI Service with a custom dataset indexed in Azure AI Search. Users report that the chatbot frequently responds with 'I don't know' for questions that the dataset should cover. What is the most likely cause?

Question 56hardmultiple choice
Read the full Implement generative AI solutions explanation →

Your team is developing an AI-powered document summarization solution using Azure OpenAI. You need to ensure that the solution complies with Microsoft's Responsible AI principles, specifically transparency. Which configuration should you implement?

Question 57easymultiple choice
Read the full Implement generative AI solutions explanation →

You are building a conversational AI system using Azure OpenAI Service. The system must maintain context across multiple user turns. Which parameter determines how many previous messages are considered for the next response?

Question 58hardmultiple choice
Read the full Implement generative AI solutions explanation →

You have configured a system message for an Azure OpenAI chat completion deployment as shown in the exhibit. Users are reporting that the assistant sometimes refuses to answer questions that are clearly within the scope of the provided data. What is the most likely issue?

Exhibit

Refer to the exhibit.
{
  "role": "system",
  "content": "You are an AI assistant that helps users find information. When you don't know the answer, say 'I don't know' and do not make up information."
}
Question 59easymultiple choice
Read the full Implement generative AI solutions explanation →

You are implementing a generative AI solution using Azure OpenAI. You need to ensure that the model's outputs do not contain certain inappropriate words or phrases. Which feature should you configure?

Question 60mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are building a multi-tenant application that uses Azure OpenAI. Each tenant has different content filtering requirements. How should you configure the solution to meet these requirements?

Question 61hardmultiple choice
Read the full Implement generative AI solutions explanation →

You run the Azure CLI command shown in the exhibit. After a few minutes, the deployment fails with a quota error. What is the most likely cause?

Network Topology
name myOpenAIdeployment-name myDeploymentmodel-name gpt-4model-version 0613model-format OpenAIsku-name Standardcapacity 10Refer to the exhibit.
Question 62mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are using Azure OpenAI to generate product descriptions. You notice that the descriptions are often too similar to each other. Which parameter should you adjust to increase diversity?

Question 63easymultiple choice
Read the full Implement generative AI solutions explanation →

Your company wants to use Azure OpenAI to generate code snippets. You need to ensure the generated code does not contain security vulnerabilities. Which approach should you take?

Question 64mediummulti select
Read the full NAT/PAT explanation →

You are designing a generative AI solution using Azure OpenAI Service with your own data indexed in Azure AI Search. Which THREE components are essential for the retrieval-augmented generation (RAG) pattern?

Question 65hardmulti select
Read the full Implement generative AI solutions explanation →

You need to monitor and audit usage of Azure OpenAI Service to ensure compliance with company policies. Which TWO actions should you take?

Question 66easymulti select
Read the full Implement generative AI solutions explanation →

You are deploying a chat application using Azure OpenAI. The application should only answer questions based on a specific set of internal documents. Which THREE features should you use?

Question 67mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are testing an Azure OpenAI chat completion. The response shown in the exhibit is returned. What does the finish_reason of 'content_filter' indicate?

Exhibit

Refer to the exhibit.
{
  "completions": [
    {
      "index": 0,
      "finish_reason": "content_filter",
      "message": {
        "role": "assistant",
        "content": null
      }
    }
  ]
}
Question 68hardmultiple choice
Read the full Implement generative AI solutions explanation →

You have deployed a chatbot using Azure OpenAI with a system message as shown. The chatbot sometimes provides incorrect answers that are not supported by the sources. What is the most likely cause?

Exhibit

Refer to the exhibit.
{
  "role": "system",
  "content": "You are a helpful assistant. Use the following sources to answer questions: [source1.pdf, source2.pdf]. If you cannot find the answer, say 'I don't know'."
}
Question 69easymultiple choice
Read the full Implement generative AI solutions explanation →

You are developing a solution that uses Azure OpenAI to generate customer support responses. You want to prevent the model from repeating the same phrases. Which parameter should you adjust?

Question 70easymultiple choice
Read the full Implement generative AI solutions explanation →

You are developing a chat application that uses Azure OpenAI Service to answer customer queries. The solution must ensure that the model does not generate harmful or offensive content. Which Azure AI service should you configure?

Question 71mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are deploying a generative AI application using Azure OpenAI Service. The application must generate responses in multiple languages while maintaining high accuracy. You need to minimize token usage. Which approach should you recommend?

Question 72hardmultiple choice
Read the full Implement generative AI solutions explanation →

You are building a generative AI solution using Azure OpenAI Service. The application must retrieve information from a large private knowledge base. You need to ensure the model uses only relevant documents from the knowledge base to generate answers. Which feature should you configure?

Question 73easymultiple choice
Read the full Implement generative AI solutions explanation →

You are using Azure OpenAI Service to generate product descriptions. The output is often too verbose. You need to reduce the length of generated text without changing the model. Which parameter should you adjust?

Question 74mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are deploying a generative AI model using Azure Machine Learning. The model is a large language model that requires GPU compute. You need to minimize costs while ensuring the model is always available for inference. Which compute option should you choose?

Question 75hardmultiple choice
Read the full Implement generative AI solutions explanation →

You are building a generative AI application that uses Azure OpenAI Service. The application must access data from an Azure SQL database to answer user questions. You need to implement a solution that retrieves the most relevant data without exposing the database schema to the model. Which approach should you use?

Question 76easymultiple choice
Read the full Implement generative AI solutions explanation →

You are using Azure OpenAI Service to summarize customer emails. The summaries must be concise and contain only key information. Which prompt engineering technique should you apply?

Question 77mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are deploying a generative AI solution that uses DALL-E to generate images. The application must ensure that generated images do not contain violent content. Which feature should you enable?

Question 78hardmultiple choice
Read the full Implement generative AI solutions explanation →

You are building a generative AI application using Azure OpenAI Service. The application must provide citations for answers retrieved from a set of documents. You need to ensure that each answer includes a reference to the source document. Which configuration should you use?

Question 79mediummulti select
Read the full Implement generative AI solutions explanation →

You are designing a generative AI solution using Azure OpenAI Service. The solution must meet compliance requirements by preventing the model from generating sensitive personal data. Which TWO configurations should you implement? (Select TWO.)

Question 80hardmulti select
Read the full Implement generative AI solutions explanation →

Your organization is deploying a generative AI chatbot using Azure OpenAI Service. The chatbot must answer questions based on internal documents stored in Azure Blob Storage. You need to implement a retrieval-augmented generation (RAG) solution. Which THREE components are required? (Select THREE.)

Question 81easymulti select
Read the full Implement generative AI solutions explanation →

You are using Azure OpenAI Service to generate code snippets. The output must be safe and free of security vulnerabilities. Which TWO practices should you follow? (Select TWO.)

Question 82mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are using Azure OpenAI Service with the system message shown in the exhibit. The model sometimes answers questions using general knowledge even when the context does not contain the answer. Which modification should you make to enforce the behavior?

Exhibit

Refer to the exhibit.

{
  "role": "system",
  "content": "You are a helpful assistant that provides information about company policies. Only answer questions based on the provided context. If the answer is not in the context, say 'I do not know.'"
}
Question 83hardmultiple choice
Read the full Implement generative AI solutions explanation →

You run the Azure CLI command shown in the exhibit to create an online endpoint for a generative AI model. The deployment fails because the selected VM instance type is not available in the East US region. Which action should you take to resolve the issue?

Network Topology
az ml online-endpoint createname gpt-endpointresource-group rg-demolocation eastuscompute-type gpuinstance-count 1instance-type Standard_NC6s_v3Refer to the exhibit.
Question 84easymultiple choice
Read the full Implement generative AI solutions explanation →

You are testing an Azure OpenAI model with the parameters shown in the exhibit. The model generates very short responses. Which parameter should you modify to allow longer responses?

Exhibit

Refer to the exhibit.

temperature: 0.7
top_p: 0.9
max_tokens: 50
frequency_penalty: 0
presence_penalty: 0
Question 85mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are developing a customer support chatbot using Azure OpenAI Service. The chatbot must only answer questions related to the company's product catalog and policies. You want to minimize the risk of the chatbot generating harmful or off-topic responses. Which approach should you use?

Question 86hardmultiple choice
Read the full Implement generative AI solutions explanation →

Your team is building an application that uses Azure OpenAI Service to summarize legal documents. You need to ensure that the summaries do not include any personally identifiable information (PII) that might appear in the source documents. Which feature should you configure in the Azure OpenAI Service?

Question 87easymultiple choice
Read the full Implement generative AI solutions explanation →

You are designing a solution that uses Azure AI Document Intelligence to extract data from invoices. The solution must classify invoices by vendor and extract line items. Which prebuilt model should you use?

Question 88mediummultiple choice
Read the full Implement generative AI solutions explanation →

Your company uses Microsoft 365 Copilot to generate meeting summaries. Some users report that summaries include information from meetings they did not attend. What is the most likely cause?

Question 89hardmultiple choice
Read the full Implement generative AI solutions explanation →

You are deploying an Azure OpenAI model for a healthcare application. You need to ensure that the model does not generate medical advice and that all responses include a disclaimer. Which configuration should you use?

Question 90easymultiple choice
Read the full Implement generative AI solutions explanation →

You are building a generative AI solution using Azure OpenAI Service. You want to deploy the model to a specific Azure region to minimize latency for users in Europe. Which deployment parameter must you set?

Question 91mediummultiple choice
Read the full Implement generative AI solutions explanation →

Your organization uses Microsoft 365 Copilot. You want to ensure that Copilot only uses data from your Microsoft 365 tenant and does not access external sources. Which setting should you configure?

Question 92mediummulti select
Read the full Implement generative AI solutions explanation →

Which TWO actions can you take to reduce the cost of using Azure OpenAI Service for a chat application?

Question 93hardmulti select
Read the full Implement generative AI solutions explanation →

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 94easymulti select
Read the full Implement generative AI solutions explanation →

Which TWO features of Azure AI Content Safety can help you moderate user-generated content in a social media application?

Question 95mediummulti select
Read the full Implement generative AI solutions explanation →

Which THREE are valid parameters when calling the Azure OpenAI Service chat completions API?

Question 96hardmultiple choice
Read the full Implement generative AI solutions explanation →

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 97easymultiple choice
Read the full Implement generative AI solutions explanation →

Refer to the exhibit. You are using Microsoft Graph to retrieve user information for use in a Microsoft 365 Copilot extension. The response shows that the mail and mobilePhone fields are null. What is the most likely reason?

Exhibit

{
  "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users/$entity",
  "id": "87d349ed-44d7-43e1-9a83-5f2406dee5bd",
  "displayName": "John Doe",
  "userPrincipalName": "john.doe@contoso.com",
  "businessPhones": [],
  "mobilePhone": null,
  "jobTitle": null,
  "mail": null
}
Question 98mediummultiple choice
Read the full Implement generative AI solutions explanation →

Refer to the exhibit. You are deploying an Azure AI Services resource using an ARM template. After deployment, you cannot access the resource from any client, including the Azure portal. What is the most likely cause?

Exhibit

{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "cognitiveServiceName": {
      "value": "my-ai-service"
    },
    "location": {
      "value": "eastus"
    },
    "sku": {
      "value": "S0"
    },
    "customSubDomainName": {
      "value": "my-ai-service"
    },
    "networkAcls": {
      "value": {
        "defaultAction": "Deny",
        "virtualNetworkRules": [],
        "ipRules": []
      }
    }
  }
}
Question 99hardmultiple choice
Read the full Implement generative AI solutions explanation →

Refer to the exhibit. You are configuring a system message for an Azure OpenAI deployment. The assistant is still generating harmful code despite the instruction. Which additional measure should you implement?

Exhibit

{
  "role": "system",
  "content": "You are an AI assistant that generates code. When asked to write code, always include comments explaining the code. If the user asks for something harmful, refuse and suggest an alternative."
}
Question 100mediummultiple choice
Read the full Implement generative AI solutions explanation →

Your organization is building a chatbot using Azure OpenAI Service. The chatbot must provide citations from a set of internal documents stored in Azure Blob Storage. You need to configure the solution to minimize token usage while ensuring citations are accurate. Which approach should you use?

Question 101hardmultiple choice
Read the full Implement generative AI solutions explanation →

You are deploying a conversational AI solution using Microsoft Copilot Studio. The solution must comply with organizational data loss prevention (DLP) policies by preventing sensitive data from being sent to the underlying Azure OpenAI model. What should you configure?

Question 102easymultiple choice
Read the full Implement generative AI solutions explanation →

A company wants to generate product descriptions for thousands of items using an Azure OpenAI GPT-4 model. They need to ensure the descriptions match a consistent brand voice. Which approach is most efficient and cost-effective?

Question 103mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are developing a solution that uses Azure Document Intelligence to extract data from invoices and then uses Azure OpenAI to summarize the extracted data. The solution occasionally produces summaries that omit key fields like the invoice total. What should you do to improve accuracy?

Question 104hardmultiple choice
Read the full Implement generative AI solutions explanation →

Your Azure OpenAI application experiences high latency during peak hours. You have already scaled up the deployment to the maximum PTUs. What is the most effective next step to reduce latency?

Question 105easymultiple choice
Read the full Implement generative AI solutions explanation →

You are building a generative AI solution using Azure Machine Learning prompt flow. The solution must allow business analysts without coding experience to modify prompts and evaluate different model versions. What should you do?

Question 106mediummultiple choice
Read the full Implement generative AI solutions explanation →

You deploy a chat application using Azure OpenAI Service. Users report that the model sometimes generates inappropriate content. You need to implement a safety system that can be customized for your organization's policies. What should you use?

Question 107hardmultiple choice
Read the full Implement generative AI solutions explanation →

Your organization uses Azure OpenAI Service with a data source configured as 'Azure OpenAI on your data'. You notice that the responses include outdated information even though the underlying data source has been updated. What is the most likely cause?

Question 108easymultiple choice
Read the full NAT/PAT explanation →

You need to provide a generative AI solution that can answer questions based on a large set of PDF documents stored in Azure Blob Storage. The solution must support natural language queries and return citations from the documents. Which Azure service combination should you use?

Question 109mediummulti select
Read the full Implement generative AI solutions explanation →

Which TWO are valid ways to manage cost when using Azure OpenAI Service in a production application?

Question 110hardmulti select
Read the full Implement generative AI solutions explanation →

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

Question 111easymulti select
Read the full Implement generative AI solutions explanation →

Which TWO statements about Azure OpenAI Service content filters are true?

Question 112mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are building a chatbot for a retail company using Azure OpenAI Service. The chatbot must provide product recommendations based on customer preferences. To ensure the chatbot does not generate harmful or inappropriate responses, you need to implement a content filtering solution. What should you use?

Question 113hardmultiple choice
Read the full Implement generative AI solutions explanation →

You are deploying a generative AI solution using Azure OpenAI Service. The solution must comply with data residency requirements that mandate all data processing and storage remain within a specific geographic region. You need to configure the service to meet these requirements. What should you do?

Question 114easymultiple choice
Read the full Implement generative AI solutions explanation →

You are developing a generative AI application that uses Azure OpenAI Service to summarize large documents. The application experiences high latency when processing requests. You need to reduce the latency without changing the model. What should you do?

Question 115mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are using Azure OpenAI Service to generate code snippets for a development team. You notice that the generated code sometimes contains security vulnerabilities. You need to minimize the risk of generating insecure code while maintaining productivity. What should you do?

Question 116hardmultiple choice
Read the full Implement generative AI solutions explanation →

You are building a customer support chatbot using Azure OpenAI Service. The chatbot must only answer questions related to the company's products and policies. It should refuse to answer off-topic questions. You need to implement this restriction effectively. What should you do?

Question 117easymultiple choice
Read the full Implement generative AI solutions explanation →

You are deploying a generative AI solution using Azure OpenAI Service. You need to monitor the usage and costs associated with the service. What should you use?

Question 118mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are using Azure OpenAI Service to generate marketing copy. The marketing team reports that the generated content sometimes contains factual inaccuracies. You need to improve the factual accuracy of the generated content. What should you do?

Question 119hardmultiple choice
Read the full Implement generative AI solutions explanation →

You are building a generative AI application that uses Azure OpenAI Service. The application must handle sensitive user data and comply with GDPR. You need to ensure that the service does not store or log user prompts and completions. What should you configure?

Question 120easymultiple choice
Read the full Implement generative AI solutions explanation →

You are developing a generative AI solution that uses Azure OpenAI Service. You need to control the creativity of the generated responses. Which parameter should you adjust?

Question 121mediummulti select
Read the full Implement generative AI solutions explanation →

You are using Azure OpenAI Service to generate text. You need to reduce the likelihood of the model generating repetitive sequences. Which TWO parameters should you adjust?

Question 122hardmulti select
Read the full Implement generative AI solutions explanation →

You are designing a generative AI solution using Azure OpenAI Service. The solution must support multiple languages and provide consistent quality across languages. Which THREE actions should you take?

Question 123easymulti select
Read the full Implement generative AI solutions explanation →

You are building a generative AI application using Azure OpenAI Service. You need to ensure that the application handles user data securely. Which TWO practices should you implement?

Question 124hardmultiple choice
Read the full Implement generative AI solutions explanation →

Refer to the exhibit. You are configuring an Azure OpenAI Service deployment for document summarization. The current parameters produce summaries that are often too verbose. You need to make the summaries more concise while maintaining factual accuracy. Which parameter change should you make?

Exhibit

{
  "completions": [
    {
      "prompt": "Generate a summary of the following text: ...",
      "parameters": {
        "temperature": 0.3,
        "max_tokens": 150,
        "top_p": 0.9,
        "frequency_penalty": 0.0,
        "presence_penalty": 0.0
      },
      "response": "..."
    }
  ]
}
Question 125mediummultiple choice
Read the full Implement generative AI solutions explanation →

Refer to the exhibit. You have deployed a GPT-3.5 Turbo model in Azure OpenAI Service with the shown configuration. Users report that the model generates responses that are too repetitive. You need to reduce repetition. Which parameter should you modify?

Exhibit

{
  "deployment": {
    "model": "gpt-35-turbo",
    "modelVersion": "0613",
    "scaleSettings": {
      "scaleType": "Standard"
    },
    "properties": {
      "maxTokens": 4096,
      "temperature": 0.7,
      "topP": 0.95,
      "frequencyPenalty": 0,
      "presencePenalty": 0
    }
  }
}
Question 126easymultiple choice
Read the full Implement generative AI solutions explanation →

Refer to the exhibit. You are reviewing the configuration of an Azure OpenAI Service resource. The resource is configured with customer-managed keys for encryption. What is the primary benefit of this configuration?

Exhibit

{
  "resource": {
    "name": "myOpenAI",
    "location": "eastus",
    "sku": {
      "name": "S0"
    },
    "properties": {
      "encryption": {
        "keySource": "Microsoft.KeyVault",
        "keyVaultProperties": {
          "keyName": "myKey",
          "keyVaultUri": "https://myvault.vault.azure.net/"
        }
      }
    }
  }
}
Question 127mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are developing a generative AI solution that uses Azure OpenAI Service. The solution must generate product descriptions in multiple languages. You need to ensure that the model consistently follows specific formatting rules, such as including a bullet list of features. Which strategy should you use?

Question 128easymultiple choice
Read the full Implement generative AI solutions explanation →

Your company uses Azure AI Content Safety to moderate user-generated content in a chat application. You need to detect and block sexual content in multiple languages. Which pre-built category should you configure?

Question 129hardmultiple choice
Read the full NAT/PAT explanation →

You are building a generative AI application using Azure OpenAI Service. The application must provide factual answers based on your company's internal knowledge base. You need to minimize the risk of the model generating incorrect information (hallucinations). Which approach should you take?

Question 130mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are deploying a generative AI application that uses Azure OpenAI Service. You need to ensure that the application can handle sudden spikes in traffic without exceeding your quota. Which scaling strategy should you implement?

Question 131easymultiple choice
Read the full Implement generative AI solutions explanation →

You are building a chatbot using Azure OpenAI Service. The chatbot must not disclose sensitive information such as passwords or credit card numbers. Which Azure AI service should you integrate to filter such content?

Question 132mediummultiple choice
Read the full Implement generative AI solutions explanation →

Your company uses Microsoft Copilot for Microsoft 365. You need to ensure that Copilot only accesses data from approved SharePoint sites and does not use any other organizational data. What should you configure?

Question 133hardmultiple choice
Study the full Python automation breakdown →

You are designing a generative AI solution that uses Azure OpenAI Service. The solution must generate code snippets in Python and JavaScript. You need to ensure the model reliably outputs code in the correct language based on user input. Which approach should you use?

Question 134easymultiple choice
Read the full Implement generative AI solutions explanation →

You need to monitor usage and costs of your Azure OpenAI Service deployments. Which Azure tool should you use?

Question 135mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are deploying a generative AI application. You have the JSON configuration above. You need to ensure that the model stops generating output at the end of each sentence. The current configuration uses a stop sequence of "\n". What should you do?

Exhibit

Refer to the exhibit.

```json
{
  "deployment": {
    "model": "gpt-4",
    "modelVersion": "0613",
    "capacity": {
      "type": "Provisioned",
      "provisionedThroughput": 100
    },
    "scoringConfig": {
      "temperature": 0.7,
      "maxTokens": 2000,
      "topP": 0.9,
      "stop": ["\n"]
    },
    "contentFilter": {
      "type": "Custom",
      "customBlocklists": ["blocklist1"]
    }
  }
}
```
Question 136hardmulti select
Read the full Implement generative AI solutions explanation →

Which TWO actions can you take to mitigate the risk of generating harmful content when using Azure OpenAI Service? (Choose two.)

Question 137mediummulti select
Read the full Implement generative AI solutions explanation →

Which THREE components are required to implement a Retrieval-Augmented Generation (RAG) solution with Azure OpenAI Service? (Choose three.)

Question 138easymulti select
Read the full Implement generative AI solutions explanation →

Which TWO Azure AI services can be used to build a conversational chatbot that uses generative AI? (Choose two.)

Question 139hardmultiple choice
Read the full Implement generative AI solutions explanation →

You are reviewing an ARM template for deploying Azure OpenAI Service. The template includes a deployment for gpt-35-turbo with a capacity of 100. You need to ensure that the deployment uses provisioned throughput instead of standard. What should you modify?

Exhibit

Refer to the exhibit.

```json
{
  "$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": "myOpenAI",
      "location": "eastus",
      "sku": {
        "name": "S0"
      },
      "kind": "OpenAI",
      "properties": {
        "customSubDomainName": "myopenai"
      }
    },
    {
      "type": "Microsoft.CognitiveServices/accounts/deployments",
      "apiVersion": "2023-05-01",
      "name": "myOpenAI/gpt-35-turbo",
      "dependsOn": [
        "[resourceId('Microsoft.CognitiveServices/accounts', 'myOpenAI')]"
      ],
      "sku": {
        "name": "Standard",
        "capacity": 100
      },
      "properties": {
        "model": {
          "format": "OpenAI",
          "name": "gpt-35-turbo",
          "version": "0613"
        },
        "raiPolicyName": "MyPolicy"
      }
    }
  ]
}
```
Question 140mediummultiple choice
Read the full Implement generative AI solutions explanation →

You run the above PowerShell command to check the responsible AI policy applied to an Azure OpenAI Service deployment. The output shows 'MyPolicy'. You need to verify that the policy blocks hate speech. What should you do?

Exhibit

Refer to the exhibit.

```
$deployment = Get-AzCognitiveServicesAccountDeployment -ResourceGroupName "myRG" -AccountName "myOpenAI" -Name "gpt35"
$deployment.Properties.RaiPolicyName
```

Output: "MyPolicy"
Question 141easymultiple choice
Read the full Implement generative AI solutions explanation →

You are using Azure OpenAI Service to generate marketing copy. You notice that the output sometimes contains factual inaccuracies about your company's products. Which action can you take to improve factual accuracy?

Question 142mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are building a customer support chatbot using Azure OpenAI Service. The chatbot must only respond based on the company's product documentation and should not generate answers outside that scope. Which approach should you use?

Question 143easymultiple choice
Read the full Implement generative AI solutions explanation →

You need to deploy a generative AI model that can be used by multiple applications within your organization. The model must support real-time inference with low latency. Which Azure service should you use?

Question 144hardmultiple choice
Read the full NAT/PAT explanation →

You are using Azure OpenAI Service to generate product descriptions. You notice that the model occasionally outputs descriptions that contain factual inaccuracies about product specifications. You want to reduce these hallucinations without changing the model. What should you do?

Question 145mediummultiple choice
Read the full Implement generative AI solutions explanation →

Your company wants to build a custom generative AI model that generates architectural designs. The model should be trained on the company's proprietary dataset of floor plans and designs. Which Azure service should you use?

Question 146easymultiple choice
Read the full Implement generative AI solutions explanation →

You are developing a generative AI application that uses Azure OpenAI Service. You want to ensure that the application does not generate offensive content. Which Azure service should you use?

Question 147hardmultiple choice
Read the full Implement generative AI solutions explanation →

You have deployed a generative AI model using Azure Machine Learning. The model is used for generating financial reports. You need to monitor the model's performance and detect data drift in the input data. What should you use?

Question 148mediummultiple choice
Read the full Implement generative AI solutions explanation →

Your organization uses Azure OpenAI Service to generate code snippets. You want to log all user prompts and model responses for auditing purposes. What should you configure?

Question 149hardmultiple choice
Read the full Implement generative AI solutions explanation →

You are using Azure OpenAI Service to generate marketing copy. You have a requirement to reduce the cost of inference without significantly impacting output quality. Which parameter should you adjust?

Question 150easymultiple choice
Read the full Implement generative AI solutions explanation →

You need to deploy a generative AI model that can generate images from text descriptions. Which Azure service should you use?

Question 151mediummulti select
Read the full Implement generative AI solutions explanation →

Which TWO actions should you take to ensure that a generative AI model deployed on Azure Machine Learning is compliant with data privacy regulations?

Question 152hardmulti select
Read the full Implement generative AI solutions explanation →

Which THREE factors should you consider when choosing between Azure OpenAI Service and Azure Machine Learning for deploying a generative AI model?

Question 153mediummulti select
Read the full Implement generative AI solutions explanation →

Which TWO options are valid ways to reduce the cost of using Azure OpenAI Service?

Question 154easymultiple choice
Read the full Implement generative AI solutions explanation →

Refer to the exhibit. You are deploying a GPT-4 model using Azure OpenAI Service. The deployment uses the Standard scale type. Which statement is true about this deployment?

Exhibit

Refer to the exhibit. {
  "deploymentName": "gpt-4",
  "model": {
    "format": "OpenAI",
    "name": "gpt-4",
    "version": "0613"
  },
  "scaleSettings": {
    "scaleType": "Standard"
  }
}
Question 155hardmultiple choice
Read the full Implement generative AI solutions explanation →

Refer to the exhibit. You are deploying a generative AI model as an online endpoint in Azure Machine Learning. You receive complaints that the endpoint returns 503 errors during peak hours. What is the most likely cause?

Exhibit

Refer to the exhibit. {
  "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments",
  "apiVersion": "2023-04-01-preview",
  "name": "deploy-gen-model",
  "location": "eastus",
  "properties": {
    "model": {
      "assetId": "/subscriptions/.../models/gen-model/versions/1"
    },
    "requestSettings": {
      "requestTimeout": "PT30S",
      "maxConcurrentRequestsPerInstance": 10
    },
    "environmentVariables": {
      "MODEL_CACHE_SIZE": "10"
    },
    "scaleSettings": {
      "scaleType": "Manual",
      "instanceCount": 2
    }
  }
}
Question 156hardmultiple choice
Read the full Implement generative AI solutions explanation →

You are a generative AI engineer at a financial services company. The company uses Azure OpenAI Service to generate investment summaries. You have deployed a GPT-4 model with a content filter set to 'Low' for hate speech. The model frequently generates summaries that include biased language against certain demographics. You need to reduce biased outputs while maintaining the ability to generate detailed financial analysis. You cannot afford to retrain the model. You have the following options: A) Change the content filter severity to 'High' for all categories, B) Add a system message instructing the model to avoid bias and provide examples of unbiased summaries in the prompt, C) Use the Azure AI Language service to detect bias in the output and regenerate if bias is found, D) Deploy a different model like GPT-3.5 which has less bias. Which course of action should you take?

Question 157mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are developing a chat application that uses Azure OpenAI Service to answer customer queries. You need to ensure that the model does not generate responses containing internal company policies or confidential information. Which approach should you use?

Question 158hardmultiple choice
Read the full Implement generative AI solutions explanation →

Your organization uses Azure AI Document Intelligence to extract data from invoices. The extraction accuracy for total amounts is low. You have a labeled dataset of 500 invoices. You need to improve the model's accuracy for the 'total amount' field. What should you do?

Question 159easymultiple choice
Read the full Implement generative AI solutions explanation →

You are deploying a conversational AI solution using Microsoft Copilot Studio. The solution must provide responses based on data from an internal knowledge base stored in SharePoint. Which feature should you configure?

Question 160mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are building a solution to generate product descriptions using Azure OpenAI Service. You need to ensure that the output adheres to a specific tone (professional, friendly) and length (50-100 words). Which parameter should you adjust?

Question 161hardmultiple choice
Read the full Implement generative AI solutions explanation →

You are using Azure AI Studio to deploy a fine-tuned model for code generation. After deployment, you notice that the model returns nonsensical code snippets. You need to diagnose the issue. What should you check first?

Question 162easymultiple choice
Read the full Implement generative AI solutions explanation →

You need to generate realistic synthetic data using Azure OpenAI Service to train a machine learning model. The data must be diverse and cover edge cases. Which approach should you use?

Question 163mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are implementing a RAG (Retrieval-Augmented Generation) solution using Azure AI Search and Azure OpenAI Service. The solution is returning answers that are not relevant to the user query. What is the most likely cause?

Question 164hardmultiple choice
Read the full NAT/PAT explanation →

Your company uses Azure Bot Service with QnA Maker to answer HR questions. You need to migrate to Microsoft Copilot Studio to leverage generative AI capabilities. You have an existing QnA Maker knowledge base. What is the recommended migration path?

Question 165easymultiple choice
Read the full Implement generative AI solutions explanation →

You are developing a generative AI application that must comply with responsible AI principles. Which Azure AI service should you use to detect and filter harmful content in both input prompts and output responses?

Question 166mediummulti select
Read the full Implement generative AI solutions explanation →

You are designing a generative AI solution that uses Azure OpenAI Service. The solution must not generate responses that include personally identifiable information (PII). Which TWO configurations should you implement? (Choose two.)

Question 167hardmulti select
Read the full Implement generative AI solutions explanation →

You are deploying a solution that uses Azure OpenAI Service to generate financial reports. You need to ensure the outputs are accurate and consistent. Which TWO parameters should you adjust? (Choose two.)

Question 168mediummulti select
Read the full Implement generative AI solutions explanation →

You are building a generative AI chatbot using Microsoft Copilot Studio. The chatbot must answer questions from a PDF document and a SQL database. Which THREE data sources can you configure? (Choose three.)

Question 169hardmultiple choice
Read the full Implement generative AI solutions explanation →

Refer to the exhibit. You are using Azure OpenAI Service to generate summaries of meeting notes. The current configuration produces summaries that are too short and sometimes omit key points. How should you modify the parameters to get more complete summaries?

Exhibit

{
  "completions": [
    {
      "prompt": "Generate a summary for the meeting notes: {notes}",
      "max_tokens": 150,
      "temperature": 0.7,
      "top_p": 1,
      "frequency_penalty": 0,
      "presence_penalty": 0,
      "stop": null
    }
  ]
}
Question 170hardmultiple choice
Read the full NAT/PAT explanation →

You are a senior AI engineer at a financial services company. You are building a generative AI solution to assist financial advisors with client portfolio recommendations. The solution must use Azure OpenAI Service. The following requirements must be met:

1. Responses must be based on the latest market data and client profiles stored in Azure SQL Database. 2. The solution must not generate investment advice that is not backed by the data. 3. The solution must be cost-effective and minimize API calls. 4. The system must provide citations for the data used in the response.

You design a RAG pattern with Azure AI Search indexing the portfolio data. You also implement a system message instructing the model to only use provided context. However, the model occasionally generates advice that contradicts the data or invents new facts. You need to modify the solution to ensure responses are strictly grounded in the retrieved data. What should you do?

Question 171mediummultiple choice
Read the full NAT/PAT explanation →

You are working for a healthcare organization that uses Azure AI Document Intelligence to process patient intake forms. The forms are scanned and uploaded as multi-page PDFs. The extraction accuracy for the 'diagnosis code' field is poor. You have a labeled dataset of 200 forms. You need to improve the extraction accuracy without writing custom code. The solution must also handle forms with varying layouts. What should you do?

Question 172easymultiple choice
Read the full Implement generative AI solutions explanation →

Your company wants to build a custom Copilot for customer support using Microsoft Copilot Studio. The support team needs to query a backend CRM system securely using the Copilot. Which authentication method should you configure for the custom connector to the CRM?

Question 173mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are deploying a conversational AI chatbot using Azure AI Language service. The chatbot must be able to switch between multiple intents in a single conversation without restarting the session. Which feature should you enable?

Question 174hardmultiple choice
Read the full Implement generative AI solutions explanation →

Your company is using Azure OpenAI Service to generate marketing copy. The compliance team requires that all generated content be reviewed for sensitive data before delivery. You need to implement a solution that automatically scans the output for personally identifiable information (PII) and blocks it if detected. Which service should you integrate?

Question 175mediummultiple choice
Read the full Implement generative AI solutions explanation →

You are using Azure AI Document Intelligence to extract data from invoices. The invoices have varying layouts, and you need to build a custom model that can handle multiple document formats. Which type of model should you train?

Question 176hardmultiple choice
Read the full NAT/PAT explanation →

Your organization is deploying a generative AI solution using Azure AI Foundry. The solution must comply with responsible AI principles, including fairness and transparency. Which combination of tools should you use to assess and mitigate bias in the model?

Question 177mediummultiple choice
Read the full Implement generative AI solutions explanation →

Refer to the exhibit.

{
  "content_filters": [
    {
      "type": "hate",
      "action": "block",
      "severity": "high"
    },
    {
      "type": "sexual",
      "action": "block",
      "severity": "medium"
    },
    {
      "type": "self_harm",
      "action": "block",
      "severity": "low"
    }
  ]
}

You deploy an Azure OpenAI model with the above content filter configuration. A user submits a prompt that the system rates as "hate" at severity level "medium". What happens?

Question 178hardmultiple choice
Read the full Implement generative AI solutions explanation →

Your company is building a multi-tenant SaaS application using Azure AI Foundry. Each tenant (customer) should have isolated model deployments and data, but you want to share the base models across tenants to reduce costs. Which approach should you use?

Question 179easymultiple choice
Read the full Implement generative AI solutions explanation →

You are developing a custom chatbot using Azure AI Bot Service and Language Understanding (CLU). The chatbot needs to escalate to a human agent when the user's sentiment is negative. Which component should you use to detect sentiment?

Practice tests

Scored 10-question sessions with instant feedback and explanations.

AI-102 Practice Test 1 — 10 Questions→AI-102 Practice Test 2 — 10 Questions→AI-102 Practice Test 3 — 10 Questions→AI-102 Practice Test 4 — 10 Questions→AI-102 Practice Test 5 — 10 Questions→AI-102 Practice Exam 1 — 20 Questions→AI-102 Practice Exam 2 — 20 Questions→AI-102 Practice Exam 3 — 20 Questions→AI-102 Practice Exam 4 — 20 Questions→Free AI-102 Practice Test 1 — 30 Questions→Free AI-102 Practice Test 2 — 30 Questions→Free AI-102 Practice Test 3 — 30 Questions→AI-102 Practice Questions 1 — 50 Questions→AI-102 Practice Questions 2 — 50 Questions→AI-102 Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

Implement an agentic solutionImplement computer vision solutionsImplement knowledge mining and information extraction solutionsImplement image and video processing solutionsImplement natural language processing solutionsImplement generative AI solutionsImplement agentic AI solutionsImplement knowledge mining and document intelligence solutionsPlan and manage an Azure AI solutionImplement content moderation solutions

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All Implement generative AI solutions setsAll Implement generative AI solutions questionsAI-102 Practice Hub