S90-08 practice question 4 of 35

Which of the following statements are false?

Full set: 100 questions
Answer options
A: Using the Reliable Messaging pattern can improve the quality of messaging-based communication.
B: The Reliable Messaging pattern is applied to databases, not services. Correct answer
C: The Reliable Messaging pattern is one of the patterns that can be associated with the Enterprise Service Bus compound pattern.
D: The Reliable Messaging pattern is always applied together with the Atomic Service Transaction pattern. Correct answer
Correct Answer:
B. The Reliable Messaging pattern is applied to databases, not services.; D. The Reliable Messaging pattern is always applied together with the Atomic Service Transaction pattern.
Explanation

The Reliable Messaging pattern is a communication-centric design pattern applied to services and messaging middleware to ensure the guaranteed delivery of messages. It is not a pattern applied directly to databases, although the underlying messaging system may use a database for persistence. Furthermore, while the Reliable Messaging and Atomic Service Transaction patterns can be combined to create a robust, transactional exchange, they are not interdependent. Reliable Messaging guarantees delivery, whereas Atomic Service Transaction guarantees the outcome of a business activity. A service may require guaranteed delivery without needing its internal logic to be part of a larger atomic transaction. The assertion that they are always applied together is incorrect.

Why Incorrect

A. This statement is true. The primary purpose of the Reliable Messaging pattern is to increase the quality and dependability of communication by introducing a system of acknowledgments and retries.
C. This statement is true. The Enterprise Service Bus (ESB) is a compound pattern that often incorporates the Reliable Messaging pattern as a core capability to facilitate reliable, asynchronous communication between services.

References

1. Erl, T. (2009). SOA Design Patterns. Prentice Hall.

Regarding B: The Reliable Messaging pattern is described as being applied to "services that need to communicate with each other via messages" and involves components like a "Reliable Messaging Agent" and "Persistent Storage," but its application is on the messaging layer, not the database itself (p. 428, Chapter 17).

Regarding D: The book discusses the Atomic Service Transaction pattern (p. 448, Chapter 17) and Reliable Messaging pattern (p. 428, Chapter 17) as distinct patterns addressing different problems. There is no statement mandating they must always be used together. Their combination is a design choice, not a requirement.

Regarding A & C: The ESB pattern description explicitly lists "reliable message delivery" as a common function it provides, often by implementing the Reliable Messaging pattern (p. 218, Chapter 10). The goal of Reliable Messaging is to overcome inherent unreliability in communication channels, thus improving quality (p. 429, "Problem" section).

Scroll to Top