Identity & Zero Trust for Platform Engineers›Workload identity · Cheat sheet & self-check

Workload identity · wrap-up

Cheat sheet & self-check

12 questions across 3 lessons. Each answer links back to the lesson it came from.

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

  1. Q1. What does a SPIFFE ID such as spiffe://cluster.local/ns/shop/sa/orders identify?

    Show answer

    B. In Kubernetes meshes, SPIFFE IDs are derived from namespace and ServiceAccount, so identity follows the workload, not its address.

    From lesson 04 · Workload identity with SPIFFE
  2. Q2. How does a mesh control plane know a certificate request really comes from the orders workload?

    Show answer

    B. The ServiceAccount token is the bootstrap credential; the API server confirms which ServiceAccount it belongs to.

    From lesson 04 · Workload identity with SPIFFE
  3. Q3. What does SPIRE add compared with a mesh's built-in CA?

    Show answer

    B. SPIRE attests workloads on many platforms and issues SVIDs to them through the Workload API, beyond what a single cluster's mesh covers.

    From lesson 04 · Workload identity with SPIFFE
  4. Q4. If the mesh control plane is down for an hour, what happens?

    Show answer

    B. The data plane is independent while certificates are valid. That is why the control plane needs HA and expiry alerts.

    From lesson 04 · Workload identity with SPIFFE
  5. Q5. With IRSA, what does AWS STS check before issuing credentials to a pod?

    Show answer

    B. STS validates the projected token cryptographically and only issues credentials if the trust policy matches that exact ServiceAccount.

    From lesson 05 · Cloud workload identity
  6. Q6. Why must the trust policy condition name the exact ServiceAccount (sub) rather than use a wildcard?

    Show answer

    B. The sub claim is the only thing tying the role to one workload. A wildcard widens the role to everyone who can create a pod.

    From lesson 05 · Cloud workload identity
  7. Q7. A pod without workload identity still manages to call AWS APIs. What is the likely path?

    Show answer

    B. Block it with IMDSv2 and a hop limit of 1 (or network policy to 169.254.169.254) so pods cannot borrow the node role.

    From lesson 05 · Cloud workload identity
  8. Q8. Can a self-managed (on-premises) cluster use the same pattern?

    Show answer

    B. Workload identity federation only needs the cloud to verify the token's issuer and signature, which any cluster can provide.

    From lesson 05 · Cloud workload identity
  9. Q9. In a NetworkPolicy, what does a single 'from' entry with both namespaceSelector and podSelector mean?

    Show answer

    B. Within one list item the selectors are combined with AND. Written as two separate list items they become OR, which is often far wider than intended.

    From lesson 06 · Service-to-service authorization
  10. Q10. A request from orders to payments gets HTTP 403 quickly. Which layer most likely blocked it?

    Show answer

    B. NetworkPolicy drops packets, which looks like a timeout. A fast 403 comes from a proxy that understood the request and denied it.

    From lesson 06 · Service-to-service authorization
  11. Q11. Why keep NetworkPolicies when the mesh already enforces identity-based policy?

    Show answer

    B. Two independent layers mean a single mistake or bypass does not expose the service.

    From lesson 06 · Service-to-service authorization
  12. Q12. What does an empty Istio AuthorizationPolicy (spec: {}) in a namespace do?

    Show answer

    B. An ALLOW-action policy with no rules matches nothing, so the namespace becomes default-deny for the mesh.

    From lesson 06 · Service-to-service authorization