ExamGecko
Home Home / Microsoft / AI-102

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

Question list
Search
Search

List of questions

Search

Related questions











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.
A.
Send Azure AD access tokens with the search request.
Answers
B.
Retrieve all the groups.
B.
Retrieve all the groups.
Answers
C.
Retrieve the group memberships of the user.
C.
Retrieve the group memberships of the user.
Answers
D.
Add allowed groups to each index entry.
D.
Add allowed groups to each index entry.
Answers
E.
Create one index per group.
E.
Create one index per group.
Answers
F.
Supply the groups as a filter for the search requests.
F.
Supply the groups as a filter for the search requests.
Answers
Suggested answer: C, D

Explanation:

Your documents must include a field specifying which groups have access. This information becomes the filter criteria against which documents are selected or rejected from the result set returned to the issuer.

D: A query request targets the documents collection of a single index on a search service.

CF: In order to trim documents based on group_ids access, you should issue a search query with a group_ids/any(g:search.in(g, 'group_id1, group_id2,...')) filter, where 'group_id1, group_id2,...' are the groups to which the search request issuer belongs.

Reference:

https://docs.microsoft.com/en-us/azure/search/search-security-trimming-for-azure-search

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
A.
machine learned
Answers
B.
Regex
B.
Regex
Answers
C.
geographyV2
C.
geographyV2
Answers
D.
Pattern, any
D.
Pattern, any
Answers
E.
list
E.
list
Answers
Suggested answer: B

Explanation:

A regular expression entity extracts an entity based on a regular expression pattern you provide. It ignores case and ignores cultural variant. Regular expression is best for structured text or a predefined sequence of alphanumeric values that are expected in a certain format. For example:

Incorrect Answers:

C: The prebuilt geographyV2 entity detects places. Because this entity is already trained, you do not need to add example utterances containing GeographyV2 to the application intents. GeographyV2 entity is supported in English culture.

The geographical locations have subtypes:

D: Pattern.any is a variable-length placeholder used only in a pattern's template utterance to mark where the entity begins and ends.

E: A list entity represents a fixed, closed set of related words along with their synonyms. You can use list entities to recognize multiple synonyms or variations and extract a normalized output for them. Use the recommend option to see suggestions for new words based on the current list.

Reference:

https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-concept-entity-types

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.
A.
Combine the speech samples into a single audio file in the wma format and upload the file.
Answers
B.
Upload a zip file that contains a collection of audio files in the wav format and a corresponding text transcript file.
B.
Upload a zip file that contains a collection of audio files in the wav format and a corresponding text transcript file.
Answers
C.
Upload individual audio files in the FLAC format and manually upload a corresponding transcript in Microsoft Word format.
C.
Upload individual audio files in the FLAC format and manually upload a corresponding transcript in Microsoft Word format.
Answers
D.
Upload individual audio files in the .wma format.
D.
Upload individual audio files in the .wma format.
Answers
Suggested answer: B

Explanation:

To upload your data, navigate to the Speech Studio . From the portal, click Upload data to launch the wizard and create your first dataset. You'll be asked to select a speech data type for your dataset, before allowing you to upload your data.

The default audio streaming format is WAV

Use this table to ensure that your audio files are formatted correctly for use with Custom Speech:

Reference:

https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-custom-speech-test-and-train

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. (Choose three.)

NOTE: Each correct selection is worth one point.

A.
toScript=Cyrl
A.
toScript=Cyrl
Answers
B.
from=el
B.
from=el
Answers
C.
textType=html
C.
textType=html
Answers
D.
to=el
D.
to=el
Answers
E.
textType=plain
E.
textType=plain
Answers
F.
toScript=Latn
F.
toScript=Latn
Answers
Suggested answer: A, D, F

Explanation:


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. (Choose two.) NOTE: Each correct selection is worth one point.

A.
Fiddler
A.
Fiddler
Answers
B.
Bot Framework Composer
B.
Bot Framework Composer
Answers
C.
Bot Framework Emulator
C.
Bot Framework Emulator
Answers
D.
Bot Framework CLI
D.
Bot Framework CLI
Answers
E.
ngrok
E.
ngrok
Answers
F.
nginx
F.
nginx
Answers
Suggested answer: C, E

Explanation:

E xp I an ati o n/Ref e re n ce:

Bot Framework Emulator is a desktop application that allows bot developers to test and debug bots, either locally or remotely. ngrok is a cross-platform application that "allows you to expose a web server running on your local machine to the internet." Essentially, what we'll be doing is using ngrok to forward messages from external channels on the web directly to our local machine to allow debugging, as opposed to the standard messaging endpoint configured in the Azure portal.

Reference:

https://docs.microsoftcom/en-us/azure/bot-service/bot-service-debuq-emulator

You need to measure the public perception of your brand on social media by using natural language processing. Which Azure Cognitive Services service should you use?

A.
Text Analytics
A.
Text Analytics
Answers
B.
Content Moderator
B.
Content Moderator
Most voted
Answers (1)
Most voted
C.
Computer Vision
C.
Computer Vision
Answers
D.
Form Recognizer
D.
Form Recognizer
Answers
Suggested answer: A

Explanation:

Text Analytics Cognitive Service could be used to quickly determine the public perception for a specific topic, event or brand.

Example: A NodeJS app which pulls Tweets from Twitter using the Twitter API based on a specified search term. Then pass these onto Text Analytics for sentiment scoring before storing the data and building a visualisation in PowerBI. The Architecture looked something like this:

Reference:

https://www.linkedin.com/pulse/measuring-public-perception-azure-cognitive-services-steve-dalai

https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview

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 intent for location.

Does this meet the goal?

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

Explanation:

An intent represents a task or action the user wants to perform. It is a purpose or goal expressed in a user's utterance. Define a set of intents that corresponds to actions users want to take in your application.

Reference:

https://docs.microsoft.com/en-us/azure/coqnitive-services/luis/luis-concept-intent

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

Explanation:

Instead use a new intent for location.

Note: An intent represents a task or action the user wants to perform. It is a purpose or goal expressed in a user's utterance. Define a set of intents that corresponds to actions users want to take in your application.

Reference:

https://docs.microsoft.com/en-us/azure/coqnitive-services/luis/luis-concept-intent

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

Explanation:

Instead use a new intent for location.

Note: An intent represents a task or action the user wants to perform. It is a purpose or goal expressed in a user's utterance. Define a set of intents that corresponds to actions users want to take in your application.

Reference:

https://docs.microsoft.com/en-us/azure/coqnitive-services/luis/luis-concept-intent

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 add the new images, and then use the Smart Labeler tool.

Does this meet the goal?

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

Explanation:

The model need to be extended and retrained.

Note: Smart Labeler to generate suggested tags for images. This lets you label a large number of images more quickly when training a Custom Vision model.

Total 309 questions
Go to page: of 31