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 questions
Answer options
A: Prompt engineering focuses on the model's response, while context engineering focuses on the user's input across many sessions in a long-running multi-step Claude application.
B: Prompt engineering is the older term for prompt design, while context engineering is the newer term that has replaced it in modern Claude applications across the industry.
C: Prompt engineering shapes individual prompts for specific outputs, while context engineering manages how content flows across turns and steps and takes steps to keep relevant state visible. Correct answer
D: Prompt engineering and context engineering each address content the team gives Claude, but the team can group them under a single workflow because the practices use overlapping techniques.
Correct Answer:
C. Prompt engineering shapes individual prompts for specific outputs, while context engineering manages how content flows across turns and steps and takes steps to keep relevant state visible.
Explanation

Prompt 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.

Why Incorrect

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).

References

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.

Scroll to Top