Courseiva
Implement agentic AI solutionshardMultiple ChoiceObjective-mapped

AI-102 Implement agentic AI solutions Practice Question

A company is using Azure OpenAI Service to power a customer support agent. The agent sometimes generates incorrect information when it cannot find an answer in the knowledge base. The team wants to ensure the agent only responds using information from the knowledge base and explicitly states when it does not know the answer. Which configuration should the team use?

⚠ Common exam trap

Test-takers frequently confuse prompt engineering (Option D) with a reliable grounding mechanism, not realizing that without a retrieval-augmented generation (RAG) architecture and strict content filtering, the model can still hallucinate even when instructed otherwise.

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 'use your own data' feature with strict content filtering and set the model to only respond based on retrieved documents.

The 'use your own data' feature in Azure OpenAI Service allows you to restrict the model to answer only from the retrieved documents, ensuring responses are grounded in the knowledge base. Strict content filtering further prevents the model from generating unverified information, and the explicit setting to respond based solely on retrieved documents directly addresses the requirement to state when it does not know the answer.

Answer analysis

Option-by-option breakdown

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

  • Use a custom model fine-tuned on the knowledge base and disable content filtering.

    Why it's wrong here

    Fine-tuning does not guarantee adherence to a specific knowledge base and disabling filtering is risky.

  • Use a system message that says 'If you don't know, say you don't know' and rely on the model's training.

    Why it's wrong here

    The model may still generate incorrect information despite the instruction.

  • Use 'use your own data' feature with strict content filtering and set the model to only respond based on retrieved documents.

    Why this is correct

    This ensures responses are grounded in the provided data.

  • Use prompt engineering with a system message that instructs the model to only answer from the knowledge base, with no additional filtering.

    Why it's wrong here

    Prompt engineering is not sufficient to prevent hallucinations.

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.