Courseiva
Implement generative AI solutionshardMultiple ChoiceObjective-mapped

AI-102 Implement generative AI solutions Practice Question

You are deploying an Azure OpenAI model for a healthcare application. You need to ensure that the model does not generate medical advice and that all responses include a disclaimer. Which configuration should you use?

⚠ Common exam trap

Test-takers frequently confuse content filtering with behavioral control, assuming Azure AI Content Safety can enforce custom rules like 'do not generate medical advice' when it only filters predefined harmful categories, not domain-specific instructions.

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

Configure a system message with instructions and enable content filtering.

Configuring a system message with explicit instructions (e.g., 'Do not provide medical advice; always include a disclaimer') combined with Azure AI Content Safety's content filtering allows you to enforce behavioral guardrails and block harmful outputs at the application layer. The system message sets the model's behavior, while content filtering provides a secondary safety net to catch policy violations, ensuring compliance in a regulated healthcare environment.

Answer analysis

Option-by-option breakdown

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

  • Ground the model with your own medical documents.

    Why it's wrong here

    Grounding does not enforce disclaimers.

  • Set max_tokens to 50 to limit response length.

    Why it's wrong here

    Token limit does not prevent medical advice.

  • Use Azure AI Content Safety to filter medical terms.

    Why it's wrong here

    Content Safety filters but cannot add disclaimers.

  • Configure a system message with instructions and enable content filtering.

    Why this is correct

    System message can instruct disclaimer; content filtering blocks prohibited content.

About these practice questions

One of 945 original AI-102 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.