AI-102: Designing and Implementing a Microsoft Azure AI Solution Part 1
Question #: 6
Topic #: 5
You have 500 on-premises devices.
You have a Microsoft 365 E5 subscription that uses Microsoft Defender 365.
You onboard 100 devices to Microsoft Defender 365.
You need to identify any unmanaged on-premises devices. The solution must ensure that only specific onboarded devices perform the discovery.
What should you do first?
A. Create a device group.
B. Create an exclusion.
C. Set Discovery mode to Basic.
D. Create a tag.
Selected Answer: C
Question #: 76
Topic #: 3
You are building an internet-based training solution. The solution requires that a user’s camera and microphone remain enabled.
You need to monitor a video stream of the user and verify that the user is alone and is not collaborating with another user. The solution must minimize development effort.
What should you include in the solution?
A. speech-to-text in the Azure AI Speech service
B. object detection in Azure AI Custom Vision
C. Spatial Analysis in Azure AI Vision
D. object detection in Azure AI Custom Vision
Selected Answer: A
Question #: 76
Topic #: 3
You are building an internet-based training solution. The solution requires that a user’s camera and microphone remain enabled.
You need to monitor a video stream of the user and verify that the user is alone and is not collaborating with another user. The solution must minimize development effort.
What should you include in the solution?
A. speech-to-text in the Azure AI Speech service
B. object detection in Azure AI Custom Vision
C. Spatial Analysis in Azure AI Vision
D. object detection in Azure AI Custom Vision
Selected Answer: A
Question #: 23
Topic #: 4
You are building an app that will process scanned expense claims and extract and label the following data:
• Merchant information
• Time of transaction
• Date of transaction
• Taxes paid
• Total cost
You need to recommend an Azure AI Document Intelligence model for the app. The solution must minimize development effort.
What should you use?
A. the prebuilt Read model
B. a custom template model
C. a custom neural model
D. the prebuilt receipt model
Selected Answer: D
Question #: 22
Topic #: 4
You have the following data sources:
• Finance: On-premises Microsoft SQL Server database
• Sales: Azure Cosmos DB using the Core (SQL) API
• Logs: Azure Table storage
• HR: Azure SQL database
You need to ensure that you can search all the data by using the Azure AI Search REST API.
What should you do?
A. Migrate the data in HR to Azure Blob storage.
B. Migrate the data in HR to the on-premises SQL server.
C. Export the data in Finance to Azure Data Lake Storage.
D. Migrate the data in Sales to the MongoDB API.
Selected Answer: C
Question #: 21
Topic #: 4
You are building an app named App1 that will use Azure AI Document Intelligence to extract the following data from scanned documents:
• Shipping address
• Billing address
• Customer ID
• Amount due
• Due date
• Total tax
• Subtotal
You need to identify which model to use for App1. The solution must minimize development effort.
Which model should you use?
A. custom extraction model
B. contract
C. invoice
D. general document
Selected Answer: C
Question #: 46
Topic #: 3
You are building an Azure AI Language Understanding solution.
You discover that many intents have similar utterances containing airport names or airport codes.
You need to minimize the number of utterances used to train the model.
Which type of custom entity should you use?
A. Pattern.any
B. machine-learning
C. regular expression
D. list
Selected Answer: D
Question #: 26
Topic #: 5
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 have a chatbot that uses question answering in Azure Cognitive Service for Language.
Users report that the responses of the chatbot lack formality when answering spurious questions.
You need to ensure that the chatbot provides formal responses to spurious questions.
Solution: From Language Studio, you change the chitchat source to qna_chitchat_friendly.tsv, and then retrain and republish the model.
Does this meet the goal?
A. Yes
B. No
Selected Answer: B
Question #: 3
Topic #: 1
You need to build a chatbot that meets the following requirements:
✑ Supports chit-chat, knowledge base, and multilingual models
✑ Performs sentiment analysis on user messages
✑ Selects the best language model automatically
What should you integrate into the chatbot?
A. QnA Maker, Language Understanding, and Dispatch
B. Translator, Speech, and Dispatch
C. Language Understanding, Text Analytics, and QnA Maker
D. Text Analytics, Translator, and Dispatch
Selected Answer: C
Question #: 12
Topic #: 3
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?
A. machine learned
B. Regex
C. geographyV2
D. Pattern.any
E. list
Selected Answer: A
Question #: 2
Topic #: 7
You have an Azure subscription. The subscription contains an Azure OpenAI resource that hosts a GPT-3.5 Turbo model named Model1.
You configure Model1 to use the following system message: “You are an AI assistant that helps people solve mathematical puzzles. Explain your answers as if the request is by a 4-year-old.”
Which type of prompt engineering technique is this an example of?
A. few-shot learning
B. affordance
C. chain of thought
D. priming
Selected Answer: D
Question #: 67
Topic #: 1
You have a Microsoft OneDrive folder that contains a 20-GB video file named File1.avi.
You need to index File1.avi by using the Azure Video Indexer website.
What should you do?
A. Upload File1.avi to the www.youtube.com webpage, and then copy the URL of the video to the Azure AI Video Indexer website.
B. Download File1.avi to a local computer, and then upload the file to the Azure AI Video Indexer website.
C. From OneDrive, create a download link, and then copy the link to the Azure AI Video Indexer website.
D. From OneDrive, create a sharing link for File1.avi, and then copy the link to the Azure AI Video Indexer website.
Selected Answer: C
Question #: 7
Topic #: 3
You are building a Conversational Language Understanding model for an e-commerce chatbot. Users can speak or type their billing address when prompted by the chatbot.
You need to construct an entity to capture billing addresses.
Which entity type should you use?
A. machine learned
B. Regex
C. list
D. Pattern.any
Selected Answer: A
Question #: 37
Topic #: 3
You develop a custom question answering project in Azure Cognitive Service for Language. The project will be used by a chatbot.
You need to configure the project to engage in multi-turn conversations.
What should you do?
A. Add follow-up prompts.
B. Enable active learning.
C. Add alternate questions.
D. Enable chit-chat.
Selected Answer: A
Question #: 11
Topic #: 4
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.
A. storageContainer
B. storageConnectionString
C. files
D. tables
E. objects
Selected Answer: BE
Question #: 2
Topic #: 18
You are developing the chatbot.
You create the following components:
✑ A QnA Maker resource
✑ A chatbot by using the Azure Bot Framework SDK
You need to add an additional component to meet the technical requirements and the chatbot requirements.
What should you add?
A. Microsoft Translator
B. Language Understanding
C. Orchestrator
D. chatdown
Selected Answer: A
Question #: 9
Topic #: 1
You have the following C# method for creating Azure Cognitive Services resources programmatically.
You need to call the method 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(client, “res1”, “ComputerVision”, “F0”, “westus”)
B. create_resource(client, “res1”, “CustomVision.Prediction”, “F0”, “westus”)
C. create_resource(client, “res1”, “ComputerVision”, “S0”, “westus”)
D. create_resource(client, “res1”, “CustomVision.Prediction”, “S0”, “westus”)
Selected Answer: A
Question #: 51
Topic #: 3
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 Conversational Language Understanding. 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 Conversational Language Understanding.
Solution: You create a new utterance for each phrase in the FindContact intent.
Does this meet the goal?
A. Yes
B. No
Selected Answer: A
Question #: 1
Topic #: 3
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 pattern in the FindContact intent.
Does this meet the goal?
A. Yes
B. No
Selected Answer: A
Question #: 68
Topic #: 1
You have an Azure subscription that contains an Azure AI Service resource named CSAccount1 and a virtual network named VNet1. CSAaccount1 is connected to VNet1.
You need to ensure that only specific resources can access CSAccount1. The solution must meet the following requirements:
• Prevent external access to CSAccount1.
• Minimize administrative effort.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct answer is worth one point.
A. In VNet1, enable a service endpoint for CSAccount1.
B. In CSAccount1, configure the Access control (IAM) settings.
C. In VNet1, modify the virtual network settings.
D. In VNet1, create a virtual subnet.
E. In CSAccount1, modify the virtual network settings.
Selected Answer: AE
Question #: 63
Topic #: 1
You are building a solution in Azure that will use Azure Cognitive Service for Language to process sensitive customer data.
You need to ensure that only specific Azure processes can access the Language service. The solution must minimize administrative effort.
What should you include in the solution?
A. IPsec rules
B. Azure Application Gateway
C. a virtual network gateway
D. virtual network rules
Selected Answer: D
Question #: 49
Topic #: 1
You have an Azure subscription that contains a Language service resource named ta1 and a virtual network named vnet1.
You need to ensure that only resources in vnet1 can access ta1.
What should you configure?
A. a network security group (NSG) for vnet1
B. Azure Firewall for vnet1
C. the virtual network settings for ta1
D. a Language service container for ta1
Selected Answer: C
Question #: 48
Topic #: 1
You are building an AI solution that will use Sentiment Analysis results from surveys to calculate bonuses for customer service staff.
You need to ensure that the solution meets the Microsoft responsible AI principles.
What should you do?
A. Add a human review and approval step before making decisions that affect the staff’s financial situation.
B. Include the Sentiment Analysis results when surveys return a low confidence score.
C. Use all the surveys, including surveys by customers who requested that their account be deleted and their data be removed.
D. Publish the raw survey data to a central location and provide the staff with access to the location.
Selected Answer: A
Question #: 28
Topic #: 2
You plan to build an app that will generate a list of tags for uploaded images. The app must meet the following requirements:
• Generate tags in a user’s preferred language.
• Support English, French, and Spanish.
• Minimize development effort.
You need to build a function that will generate the tags for the app.
Which Azure service endpoint should you use?
A. Content Moderator Image Moderation
B. Custom Vision image classification
C. Computer Vision Image Analysis
D. Custom Translator
Selected Answer: C
Question #: 3
Topic #: 16
You are developing the knowledgebase by using Azure Cognitive Search.
You need to process wiki content to meet the technical requirements.
What should you include in the solution?
A. an indexer for Azure Blob storage attached to a skillset that contains the language detection skill and the text translation skill
B. an indexer for Azure Blob storage attached to a skillset that contains the language detection skill
C. an indexer for Azure Cosmos DB attached to a skillset that contains the document extraction skill and the text translation skill
D. an indexer for Azure Cosmos DB attached to a skillset that contains the language detection skill and the text translation skill
Selected Answer: D
Question #: 29
Topic #: 5
You create five bots by using Microsoft Bot Framework Composer.
You need to make a single bot available to users that combines the bots. The solution must support dynamic routing to the bots based on user input.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Create a composer extension.
B. Change the Recognizer/Dispatch type.
C. Create an Orchestrator model.
D. Enable WebSockets.
E. Create a custom recognizer JSON file.
F. Install the Orchestrator package.
Selected Answer: BCF
Question #: 10
Topic #: 4
You are developing an application that will use Azure Cognitive Search for internal documents.
You need to implement document-level filtering for Azure Cognitive Search.
Which three actions should you include in the solution? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Send Azure AD access tokens with the search request.
B. Retrieve all the groups.
C. Retrieve the group memberships of the user.
D. Add allowed groups to each index entry.
E. Create one index per group.
F. Supply the groups as a filter for the search requests.
Selected Answer: CDF
Question #: 39
Topic #: 3
You train a Conversational Language Understanding model to understand the natural language input of users.
You need to evaluate the accuracy of the model before deploying it.
What are two methods you can use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. From the language authoring REST endpoint, retrieve the model evaluation summary.
B. From Language Studio, enable Active Learning, and then validate the utterances logged for review.
C. From Language Studio, select Model performance.
D. From the Azure portal, enable log collection in Log Analytics, and then analyze the logs.
Selected Answer: AC
Question #: 1
Topic #: 18
You are developing the chatbot.
You create the following components:
✑ A QnA Maker resource
✑ A chatbot by using the Azure Bot Framework SDK
You need to integrate the components to meet the chatbot requirements.
Which property should you use?
A. QnAMakerOptions.StrictFilters
B. QnADialogResponseOptions.CardNoMatchText
C. QnAMakerOptions.RankerType
D. QnAMakerOptions.ScoreThreshold
Selected Answer: D
Question #: 1
Topic #: 7
You have an Azure subscription. The subscription contains an Azure OpenAI resource that hosts a GPT-4 model named Model1 and an app named App1. App1 uses Model1.
You need to ensure that App1 will NOT return answers that include hate speech.
What should you configure for Model1?
A. the Frequency penalty parameter
B. abuse monitoring
C. a content filter
D. the Temperature parameter
Selected Answer: C
Question #: 5
Topic #: 7
You build a chatbot that uses the Azure OpenAI GPT 3.5 model.
You need to improve the quality of the responses from the chatbot. The solution must minimize development effort.
What are two ways to achieve the goal? Each correct answer presents a complete solution.
NOTE: Each correct answer is worth one point.
A. Fine-tune the model.
B. Provide grounding content.
C. Add sample request/response pairs.
D. Retrain the language model by using your own data.
E. Train a custom large language model (LLM).
Selected Answer: BC