CISSP practice question · Identity and Access Management (IAM)
A nightly batch job on a company server must call a partner's API. No human user is involved, and the job acts on its…
A nightly batch job on a company server must call a partner's API. No human user is involved, and the job acts on its own behalf rather than for any user. Which OAuth 2.0 grant fits?
- AAuthorization code grant with PKCE
- BClient credentials grant
- CDevice authorization grant
- DRefresh token grant
Show the answer and explanation
Correct answer: B) Client credentials grant
The client credentials grant is for machine-to-machine access where the client is acting for itself; user-facing grants exist to obtain a user's delegated consent.
Why each option is right or wrong
- A) Incorrect. The authorization code grant involves a user signing in and consenting through a browser redirect. With no user present, there is no one to authorize the request.
- B) Correct. In the client credentials grant (RFC 6749 section 4.4) a confidential client authenticates to the authorization server with its own credentials and receives an access token for its own access. It fits server-to-server jobs with no user.
- C) Incorrect. The device grant lets a user approve access for an input-constrained device, such as a smart TV, from another device. It still needs a human to approve.
- D) Incorrect. A refresh token grant renews an access token that was already obtained through another grant. It is not a way to obtain the initial authorization for a client.
- Exam domain
- Identity and Access Management (IAM) · 13% of CISSP
- Question type
- Multiple choice (one answer)
Related CISSP questions
- A bank's RBAC model has grown to over 9,000 roles, many differing only by branch location or customer region, and role…Identity and Access Management (IAM)
- A payments system lets one employee hold both the 'create payment' and 'approve payment' roles, but blocks that employee…Identity and Access Management (IAM)
- A domain administrator routinely reads email and browses the web on the same workstation where she runs administrative…Identity and Access Management (IAM)
- A tester logs out of a web banking app, then replays a request using the session token she captured before logging out.Identity and Access Management (IAM)
All 110 free CISSP questions by domain · 15 sample questions on one page
Practise the full CISSP exam
This question is one of a small free sample from the CertRidge CISSP bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with ISC2; never copied from the real exam.