AI-102 Dumps

AI-102 Free Practice Test

Microsoft AI-102: Designing and Implementing an Azure AI Solution

QUESTION 11

- (Exam Topic 2)
You have a Computer Vision resource named contoso1 that is hosted in the West US Azure region.
You need to use contoso1 to make a different size of a product photo by using the smart cropping feature. How should you complete the API URL? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
AI-102 dumps exhibit
Solution:
Graphical user interface, text, application, Word Description automatically generated
Reference:
https://westus.dev.cognitive.microsoft.com/docs/services/computer-vision-v3-2/operations/56f91f2e778daf14a4 https://docs.microsoft.com/en-us/azure/cognitive-services/computer-vision/concept-generating-thumbnails#exam

Does this meet the goal?

Correct Answer: A

QUESTION 12

- (Exam Topic 2)
You need to implement a table projection to generate a physical expression of an Azure Cognitive Search index.
Which three properties should you specify in the skillset definition JSON configuration table node? Each correct answer presents part of the solution. (Choose three.)
NOTE: Each correct selection is worth one point.

Correct Answer: ABE
Defining a table projection.
Each table requires three properties:
tableName: The name of the table in Azure Storage.
generatedKeyName: The column name for the key that uniquely identifies this row.
source: The node from the enrichment tree you are sourcing your enrichments from. This node is usually the output of a shaper, but could be the output of any of the skills.
Reference:
https://docs.microsoft.com/en-us/azure/search/knowledge-store-projection-overview

QUESTION 13

- (Exam Topic 1)
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: ABF
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 14

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

Correct Answer: BD

Example code : do
{
results = await client.GetReadResultAsync(Guid.Parse(operationId));
}
while ((results.Status == OperationStatusCodes.Running || results.Status == OperationStatusCodes.NotStarted)); Reference:
https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/ComputerVision/Comp

QUESTION 15

- (Exam Topic 2)
You are reviewing the design of a chatbot. The chatbot includes a language generation file that contains the following fragment.
# Greet(user)
- ${Greeting()}, ${user.name}
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
AI-102 dumps exhibit
Solution:
Box 1: No
Example: Greet a user whose name is stored in `user.name`
- ${ welcomeUser(user.name) }
Example: Greet a user whose name you don't know:
- ${ welcomeUser() }
Box 2: No
Greet(User) is a Send a response action.
Box 3: Yes
Reference:
https://docs.microsoft.com/en-us/composer/how-to-ask-for-user-input

Does this meet the goal?

Correct Answer: A