Prompt Injection Surface and Controls: Practice Questions — Governance, Safety, and Risk Management (Claude Certified Architect - Professional)
Prompt Injection Surface and Controls — Practice Questions This set of multiple-choice questions is designed to help candidates prepare for Exam...
Prompt Injection Surface and Controls — Practice Questions
This set of multiple-choice questions is designed to help candidates prepare for Exam Domain 5 (Governance, Safety, and Risk Management) of the Claude Certified Architect - Professional exam. The focus is on analysing prompt-injection surfaces and selecting effective controls within Anthropic's Claude platform architectures.
Question 1
An architecture includes context retrieved from external documents and third-party Skills. Which control best mitigates prompt injection risk without blocking legitimate instructions?
- A. Disable all third-party Skills in the deployment environment.
- B. Implement output filtering by passing model outputs through a separate classifier call to detect malicious instructions.
- C. Treat all retrieved content as executable instructions without filtering.
- D. Use a built-in content-moderation endpoint to block suspicious inputs.
Correct Answer: B
Explanation: Claude does not provide a built-in content-moderation endpoint, so option D is invalid. Disabling all third-party Skills (A) is overly restrictive and degrades legitimate use. Treating all content as instructions (C) increases risk. Implementing output filtering via a separate classifier call is a recommended design pattern to detect and block prompt injections while preserving legitimate inputs.
Question 2
In a scenario where the context includes Model Context Protocol (MCP) server responses, what architectural control reduces prompt injection risk from untrusted MCP data?
- A. Encrypt MCP responses end-to-end without inspection.
- B. Use prompt caching to store and reuse only trusted MCP responses.
- C. Validate and sanitize MCP server responses before including them in the prompt context.
- D. Allow MCP responses to override user instructions to improve accuracy.
Correct Answer: C
Explanation: Validating and sanitizing MCP responses prevents untrusted content from being interpreted as instructions, closing a common prompt injection vector. Encryption (A) protects data in transit but does not prevent injection. Prompt caching (B) helps performance but does not inherently mitigate injection risk. Allowing MCP to override user instructions (D) increases risk.
Question 3
Which factor is most important when ranking deployment risks related to prompt injection in a Claude architecture?
- A. The number of tokens used in the prompt.
- B. Exposure of the injection surface including retrieved documents and third-party Skills.
- C. The programming language used to build the client application.
- D. The geographic location of the Claude API endpoint.
Correct Answer: B
Explanation: The attack surface exposure, including all sources of context like retrieved documents and third-party Skills, directly affects prompt injection risk. Token count (A) and programming language (C) are less relevant. Geographic location (D) relates to compliance but not injection risk ranking.
Question 4
When designing human-in-the-loop checkpoints to mitigate prompt injection risk for irreversible actions, what is a key consideration?
- A. Place checkpoints only after all automated processing completes.
- B. Ensure checkpoints do not stall acceptable-risk paths unnecessarily.
- C. Remove checkpoints to improve throughput and user experience.
- D. Use checkpoints to block all user inputs that include retrieved context.
Correct Answer: B
Explanation: Human-in-the-loop checkpoints should balance safety and usability by preventing high-risk prompt injections without unnecessarily delaying legitimate workflows. Blocking all inputs with retrieved context (D) is overly restrictive.
Question 5
Given a scenario with retrieved documents and tool results in the prompt context, which control best prevents untrusted content from being treated as instructions?
- A. Tenant isolation to separate data between users.
- B. Audit logging of all prompt inputs and outputs.
- C. Context sanitization to remove or neutralize executable instructions from retrieved content.
- D. Zero-data-retention configuration.
Correct Answer: C
Explanation: Context sanitization directly addresses prompt injection by removing or neutralizing instructions in retrieved content. Tenant isolation (A) and audit logging (B) support compliance and monitoring but do not prevent injection. Zero-data-retention (D) relates to data privacy, not injection control.
Question 6
Which Claude platform feature can be leveraged to reduce prompt injection risk by limiting the context size and controlling token usage?
- A. Message Batches API
- B. Claude Code
- C. Prompt caching
- D. Claude Managed Agents
Correct Answer: C
Explanation: Prompt caching can reduce injection risk by reusing vetted prompt contexts, limiting exposure to untrusted inputs. Message Batches API (A) and Claude Managed Agents (D) provide orchestration but do not directly control injection surfaces. Claude Code (B) is a coding environment, not a control for injection.
Question 7
In evaluating an architecture's prompt-injection risk, which artifact is most useful for identifying misuse paths?
- A. Configuration files specifying data residency.
- B. Audit logs showing prompt inputs and model responses.
- C. Marketing materials describing the solution.
- D. User manuals for third-party Skills.
Correct Answer: B
Explanation: Audit logs provide concrete evidence of prompt inputs and outputs, helping identify injection attempts and misuse paths. Configuration files (A) support compliance but do not reveal misuse. Marketing materials (C) and user manuals (D) are less relevant for risk analysis.
More in this topic
Preparing for the Claude Certified Architect Professional exam?
Start free with 5 practice quizzes a day and track your progress.
Practise Claude Certified Architect Professional questions free →