Question 948 of 988
Plan and manage an Azure AI solutionhardMultiple ChoiceObjective-mapped

Quick Answer

The correct answer is to index the documents and use security filters with Azure AD group-based access control. This works because Azure Cognitive Search supports security trimming by storing Azure AD group identifiers as a field in the search index, then applying a security filter that compares the user’s group membership against those stored IDs—only returning documents where the user’s groups match. On the AI-102 exam, this scenario tests your understanding of how to implement fine-grained access control for sensitive data without duplicating indexes or relying on document-level permissions from the source. A common trap is assuming you can use Azure RBAC or storage account permissions to trim search results, but those control access to the blob itself, not the search index. Remember the key pattern: store group IDs in the index, filter by the user’s group membership at query time. Memory tip: “Group IDs in the index, filter at query—security trimming is the key.”

AI-102 Plan and manage an Azure AI solution Practice Question

This AI-102 practice question tests your understanding of plan and manage an azure ai solution. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company plans to use Azure Cognitive Search to index a large number of PDF documents stored in Azure Blob Storage. The documents contain sensitive personally identifiable information (PII). The search results should only be accessible to authorized users based on their Azure Active Directory (Azure AD) group membership. Which combination of features should the company implement?

Question 1hardmultiple choice
Read the full NAT/PAT explanation →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Index the documents and use security filters with Azure AD group-based access control.

Option B is correct because Azure Cognitive Search supports security trimming via OAuth 2.0 and Azure AD group-based access control. By storing group identifiers in a search index field and using a security filter, only users whose Azure AD group membership matches the stored group IDs can see the corresponding search results. This ensures that sensitive PII in PDF documents is only returned to authorized users without exposing the documents themselves.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Generate shared access signatures (SAS) for each document and include them in the search index.

    Why it's wrong here

    SAS is for blob access, not for search result filtering.

  • Index the documents and use security filters with Azure AD group-based access control.

    Why this is correct

    Security filters allow restricting search results based on Azure AD group membership stored in the index.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use Azure RBAC to assign permissions to users for the search service and configure field-level security.

    Why it's wrong here

    RBAC controls service-level access, not document-level security in search results.

  • Store Azure AD group membership in a field in the search index and configure an indexer to map the field.

    Why it's wrong here

    Field mapping is part of indexer configuration, but the statement is incomplete; the correct approach is to use security filters.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse Azure RBAC (which controls management-plane permissions) with data-plane security trimming, or they assume that storing group membership in the index alone is sufficient without implementing a query-time filter to enforce it.

Detailed technical explanation

How to think about this question

Under the hood, Azure Cognitive Search implements security trimming by requiring the client to pass the user's Azure AD group object IDs (obtained via Microsoft Graph) as part of the search query. The index must contain a field (e.g., `allowed_groups`) that stores these group IDs as a collection of strings. The query then applies a filter like `$filter=allowed_groups/any(g:g eq 'group-id')`, which is evaluated server-side before returning results. This approach avoids storing user-specific tokens in the index and leverages Azure AD's group membership claims for dynamic authorization.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AI-102 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Implement an agentic solution practice questions

Practise AI-102 questions linked to Implement an agentic solution.

Implement computer vision solutions practice questions

Practise AI-102 questions linked to Implement computer vision solutions.

Implement knowledge mining and information extraction solutions practice questions

Practise AI-102 questions linked to Implement knowledge mining and information extraction solutions.

Implement image and video processing solutions practice questions

Practise AI-102 questions linked to Implement image and video processing solutions.

Implement natural language processing solutions practice questions

Practise AI-102 questions linked to Implement natural language processing solutions.

Implement generative AI solutions practice questions

Practise AI-102 questions linked to Implement generative AI solutions.

Implement agentic AI solutions practice questions

Practise AI-102 questions linked to Implement agentic AI solutions.

Implement knowledge mining and document intelligence solutions practice questions

Practise AI-102 questions linked to Implement knowledge mining and document intelligence solutions.

Plan and manage an Azure AI solution practice questions

Practise AI-102 questions linked to Plan and manage an Azure AI solution.

Implement content moderation solutions practice questions

Practise AI-102 questions linked to Implement content moderation solutions.

AI-102 fundamentals practice questions

Practise AI-102 questions linked to AI-102 fundamentals.

AI-102 scenario practice questions

Practise AI-102 questions linked to AI-102 scenario.

Practice this exam

Start a free AI-102 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AI-102 question test?

Plan and manage an Azure AI solution — This question tests Plan and manage an Azure AI solution — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Index the documents and use security filters with Azure AD group-based access control. — Option B is correct because Azure Cognitive Search supports security trimming via OAuth 2.0 and Azure AD group-based access control. By storing group identifiers in a search index field and using a security filter, only users whose Azure AD group membership matches the stored group IDs can see the corresponding search results. This ensures that sensitive PII in PDF documents is only returned to authorized users without exposing the documents themselves.

What should I do if I get this AI-102 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This AI-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-102 exam.