Courseiva
Implement generative AI solutionshardMultiple SelectObjective-mapped

AI-102 Implement generative AI solutions Practice Question

Which TWO actions can you take to mitigate the risk of generating harmful content when using Azure OpenAI Service? (Choose two.)

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

Set a system message that instructs the model to avoid harmful outputs.

Setting a system message instructs the model to avoid harmful outputs, guiding its behavior. Option D is correct because Azure AI Content Safety filters automatically detect and block harmful content. Option B is wrong because fine-tuning on safe examples may not fully prevent harmful generations; content safety is more reliable. Option C is wrong because deploying in multiple regions does not directly affect content safety. Option E is wrong because increasing maxTokens does not mitigate harmful content risk; it only controls response length.

Answer analysis

Option-by-option breakdown

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

  • Set a system message that instructs the model to avoid harmful outputs.

    Why this is correct

    System messages can guide model behavior.

  • Fine-tune the model on a dataset of safe examples.

    Why it's wrong here

    Fine-tuning does not guarantee safety against novel harmful inputs.

  • Deploy the model in multiple regions.

    Why it's wrong here

    Deploying in multiple regions does not affect content safety.

  • Configure Azure AI Content Safety filters.

    Why this is correct

    Content filters block harmful content.

  • Increase the maxTokens parameter to allow longer responses.

    Why it's wrong here

    Increasing maxTokens does not mitigate harmful 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.