Free Microsoft AI-102 Practice Test & Real Exam Questions
You have an Azure Cognitive Search resource named Search 1 that is used by multiple apps You need to secure Search 1. The solution must meet the following requirements:
* Prevent access to Search1 from the internet.
* Limit the access of each app to specific queries
What should you do? To answer, select the appropriate options in the answer area NOTE Each correct answer is worth one point.

* Prevent access to Search1 from the internet.
* Limit the access of each app to specific queries
What should you do? To answer, select the appropriate options in the answer area NOTE Each correct answer is worth one point.

Correct Answer:

Explanation:

You are securing an Azure Cognitive Search resource with two specific requirements:
Prevent access to Search1 from the internet
The correct way is to use a private endpoint.
A private endpoint connects the Cognitive Search resource directly into your virtual network (VNet), blocking public internet access.
Configuring an IP firewall can restrict access to specific IP ranges but does not fully prevent internet access.
Azure roles and authentication do not address network-level restrictions.
Limit the access of each app to specific queries
This is done via Azure role-based access control (RBAC).
You can assign different Azure roles or API keys with query rights to control what each app can do.
Key authentication alone only provides coarse-grained access (admin/query keys) but does not allow fine- grained per-app restrictions.
RBAC ensures principle of least privilege is enforced.
The answer:
Prevent access from internet # Create a private endpoint
Limit access to queries # Use Azure roles
Microsoft References
Secure access to Azure Cognitive Search using private endpoints
Role-based access control in Azure Cognitive Search
You have a Video Indexer service that is used to provide a search interface over company videos on your company ' s website.
You need to be able to search for videos based on who is present in the video. What should you do?
You need to be able to search for videos based on who is present in the video. What should you do?
Correct Answer: A
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
You have a product knowledgebase that contains multiple PDF documents.
You need to build a chatbot that will provide responses based on data in the knowledgebase. The solution must minimize development effort and costs. What should you include in the solution?
You need to build a chatbot that will provide responses based on data in the knowledgebase. The solution must minimize development effort and costs. What should you include in the solution?
Correct Answer: C
Vote an answer
You need to measure the public perception of your brand on social media by using natural language processing. Which Azure service should you use?
Correct Answer: D
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
You are developing a custom analyzer by using Azure Content Understanding in Foundry Tools.
After creating the schema, you label the data as shown in the exhibit. (Click the Exhibit tab.) Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.

After creating the schema, you label the data as shown in the exhibit. (Click the Exhibit tab.) Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:

You are building an agent by using the Azure Al Agent Service.
You need to ensure that the agent can access publicly accessible data that was released during the past 90 days.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You need to ensure that the agent can access publicly accessible data that was released during the past 90 days.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:

To let an Azure AI Agent access publicly available, recent web content, you add the Bing grounding tool. In the SDK, you first define a ToolConnectionList with the Bing connection ID (here, " bingConnectionId " ), then construct a BingGroundingToolDefinition(connectionList) so the agent can call Bing Search with recency filters (e.g., last 90 days) when answering questions.
When creating the agent, tool definitions are passed via the tools: parameter of CreateAgentAsync(...) as a List < ToolDefinition > . The toolResources parameter is used when you must also supply resource descriptors (for example, an Azure AI Search index configuration), which is not needed here because the Bing grounding tool already references the connection through the ToolConnectionList .
Therefore:
Use BingGroundingToolDefinition to ground the agent on current public web data.
Provide that tool in tools: new List < ToolDefinition > { grounding } when calling CreateAgentAsync(...) .
Microsoft Azure AI References (titles only)
Azure AI Agent Service - Bing web grounding tool (tool definitions and connections) Azure AI Agent Service SDK - Agent creation ( CreateAgentAsync parameters: tools vs toolResources ) Azure AI Agent Service - Tool connections and ToolConnectionList usage
You have data saved in the following format.

Which format was used?

Which format was used?
Correct Answer: D
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
You are developing a method for an application that uses the Azure Translator in Foundry Tools API.
The method will receive the content of a webpage, and then translate the content into Greek (el). The result will also contain a transliteration that uses the Roman alphabet.
You need to create the URI for the call to the Azure Translator in Foundry Tools API.
You have the following URI.
https://api.cognitive.microsofttranslator.com/translate?api-version=3.0 Which three additional query parameters should you include in the URI? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
The method will receive the content of a webpage, and then translate the content into Greek (el). The result will also contain a transliteration that uses the Roman alphabet.
You need to create the URI for the call to the Azure Translator in Foundry Tools API.
You have the following URI.
https://api.cognitive.microsofttranslator.com/translate?api-version=3.0 Which three additional query parameters should you include in the URI? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Correct Answer: A,C,D
Vote an answer
You have a chatbot that was built by using Microsoft Bot Framework and deployed to Azure.
You need to configure the bot to support voice interactions. The solution must support multiple client apps.
Which type of channel should you use?
You need to configure the bot to support voice interactions. The solution must support multiple client apps.
Which type of channel should you use?
Correct Answer: A
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You develop an application to identify species of flowers by training a Custom Vision model. You receive images of new flower species.
You need to add the new images to the classifier.
Solution: You add the new images, and then use the Smart Labeler tool.
Does this meet the goal?
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You develop an application to identify species of flowers by training a Custom Vision model. You receive images of new flower species.
You need to add the new images to the classifier.
Solution: You add the new images, and then use the Smart Labeler tool.
Does this meet the goal?
Correct Answer: B
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
You have an Azure OpenAl resource named Al1 that hosts three deployments of the GPT 3.5 model. Each deployment is optimized for a unique workload.
You plan to deploy three apps. Each app will access Al1 by using the REST API and will use the deployment that was optimized for the app ' s intended workload.
You need to provide each app with access to Al1 and the appropriate deployment. The solution must ensure that only the apps can access Al1.
What should you use to provide access to Al1, and what should each app use to connect to its appropriate deployment? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You plan to deploy three apps. Each app will access Al1 by using the REST API and will use the deployment that was optimized for the app ' s intended workload.
You need to provide each app with access to Al1 and the appropriate deployment. The solution must ensure that only the apps can access Al1.
What should you use to provide access to Al1, and what should each app use to connect to its appropriate deployment? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:
Provide access to AI1 by using: A bearer token
Connect to the deployment by using: A deployment name
To ensure only your apps can access the Azure OpenAI resource, authenticate with Microsoft Entra ID (Azure AD) and obtain a Bearer token (ideally via managed identity ). This avoids sharing long-lived API keys and lets you scope access by app identity and Azure RBAC. Microsoft's guidance recommends token- based auth for Azure OpenAI and shows how to acquire a bearer token/managed identity token for calls When calling the REST API , Azure OpenAI requires you to specify the deployment name to select which model deployment to use. The REST route includes {deployment-id} (deployment name) in the path, e.g., ...
/openai/deployments/{deployment-id}/chat/completions. This is explicitly documented as a key difference from OpenAI's public API, which takes only a model.
Therefore:
Access method: Bearer token (via Entra ID/managed identity)
Deployment selector: Deployment name in the REST path
Microsoft References
Authenticate to Azure OpenAI with Microsoft Entra ID / Managed identity (bearer token): guidance and how- to Azure OpenAI request header recommends token-based authentication (Bearer).
Azure OpenAI requires deployment name in API calls; REST path uses
