Courseiva
Implement generative AI solutionshardMultiple ChoiceObjective-mapped

AI-102 Implement generative AI solutions Practice Question

A financial services firm wants to use Azure OpenAI to generate investment advice summaries. They must ensure that the model does not produce any advice that could be interpreted as personalized financial advice. What is the most effective strategy?

⚠ Common exam trap

Candidates often assume deterministic parameters (temperature=0, top_p=0) guarantee safe outputs, but they only control randomness, not content compliance—Azure's system message and content filtering are the correct tools for enforcing content policies.

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

Use a system message that instructs the model to avoid personalized advice and apply strict content filtering.

Azure OpenAI's system messages allow you to set the model's behavior and constraints at the conversation level, which is the most direct and effective way to enforce a policy like avoiding personalized financial advice. Combined with Azure's content filtering (which can block harmful or restricted content), this approach provides both instruction-based and filter-based guardrails without requiring model retraining or relying solely on example-based prompting.

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 temperature to 0 and top_p to 0 to make outputs deterministic.

    Why it's wrong here

    These parameters control randomness, not content.

  • Use a system message that instructs the model to avoid personalized advice and apply strict content filtering.

    Why this is correct

    System messages and content filtering directly address content restrictions.

  • Provide few-shot examples of disclaimers in the prompt.

    Why it's wrong here

    Few-shot examples may not be consistently followed.

  • Fine-tune the model on a dataset of generic financial summaries.

    Why it's wrong here

    Fine-tuning may not fully prevent personalized advice.

About these practice questions

Courseiva writes every AI-102 question from scratch — 945 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.