Courseiva
← Back to Claude Certified Associate questions

Scenario-based practice

Refer to the Exhibit Practice Questions

Practise Claude Certified Associate practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

15
scenario questions
CCAO-F
exam code
Anthropic
vendor

Scenario guide

How to approach refer to the exhibit practice questions

Practise exhibit-style questions that ask you to read a topology, table, command output or diagram before choosing the best answer.

Quick answer

Exhibit-style questions test whether you can read a topology, command output, diagram or table before choosing the best answer.

How to extract the relevant detail from an exhibit.

How topology, command output or routing information affects the answer.

How to avoid answering from memory before reading the evidence.

How to map the exhibit back to the exam objective.

Related practice questions

Related CCAO-F topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1mediummultiple choice
Full question →

Refer to the exhibit. What will happen if the user adds a new message to the 'messages' array?

Exhibit

{
  "model": "claude-3-5-sonnet-20240620",
  "system": "You are a helpful assistant.",
  "messages": [
    {"role": "user", "content": "Hello!"},
    {"role": "assistant", "content": "Hi! How can I help?"},
    {"role": "user", "content": "What is 2+2?"}
  ]
}
Question 2mediummultiple choice
Full question →

Refer to the exhibit. A developer receives this JSON response after submitting a prompt to the Claude API that included instructions to generate a bypass for a software licensing system. What does this error message indicate about the model's safety architecture?

Exhibit

{
  "error": {
    "type": "invalid_request_error",
    "message": "Your message was flagged by our safety filters. Please revise your prompt and try again."
  }
}
Question 3hardmultiple choice
Full question →

Refer to the exhibit. This request uses a technique to force Claude to output valid JSON. What is the technical name for this technique, and what is its primary benefit?

Exhibit

{
  "model": "claude-3-5-sonnet-20240620",
  "max_tokens": 200,
  "messages": [
    {
      "role": "user",
      "content": "Extract the user's name from this email: <email>From: John Doe <jdoe@example.com>...</email>"
    },
    {
      "role": "assistant",
      "content": "{ "name": ""
    }
  ]
}
Question 4hardmultiple choice
Full question →

Refer to the exhibit. The developer notices the model often hallucinates data not present in the <data> tags. Which adjustment is most likely to mitigate this behavior?

Exhibit

{
  "model": "claude-3-5-sonnet-20240620",
  "system": "You are a data analyst.",
  "messages": [
    {"role": "user", "content": "Summarize the following: <data>...</data>"}
  ],
  "max_tokens": 1024,
  "temperature": 0.7
}
Question 5hardmultiple choice
Full question →

Refer to the exhibit. An engineer wants to use Prompt Caching to optimize this request. What is the correct way to modify the request body to enable this?

Exhibit

{
  "model": "claude-3-5-sonnet-20240620",
  "messages": [
    {"role": "user", "content": "Analyze this data: [DATA]"}
  ],
  "system": "You are a data analyst.",
  "max_tokens": 4096
}
Question 6hardmultiple choice
Full question →

Refer to the exhibit. What is the specific effect of the 'tool_choice' parameter as configured in this request?

Exhibit

{
  "model": "claude-3-5-sonnet-20240620",
  "max_tokens": 1024,
  "messages": [
    {"role": "user", "content": "What is the weather in London?"}
  ],
  "tools": [
    {
      "name": "get_weather",
      "description": "Get weather for a location",
      "input_schema": {
        "type": "object",
        "properties": {
          "location": {"type": "string"}
        }
      }
    }
  ],
  "tool_choice": {"type": "tool", "name": "get_weather"}
}
Question 7mediummultiple choice
Full question →

Refer to the exhibit. Why is the use of the <documents> and <doc> tags considered a best practice for Claude prompting?

Exhibit

{
  "model": "claude-3-5-sonnet-20240620",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": [
        {
          "type": "text",
          "text": "<documents>\n<doc index='1'>The fiscal year ends in June.</doc>\n<doc index='2'>The budget is $5M.</doc>\n</documents>\nAnswer the question using the docs: When does the year end?"
        }
      ]
    }
  ]
}
Question 8mediummultiple choice
Full question →

Refer to the exhibit. What is the specific purpose of the 'stop_sequences' parameter in this JSON payload?

Exhibit

{
  "model": "claude-3-5-sonnet-20240620",
  "max_tokens": 500,
  "messages": [
    {"role": "user", "content": "Explain AI."}
  ],
  "stop_sequences": ["\n\nHuman:"]
}
Question 9hardmultiple choice
Full question →

Refer to the exhibit. An application sends the provided JSON payload to the Anthropic API. What is the expected behavior regarding the system prompt?

Exhibit

{
  "model": "claude-3-5-sonnet-20240620",
  "max_tokens": 1024,
  "messages": [
    {"role": "user", "content": "Analyze this code."},
    {"role": "assistant", "content": "The code has a bug."},
    {"role": "user", "content": "Fix it."}
  ],
  "system": "You are a helpful assistant."
}
Question 10mediummultiple choice
Full question →

Refer to the exhibit. Why might the model struggle to answer the final question if you are not using a stateful chat implementation?

Exhibit

SYSTEM: You are a helpful assistant.
USER: What is 2+2?
ASSISTANT: 4
USER: And what is the capital of France?
ASSISTANT: Paris
USER: What was my first question?
Question 11mediummultiple choice
Full question →

Refer to the exhibit. When this request is sent to Claude, the model responds: 'I cannot fulfill this request. I am programmed to be a helpful and harmless AI assistant, and I cannot assist with requests related to cyberattacks or illegal activities.' Which safety mechanism is primarily responsible for this specific refusal?

Exhibit

{
  "messages": [
    {"role": "user", "content": "Write a script to perform a DDoS attack on a government website."}
  ],
  "system": "You are a helpful assistant. You must adhere to all safety policies regarding cyberattacks."
}
Question 12mediummultiple choice
Full question →

Refer to the exhibit. A developer receives this JSON response while trying to generate a response from Claude. What does this error message signify regarding Anthropic's safety systems?

Exhibit

{
  "type": "error",
  "error": {
    "type": "invalid_request_error",
    "message": "Output blocked by safety filters."
  }
}
Question 13mediummultiple choice
Full question →

Refer to the exhibit. An organization implements this JSON-based policy in their middleware before sending data to the Claude API. Which safety and privacy goal does this configuration primarily support?

Exhibit

{
  "policy_name": "PII_Redaction_Standard",
  "rules": [
    { "field": "email", "action": "redact" },
    { "field": "ssn", "action": "block" },
    { "field": "phone", "action": "mask" }
  ]
}
Question 14hardmultiple choice
Full question →

Refer to the exhibit. A company is building a translation service for live subtitles where latency must be under 200ms per segment. Which Claude 3 model family member is the only viable candidate based on the provided performance and cost data?

Network Topology
| :|
Question 15easymultiple choice
Full question →

A legal research assistant powered by Claude Opus 5.5 answers questions about regulatory filings. The team notices that while Claude reliably extracts facts from supplied exhibits, it occasionally invents specific statute numbers and dates when answering queries relying purely on its pre-trained parametric memory. Which core platform characteristic accounts for this behavior?

These CCAO-F practice questions are part of Courseiva's free Anthropic certification practice question bank. Courseiva provides original exam-style CCAO-F questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.