Courseiva
Implement generative AI solutionshardMultiple ChoiceObjective-mapped

AI-102 Implement generative AI solutions Practice Question

Your company is using Azure OpenAI Service to generate marketing copy. The compliance team requires that all generated content be reviewed for sensitive data before delivery. You need to implement a solution that automatically scans the output for personally identifiable information (PII) and blocks it if detected. Which service should you integrate?

⚠ Common exam trap

A common mix-up: candidates confuse Azure AI Language PII detection (which only identifies PII) with Azure AI Content Safety (which can both detect and block content), leading them to choose D even though it lacks the blocking capability required by the question.

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

Azure AI Content Safety with a custom blocklist

Azure AI Content Safety with a custom blocklist is the correct choice because it is specifically designed to filter and block harmful or sensitive content, including PII, in real-time. By adding a custom blocklist of PII patterns (e.g., regex for social security numbers), you can automatically block any output from Azure OpenAI that matches those patterns before delivery. This service integrates directly with Azure OpenAI Service via the content filtering system, making it the most appropriate for this use case.

Answer analysis

Option-by-option breakdown

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

  • Azure AI Content Safety with a custom blocklist

    Why this is correct

    Content Safety can detect and block sensitive content including PII in real-time.

  • Microsoft Purview Information Protection

    Why it's wrong here

    Purview is for classification and labeling, not real-time content filtering.

  • Microsoft Defender for Cloud Apps

    Why it's wrong here

    Defender for Cloud Apps is for cloud app security, not content filtering.

  • Azure AI Language PII detection

    Why it's wrong here

    PII detection identifies PII but doesn't block output automatically.

About these practice questions

This AI-102 question is part of Courseiva's 945-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.