Demo Microsoft AI-102 Exam Questions

Demo practice questions for guest users.

Section: Practice Mode 5 Questions
Demo Practice
Question 1

HOTSPOT
You are developing the shopping on-the-go project.
You are configuring access to the QnA Maker resources.
Which role should you assign to AllUsers and LeadershipTeam? To answer, select the appropriate
options in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer: A
Explanation:

Box 1: QnA Maker Editor
Scenario: Provide all employees with the ability to edit Q&As.
The QnA Maker Editor (read/write) has the following permissions:
Create KB API
Update KB API
Replace KB API
Replace Alterations
"Train API" [in
new service model v5]
Box 2: Contributor
Scenario: Only senior managers must be able to publish updates.
Contributor permission: All except ability to add new members to roles
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/reference-role-based-accesscontrol
Page 9
Question 2

You are developing the smart e-commerce project.
You need to implement autocompletion as part of the Cognitive Search solution.
Which three actions should you perform? Each correct answer presents part of the solution. (Choose
three.)
NOTE: Each correct selection is worth one point.

Correct Answer: A, B, E, F
Explanation:
Scenario: Support autocompletion and autosuggestion based on all product name variants.
A: Call a suggester-enabled query, in the form of a Suggestion request or Autocomplete request,
using an API. API usage is illustrated in the following call to the Autocomplete REST API.
POST /indexes/myxboxgames/docs/autocomplete?search&api-version=2020-06-30
{
"search": "minecraf",
"suggesterName": "sg"
}
B: In Azure Cognitive Search, typeahead or "search-as-you-type" is enabled through a suggester. A
suggester provides a list of fields that undergo additional tokenization, generating prefix sequences
to support matches on partial terms. For example, a suggester that includes a City field with a value
for "Seattle" will have prefix combinations of "sea", "seat", "seatt", and "seattl" to support
typeahead.
F. Use the default standard Lucene analyzer ("analyzer": null) or a language analyzer (for example,
"analyzer": "en.Microsoft") on the field.
Reference:
https://docs.microsoft.com/en-us/azure/search/index-add-suggesters
Question 3

You are planning the product creation project.
You need to build the REST endpoint to create the multilingual product descriptions.
How should you complete the URI? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer: A
Explanation:
Box 1: api-nam.cognitive.microsofttranslator.com
https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v3-0-reference
Box 2: /translate
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v3-0-translate

Demo Practice Mode

You are viewing only the questions marked as Demo.

BACK TO EXAM