CCAO-F Prompting and Context Engineering Practice Question
Exhibit
{
"tools": [
{
"name": "get_stock_price",
"description": "Retrieve current stock price",
"input_schema": {
"type": "object",
"properties": {
"ticker": {"type": "string"}
},
"required": ["ticker"]
}
}
],
"tool_choice": {"type": "auto"}
}Refer to the exhibit. When using 'tool_choice': {'type': 'auto'}, how does Claude determine whether to use the 'get_stock_price' tool?
⚠ Common exam trap
Candidates often assume the model uses external search or database queries automatically. They fail to recognize that the model relies solely on the provided tool descriptions to determine relevance.
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
✓
The model decides based on whether the tool's description matches the user's request intent.
In 'auto' mode, Claude evaluates the user's intent against the provided tool descriptions and schemas. If the model determines that a tool is necessary to fulfill the request, it will generate a tool-use block. This process is driven by the model's internal reasoning and its understanding of the tool's utility in context.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
It executes the tool automatically if the word 'stock' appears in the prompt.
Why it's wrong here
Claude does not use simple keyword matching to trigger tool use. Instead, it uses semantic understanding to determine if the tool's functionality is required to answer the user's question, making the decision process much more sophisticated than a basic keyword trigger.
- ✗
It only uses the tool if the user explicitly mentions the tool name.
Why it's wrong here
The model is capable of identifying the need for a tool even if the user doesn't know the tool's name. As long as the user's request aligns with the tool's description and purpose, Claude can decide to use it to provide a more accurate or up-to-date answer.
- ✓
The model decides based on whether the tool's description matches the user's request intent.
Why this is correct
When tool_choice is set to 'auto', Claude uses the description and schema provided for each tool to judge if calling that tool would help it respond to the user. This involves a high-level reasoning step where the model balances its internal knowledge with the available external tools.
- ✗
It randomly selects a tool whenever the user asks a question about finance.
Why it's wrong here
Tool selection is a logical process, not a random one. The model aims to provide the most helpful and accurate response possible. Randomly selecting tools would lead to irrelevant data and a poor user experience, which is contrary to the model's design and training objectives.
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 →
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.