Courseiva
Claude Model Fundamentals →mediumMultiple Choice

CCAO-F Claude Model Fundamentals Practice Question

A product team is building a customer support assistant on Amazon Bedrock using the Anthropic Claude 3.5 Sonnet model. They need the model to answer questions strictly from a provided knowledge base and to refuse to answer if the information is not present. Which technique should they use to constrain Claude's behavior most reliably?

⚠ Common exam trap

The trap here is assuming that lowering temperature to 0 eliminates hallucinations or enforces grounding, when temperature only affects randomness and not factual adherence.

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

✓

Add a system prompt that instructs Claude to only use the provided knowledge base and to say 'I don't know' when the answer is not found.

A system prompt is the most reliable way to set persistent behavioral constraints for Claude on Amazon Bedrock. It instructs the model to restrict answers to a provided knowledge base and to refuse when information is missing. Unlike fine-tuning, which is unsupported and unsuitable for dynamic knowledge, or temperature and max_tokens, which control randomness and length, the system prompt directly shapes Claude's adherence to scope and refusal rules.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Add a system prompt that instructs Claude to only use the provided knowledge base and to say 'I don't know' when the answer is not found.

    Why this is correct

    A system prompt sets persistent, high-level behavioral instructions that Claude prioritizes throughout the conversation. By explicitly restricting Claude to the provided knowledge base and requiring an 'I don't know' response when information is absent, the system prompt reliably constrains the model's scope. This is the recommended approach for grounding and refusal behavior in Claude on Amazon Bedrock, as it leverages Claude's instruction-following strength without altering the model weights.

  • ✗

    Increase the max_tokens parameter so Claude has enough room to include the full knowledge base in every response.

    Why it's wrong here

    max_tokens limits the length of the generated response, not the input context. Raising it allows longer outputs but does nothing to constrain Claude to the knowledge base or to trigger refusals. Including the entire knowledge base in the output is also impractical and unrelated to grounding. This parameter has no effect on whether Claude stays within the provided information.

  • ✗

    Fine-tune the Claude 3.5 Sonnet model on the knowledge base so that it memorizes the content and refuses out-of-scope questions.

    Why it's wrong here

    Fine-tuning Claude 3.5 Sonnet on Amazon Bedrock is not supported for this use case, and even if it were, fine-tuning teaches style and format rather than reliable factual grounding. The knowledge base changes frequently, so retraining would be impractical. It also risks catastrophic forgetting and does not guarantee refusal behavior. A system prompt is the correct, supported mechanism for constraining responses to a knowledge source.

  • ✗

    Lower the temperature setting to 0 so Claude becomes deterministic and will not hallucinate outside the knowledge base.

    Why it's wrong here

    Temperature controls randomness in token selection, not factual grounding. At temperature 0, Claude produces the most likely token sequence, but it can still generate plausible-sounding content that is not in the knowledge base. Determinism does not equal accuracy. The model has no inherent awareness of the knowledge base boundary, so temperature alone cannot enforce refusal behavior or restrict answers to provided content.

About these practice questions

One of 259 original CCAO-F 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 and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Anthropic exam blueprint

This CCAO-F practice question is part of Courseiva's free Anthropic 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 CCAO-F exam.