Architectural Controls for Compliance Obligations: Worked Example — Governance, Safety, and Risk Management (Claude Certified Architect - Professional)
Architectural Controls for Compliance Obligations — Worked Example This worked example demonstrates how a Claude Certified Architect - Professional...
Architectural Controls for Compliance Obligations — Worked Example
This worked example demonstrates how a Claude Certified Architect - Professional candidate applies architectural controls to meet compliance obligations in a realistic AI deployment scenario. The focus is on selecting and validating controls that address data residency, retention policies, PII detection, audit logging, and tenant isolation without compromising legitimate use cases.
Scenario Description
An enterprise is deploying a Claude-based AI assistant integrated with multiple third-party Skills and document retrieval services. The deployment processes sensitive customer data subject to strict data residency and retention regulations. The compliance obligation requires:
- Data must remain within the EU region.
- No retention of personally identifiable information (PII) beyond session duration.
- Comprehensive audit logs for all user interactions.
- Strict tenant isolation for multi-tenant usage.
The architect must design the deployment surface and controls to evidence compliance while maintaining system functionality.
Step 1: Define Deployment Surface and Data Residency
Reasoning: To comply with EU data residency, the deployment must be hosted in a region that guarantees data does not leave EU jurisdictions.
- Select a cloud region supporting Anthropic's Claude API with EU data residency guarantees (e.g., a European AWS or Google Vertex AI region).
- Configure the Claude Managed Agents and Model Context Protocol (MCP) server endpoints to operate exclusively within this region.
- Ensure third-party Skills and document retrieval services also comply with EU residency or implement proxying through compliant infrastructure.
Step 2: Configure Retention and Zero-Data-Retention Settings
Reasoning: To meet the no-PII retention policy, the system must avoid storing sensitive data beyond session scope.
- Enable zero-data-retention mode in the Claude API configuration to prevent long-term storage of conversation data.
- Implement PII detection and redaction using a separate classifier call before data is sent to persistent storage or logs.
- Use the Message Batches API to manage ephemeral message contexts and ensure prompt caching does not retain PII.
Step 3: Implement Audit Logging
Reasoning: Audit logs must capture user interactions for compliance but exclude sensitive data.
- Design audit logs to record metadata such as timestamps, user IDs (anonymized), and action types.
- Exclude or redact PII fields detected by the classifier before logging.
- Store logs in a secure, access-controlled repository within the EU region.
Step 4: Enforce Tenant Isolation
Reasoning: Multi-tenant deployments require strict isolation to prevent data leakage between tenants.
- Use separate Claude API keys and MCP server instances per tenant.
- Isolate tenant data stores and configure access controls accordingly.
- Implement tenant-specific prompt caching and context management to avoid cross-tenant contamination.
Step 5: Validate Controls Against Compliance Obligation
Reasoning: Testing and validation ensure controls effectively meet the compliance scenario.
- Review architecture diagrams and configuration files to confirm deployment region and data residency.
- Examine logs and message traces to verify PII detection and redaction effectiveness.
- Conduct penetration testing to assess tenant isolation robustness.
- Simulate data retention scenarios to confirm zero-data-retention settings operate as intended.
Worked Example Summary
Problem: Design architectural controls for a Claude deployment to meet EU data residency, no PII retention, audit logging, and tenant isolation compliance obligations.
Solution Steps:
- Choose EU-based cloud region for deployment surface.
- Enable zero-data-retention and implement PII detection/redaction classifiers.
- Design audit logs capturing metadata without sensitive data.
- Isolate tenants via separate API keys, MCP instances, and data stores.
- Validate controls through architecture review, log analysis, and security testing.
This approach ensures compliance obligations are met by architectural controls that are verifiable and do not degrade legitimate use cases.
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 →