C_CPI Integration Suite Development Practice Question
An integration developer must ensure that a Cloud Integration flow processes messages from a JMS queue exactly once, even when the tenant restarts mid-processing. The flow currently uses a JMS sender adapter with default settings and occasionally reprocesses messages after a restart. What should the developer configure to prevent duplicate processing?
⚠ Common exam trap
The trap here is believing that higher concurrency or a deduplication filter prevents reprocessing, when only transactional acknowledgement ties message removal to successful flow completion.
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
✓
Enable transactional handling on the JMS sender adapter so the message is acknowledged only after the integration flow completes successfully.
Exactly-once behavior across restarts depends on deferring the JMS acknowledgement until the integration flow has completed. Transactional handling on the JMS sender adapter provides this by acknowledging only after successful processing, so a restart mid-flow leaves the message available for redelivery. Expiration, concurrency, and custom header filters do not bind acknowledgement to flow completion and therefore cannot prevent duplicate processing.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Set the JMS queue to use a short expiration time so stale messages are discarded before they can be reprocessed.
Why it's wrong here
Expiration removes messages after a time-to-live, which causes data loss rather than preventing duplicates. A message that is mid-processing during a restart could expire and never be handled. Expiration is useful for discarding obsolete messages but does not provide the acknowledgement-after-completion semantics needed for exactly-once behavior.
- ✓
Enable transactional handling on the JMS sender adapter so the message is acknowledged only after the integration flow completes successfully.
Why this is correct
Transactional handling defers the JMS acknowledgement until the flow finishes, so a restart before completion leaves the message unacknowledged and available for redelivery without data loss. Once the flow commits, the acknowledgement is sent and the message is removed. This is the standard mechanism that prevents both message loss and duplicate processing across restarts in Cloud Integration.
- ✗
Configure a Message Filter step that checks a custom header and drops messages that were already seen.
Why it's wrong here
A filter based on a custom header requires the header to be persisted somewhere and checked before processing, which introduces its own state and race conditions. It also does not integrate with the JMS acknowledgement cycle, so the original message remains on the queue until the adapter acknowledges it. This approach adds complexity without providing reliable exactly-once semantics.
- ✗
Increase the maximum number of concurrent consumers on the JMS sender adapter to spread the load across threads.
Why it's wrong here
Concurrency affects throughput, not delivery guarantees. More consumers can actually increase the chance of overlapping processing if acknowledgement is not transactional. The scenario requires that a message be reprocessed only if the flow did not complete, which concurrency settings alone cannot guarantee. Transactional acknowledgement is the controlling factor.
About these practice questions
Courseiva writes every C_CPI question from scratch — 218 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.