New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AI-102 Exam - Topic 1 Question 8 Discussion

Actual exam question for Microsoft's AI-102 exam
Question #: 8
Topic #: 1
[All AI-102 Questions]

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.

Show Suggested Answer Hide Answer
Suggested Answer: A, B, F, F

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.


https://docs.microsoft.com/en-us/azure/search/index-add-suggesters

Contribute your Thoughts:

0/2000 characters
Francine
4 months ago
Setting the searchAnalyzer property could really improve results.
upvoted 0 times
...
Aileen
4 months ago
Wait, we need a suggester for each product name field? That sounds excessive!
upvoted 0 times
...
Francine
4 months ago
Not sure about using the search endpoint for this. Seems off.
upvoted 0 times
...
Kerry
5 months ago
I think adding a suggester with the product name fields is a must.
upvoted 0 times
...
Catrice
5 months ago
Definitely need to make API queries to the autocomplete endpoint!
upvoted 0 times
...
Vallie
5 months ago
I vaguely recall something about setting the analyzer property for product name variants, but I can't remember if it's necessary for autocompletion.
upvoted 0 times
...
Roosevelt
5 months ago
I’m a bit confused about whether we should add a suggester for each product name field or just one that includes all three.
upvoted 0 times
...
Marguerita
5 months ago
I remember practicing a question where we had to add a suggester with multiple fields, so I feel like option B is a strong choice here.
upvoted 0 times
...
Roosevelt
5 months ago
I think we definitely need to make API queries to the autocomplete endpoint, but I'm not sure about the specifics of the body.
upvoted 0 times
...
Junita
5 months ago
This question is testing our understanding of how the CCM can be leveraged for compliance assessments. I'll make sure to read the options closely and think through the implications.
upvoted 0 times
...
Marge
5 months ago
I definitely studied TELNET and its security issues, so I want to say that's related, but SSH seems more secure...
upvoted 0 times
...
Cassi
5 months ago
I'm a little confused by the wording of the options. I'll need to re-read the question a few times to make sure I'm understanding it correctly before selecting an answer.
upvoted 0 times
...
Dennis Lee
5 years ago
it's right
upvoted 1 times
...

Save Cancel