S90-19 practice question 14 of 15

The difference between the Exception Shielding and Message Screening patterns is in how the core service logic processes incoming messages received by malicious service consumers?

Full set: 83 questions
Answer options
A:

A. True

B:

B. False

Correct Answer:
FALSE
Explanation

The statement is incorrect. The fundamental difference between the Exception Shielding and Message Screening patterns is not in how the core service logic processes messages, but rather in the stage at which security is applied and the type of threat they mitigate. Message Screening is a proactive security pattern applied before an incoming message reaches the core service logic. Its purpose is to act as a filter or firewall, validating the message content, structure, and data against a set of predefined rules to reject malicious or malformed requests. The core service logic never processes a message that has been rejected by the Message Screening mechanism. Exception Shielding is a reactive security pattern applied after the core service logic has processed a message and an exception has occurred. Its purpose is to intercept and sanitize exceptions generated by the service logic, replacing detailed internal error information (like stack traces or database errors) with generic, safe error messages before sending a response to the consumer. This prevents the leakage of potentially sensitive information about the service's internal implementation. Therefore, the key distinction is that Message Screening protects the service logic from malicious input, while Exception Shielding protects the service's internal details from being exposed via error message output.

Why Incorrect

This is a "TRUE or FALSE" question. The provided statement is false because it mischaracterizes the operational distinction between the two patterns. The difference lies in their point of application relative to the core service logic (pre-processing vs. post-exception handling), not in a variation of the processing logic itself.

References

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

Message Screening Pattern: In Chapter 17, this pattern is described as a mechanism that validates incoming messages before they are processed by the primary service logic. It acts as a security gateway. (See "Message Screening" pattern description, pp. 552-555).

Exception Shielding Pattern: In Chapter 17, this pattern is defined as a centralized exception handling mechanism that prevents internal, detailed exception information from being propagated to the service consumer. It "shields" the service's implementation by catching raw exceptions and returning sanitized, generic fault messages. (See "Exception Shielding" pattern description, pp. 548-551).

The book clearly positions Message Screening as a pre-emptive filter for incoming requests and Exception Shielding as a mechanism for sanitizing outgoing error responses, confirming they operate at different stages and are not variations of how the core logic processes messages.

Scroll to Top