Flashcardsfor IT Certifications

D4: Trace Analysis & Isolating Failures

Claude Certified Developer – Foundations exam practice questions · 10 flashcards

Question
What is trace analysis?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Trace Analysis & Isolating Failures practice questions and answers
  1. What is trace analysis?
    Inspecting the full record of a run (requests, responses, tool calls, results) to find where it went wrong.
  2. What should a trace capture?
    Prompts, model ID, parameters, responses, stop_reason, tool calls/results, latency, tokens and request ID.
  3. Integration layer vs model output problem?
    HTTP errors, bad requests or parsing crashes are integration; valid responses with wrong content are model/prompt issues.
  4. A response is cut off mid-JSON. Likely cause?
    stop_reason max_tokens: raise max_tokens or reduce output size.
  5. Claude never calls a tool you expected. What do you check?
    Tool description clarity, tool_choice and whether the tool was actually included in the request.
  6. Tool results look wrong. Where to look?
    The tool's own execution and inputs, which is integration code, not the model.
  7. How do you reproduce a model-output issue?
    Re-run the exact logged request (same prompt, model, parameters) and vary one thing.
  8. Why can identical requests give different results?
    Sampling is non-deterministic; temperature affects variability.
  9. What is a failure mode taxonomy?
    Grouping failures by type (hallucination, format error, wrong tool, refusal, truncation) to prioritize fixes.
  10. Why log the stop_reason for every call?
    It quickly reveals truncation, refusals and tool-use states.