Distributed Systems Security and Trust Questions

Security problems that exist because a system is distributed: keeping trust state correct while it propagates across many services, clusters and regions. Covers credential, token and certificate revocation under eventual consistency and network partitions; fleet-wide rotation of signing keys, secrets and trust anchors without outages (key rollover and grace windows, canary rotation, recovery from a compromised root); distributed authorization (replicated policy decision points, cached decisions, fail-open versus fail-closed when an auth dependency degrades); propagating caller identity and permissions through service call chains; tamper-evident audit trails across services and regions (hash chains, Merkle proofs, ordering events with imperfect clocks); Byzantine and partially trusted participants; cross-cluster and cross-organization trust federation; securing shared distributed components such as caches and message brokers against injection, replay and cross-tenant access; protecting data in transit across region boundaries; and tenant isolation as a security blast-radius boundary. Steady-state mTLS, service-mesh identity and network segmentation mechanics are covered by zero-trust service-to-service security; single-system cryptography and KMS basics by applied cryptography.

MediumSystem Design
46 practiced

You need to build a distributed auditing pipeline that collects security events from 200 services across three regions at a sustained rate of 100k events per second. Requirements: tamper-evident storage, per-entity ordered audit history, low-latency querying for investigations, seven-year retention, and resilience to partitions. Walk through ingestion, transport, storage choices, cryptographic integrity controls, and how SREs would operate restores and audit queries.

HardTechnical
34 practiced

You operate a multi-tenant control plane where API keys and control APIs are currently shared across all tenants. Design an architecture that minimizes the blast radius if a single tenant is compromised, and explain how you would migrate off the shared-key model and what that isolation costs you versus what it buys you.

HardTechnical
37 practiced

You need a secure leader election and state replication scheme for a global control plane spanning five regions, where some nodes may behave maliciously (Byzantine). Choose an algorithm (e.g., PBFT, HotStuff), justify it for this use case, and describe the authentication and cryptographic protections, quorum sizes and performance implications, and the operational monitoring and recovery procedures to detect and handle malicious nodes.

MediumTechnical
42 practiced

Service A depends on AuthService B to authorize requests. B starts showing increased latency and intermittent errors after a deployment. As the on-call SRE, propose a strategy for A to keep handling requests without opening a security hole: should A deny by default or fail open, and how would you decide and implement the default behavior based on SLOs and risk?

EasyTechnical
46 practiced

Why are tamper-evident and append-only audit logs important for a distributed system? As an SRE, describe how you would design audit logging across services and regions so logs can't be silently altered or deleted, how you'd keep events correctly ordered per entity, and what operational controls you would put in place to preserve logs during an incident.

Unlock Full Question Bank

Get access to all 23 Distributed Systems Security and Trust interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.