SAP certification · Exam C_CPI_2404

C_CPI_2404 Mock Exam

SAP Certified Associate - Integration Developer

Find out if you're ready for C_CPI_2404. Take the free timed mock exam and get your score in minutes, or study the free C_CPI_2404 questions below with answers and explanations.

18 questions · 36 minutes · free, no sign-up

Free C_CPI_2404 questions

1–10 of 18 free
Question 1 Choose 1
You configured a Content Modifier as follows:

• Action: Create

• Name: ProductID

• Source Type: XPath

• Source Value: //ProductID

• Data Type: java.lang.string

After testing the Content Modifier, you receive an error message that contains the following fragment: "java.lang.ClassNotFoundException:java.lang.string..."

What caused the error message?
Show answerHide answer

Correct answer: A Incorrect data type

Explanation

Explanation:

The error message clearly states: "java.lang.ClassNotFoundException:java.lang.string..."

This error occurs because "java.lang.string" is not a valid Java class name. The correct class name is "java.lang.String" with an uppercase 'S'.

Why the other options are incorrect:

B. Incorrect source value
- The error message does not indicate any issue with the XPath expression //ProductID. The ClassNotFoundException specifically points to a problem with the class loading, not with the XPath evaluation.

C. Incorrect source type
- XPath is a valid Source Type for a Content Modifier when accessing XML payloads. The error has nothing to do with the source type selection.

D. Incorrect name
- "ProductID" is a perfectly valid property name. The error message does not reference any naming-related issues.

Reference:
According to SAP Cloud Integration documentation, when configuring a Content Modifier, the Data Type field must contain fully qualified Java class names with correct case sensitivity. For string values, it should be:
Question 2 Choose 1
What behavior does the Escalation End Event trigger in an integration flow?
Show answerHide answer

Correct answer: B It generates an error and interrupts the main process

Explanation

Explanation:

An Escalation End Event in SAP Cloud Integration is used to explicitly signal an error condition and immediately terminate the main integration process. When triggered:

The process is interrupted - Execution stops immediately
An error is generated - The escalation creates an error message
Error handling is invoked - The error can be caught by error handlers (like an attached Escalation Intermediate Event or Process Directly)

Why the other options are incorrect:

A. It generates an error without interrupting the main process - ❌ Incorrect.
An Escalation End Event always interrupts the process. This describes more of a notification behavior, not an end event.

C. It generates a notification without interrupting the main process - ❌ Incorrect.
Escalation End Events are not notification mechanisms; they are error signaling events that terminate execution.

D. It generates a notification and interrupts the main process - ❌ Incorrect.
The Escalation End Event generates an error, not a notification. Notifications are typically handled via Mail adapters, Alert channels, or custom monitoring solutions.

SAP Reference:

According to SAP Cloud Integration documentation on BPMN Events:
Escalation End Event: Reaches the end of the process flow and triggers an escalation. The process instance is completed when the event is triggered. Any attached escalation handler can catch the escalation code.
Error End Event: Similar behavior, but specifically for error handling
Message End Event: Completes the process normally
Question 3 Choose 2
What are some message protocols that the API Management capability within SAP Integration Suite supports?

Note: There are 2 correct answers to this question.
Show answerHide answer

Correct answer: A, D ODataREST

Explanation

Explanation:

The API Management capability of the SAP Integration Suite is specifically optimized for web-centric, resource-based communication. Its primary function is to provide a proxy layer for APIs that follow modern architectural patterns.

D. REST:
This is the foundational protocol for API Management. The tool allows developers to import REST API definitions (via Open API/Swagger) to apply security, rate limiting, and traffic monitoring.

A. OData:
As SAP’s standard for data access, API Management provides native support for OData. It allows for specialized functions like metadata handling and deep integration with SAP S/4HANA and SAP Gateway services.

Why the Other Options are Incorrect

B. SOAP:
Although API Management can act as a "pass-through" for SOAP or convert SOAP to REST using policies, it is not considered a primary supported message protocol for the capability. SOAP orchestration and complex XML-based WSDL processing are strictly the domain of Cloud Integration (iFlows).

C. WMS:
This is a functional acronym (Warehouse Management System) rather than a technical message protocol. It has no relevance to the architectural communication layers of API Management.

References
SAP Help Portal: SAP Integration Suite – API Management Capability Overview.
SAP Learning (Course CLD900): Explaining API Management within SAP Integration Suite.
Question 4 Choose 1
You want to set up an SAP backend system through the Cloud Connector with an API provider. Which connection type do you use?
Show answerHide answer

Correct answer: A On-premise

Explanation

Explanation:

When setting up an SAP backend system that is located on-premise and accessed through the Cloud Connector, the correct connection type to select when configuring an API Provider is "On Premise" (sometimes labeled as "On-Premise").

Why the other options are incorrect:

B. Internet - ❌ Incorrect.
This connection type is used for systems that are directly accessible over the public internet (cloud-based systems). It does not involve the Cloud Connector and cannot reach systems protected behind a corporate firewall .

C. Cloud Integration - ❌ Incorrect.
This connection type is specifically for connecting to SAP Cloud Integration tenants themselves (e.g., to access OData APIs exposed by integration flows). It is not used for connecting to on-premise backend systems via Cloud Connector .

D. Open Connectors - ❌ Incorrect.
This connection type is used to connect to third-party APIs (non-SAP systems like Salesforce, ServiceNow, etc.) through a unified RESTful API interface. It is a different capability within SAP Integration Suite and not related to Cloud Connector connectivity

Reference:
SAP Help Portal: "Create API Provider" - Connection Types section
SAP BTP Connectivity: Cloud Connector documentation
SAP Community: Blog series on API Management and Cloud Connector configuration
Question 5 Choose 1
Which of the following can you use for an XSLT mapping in an integration flow?
Show answerHide answer

Correct answer: A XML

Explanation

Explanation:

XSLT (Extensible Stylesheet Language Transformations) is a language specifically designed to transform XML documents. In SAP Cloud Integration, the XSLT mapping step only works with input messages of type XML. Multiple authoritative sources confirm this limitation: "It can be used only for input messages of type XML". The official SAP documentation consistently references XSLT for XML transformations, and XSLT's architecture fundamentally requires an XML source document tree.

Why other options are incorrect:

B. JSON ❌:
XSLT cannot process JSON directly. JSON transformations require JSON-to-XML converters, Groovy/JavaScript scripts, or Message Mapping with converters.

C. PHP ❌:
PHP is not supported in SAP Cloud Integration. CPI supports Groovy, JavaScript, XSLT, and graphical message mapping only.

D. HTML ❌:
While HTML is XML-like, CPI's XSLT mapping is designed for structured enterprise XML data integration, not web page transformations.

Reference:
SAP Cloud Integration documentation confirms XSLT mapping's XML-only input requirement, distinguishing it from scripting options that offer broader format support
Question 6 Choose 1
After you have created an API proxy, no resources are displayed under the Resources tab. What could be the cause?
Show answerHide answer

Correct answer: B You use an OData API as a source

Explanation

Explanation:

When creating an API proxy using an OData API as a source, resources are not automatically displayed under the Resources tab. Official SAP Knowledge Base Article 3534932 explicitly confirms this issue: "ODATA API is not working in API Management... the expected resources are not listed in the UI for the API" . Unlike REST APIs where resources are typically auto-discovered, OData APIs require manual import of the EDMX metadata file or explicit resource definition via API Designer to populate the Resources tab .

Why other options are incorrect:

A. Plain REST API as source ❌:
REST APIs normally display resources automatically upon creation. Empty Resources tab is not expected behavior for REST sources .

C. API Provider as source ❌:
API Provider is an intermediate configuration object, not a direct API source type. Selecting an API Provider routes to REST or OData sources underneath; the empty Resources issue depends on the actual source type, not the provider.

D. SAP Graph API as source ❌:
SAP Graph is a unified API gateway; no evidence links Graph sources specifically to empty Resources tab behavior in API Management.

Reference:
SAP KBA 3534932 - "ODATA API is not working in API Management" ; SAP API Management documentation on API Designer and OData metadata handling .
Question 7 Choose 1
For which of the following scenarios can you use scripting in an integration flow?
Show answerHide answer

Correct answer: A Add information to the message log

Explanation

Explanation:

Scripting in SAP CPI (Groovy/JavaScript) enables dynamic, custom logic at runtime. A primary use case is programmatically adding custom headers to Message Processing Logs (MPL) for audit trails and business monitoring. The official pattern uses messageLog.addCustomHeaderProperty() within Groovy to log business identifiers like PO numbers or IDoc numbers . CPI scripting is for runtime logic, not for creating design-time artifacts or configuring adapter definitions.

Why other options are incorrect:

B. Create XSLT mapping artifacts ❌:
Scripting can generate XSLT code dynamically, but it cannot create the reusable XSLT mapping artifact (.xsl file) within the integration flow design. XSLT artifacts are uploaded manually or via APIs, not scripted inline .

C. Configure an OData adapter ❌:
Adapter configuration (connection URL, authentication, resource path) is done via the graphical adapter settings, not scripting. Scripting can only read/set headers or properties passed to the adapter, not define the adapter itself .

D. Define a SOAP endpoint ❌:
SOAP endpoints are defined by configuring the SOAP Sender Adapter with address, WSDL, and processing mode. Scripting cannot perform this adapter-level definition .

Reference:
SAP CPI documentation on Groovy script usage patterns ; SAP Community blogs on adapter configuration limitations
Question 8 Choose 1
During development, in which integration flow component can you configure a simulated payload?
Show answerHide answer

Correct answer: A Content Modifier

Explanation

Explanation:

During development, you configure a simulated payload directly in the Content Modifier's "Message Body" tab using the "Create" or "Modify" action. This allows developers to test and debug integration flow behavior in a sandbox environment before connecting to live systems . The Content Modifier can manually define test XML/JSON payloads for simulation purposes .

Why other options are incorrect:

B. General Splitter ❌:
This component splits existing messages based on XPath or line breaks; it cannot create or simulate payloads .

C. SOAP Adapter ❌:
Adapters are communication channels to external systems; they do not provide payload simulation capabilities .

D. Data Store Operations ❌:
These persist/retrieve messages to/from storage; they do not generate simulated test payloads .

Reference:
SAP Community blog on CPI Introduction explicitly lists "Content modifier and stimulation process" as a core development step for testing object behavior in a sandbox . Official SAP tutorials confirm Content Modifier as the component for manually setting test message bodies .
Question 9 Choose 1
You configure a request and reply call with an HTTP adapter. Which of the following Simple Expression definitions can you use to configure a variable in the URL?
Show answerHide answer

Correct answer: A ${property.item}

Explanation

Explanation:

In SAP Cloud Integration, the HTTP receiver adapter uses ${...} syntax to reference exchange properties dynamically in the URL address field. Official SAP documentation explicitly states the "Address" parameter for HTTP receiver supports dynamic configuration "uses header CamelHttpUri" . Community implementation examples confirm this pattern: A_BusinessPartner${header.CamelHttpPath} . The simple expression language in CPI adheres to Apache Camel syntax, where ${propertyName} accesses properties and ${header.headerName} accesses headers.

Why other options are incorrect:

B. $(property.item) ❌:
This is invalid CPI syntax. No adapter or step uses parentheses with dollar sign for property/header references .

C. $[property.item] ❌:
Brackets with dollar sign are not supported in CPI for dynamic URL configuration. XPath uses $[...] notation but not for adapter variables .

D. #{property.item} ❌:
This syntax is used in SAP Process Orchestration/PI (%{Variable}) and Java EL, NOT in SAP CPI Cloud Integration .

Reference:
SAP Help Portal - Parameters That Support Dynamic Configuration ; SAP Community blog on dynamic HTTP/OData adapter configuration
Question 10 Choose 2
In the Connections tab of the OData adapter, which authentication options are available?

Note: There are 2 correct answers to this question.
Show answerHide answer

Correct answer: A, B BasicNone

Explanation

Explanation:

In SAP Cloud Integration, the OData Receiver Adapter (specifically versions like OData V2 or V4) provides a specific set of authentication methods in the Connections tab to establish a handshake with the target system.

B.None:
This option is used when the destination system is unprotected or resides in a landscape where authentication is handled at a different layer (e.g., a perimeter gateway).

A.Basic:
This is the standard method for providing a Credential Name. The integration refers to a User Credentials artifact stored in the Security Material, which contains the username and password required by the OData service provider.

Why the Other Options are Incorrect

C. Token:
In SAP Cloud Integration, "Token" is not a selectable authentication type in the dropdown menu. While OData calls often require a CSRF token, this is a security mechanism managed via a checkbox (fetch CSRF token) within the adapter settings, not the primary authentication method itself.

D. OAuth:
This is a common trap. While modern integration uses OAuth, the OData adapter specifically lists these as OAuth2 Client Credentials or OAuth2 Authorization Code in more recent versions, or they are handled via the HTTP adapter if a generic OAuth flow is needed. In the context of standard OData adapter "Authentication" dropdowns for this exam, "OAuth" as a standalone term is technically incomplete/incorrect compared to the "Basic" and "None" defaults.

References
SAP Help Portal: Configure the OData V2 Receiver Adapter.
SAP Learning (Course CLD900): Unit 4: Creating Integration Flows.
Full mock exam

Sit the C_CPI_2404 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real C_CPI_2404 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full C_CPI_2404 mock exam
  • 60questions per mock
  • 120 mintime limit
  • 60questions in the bank
  • Newmock on every attempt
This practice test covers SAP Integration Suite topics: Cloud Integration, API Management, Open Connectors, and integration design patterns. You will practice questions on creating iFlows, managing APIs, configuring adapters, and implementing security measures. The test emphasizes how to build robust, scalable integration solutions across hybrid landscapes. By working through these focused questions, You will validate your ability to design and implement integrations that connect cloud and on-premise systems seamlessly—essential for integration architects and developers.

Real Stories From Real Clients


Preparation for SAP Integration Suite certification was greatly improved by the ERPCerts C_CPI_2404 mock test. The materials focused on integration flows, adapters, and cloud connectivity.
Maria Santos | Philippines