Guardrail Placement: Worked Example β Governance, Safety, and Risk Management (Claude Certified Architect - Professional)
Guardrail Placement β Worked Example for Claude Certified Architect - Professional In the domain of Governance, Safety, and Risk Management for the...
Guardrail Placement β Worked Example for Claude Certified Architect - Professional
In the domain of Governance, Safety, and Risk Management for the Claude Certified Architect - Professional exam, one critical skill is the ability to analyse misuse paths and place effective guardrails that mitigate risks without degrading legitimate use cases. This worked example demonstrates a step-by-step approach to guardrail placement in a realistic scenario involving Anthropic's Claude platform.
Scenario Description
An enterprise deploys a Claude-powered conversational agent integrated with multiple data sources: retrieved internal documents, third-party Skills accessed via the Claude Agent SDK, and real-time responses from a Model Context Protocol (MCP) server. The architecture exposes a prompt-injection surface where untrusted content could be interpreted as instructions, potentially causing misuse or data leakage.
Step 1: Identify the Misuse Path
The misuse path involves an attacker injecting malicious instructions into the context via retrieved documents or third-party Skills responses. These instructions could manipulate the model to perform unauthorized actions or disclose sensitive information.
Key reasoning: Since the context includes dynamically retrieved content, any untrusted input treated as part of the prompt can alter the model's behavior.
Step 2: Analyse Legitimate Use Cases
Legitimate users rely on retrieved documents and Skills to enrich responses. Blocking all dynamic content would degrade functionality. Therefore, guardrails must selectively prevent misuse while preserving valid interactions.
Step 3: Choose Appropriate Guardrails
Prompt-injection controls: Implement strict input sanitization and validation on retrieved documents and Skills outputs before inclusion in the prompt.
Context filtering: Use a separate classifier call to detect and filter out suspicious instructions embedded in dynamic content rather than relying on built-in content moderation endpoints (which Claude does not provide).
Architectural controls: Isolate untrusted content in separate context segments with limited influence on core instructions, reducing attack surface.
Step 4: Evaluate Guardrail Impact
Test the chosen controls against scenarios that simulate both misuse attempts and legitimate queries. Confirm that the classifier effectively blocks malicious instructions without filtering valid content, maintaining user experience.
Step 5: Document and Monitor
Maintain audit logs of filtered content and guardrail activations to support compliance and continuous improvement. Monitor for emerging misuse patterns to adapt guardrails accordingly.
Worked Example Summary
Problem: Prevent prompt-injection misuse via retrieved documents and third-party Skills without degrading legitimate use.
Solution Steps:
Identify misuse path: untrusted dynamic content as instructions.
Evaluate impact: test to balance security and usability.
Document and monitor: audit logs and adaptive controls.
This approach aligns with exam domain 5 requirements, demonstrating the architectβs ability to analyse, select, and validate guardrail placement in a complex Claude deployment scenario.