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.

HardSystem Design
33 practiced

Design authentication and authorization propagation across hundreds of microservices. Discuss token formats (JWT vs opaque tokens), token exchange patterns for internal services, token refresh and revocation strategies, minimization of token bloat in headers, and patterns for enforcing fine-grained permissions in downstream services (authorization middleware, PDP/PAP, or policy-as-a-service).

MediumSystem Design
45 practiced

Design a multi-region TLS termination strategy for a global API gateway with three goals: low latency for users, compliance with region-specific key residency rules, and the ability to provide end-to-end encryption when required. Describe where to terminate TLS (edge vs origin), your key management approach, and the SRE operational model for certificate issuance, rotation, and emergency key compromise.

HardTechnical
35 practiced

A root signing key used to mint service identity certificates was discovered to be compromised. You are the SRE lead. Produce an incident response and remediation plan: immediate containment and revocation steps, how to remove the compromised trust anchor, re-issue a new CA and rotate workload certificates at scale (millions of instances), communicate with external partners, and minimize downtime while making the system secure again. Discuss cryptographic constraints, rollback strategies, and monitoring to verify success.

HardTechnical
39 practiced

Extend CAP-style reasoning to include security properties (confidentiality and integrity), not just availability and consistency. For a multi-region user-data access service, describe scenarios where you would favor availability over integrity or confidentiality, and vice versa, propose concrete SRE-level metrics and SLOs that would let you measure your security posture the way you measure reliability, and explain how you'd enforce policy decisions during a network partition.

HardSystem Design
44 practiced

Design a distributed policy decision point (PDP) for authorization that must serve 1,000 decisions/sec with a 50ms latency SLA across three regions, while preventing privilege escalation during partitions. Describe how to store and replicate policies, your caching strategy at local PDPs, decision versioning, how to roll back a bad policy quickly, and the operational monitoring and audit logging compliance requires.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.