Human and application 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.
Q1. What does OpenID Connect add to OAuth 2.0?
Show answer
B. OAuth 2.0 alone delegates access to APIs; it does not standardise how to identify the user. OIDC adds that identity layer.
From lesson 07 · OAuth 2.0, OIDC, SAML and SCIMQ2. A backend service needs a token to call another API on its own behalf, with no user involved. Which flow?
Show answer
B. Client Credentials is machine-to-machine: the client authenticates as itself. Better still, authenticate the client with workload identity instead of a stored secret where the IdP supports it.
From lesson 07 · OAuth 2.0, OIDC, SAML and SCIMQ3. What problem does PKCE solve?
Show answer
B. The client sends a hash of a random verifier with the request and the verifier itself at the token exchange, so a stolen code alone is useless.
From lesson 07 · OAuth 2.0, OIDC, SAML and SCIMQ4. Which protocol creates, updates and deactivates user accounts in a target application?
Show answer
C. SCIM is about provisioning and deprovisioning; SAML and OIDC are about signing in.
From lesson 07 · OAuth 2.0, OIDC, SAML and SCIMQ5. An API accepts any correctly signed token from the company IdP. What important check is missing?
Show answer
B. Without an audience check, any service that receives tokens can reuse them against every other API that trusts the same issuer.
From lesson 08 · Validating tokens and propagating identityQ6. Why must the verifier pin the allowed algorithms instead of reading alg from the token header?
Show answer
B. The token is attacker-controlled input. Trusting its header to choose the verification method enables classic bypasses.
From lesson 08 · Validating tokens and propagating identityQ7. Service A calls service B on behalf of a user. What best lets B know both who the user is and that A is calling?
Show answer
B. Workload identity and user identity are separate facts. Carry each with a verifiable credential.
From lesson 08 · Validating tokens and propagating identityQ8. Is a JWT's payload secret?
Show answer
B. Signing gives integrity, not confidentiality. Never put secrets or unnecessary personal data in JWT claims.
From lesson 08 · Validating tokens and propagating identityQ9. Why bind Kubernetes and cloud permissions to IdP groups rather than to individual users?
Show answer
B. Group-based access ties every permission to the identity lifecycle, which is what makes reviews and leaver processing reliable.
From lesson 09 · Human access: least privilege, JIT and reviewsQ10. What is just-in-time (JIT) access?
Show answer
B. JIT removes standing privilege: nobody holds production write access until they need it, and the grant expires by itself.
From lesson 09 · Human access: least privilege, JIT and reviewsQ11. In a GitOps platform, who should have write access to production namespaces day to day?
Show answer
B. Changes then always pass through review and leave an audit trail, and human credentials are not a path to production.
From lesson 09 · Human access: least privilege, JIT and reviewsQ12. What evidence answers 'who had production access last quarter, and was it appropriate?'
Show answer
B. Auditors want system records of who had access, when, why, and that someone reviewed it.
From lesson 09 · Human access: least privilege, JIT and reviews