Identity, OAuth & Access Control practice test
Authentication and sessions, phishing-resistant MFA, RBAC, ABAC and relationship-based authorization, OAuth 2 and OpenID Connect with their pitfalls, JWT validation, workload identity, secrets, and delegating a user's authority to an AI agent without creating a confused deputy. The pool for this topic holds 10 easy, 25 medium and 11 hard items. Each answer comes with its reasoning and a link to the question or concept page it was drawn from.
Sample items with answers
Authentication establishes who the caller is. Authorization decides what that caller may do with a particular object, every time. Most access-control bugs are authorization failures on correctly authenticated users.
Any authenticated user can call the API directly with a tool like curl. Hiding UI elements is cosmetic. The API must check that the caller owns the project before deleting it.
After the test
Choosing from options is easier than reasoning it out in front of a panel. These pages make you reason it out: