Identity & Zero Trust for Platform Engineers›Assurance and response · Cheat sheet & self-check

Assurance and response · wrap-up

Cheat sheet & self-check

19 questions across 5 lessons. Each answer links back to the lesson it came from.

Pick an answer to see if you got it, and why.

  1. Q1. Where should a service get the tenant ID for a request?

    Show answer

    B. Anything the client sends can be changed. The tenant must come from a credential the platform verified.

    From lesson 10 · Tenant isolation in a multi-tenant SaaS
  2. Q2. What does PostgreSQL row-level security add when the application already filters by tenant_id?

    Show answer

    B. Defence in depth at the data layer catches the one query someone forgot to filter.

    From lesson 10 · Tenant isolation in a multi-tenant SaaS
  3. Q3. Which tenants usually justify a dedicated (silo) deployment or cell?

    Show answer

    B. Silos cost more to run. Use them where compliance, scale or contract terms require them; pool the rest.

    From lesson 10 · Tenant isolation in a multi-tenant SaaS
  4. Q4. What does per-tenant encryption (envelope encryption with a key per tenant, possibly customer-managed) allow?

    Show answer

    B. Per-tenant keys give a strong technical boundary and a clean way to delete a tenant's data, including from backups.

    From lesson 10 · Tenant isolation in a multi-tenant SaaS
  5. Q5. What is the core idea of compliance as code?

    Show answer

    B. Controls enforced by the platform apply to every team automatically, and their results become evidence without manual work.

    From lesson 11 · Compliance as code
  6. Q6. Why do FedRAMP-style workloads usually run in separate accounts, clusters or cells?

    Show answer

    B. Mixing workloads extends the boundary to everything shared. A separate, smaller boundary is easier to secure and assess.

    From lesson 11 · Compliance as code
  7. Q7. How do you avoid running two different platforms for regulated and commercial environments?

    Show answer

    B. One codebase keeps the environments from drifting; parameters and rollout order express the extra requirements.

    From lesson 11 · Compliance as code
  8. Q8. What does a SOC 2 Type II report attest?

    Show answer

    B. Type I is a point in time; Type II covers a period, which is why evidence must be continuous.

    From lesson 11 · Compliance as code
  9. Q9. Where should threat modelling focus first?

    Show answer

    B. Attacks happen where something less trusted can influence something more trusted, which is exactly a trust boundary.

    From lesson 12 · Threat modelling a platform
  10. Q10. Why is the CI/CD pipeline often the most valuable target in a platform?

    Show answer

    B. A compromised pipeline turns into a supply-chain attack on everything it deploys.

    From lesson 12 · Threat modelling a platform
  11. Q11. An identity can deploy to production, read every Secret and create ClusterRoleBindings. Which STRIDE category is the biggest risk?

    Show answer

    B. Over-powered identities turn any compromise into full control. Reduce and split their permissions.

    From lesson 12 · Threat modelling a platform
  12. Q12. What turns a threat model into real risk reduction?

    Show answer

    B. Findings matter only when they are fixed; tracking them like other work makes that happen.

    From lesson 12 · Threat modelling a platform
  13. Q13. Runtime detection reports a shell in a production pod. Why not delete the pod immediately?

    Show answer

    B. Contain first, then preserve evidence, then remove. Deleting first hides the root cause and may leave other footholds.

    From lesson 13 · Responding to a compromised workload
  14. Q14. Which containment step stops new traffic to the pod but keeps it running for investigation?

    Show answer

    B. Relabelling removes it from endpoints (the ReplicaSet starts a clean replacement); the policy isolates it while you investigate.

    From lesson 13 · Responding to a compromised workload
  15. Q15. Besides the pod, what must you revoke or rotate?

    Show answer

    B. An attacker will copy any credential they can read. Assume everything reachable from that identity is exposed.

    From lesson 13 · Responding to a compromised workload
  16. Q16. Which objects are typical signs of attacker persistence in a cluster?

    Show answer

    B. These keep access or re-run code after the original pod is gone, so hunt for them before declaring the incident over.

    From lesson 13 · Responding to a compromised workload
  17. Q17. In a design review you find services that trust any caller on the private network. What is the right recommendation?

    Show answer

    B. Network location is not identity. Replace it with verified workload identity and explicit allows, prioritised by risk.

    From lesson 14 · Capstone: zero-trust design review
  18. Q18. How should a zero-trust plan be sequenced?

    Show answer

    B. Later controls depend on identity, and focusing on the highest-risk paths gives the biggest early reduction in risk.

    From lesson 14 · Capstone: zero-trust design review
  19. Q19. Which metric best shows progress on service-to-service zero trust?

    Show answer

    B. It measures how much traffic is actually verified and authorised, not how many tools are installed.

    From lesson 14 · Capstone: zero-trust design review