CCSP Cloud Application Security Practice Question
A company wants to enforce that all API calls to its cloud services are authenticated and authorized. Which design pattern should be implemented?
⚠ Common exam trap
Watch out — candidates often confuse authentication (verifying identity) with authorization (granting permissions) and choose a method like API keys or basic auth that only authenticates, failing to address the authorization requirement explicitly stated in the question.
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
✓
Implement OAuth 2.0 with scopes
OAuth 2.0 with scopes is the correct design pattern because it provides a standardized, token-based authorization framework that allows fine-grained access control to API resources. Scopes define specific permissions (e.g., read, write) and are validated by the resource server, ensuring that each API call is both authenticated (via the access token) and authorized (via the scopes). This aligns with the principle of least privilege and is widely adopted for securing cloud APIs.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Implement OAuth 2.0 with scopes
Why this is correct
OAuth 2.0 with scopes enables delegated, scoped access.
- ✗
Use API keys with IP whitelisting
Why it's wrong here
API keys do not provide user-level authorization.
- ✗
Allow basic authentication over HTTPS
Why it's wrong here
Basic authentication sends credentials in each request, insecure.
- ✗
Use shared secrets with HMAC
Why it's wrong here
Shared secrets require distribution and lack flexibility.
Go deeper
Related to this question
About these practice questions
This CCSP question is part of Courseiva's 964-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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 CCSP practice question is part of Courseiva's free ISC2 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 CCSP exam.