C_CPI Integration Suite Development Practice Question
An integration developer is configuring a Cloud Integration flow that must call an external REST API protected by OAuth 2.0 client credentials. The developer needs to securely store the client ID and client secret and reference them in the OAuth2 Authorization step. Which TWO actions must be performed? (Choose two.)
⚠ Common exam trap
Many candidates confuse OAuth 2.0 client credentials with basic authentication, leading to the use of User Credentials artifacts or direct adapter configuration.
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
✓
Create a Security Material of type 'OAuth2 Client Credentials' in the tenant's Security Material artifact.
To securely authenticate using OAuth 2.0 client credentials, you must create an 'OAuth2 Client Credentials' security material that stores the client ID, secret, and token URL. Then, in the integration flow, add an OAuth2 Authorization step configured with the client credentials grant type and reference that material. This combination automates token acquisition and keeps credentials encrypted. Other methods, such as User Credentials or manual header injection, are insecure or unsupported.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create a Security Material of type 'OAuth2 Client Credentials' in the tenant's Security Material artifact.
Why this is correct
The OAuth2 Client Credentials security material is specifically designed to store the client ID, client secret, and token endpoint URL. It securely encrypts these credentials and allows the integration flow to reference them without hardcoding sensitive data. This is the recommended approach for OAuth 2.0 client credentials authentication in SAP Cloud Integration.
- ✗
Deploy a User Credentials artifact containing the client ID and client secret.
Why it's wrong here
User Credentials artifacts store username and password pairs for basic authentication, not OAuth 2.0 client credentials. They lack the necessary fields for token endpoint URL and client authentication method. Using User Credentials for OAuth 2.0 would require custom scripting, which is not the standard or secure practice in SAP Cloud Integration.
- ✓
In the OAuth2 Authorization step, select the 'Client Credentials' grant type and reference the created security material.
Why this is correct
The OAuth2 Authorization step in the palette supports the client credentials grant type. By selecting this grant type and referencing the preconfigured security material, the integration flow automatically obtains an access token from the token endpoint. This eliminates manual token handling and ensures secure, automated authentication.
- ✗
Store the client secret in a message header and use it directly in the HTTP receiver adapter.
Why it's wrong here
Storing the client secret in a message header exposes it in message logs and monitoring, violating security best practices. The HTTP receiver adapter does not natively support OAuth 2.0 client credentials; it requires the OAuth2 Authorization step to obtain a token. Directly using the secret in the adapter would not perform the token exchange.
- ✗
Configure the HTTP receiver adapter with the client ID and secret in the 'Authentication' tab.
Why it's wrong here
The HTTP receiver adapter's authentication options include Basic, OAuth2, and others, but for OAuth2 client credentials, it relies on a security material of type 'OAuth2 Client Credentials'. Simply entering the client ID and secret in the adapter is not supported; the adapter expects a reference to a security artifact. The OAuth2 Authorization step is the correct component to handle token retrieval.
About these practice questions
This C_CPI question is part of Courseiva's 218-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 and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official SAP exam blueprint
This C_CPI practice question is part of Courseiva's free SAP 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 C_CPI exam.