D2: How Claude Interprets Instructions Across Interfaces
Claude Certified Developer – Foundations exam practice questions · 10 flashcards
Question
Does the API include a default system prompt?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 How Claude Interprets Instructions Across Interfaces practice questions and answers
- Does the API include a default system prompt?No. Over the API, Claude only gets the system prompt and messages you send.
- Why might Claude behave differently in claude.ai vs the API?claude.ai adds its own system prompt, tools and features; the API doesn't.
- Where do instructions come from in Claude Code?Its built-in system prompt plus CLAUDE.md files, rules, settings, skills and your prompts.
- What does Claude Desktop add?The claude.ai experience plus local extensions/MCP servers on your machine.
- Which has precedence: system prompt or user message?Treat the system prompt as the place for durable role and rules; user messages carry the task.
- Why can a prompt tested in claude.ai fail in your app?Your app lacks claude.ai's system prompt and tools; re-test via the API.
- How do Agent SDK instructions get set?Via the system prompt option and, optionally, CLAUDE.md/settings sources you load.
- Why make instructions explicit for newer models?Newer models follow instructions more precisely and literally; vague prompts get literal results.
- How do Projects instructions in claude.ai relate to the API?They're claude.ai features; in the API you replicate them with your own system prompt and context.
- How should behavior be tested across interfaces?Test in the exact interface and configuration users will use.