C-CPI-2506 Sample Questions

C-CPI-2506 Sample Questions & Answers

Developing integration flows in the cloud is the single biggest piece, alongside managing APIs, event-driven design through SAP Event Mesh, and setting integration strategy around a clean core.

Launch the full C-CPI-2506 simulator →

Free C-CPI-2506 Sample Questions with Answers

Real questions from the SAP Certified Associate Integration Developer practice test — answers and explanations included. Showing 10 of 20 free samples.

  1. Question 1Intermediate

    SAP Event Mesh · Subscriptions

    True or False: In SAP Event Mesh, a single queue can be configured to subscribe to multiple different topics.

    Show answer & explanation

    Correct answer: A

    This is a key feature of SAP Event Mesh for building flexible event-driven architectures. A single queue can have multiple topic subscriptions, allowing it to collect events from various sources (topics) into one consolidated stream for a consumer application. This is useful for aggregating related events, for example, 'OrderCreated', 'OrderUpdated', and 'OrderCancelled' events into a single 'OrderEvents' queue.

  2. Question 2Advanced

    Implementing Cloud Integration · Complex Integration Flow Design

    Case Study

    A global logistics company, ShipFast, is modernizing its integration landscape by moving from a legacy SAP PI/PO system to SAP Integration Suite. A critical interface involves processing large EDI 850 Purchase Order files from their partners, which are delivered via SFTP. These files can contain up to 10,000 individual line items.

    The current business process requires that each incoming EDI 850 file is first validated against a schema. If validation fails, the entire file must be moved to an error directory and a high-priority alert sent to the support team. If validation succeeds, each line item must be processed individually. For each line item, the integration flow must look up the product's current stock level from an on-premise S/4HANA system via an OData API. If stock is insufficient for a particular line item, that specific item must be logged to a data store for later review, but processing of other items in the same file should continue. All successfully validated and enriched line items must be aggregated and sent as a single XML message to an internal order management system via an HTTPS call.

    The key non-functional requirements are high throughput, minimal memory footprint on the Cloud Integration runtime, and detailed error logging for failed line items. The S/4HANA system has a strict rate limit on its OData API, allowing only 100 requests per minute.

    Which integration flow design best meets all the requirements of ShipFast?

    Show answer & explanation

    Correct answer: B

    This design correctly addresses all requirements. The XML Validator handles the initial file-level validation. The ProcessDirect call modularizes the design. The Iterating Splitter is essential for processing large files with low memory usage. Placing the OData call (Content Enricher) inside a loop with a delay respects the rate limit (100 requests/min ≈ 1 request/600ms). The Router correctly separates successful items from those with insufficient stock. The Data Store Write step fulfills the requirement to log failed items for later review without stopping the main process. Finally, the Gather step correctly aggregates the successful items for the final HTTPS call.

  3. Question 3Beginner

    Implementing Cloud Integration · Stateful Processing

    An integration developer needs to store a value, such as a transaction counter, that must persist and be accessible across multiple, independent executions of the same integration flow. Which iFlow component should be used for this purpose?

    Show answer & explanation

    Correct answer: C

    Data Stores are specifically designed for stateful processing. They allow data to be persisted beyond the lifetime of a single message processing run. Variables and properties are message-scoped and are lost once the integration flow execution is complete. A Data Store allows the flow to write a value (like a counter) and a subsequent, independent execution of the same flow to read and update that value.

  4. Question 4AdvancedSelect 3

    SAP Event Mesh · Event-Driven Architecture Design

    An architect is designing a solution where events from an SAP S/4HANA system must trigger workflows in multiple, independent subscribing applications. Some subscribers might be temporarily unavailable and must not lose any events. The solution must ensure that the S/4HANA system is not tightly coupled to the subscribers. Which components should be used to build this solution? (Select THREE)

    Show answer & explanation

    Correct answers: A, C, D

  5. Question 5Advanced

    Managing APIs · Policy Execution Order

    A developer needs to apply a sequence of three policies to an API Proxy in SAP API Management: 1. Quota, 2. Spike Arrest, 3. Verify API Key. To ensure the most efficient processing and to avoid unnecessary policy execution for unauthorized requests, what is the optimal order and location for attaching these policies?

    Show answer & explanation

    Correct answer: B

    The optimal order is to fail as early as possible. Authentication/authorization (Verify API Key) should happen first to immediately reject invalid requests. Traffic management policies should follow. Spike Arrest should come before Quota, as it deals with immediate traffic bursts and can protect the system from DoS attacks, while Quota deals with usage over a longer period (e.g., per day or month). Checking the API key first prevents unauthorized requests from consuming any Spike Arrest or Quota counts.

  6. Question 6Intermediate

    Implementing Cloud Integration · Adapter Selection

    In Cloud Integration, what is the primary functional difference between the ProcessDirect adapter and a direct HTTP adapter call to another iFlow's endpoint on the same tenant?

    Show answer & explanation

    Correct answer: A

    The key advantage of the ProcessDirect adapter for intra-tenant iFlow communication is its support for transactional consistency. It executes the call within the same processing thread and transaction. If the second (called) iFlow fails, the transaction can be rolled back, affecting the original calling iFlow as well. An HTTP call involves a network roundtrip, even on the same tenant, and runs in a separate transaction, offering lower performance and no transactional guarantee between the two iFlows.

  7. Question 7Beginner

    Implementing Cloud Integration · Monitoring and Troubleshooting

    A developer is troubleshooting an integration flow that fails intermittently. To get the most detailed information about the message payload and properties at each step of the flow execution, what action should be taken?

    Show answer & explanation

    Correct answer: B

    Setting the log level to 'Trace' enables the most verbose logging mode for a limited time (typically 10 minutes). When trace is active, the system captures the message content (payload, headers, and properties) at each processing step, which is invaluable for debugging complex or intermittent issues. The other log levels (Info, Debug) provide less detail.

  8. Question 8Intermediate

    Managing APIs · API Products

    True or False: An API Product in SAP API Management can bundle APIs from multiple different API Providers.

    Show answer & explanation

    Correct answer: A

    An API Product is a logical grouping of API Proxies that are exposed to developers. These API Proxies can, in turn, point to various backend systems configured as different API Providers. This allows an organization to create a cohesive product offering for developers (e.g., a 'Customer Data Product') that sources data from multiple underlying systems (e.g., CRM, ERP, and a custom microservice).

  9. Question 9Advanced

    Managing APIs · Complex Policy Design

    Case Study

    HealthFirst, a major healthcare provider, needs to build a secure API gateway using SAP API Management. This gateway will expose critical patient and billing information from their on-premise SAP S/4HANA system and a cloud-native microservice. They have two main consumer groups: internal applications developed by their own IT department and external applications from partner insurance companies.

    Business & Technical Requirements:

    1. Authentication: All API calls must be authenticated. Internal apps must use OAuth 2.0 Client Credentials, while external partners must use a combination of an API Key and mTLS (client certificate authentication).
    2. Authorization: Access must be restricted. The 'Patient API' should only be accessible by consumers who are part of the 'Clinical' API Product, while the 'Billing API' should only be accessible to those in the 'Financial' API Product.
    3. Traffic Management: To protect the backend systems, external partners are limited to 1,000 calls per day. Internal applications have a much higher limit of 100,000 calls per day. Additionally, no consumer should be able to make more than 20 calls per second.
    4. Data Security: The response from the 'Patient API' contains sensitive data. A custom policy must be implemented to check for a specific HTTP header (X-Audit-ID) in the request and log it. If the header is missing, the request must be rejected with a 400 Bad Request error.

    Which combination of policies, applied in the correct sequence within the API Proxy, fulfills all of HealthFirst's requirements?

    Show answer & explanation

    Correct answer: C

    This solution correctly maps all requirements. The Spike Arrest in the Preflow applies universally. Conditional flows are the right way to handle different logic for internal vs. external consumers, each with the correct authentication and Quota policy. Enabling mTLS on the virtual host is the standard way to enforce client certificate validation for external partners. The authorization is handled by packaging the correct API proxies into different API Products ('Clinical', 'Financial'). Finally, using a Raise Fault policy with a condition request.header.X-Audit-ID is null is the most efficient way to enforce the presence of the audit header without needing a custom script.

  10. Question 10Beginner

    Implementing Cloud Integration · Content-Based Routing

    A developer needs to dynamically route a message to one of three different receivers based on the value of an XML element named in the incoming payload. Which integration flow step is specifically designed for this purpose?

    Show answer & explanation

    Correct answer: B

    The Router step is the standard component for content-based routing. It allows the developer to define multiple routing conditions, typically using XPath for XML payloads or JSONPath for JSON payloads, and directs the message down the first path whose condition evaluates to true. A default route can also be configured for messages that don't match any condition.

Ready for the real thing?

The full C-CPI-2506 simulator has every exam-style question, timed mode, and instant scoring.