Question 369 of 504
Cloud Application SecurityeasyMultiple ChoiceObjective-mapped

Quick Answer

OAuth 2.0 with OpenID Connect is the correct choice because it combines a delegated authorization framework with an identity layer, enabling secure mobile app authentication for cloud APIs without exposing long-lived credentials. OAuth 2.0 handles scoped access and token issuance, while OpenID Connect adds authentication via ID tokens (typically JWTs), supporting single sign-on, token refresh, and PKCE to prevent authorization code interception on mobile devices. On the Certified Cloud Security Professional exam, this scenario tests your understanding of how to secure mobile-to-cloud communication, often appearing in questions that contrast OAuth/OIDC with alternatives like basic authentication or SAML, which are less suited for mobile contexts. A common trap is confusing OAuth 2.0 alone as sufficient—remember that OAuth is for authorization, not authentication, and OpenID Connect provides the critical identity layer. Memory tip: OAuth 2.0 gives the keys to the car, OpenID Connect checks the driver’s license.

CCSP Cloud Application Security Practice Question

This CCSP practice question tests your understanding of cloud application security. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

An organization is developing a mobile app that communicates with a cloud API. To ensure secure authentication, which of the following should be used?

Question 1easymultiple choice
Full 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

OAuth 2.0 with OpenID Connect

OAuth 2.0 with OpenID Connect (OIDC) is the correct choice because it provides a delegated authorization framework (OAuth 2.0) combined with an identity layer (OIDC) that enables secure authentication and single sign-on (SSO) for mobile apps communicating with cloud APIs. This combination issues short-lived access tokens and ID tokens (typically JWTs) rather than exposing long-lived credentials, and supports token refresh, scoped permissions, and PKCE (Proof Key for Code Exchange) to prevent authorization code interception on mobile devices.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Session cookies for state management

    Why it's wrong here

    Cookies are browser-based, not suitable for API calls.

  • Basic authentication with username and password

    Why it's wrong here

    Basic auth exposes credentials and is not secure for mobile.

  • OAuth 2.0 with OpenID Connect

    Why this is correct

    Provides delegated authorization and authentication for mobile apps.

    Related concept

    Read the scenario before looking for a memorised answer.

  • API keys sent in HTTP headers

    Why it's wrong here

    API keys identify the app, not the user, and are not authentication.

Common exam traps

Common exam trap: answer the scenario, not the keyword

ISC2 often tests the misconception that API keys or Basic auth are sufficient for mobile-to-cloud authentication, but the trap is that these methods lack the delegation, token lifecycle management, and identity verification that OAuth 2.0 with OpenID Connect provides, which is the industry standard (RFC 6749, RFC 7519) for securing mobile API access.

Detailed technical explanation

How to think about this question

Under the hood, OAuth 2.0 with OIDC uses the Authorization Code flow with PKCE (RFC 7636) to exchange a one-time code for tokens, preventing interception on mobile devices where client secrets cannot be stored securely. The ID token (a signed JWT) contains claims like 'sub', 'iss', and 'aud', which the mobile app validates locally using the cloud provider's JWKS endpoint, while the access token is passed to the cloud API for scoped resource access. In a real-world scenario, a healthcare app using OAuth 2.0 + OIDC can enforce that only authenticated clinicians access patient records, with tokens expiring after 15 minutes and refresh tokens enabling seamless re-authentication without re-entering credentials.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A developer is choosing between AES-256 (symmetric) and RSA-2048 (asymmetric) for encrypting a large file that will be sent to a partner. Symmetric encryption is fast but requires key exchange; asymmetric is slower but solves the key distribution problem. A hybrid approach — encrypt the file with AES, encrypt the AES key with RSA — is standard. Questions like this test whether you understand when each approach applies.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related CCSP practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free CCSP practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this CCSP question test?

Cloud Application Security — This question tests Cloud Application Security — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: OAuth 2.0 with OpenID Connect — OAuth 2.0 with OpenID Connect (OIDC) is the correct choice because it provides a delegated authorization framework (OAuth 2.0) combined with an identity layer (OIDC) that enables secure authentication and single sign-on (SSO) for mobile apps communicating with cloud APIs. This combination issues short-lived access tokens and ID tokens (typically JWTs) rather than exposing long-lived credentials, and supports token refresh, scoped permissions, and PKCE (Proof Key for Code Exchange) to prevent authorization code interception on mobile devices.

What should I do if I get this CCSP question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.