Courseiva
hardMultiple Choice

AIF-C01 Practice Question: Building a RAG application using Amazon Bedrock…

A company is building a RAG application using Amazon Bedrock Knowledge Bases. They want to ensure that the model only answers based on the retrieved documents and does not use its internal knowledge. Which configuration should they use?

⚠ Common exam trap

Watch out — candidates often confuse model temperature or fine-tuning with retrieval grounding, but neither mechanism restricts the model from using its internal knowledge; only the explicit 'Only use retrieved context' toggle in Amazon Bedrock Knowledge Bases enforces that constraint.

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

✓

Enable the 'Only use retrieved context' option in the Knowledge Base configuration

Amazon Bedrock Knowledge Bases provides a specific configuration toggle called 'Only use retrieved context' that forces the foundation model to generate responses solely from the information in the retrieved document chunks, ignoring any internal knowledge the model may have been trained on. This ensures strict adherence to the retrieved context, which is critical for RAG applications requiring factual grounding.

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 the model temperature to 0

    Why it's wrong here

    Temperature controls randomness, not knowledge source.

  • ✗

    Use a fine-tuned model that has only seen the company's documents

    Why it's wrong here

    Fine-tuning does not prevent the model from using internal knowledge.

  • ✓

    Enable the 'Only use retrieved context' option in the Knowledge Base configuration

    Why this is correct

    Constraining generation to retrieved passages is exactly what the 'Only use retrieved context' setting enforces, so the model cannot fall back on its pretrained parametric knowledge. This satisfies the stem's requirement that answers derive solely from the ingested documents.

  • ✗

    Use a Guardrail with topic denial for out-of-scope topics

    Why it's wrong here

    Topic denial blocks topics but does not force the model to use only retrieved context.

About these practice questions

Courseiva writes every AIF-C01 question from scratch — 862 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 AIF-C01 practice question is part of Courseiva's free Amazon Web Services 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 AIF-C01 exam.