ExamGecko
Home Home / Microsoft / AI-102

Microsoft AI-102 Practice Test - Questions Answers, Page 23

Question list
Search
Search

List of questions

Search

Related questions











HOTSPOT

You are building an app by using the Speech SDK. The app will translate speech from French to German by using natural language processing.

You need to define the source language and the output language.

How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 221
Correct answer: Question 221

DRAG DROP

You have an app that manages feedback.

You need to ensure that the app can detect negative comments by using the Sentiment Analysis API in Azure Cognitive Service for Language. The solution must ensure that the managed feedback remains on your company's internal network.

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.

NOTE: More than one order of answer choices is correct You will receive credit for any of the correct orders you select.


Question 222
Correct answer: Question 222

Explanation:

Provision the Language service resource in Azure.

Deploy a Docker container to an on-premises server.

Run the container and query the prediction endpoint.


You are building an app that will share user images.

You need to configure the app to perform the following actions when a user uploads an image:

* Categorize the image as either a photograph or a drawing.

* Generate a caption for the image.

The solution must minimize development effort.

Which two services should you include in the solution? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.
object detection in Computer Vision
A.
object detection in Computer Vision
Answers
B.
content tags in Computer Vision
B.
content tags in Computer Vision
Answers
C.
image descriptions in Computer Vision
C.
image descriptions in Computer Vision
Answers
D.
image type detection in Computer Vison
D.
image type detection in Computer Vison
Answers
E.
image classification in Custom Vision
E.
image classification in Custom Vision
Answers
Suggested answer: C, D

Explanation:

According to theMicrosoft documentation, Computer Vision is a cloud-based service that provides developers with access to advanced algorithms for processing images and returning information. By uploading an image or specifying an image URL, Computer Vision algorithms can analyze visual content in different ways based on inputs and user choices.

According to theMicrosoft documentation, image type detection is one of the features of Computer Vision that can categorize an image as either a photograph or a drawing. You can use the image type detection feature by calling the Analyze Image API with the visualFeatures parameter set to ImageType. The API will return a JSON response with an imageType field that indicates whether the image is a photo or a clipart.

According to theMicrosoft documentation, image descriptions is another feature of Computer Vision that can generate a caption for an image. You can use the image descriptions feature by calling the Analyze Image API with the visualFeatures parameter set to Description. The API will return a JSON response with a description field that contains a list of captions for the image, each with a confidence score.

Therefore, by using these two features of Computer Vision, you can achieve your app requirements with minimal development effort. You don't need to use any other services, such as object detection, content tags, or Custom Vision, which are designed for different purposes.

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_professional.tsv. and then retrain and republish the model.

Does this meet the goal?

A.
Yes
A.
Yes
Answers
B.
No
B.
No
Answers
Suggested answer: B

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 lark 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_chitchit_friindly.tsv. and then retrain and republish the model.

Does this meet the goal?

A.
Yes
A.
Yes
Answers
B.
No
B.
No
Answers
Suggested answer: B

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 lark 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
A.
Yes
Answers
B.
No
B.
No
Answers
Suggested answer: B

Explanation:

Removing all the chit-chat question and answer pairs from the project will not ensure that the chatbot provides formal responses to spurious questions. It will only make the chatbot unable to handle any chit-chat scenarios, which may result in a poor user experience and a loss of engagement. Instead, you should choose a chit-chat personality that matches the tone and style of your chatbot, such as Professional or Caring.You can also edit the chit-chat questions and answers to suit your specific needs, or add new ones that are not in the predefined data set12. This way, you can ensure that the chatbot responds appropriately to spurious questions, while still maintaining a conversational and engaging interaction with the user.

HOTSPOT

You are building an app that will share user images.

You need to configure the app to meet the following requirement's

* uploaded images must be scanned and any text must be extracted from the images.

* Extracted text must be analyzed for the presence of profane language.

* The solution must minimize development effort.

what should you use for each requirement? To answer, select the apocopate opinions in the answer area.

NOTE: Each correct selection is worth one point.

Question 227
Correct answer: Question 227

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
A.
batch
Answers
B.
streaming
B.
streaming
Answers
C.
change point
C.
change point
Answers
Suggested answer: A

Explanation:

Batch anomaly detection is a type of anomaly detection that scans the entire dataset at once for outliers and unusual patterns. Batch anomaly detection is suitable for offline analysis of historical data, such as sensor data from the previous 24 hours.Batch anomaly detection can use various techniques, such as statistical methods, machine learning methods, or hybrid methods, to identify anomalies in the data123.

You have a 20-GB file named file1, avi that is stored on a local drive.

You need to index file1, avi by using the Azure Video indexer website.

What should you do first?

A.
Upload File1 avi to an Azure storage queue.
A.
Upload File1 avi to an Azure storage queue.
Answers
B.
upload File1.avi to the www.youtube.com seepage
B.
upload File1.avi to the www.youtube.com seepage
Answers
C.
Upload file1 avi to the Azure video indexer website.
C.
Upload file1 avi to the Azure video indexer website.
Answers
D.
Upload file1 avi to Microsoft OneDrive.
D.
Upload file1 avi to Microsoft OneDrive.
Answers
Suggested answer: D

Explanation:

This is because the Azure Video Indexer website allows you to upload videos from a URL or from your file system, but there are some limitations and considerations for each option1.

If you upload from your file system, the size of the file is limited to 2 GB, which is less than the size of file1.avi (20 GB). Therefore, this option is not feasible.

If you upload from a URL, the size of the file is limited to 30 GB, which is enough for file1.avi. However, the URL must be publicly accessible and valid, and the file must be accessible.You cannot use URLs from streaming services such as YouTube1. Therefore, options A and B are not valid.

The best option is to upload file1.avi to a cloud storage service such as Microsoft OneDrive, and then generate a shareable link for the file. You can then paste the link in the Azure Video Indexer website and upload the video from the URL.This way, you can avoid the file size limitation and ensure that the file is accessible and valid2.

DRAG DROP

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.


Question 230
Correct answer: Question 230

Explanation:

az deployment group create

az webapp deployment source config-zip

az ad app update


Total 309 questions
Go to page: of 31