AI-102: Designing and Implementing a Microsoft Azure AI Solution Part 4
Question #: 44
Topic #: 5
You have a Speech resource and a bot that was built by using the Microsoft Bot Framework Composer.
You need to add support for speech-based channels to the bot.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Configure the language and voice settings for the Speech resource.
B. Add the endpoint and key of the Speech resource to the bot.
C. Add language understanding to dialogs.
D. Add Orchestrator to the bot.
E. Add Speech to the bot responses.
F. Remove the setSpeak configuration.
Selected Answer: ABE
Question #: 3
Topic #: 4
You have an existing Azure Cognitive Search service.
You have an Azure Blob storage account that contains millions of scanned documents stored as images and PDFs.
You need to make the scanned documents available to search as quickly as possible.
What should you do?
A. Split the data into multiple blob containers. Create a Cognitive Search service for each container. Within each indexer definition, schedule the same runtime execution pattern.
B. Split the data into multiple blob containers. Create an indexer for each container. Increase the search units. Within each indexer definition, schedule a sequential execution pattern.
C. Create a Cognitive Search service for each type of document.
D. Split the data into multiple virtual folders. Create an indexer for each folder. Increase the search units. Within each indexer definition, schedule the same runtime execution pattern.
Selected Answer: D
Question #: 7
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 Cognitive Search REST API.
What should you do?
A. Configure multiple read replicas for the data in Sales.
B. Mirror Finance to an Azure SQL database.
C. Ingest the data in Logs into Azure Data Explorer.
D. Ingest the data in Logs into Azure Sentinel.
Selected Answer: B
Question #: 8
Topic #: 4
You are developing a solution to generate a word cloud based on the reviews of a company’s products.
Which Text Analytics REST API endpoint should you use?
A. keyPhrases
B. sentiment
C. languages
D. entities/recognition/general
Selected Answer: A
Question #: 14
Topic #: 4
You plan create an index for an Azure Cognitive Search service by using the Azure portal. The Cognitive Search service will connect to an Azure SQL database.
The Azure SQL database contains a table named UserMessages. Each row in UserMessages has a field named MessageCopy that contains the text of social media messages sent by a user.
Users will perform full text searches against the MessageCopy field, and the values of the field will be shown to the users.
You need to configure the properties of the index for the MessageCopy field to support the solution.
Which attributes should you enable for the field?
A. Sortable and Retrievable
B. Filterable and Retrievable
C. Searchable and Facetable
D. Searchable and Retrievable
Selected Answer: D
Question #: 15
Topic #: 1
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 Cognitive Search REST API.
What should you do?
A. Export the data in Finance to Azure Data Lake Storage.
B. Configure multiple read replicas for the data in Sales.
C. Ingest the data in Logs into Azure Data Explorer.
D. Migrate the data in HR to Azure Blob storage.
Selected Answer: A
Question #: 19
Topic #: 4
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.
Selected Answer: C
Question #: 66
Topic #: 1
You are developing a system that will monitor temperature data from a data stream. The system must generate an alert in response to atypical values. The solution must minimize development effort.
What should you include in the solution?
A. Multivariate Anomaly Detection
B. Azure Stream Analytics
C. metric alerts in Azure Monitor
D. Univariate Anomaly Detection
Selected Answer: B
Question #: 10
Topic #: 3
You are building a conversational language understanding model.
You need to enable active learning.
What should you do?
A. Add show-all-intents=true to the prediction endpoint query.
B. Enable speech priming.
C. Add log=true to the prediction endpoint query.
D. Enable sentiment analysis.
Selected Answer: C
Question #: 13
Topic #: 3
You need to upload speech samples to a Speech Studio project for use in training.
How should you upload the samples?
A. Combine the speech samples into a single audio file in the .wma format and upload the file.
B. Upload a .zip file that contains a collection of audio files in the .wav format and a corresponding text transcript file.
C. Upload individual audio files in the FLAC format and manually upload a corresponding transcript in Microsoft Word format.
D. Upload individual audio files in the .wma format.
Selected Answer: B
Question #: 14
Topic #: 3
You are developing a method for an application that uses the Translator 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 Translator 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.
A. toScript=Cyrl
B. from=el
C. textType=html
D. to=el
E. textType=plain
F. toScript=Latn
Selected Answer: CDF
Question #: 15
Topic #: 3
You have a chatbot that was built by using the Microsoft Bot Framework.
You need to debug the chatbot endpoint remotely.
Which two tools should you install on a local computer? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Fiddler
B. Bot Framework Composer
C. Bot Framework Emulator
D. Bot Framework CLI
E. ngrok
F. nginx
Selected Answer: CE
Question #: 23
Topic #: 3
You are examining the Text Analytics output of an application.
The text analyzed is: `Our tour guide took us up the Space Needle during our trip to Seattle last week.`
The response contains the data shown in the following table.
Which Text Analytics API is used to analyze the text?
A. Entity Linking
B. Named Entity Recognition
C. Sentiment Analysis
D. Key Phrase Extraction
Selected Answer: B
Question #: 27
Topic #: 3
You need to measure the public perception of your brand on social media by using natural language processing.
Which Azure service should you use?
A. Language service
B. Content Moderator
C. Computer Vision
D. Form Recognizer
Selected Answer: A
Question #: 29
Topic #: 3
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 Cognitive 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. Ingest the data in Logs into Azure Sentinel.
Selected Answer: C
Question #: 32
Topic #: 3
You have a Language service resource that performs the following:
• Sentiment analysis
• Named Entity Recognition (NER)
• Personally Identifiable Information (PII) identification
You need to prevent the resource from persisting input data once the data is analyzed.
Which query parameter in the Language service API should you configure?
A. model-version
B. piiCategories
C. showStats
D. loggingOptOut
Selected Answer: D
Question #: 47
Topic #: 3
You have a text-based chatbot.
You need to enable content moderation by using the Text Moderation API of Content Moderator.
Which two service responses should you use? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. personal data
B. the adult classification score
C. text classification
D. optical character recognition (OCR)
E. the racy classification score
Selected Answer: AC
Question #: 13
Topic #: 1
You are developing a new sales system that will process the video and text from a public-facing website.
You plan to notify users that their data has been processed by the sales system.
Which responsible AI principle does this help meet?
A. transparency
B. fairness
C. inclusiveness
D. reliability and safety
Selected Answer: A
Question #: 24
Topic #: 1
You have receipts that are accessible from a URL.
You need to extract data from the receipts by using Form Recognizer and the SDK. The solution must use a prebuilt model.
Which client and method should you use?
A. the FormRecognizerClient client and the StartRecognizeContentFromUri method
B. the FormTrainingClient client and the StartRecognizeContentFromUri method
C. the FormRecognizerClient client and the StartRecognizeReceiptsFromUri method
D. the FormTrainingClient client and the StartRecognizeReceiptsFromUri method
Selected Answer: C
Question #: 64
Topic #: 1
You plan to perform predictive maintenance.
You collect IoT sensor data from 100 industrial machines for a year. Each machine has 50 different sensors that generate data at one-minute intervals. In total, you have 5,000 time series datasets.
You need to identify unusual values in each time series to help predict machinery failures.
Which Azure service should you use?
A. Azure AI Computer Vision
B. Cognitive Search
C. Azure AI Document Intelligence
D. Azure AI Anomaly Detector
Selected Answer: D
Question #: 62
Topic #: 1
You have an Azure OpenAI model named AI1.
You are building a web app named App1 by using the Azure OpenAI SDK.
You need to configure App1 to connect to AI1.
What information must you provide?
A. the endpoint, key, and model name
B. the deployment name, key, and model name
C. the deployment name, endpoint, and key
D. the endpoint, key, and model type
Selected Answer: C
Question #: 53
Topic #: 1
You are building a solution that will detect anomalies in sensor data from the previous 24 hours.
You need to ensure that the solution scans the entire dataset, at the same time, for anomalies.
Which type of detection should you use?
A. batch
B. streaming
C. change points
Selected Answer: A
Question #: 21
Topic #: 1
You are building a language model by using a Language Understanding (classic) service.
You create a new Language Understanding (classic) resource.
You need to add more contributors.
What should you use?
A. a conditional access policy in Azure Active Directory (Azure AD)
B. the Access control (IAM) page for the authoring resources in the Azure portal
C. the Access control (IAM) page for the prediction resources in the Azure portal
Selected Answer: B
Question #: 20
Topic #: 1
You plan to provision a QnA Maker service in a new resource group named RG1.
In RG1, you create an App Service plan named AP1.
Which two Azure resources are automatically created in RG1 when you provision the QnA Maker service? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Language Understanding
B. Azure SQL Database
C. Azure Storage
D. Azure Cognitive Search
E. Azure App Service
Selected Answer: DE
Question #: 4
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 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 create a new model, and then upload the new images and labels.
Does this meet the goal?
A. Yes
B. No
Selected Answer: B
Question #: 25
Topic #: 2
You have an Azure subscription that contains an AI enrichment pipeline in Azure Cognitive Search and an Azure Storage account that has 10 GB of scanned documents and images.
You need to index the documents and images in the storage account. The solution must minimize how long it takes to build the index.
What should you do?
A. From the Azure portal, configure parallel indexing.
B. From the Azure portal, configure scheduled indexing.
C. Configure field mappings by using the REST API.
D. Create a text-based indexer by using the REST API.
Selected Answer: A
Question #: 21
Topic #: 3
You have the following C# method.
You need to deploy an Azure resource to the East US Azure region. The resource will be used to perform sentiment analysis.
How should you call the method?
A. create_resource(“res1”, “ContentModerator”, “S0”, “eastus”)
B. create_resource(“res1”, “TextAnalytics”, “S0”, “eastus”)
C. create_resource(“res1”, “ContentModerator”, “Standard”, “East US”)
D. create_resource(“res1”, “TextAnalytics”, “Standard”, “East US”)
Selected Answer: B
Question #: 22
Topic #: 3
You build a Conversational Language Understanding model by using the Language Services portal.
You export the model as a JSON file as shown in the following sample.
To what does the Weather.Historic entity correspond in the utterance?
A. by month
B. chicago
C. rain
D. location
Selected Answer: A
Question #: 4
Topic #: 16
You are developing the knowledgebase by using Azure Cognitive Search.
You need to meet the knowledgebase requirements for searching equivalent terms.
What should you include in the solution?
A. synonym map
B. a suggester
C. a custom analyzer
D. a built-in key phrase extraction skill
Selected Answer: A
Question #: 27
Topic #: 2
You have a mobile app that manages printed forms.
You need the app to send images of the forms directly to Forms Recognizer to extract relevant information. For compliance reasons, the image files must not be stored in the cloud.
In which format should you send the images to the Form Recognizer API endpoint?
A. raw image binary
B. form URL encoded
C. JSON
Selected Answer: A
Question #: 18
Topic #: 2
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.
Selected Answer: BD
Question #: 6
Topic #: 1
You are developing a new sales system that will process the video and text from a public-facing website.
You plan to monitor the sales system to ensure that it provides equitable results regardless of the user’s location or background.
Which two responsible AI principles provide guidance to meet the monitoring requirements? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. transparency
B. fairness
C. inclusiveness
D. reliability and safety
E. privacy and security
Selected Answer: BC
Question #: 14
Topic #: 1
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 create a web app named app1 that runs on an Azure virtual machine named vm1. Vm1 is on an Azure virtual network named vnet1.
You plan to create a new Azure Cognitive Search service named service1.
You need to ensure that app1 can connect directly to service1 without routing traffic over the public internet.
Solution: You deploy service1 and a public endpoint to a new virtual network, and you configure Azure Private Link.
Does this meet the goal?
A. Yes
B. No
Selected Answer: A
Question #: 38
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 remove all the chit-chat question and answer pairs, and then retrain and republish the model.
Does this meet the goal?
A. Yes
B. No
Selected Answer: B
Question #: 2
Topic #: 2
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 Guid.Parse(operationId) parameter.
B. Add code to verify the results.Status value.
C. Add code to verify the status of the txtHeaders.Status value.
D. Wrap the call to GetReadResultAsync within a loop that contains a delay.
Selected Answer: BD
Question #: 17
Topic #: 2
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”)
Selected Answer: A
Question #: 36
Topic #: 2
You are building an app that will use the Azure AI Video Indexer service.
You plan to train a language model to recognize industry-specific terms.
You need to upload a file that contains the industry-specific terms.
Which file format should you use?
A. XML
B. TXT
C. XLS
D. PDF
Selected Answer: B
Question #: 29
Topic #: 1
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?
A. Implement authentication for bot1.
B. Enable active learning for lu1.
C. Host lu1 in a container.
D. Add Direct Line Speech to bot1.
Selected Answer: D