advancedTop 15 System Design Questions

Design a healthcare patient records system with HIPAA compliance.

Patient records: MongoDB with encrypted fields (AES-256); field-level encryption Access control: Redis for session tokens; MongoDB RBAC (role-based field access) Audit trail: Cassandra for immutable audit log (who accessed what when) Search: Elasticsearch on anonymized/tokenized fields only; no PHI in index Backup: encrypted MongoDB dumps to S3; key management via AWS KMS HIPAA: data at rest encry

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

Continue to Design a gaming platform backend (leaderboard, matchmaking, inventory).← Back to all NoSQL questions