C_CPI Integration Suite Development Practice Question
You are configuring the JMS adapter in SAP Cloud Integration to consume messages from a queue. You need to ensure that messages are processed exactly once and that failed messages are not silently lost. Which two configuration actions must you take? (Choose two.)
⚠ Common exam trap
The trap here is treating performance-oriented settings such as disabling persistence or using auto acknowledgment as harmless optimizations, when they actually break the reliability guarantees the scenario demands.
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
✓
Configure a dead letter queue and set a maximum redelivery count on the JMS queue.
Exactly-once or at-least-once delivery with no silent loss requires transactional acknowledgement tied to processing success and a safety net for repeatedly failing messages. Enabling the JMS transaction on the sender channel ensures acknowledgement occurs only after successful processing, while a dead letter queue with a redelivery limit captures messages that cannot be processed, preserving them for investigation.
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 acknowledgment mode to 'Auto' on the sender channel.
Why it's wrong here
Auto acknowledgment acknowledges the message as soon as it is received, before the integration flow completes. If downstream processing fails afterward, the message is already gone from the queue and cannot be redelivered, which defeats the purpose of preventing silent message loss.
- ✗
Set the queue to 'Non-Exclusive' so multiple consumers can compete for messages without locking.
Why it's wrong here
Non-exclusive access allows concurrent consumers, which can increase throughput but does not guarantee exactly-once processing. In fact, concurrent consumption without transactional acknowledgement increases the risk of duplicate or lost messages, so this setting does not support the stated requirement.
- ✓
Configure a dead letter queue and set a maximum redelivery count on the JMS queue.
Why this is correct
A dead letter queue combined with a maximum redelivery count ensures that messages which repeatedly fail are moved to a separate queue instead of being retried indefinitely or discarded. This preserves failed messages for later inspection and prevents silent loss, which is exactly what the scenario requires.
- ✓
Enable 'Use JMS Transaction' on the JMS sender channel so the message is acknowledged only after successful processing.
Why this is correct
Enabling the JMS transaction on the sender channel ties the queue acknowledgement to the completion of the integration flow. If processing fails, the message is not acknowledged and remains available for redelivery, which is essential for exactly-once or at-least-once semantics and prevents silent loss.
- ✗
Disable message persistence on the JMS queue to improve performance.
Why it's wrong here
Disabling persistence means messages are stored only in memory and can be lost if the broker restarts or fails. This directly contradicts the requirement to avoid silently losing failed messages, so it is the wrong choice for a reliability-focused configuration.
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.