Pass Microsoft AI-102 in Just 3 Days – Stress-Free, No Study Needed!
Have questions? Contact us directly on WhatsApp for quick support!
You have the following Python function for creating Azure Cognitive Services resources programmatically. def create_resource (resource_name, kind, account_tier, location) : parameters = CognitiveServicesAccount(sku=Sku(name=account_tier), kind=kind, location=location, properties={}) result = client.accounts.create(resource_group_name, resource_name, parameters)
You need to call the function to create a free Azure resource in the West US Azure region. The resource will be used to generate captions of images automatically.
Which code should you use?
- A. create_resource(“res1”, “ComputerVision”, “F0”, “westus”)
- B. create_resource(“res1”, “CustomVision.Prediction”, “F0”, “westus”)
- C. create_resource(“res1”, “ComputerVision”, “S0”, “westus”)
- D. create_resource(“res1”, “CustomVision.Prediction”, “S0”, “westus”)
HOTSPOT –
You need to build a real-time media bot for Microsoft Skype on an Azure virtual machine. The bot will use the Azure Bot Service. The solution must minimize custom code.
Which environment and language should you use to develop the bot? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

You use the Microsoft Bot Framework Composer to build a chatbot that enables users to purchase items.
You need to ensure that the users can cancel in-progress transactions. The solution must minimize development effort.
What should you add to the bot?
- A. a language generator
- B. a custom event
- C. a dialog trigger
- D. a conversation activity
You have an Azure OpenAI model.
You have 500 prompt-completion pairs that will be used as training data to fine-tune the model.
You need to prepare the training data.
Which format should you use for the training data file?
- A. CSV
- B. XML
- C. JSONL
- D. TSV
You are developing a method that uses the Computer Vision client library. The method will perform optical character recognition (OCR) in images. The method has the following code.

During testing, you discover that the call to the GetReadResultAsync method occurs before the read operation is complete.
You need to prevent the GetReadResultAsync method from proceeding until the read operation is complete.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
- A. Remove the operation_id parameter.
- B. Add code to verify the read_results.status value.
- C. Add code to verify the status of the read_operation_location value.
- D. Wrap the call to get_read_result within a loop that contains a delay.
HOTSPOT –
You have an Azure subscription that contains an Azure AI Document Intelligence resource named DI1.
You build an app named App1 that analyzes PDF files for handwritten content by using DI1.
You need to ensure that App1 will recognize the handwritten content.
How should you complete the code? To answer, select the appropriate options in the answer area.


You have a custom Azure OpenAI model.
You have the files shown in the following table.

You need to prepare training data for the model by using the OpenAI CLI data preparation tool.
Which files can you upload to the tool?
- A. File1.tsv only
- B. File2.xml only
- C. File3.pdf only
- D. File4.xlsx only
- E. File1.tsv and File4.xslx only
- F. File1.tsv, File2.xml and File4.xslx only
- G. File1.tsv, File2.xml, File3.pdf and File4.xslx
HOTSPOT –
You are building an app that will enable users to upload images. The solution must meet the following requirements:
* Automatically suggest alt text for the images.
* Detect inappropriate images and block them.
* Minimize development effort.
You need to recommend a computer vision endpoint for each requirement.
What should you recommend? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

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 build a language model by using a Language Understanding service. The language model is used to search for information on a contact list by using an intent named FindContact.
A conversational expert provides you with the following list of phrases to use for training.
– Find contacts in London.
– Who do I know in Seattle?
Search for contacts in Ukraine.

You need to implement the phrase list in Language Understanding.
Solution: You create a new entity for the domain.
Does this meet the goal?
- A. Yes
- B. No
You have an app named App1 that uses a custom Azure AI Document Intelligence model to recognize contract documents.
You need to ensure that the model supports an additional contract format. The solution must minimize development effort.
What should you do?
- A. Lower the confidence score threshold of App1.
- B. Create a new training set and add the additional contract format to the new training set. Create and train a new custom model.
- C. Add the additional contract format to the existing training set. Retrain the model.
- D. Lower the accuracy threshold of App1.