Welcome to TestSimulate

Pass Your Next Certification Exam Fast!

Everything you need to prepare, learn & pass your certification exam easily.

365 days free updates. First attempt guaranteed success.

Microsoft Designing and Implementing a Microsoft Azure AI Solution (AI-102) Free Practice Test

Question 1
You have a 20-GB video file named File1.avi that is stored on a local drive.
You need to index File1.avi by using the Azure AI Video Indexer website.
What should you do first?

Correct Answer: D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 2
You Build a bot in JavaScript.
From the Azure Command-Line interface (CLI), you run the following command.
az bot prepare-deploy
You need to deploy the bot to Azure.
Which three Azure CLl commands should you run in sequence? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the client order.
Correct Answer:

Explanation:
To deploy the bot to Azure, you should run the following three Azure CLI commands in sequence:
az deployment group create This command will create the Azure resources for your bot using an ARM template and a parameters file. You need to specify the resource group name, the template file path, and the parameters file path. For example:
az deployment group create --resource-group myResourceGroup --template-file
"deploymentTemplates\template-with-preexisting-rg.json" --parameters "deploymentTemplates\parameters- for-template-BotApp-with-rg.json" This command will also output the app ID and password of your bot, which you will need for the next command1.
az webapp deployment source config-zip This command will deploy your bot code to the app service that you created in the previous step. You need to specify the resource group name, the app service name, and the zip file path of your bot code. For example:
az webapp deployment source config-zip --resource-group myResourceGroup --name myBotAppService --src
"code.zip"
This command will also output the URL of your bot endpoint, which you will need for the next command2.
az ad app update This command will update your bot registration with the endpoint URL of your bot. You need to specify the app ID of your bot and the endpoint URL. For example:
az ad app update --id myBotAppId --set replyUrls="https://myBotAppService.azurewebsites.net/api
/messages"
This command will complete the deployment process and make your bot ready to be tested3.
Question 3
You have an Azure subscription that contains an Azure Al Content Understanding resource named cu1.
You need to create a custom analyzer that will analyze documents.
How should you complete the command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Correct Answer:

Explanation:

Explanation:
curl -i -X: The POST method is appropriate because you are creating a new custom analyzer, which involves sending a request to create a resource. POST is used for creating new resources in REST APIs.
https:// < cu1 > .services.ai.azure.com/: The base URL should be updated to include the contentunderstanding endpoint, as this is the specific service within the Azure AI Content Understanding resource (cu1) that handles analyzer-related operations. Replace < cu1 > with the actual resource name or endpoint provided by your Azure subscription.
/analyzers/myInvoice7api-version-2024-12-01-preview: This part of the URL is correct as it specifies the endpoint for creating a custom analyzer (/analyzers) with the name myInvoice7 and the API version 2024-12-
01-preview. No changes are needed here, assuming the analyzer name and version are intended as shown.
Question 4
You have a file share that contains 5.000 images of scanned invoices.
You need to analyze the images. The solution must extract the following data:
* Invoice items
* Sales amounts
* Customer details
What should you use?

Correct Answer: B
Question 5
You are building an Azure Cognitive Search custom skill.
You have the following custom skill schema definition.

For each of the following statements, select Yes if the statement. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Correct Answer:

Explanation:

Code Recap (Custom Skill JSON Schema)
{
" @odata.type " : " #Microsoft.Skills.Custom.WebApiSkill " ,
" description " : " My custom skill description " ,
" uri " : " https://contoso-webskill.azurewebsites.net/api/process " ,
" context " : " /document/organizations/* " ,
" inputs " : [
{
" name " : " companyName " ,
" source " : " /document/organizations/* "
}
],
" outputs " : [
{
" name " : " companyDescription "
}
]
}
Statement Analysis
CompanyDescription is available for indexing.
Yes.
The skill produces an output field called companyDescription . Outputs of a custom skill become part of the enrichment tree, which can then be projected into the search index or knowledge store.
The definition calls a web API as part of the enrichment process.
Yes.
This is a Web API skill ( @odata.type: #Microsoft.Skills.Custom.WebApiSkill ) with a uri pointing to
https://contoso-webskill.azurewebsites.net/api/process . This means an external web API is called to enrich data.
The enrichment step is called only for the first organization under /document/organizations .
No.
The context is set to " /document/organizations/* " , where the * means the skill runs for each element in the collection. It is not limited to the first element.
Final Answer
CompanyDescription is available for indexing # Yes
The definition calls a web API as part of the enrichment process # Yes
The enrichment step is called only for the first organization under /document/organizations # No Microsoft References Custom skills in Azure Cognitive Search Enrichment tree and skill context Reference:
https://docs.microsoft.com/en-us/azure/search/cognitive-search-output-field-mapping
Question 6
You have an Azure subscription that contains an Azure OpenAI resource named All and an Azure Al Content Safety resource named CS1.
You build a chatbot that uses All to provide generative answers to specific questions and CS1 to check input and output for objectionable content.
You need to optimize the content filter configurations by running tests on sample questions.
Solution: From Content Safety Studio, you use the Safety metaprompt feature to run the tests Does this meet the requirement?

Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 7
You are building a chatbot for a travel agent. The chatbot will use the Azure OpenAI GPT 3.5 model and will be used to make travel reservations.
You need to maximize the accuracy of the responses from the chatbot.
What should you do?

Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 8
You have a Language Understanding resource named lu1.
You build and deploy an Azure bot named bot1 that uses lu1.
You need to ensure that bot1 adheres to the Microsoft responsible AI principle of inclusiveness.
How should you extend bot1?

Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 9
You have an Azure Cognitive Search solution and an enrichment pipeline that performs Sentiment Analysis on social media posts.
You need to define a knowledge store that will include the social media posts and the Sentiment Analysis results.
Which two fields should you include in the definition? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

Correct Answer: B,E
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 10
Which scenario is an example of a streaming workload?

Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 11
You are building a retail kiosk system that will use a custom neural voice. You acquire audio samples and consent from the voice talent. You need to create a voice talent profile. What should you upload to the profile?

Correct Answer: D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 12
You need to create a visualization of running sales totals per quarter as shown in the following exhibit.

What should you create in Cower Bl Desktop;1

Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 13
You are building a retail chatbot that will use a QnA Maker service.
You upload an internal support document to train the model. The document contains the following question: " What is your warranty period? " Users report that the chatbot returns the default QnA Maker answer when they ask the following question: " How long is the warranty coverage? " The chatbot returns the correct answer when the users ask the following question: ' What is your warranty period? " Both questions should return the same answer.
You need to increase the accuracy of the chatbot responses.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. (Choose three.)
Correct Answer:

Explanation:

This scenario is about improving the accuracy of QnA Maker responses when user phrasing is different but semantically the same.
Problem
Uploaded document contains: "What is your warranty period?"
Users ask: "How long is the warranty coverage?"
QnA Maker fails because it does not automatically equate these two phrasings.
Both must map to the same answer.
Correct Sequence of Actions
Add alternative phrasing to the question and answer (QnA) pair.
In QnA Maker, you can add synonyms or paraphrases for a question.
Example: Add "How long is the warranty coverage?" as an alternative phrasing to the existing QnA pair.
This ensures the system treats both phrasings as the same question.
Retrain the model.
After modifying the knowledge base with new alternatives, you must retrain the model.
This step incorporates the updates into the QnA Maker service.
Republish the model.
To make the changes live and accessible by the chatbot endpoint, the retrained model must be republished.
Without republishing, the chatbot will still use the old knowledge base.
Actions That Are Not Required
Add a new QnA pair # Not needed, because we want both questions to map to the same existing answer, not duplicate answers.
Add additional questions to the document # That's not required when QnA Maker already supports adding alternative phrasing within the portal or JSON editor.
Final Answer (Sequence)
Add alternative phrasing to the question and answer (QnA) pair.
Retrain the model.
Republish the model.
Microsoft References
QnA Maker - Add alternative phrasing
Train and publish a QnA Maker knowledge base
Question 14
You are building a Language Understanding model for an e-commerce platform. You need to construct an entity to capture billing addresses.
Which entity type should you use for the billing address?

Correct Answer: E
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).