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 12 Discussion

Actual exam question for Microsoft's AI-102 exam
Question #: 12
Topic #: 1
[All AI-102 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.

Show Suggested Answer Hide Answer
Suggested Answer: C, D, F

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.


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

Contribute your Thoughts:

0/2000 characters
Adelina
4 months ago
Totally agree with A and F, they’re essential for filtering!
upvoted 0 times
...
Sabina
5 months ago
D is definitely needed for proper access control.
upvoted 0 times
...
Mabel
5 months ago
Wait, do we really need to create one index per group? Sounds excessive!
upvoted 0 times
...
Ramonita
5 months ago
I think B is unnecessary, just stick with A, C, and F.
upvoted 0 times
...
Dustin
5 months ago
A, C, and F are the way to go!
upvoted 0 times
...
Whitney
5 months ago
Adding allowed groups to each index entry sounds familiar, but I'm not sure if it's the best approach. I feel like filtering by groups directly could be more efficient.
upvoted 0 times
...
Jerry
5 months ago
I practiced a similar question where we had to manage user permissions. I think retrieving group memberships of the user is definitely part of the solution.
upvoted 0 times
...
Glendora
5 months ago
I'm a bit unsure about retrieving all the groups. I think it might be necessary, but I can't recall if it's essential for document-level filtering.
upvoted 0 times
...
Leonida
5 months ago
I remember we discussed the importance of sending Azure AD access tokens with search requests for authentication. That seems like a key step.
upvoted 0 times
...
Yolando
5 months ago
This is a tricky one. I'm torn between ConfigMap and CCDTJSON. The CCDTJSON option mentions something about a JSON file, which could potentially contain the MQSC commands. I'll have to weigh the pros and cons of each choice.
upvoted 0 times
...
Ulysses
5 months ago
I'm pretty confident Flux is built using the GitOps toolkit. That seems like the most logical choice here.
upvoted 0 times
...
Melynda
5 months ago
The key here is that inventory reduction is not a direct cost savings, so it would be classified as a soft savings. I feel confident I can answer this correctly.
upvoted 0 times
...

Save Cancel