mediumMultiple SelectObjective-mapped
CAS-004 Practice Question: Which TWO of the following are valid methods for…
Which TWO of the following are valid methods for securing REST APIs? (Select TWO.)
⚠ Common exam trap
The CAS-004 exam often tests the distinction between authentication and authorization protocols, leading candidates to select Kerberos or SAML because they are 'secure,' but they fail to recognize that REST APIs require stateless, lightweight token-based mechanisms like OAuth 2.0 or API keys.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
OAuth 2.0 tokens
OAuth 2.0 tokens (B) are a standard method for securing REST APIs by providing delegated, scoped access without exposing user credentials. The client presents a bearer token (typically a JSON Web Token) in the Authorization header, which the API server validates to authorize the request. This aligns with RFC 6749 and is widely adopted for stateless, scalable API security.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
LDAP binds
Why it's wrong here
LDAP is a directory protocol, not an API security method.
- ✓
OAuth 2.0 tokens
Why this is correct
OAuth 2.0 is widely used for API authorization.
- ✓
API keys
Why this is correct
API keys are a common way to authenticate API requests.
- ✗
SAML assertions
Why it's wrong here
SAML is used for web SSO, not typically for REST API security.
- ✗
Kerberos tickets
Why it's wrong here
Kerberos is used in Windows domains, not REST APIs.
Go deeper
Related to this question
About these practice questions
Courseiva writes every CAS-005 question from scratch — 968 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CAS-005 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CAS-005 exam.