CCDV-F practice question 7 of 10
A teammate has asked you to explain the difference between context engineering and prompt engineering. They have heard the terms used interchangeably and are unsure how each applies to a Claude application that processes long-running multi-step tasks. How would you describe the distinction?
Full set: 95 questionsPrompt engineering focuses on optimizing the instructions, formatting, and examples within a single interaction to elicit the best possible response from the model. Context engineering is a broader system-level design practice used in multi-step or agentic workflows. It involves managing the application state, deciding what information (conversation history, tool outputs, retrieved documents) is included, summarized, or pruned at each step, and ensuring the model has the exact context needed to reason effectively over time without exceeding context limits.
A. Context engineering is not just about user input across sessions; it involves managing all state, including tool outputs, system context, and memory.
B. Context engineering is not a replacement term for prompt engineering; they are distinct, complementary practices in LLM application architecture.
D. While they overlap in application, grouping them ignores the architectural distinction between crafting instructions (prompt) and managing state flow (context).
1. Anthropic Official Documentation, "Prompt engineering overview", Section: Core concepts of prompt design.
2. Anthropic Official Documentation, "Building effective agents", Section: Architecture, memory, and state management.
Keep practicing
Take the free CCDV-F practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CCDV-F practice questions
- Question 1Your Claude application is deployed to development, staging, and production environments.…
- Question 2You are building a Claude application that needs to deliver model output to end users as …
- Question 3A teammate has asked you to explain why your Claude agent's tools include detailed descri…
- Question 4The team is debating whether to build a new capability as a custom tool or to use an exis…
- Question 5Your application uses the Messages API to handle multi-turn conversations. Each new turn …
- Question 6A teammate has asked how to extend Claude Code with a custom Skill that the team can invo…
