Courseiva
Implement generative AI solutionseasyMultiple ChoiceObjective-mapped

AI-102 Implement generative AI solutions Practice Question

You are building a chatbot using Azure OpenAI Service. The chatbot must not disclose sensitive information such as passwords or credit card numbers. Which Azure AI service should you integrate to filter such content?

⚠ Common exam trap

Many exam-takers confuse Azure AI Language's PII detection feature (which identifies but does not block content) with Azure AI Content Safety's filtering capability, leading them to incorrectly choose Azure AI Language for proactive content blocking.

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

Azure AI Content Safety is the correct service because it provides pre-built content filters that can detect and block sensitive information such as passwords, credit card numbers, and other personally identifiable information (PII) in text and images. It integrates directly with Azure OpenAI Service to apply these filters to both input prompts and output completions, ensuring that sensitive data is not disclosed in chatbot responses.

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 Language

    Why it's wrong here

    Azure AI Language provides NLP features, not content filtering.

  • Azure AI Bot Service

    Why it's wrong here

    Azure AI Bot Service is for building bots, not filtering.

  • Azure AI Search

    Why it's wrong here

    Azure AI Search indexes and retrieves documents based on keyword or vector queries, but it lacks any built-in content safety filters or classification models to detect sensitive data like passwords or credit card numbers. It is tempting because it can search across large datasets, and in a scenario requiring retrieval-augmented generation (RAG) from indexed knowledge bases, it would be the correct choice.

  • Azure AI Content Safety

    Why this is correct

    It detects and filters unsafe or sensitive content.

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.