exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 13 question 1 discussion

Actual exam question from Microsoft's AI-102
Question #: 1
Topic #: 15
[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.
NOTE: Each correct selection is worth one point.

  • A. Make API queries to the autocomplete endpoint and include suggesterName in the body.
  • B. Add a suggester that has the three product name fields as source fields.
  • C. Make API queries to the search endpoint and include the product name fields in the searchFields query parameter.
  • D. Add a suggester for each of the three product name fields.
  • E. Set the searchAnalyzer property for the three product name variants.
  • F. Set the analyzer property for the three product name variants.
Show Suggested Answer Hide Answer
Suggested Answer: ABF 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ziggy1117
Highly Voted 1 year, 8 months ago
Selected Answer: ABF
Let us eliminate the wrong answers: C. Make API queries to the search endpoint and include the product name fields in the searchFields query parameter. - as we need autocomplete endpoint, we rule this one out as this is for a search endpoint D. Add a suggester for each of the three product name fields. - we cannot have 3 suggesters. E. Set the searchAnalyzer property for the three product name variants. - searchAnalyzer helps in search not in autocomplete. So A, B, F
upvoted 16 times
...
reachmymind
Highly Voted 2 years, 11 months ago
A , B , F B. Add a suggester that has the three product name fields as source fields F. Set the analyzer property for the three product name variants. A. Make API queries to the autocomplete endpoint and include suggesterName in the body. https://docs.microsoft.com/en-us/azure/search/index-add-suggesters https://docs.microsoft.com/en-us/azure/search/search-add-autocomplete-suggestions
upvoted 11 times
...
syupwsh
Most Recent 1 week ago
Selected Answer: ABF
Make API queries to the autocomplete endpoint and include suggesterName in the body is CORRECT because it specifies which suggester to use for autocompletion. This is essential for retrieving relevant suggestions based on user input, making the autocomplete functionality effective. Add a suggester that has the three product name fields as source fields is CORRECT because a suggester is needed to define the fields from which autocomplete suggestions will be generated. By including all relevant product name fields, the system can provide comprehensive suggestions that account for different ways products might be named or referred to. Set the analyzer property for the three product name variants is CORRECT because it ensures that the text is processed correctly, considering the specific language or custom processing required. This helps in generating accurate autocomplete suggestions by applying the correct text analysis to the product name fields. ABF
upvoted 1 times
...
nanaw770
8 months, 1 week ago
Selected Answer: ABF
ABF is the correct answer.
upvoted 2 times
...
takaimomoGcup
9 months ago
Is this question still available on May 21, 2024?
upvoted 1 times
...
evangelist
1 year ago
let me explain why C D E are incorrect: C. This action is more relevant to refining search results based on specific fields rather than implementing autocompletion. For autocompletion, the focus is on the autocomplete endpoint, not the search endpoint. D. - Typically, you would add a single suggester that includes multiple fields as source fields rather than creating a separate suggester for each field. Therefore, this action is not as efficient or necessary if you can accomplish your goal with one suggester that encompasses all relevant fields. E. Set the searchAnalyzer property for the three product name variants. - Setting the searchAnalyzer property is relevant for controlling how text is analyzed during search queries. it's not directly involved in setting up autocompletion.
upvoted 1 times
...
rdemontis
1 year, 3 months ago
Selected Answer: ABF
provided answer and explanation are correct
upvoted 2 times
...
zellck
1 year, 7 months ago
Selected Answer: ABF
ABF is the answer. https://learn.microsoft.com/en-us/azure/search/index-add-suggesters#use-a-suggester First, as with all queries, the operation is against the documents collection of an index and the query includes a "search" parameter, which in this case provides the partial query. Second, you must add "suggesterName" to the request. If a suggester isn't defined in the index, a call to autocomplete or suggestions will fail. https://learn.microsoft.com/en-us/azure/search/index-add-suggesters#choose-analyzers
upvoted 3 times
...
KingChuang
2 years, 1 month ago
on my exam. (2023-01-16 passed) My Answer:ABF
upvoted 6 times
...
Eltooth
2 years, 7 months ago
Selected Answer: ABF
A, B and F are correct answers.
upvoted 3 times
...
Ravnit
3 years, 2 months ago
Was on exam 27/11/2021
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago