S90-08 practice question 1 of 35

Which of the following statements about the application of the Policy Centralization pattern is true?

Full set: 100 questions
Answer options
A: Service agents can check for policy compliance at runtime.
B: A policy framework that supports both the definition of policies and their consistent runtime enforcement is essential to meeting the goals of the Policy Centralization pattern.
C: Enterprise service bus products sometimes use proprietary policy formats which can lead to vendor lock-in and incompatibilities with other enterprise service bus products.
D: All of these statements are true. Correct answer
Correct Answer:
D. All of these statements are true.
Explanation

The Policy Centralization pattern's primary goal is to abstract policies from service logic into a centrally governed repository. This requires a dedicated policy framework for defining, managing, and consistently enforcing these policies at runtime (Statement B). Runtime enforcement is typically carried out by intermediaries, such as service agents or gateways, that intercept messages to check for policy compliance (Statement A). When implementing this pattern using commercial products like an Enterprise Service Bus (ESB), a common challenge arises from vendors using proprietary policy languages and formats. This reliance on non-standard implementations can lead to vendor lock-in and create incompatibilities with other systems (Statement C). As all individual statements accurately describe key aspects of applying this pattern, the correct answer is D.

Why Incorrect

Options A, B, and C are not incorrect; they are individually true statements. However, they are incomplete on their own. The question asks which statement is true, and since all three are valid aspects of the Policy Centralization pattern, selecting any single one would be less accurate than choosing the option that encompasses all of them.

References

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

Reference for A: In the description of the Policy Centralization pattern, it states, "A policy enforcement point is required to intercept messages and apply the appropriate policies at runtime... This role can be fulfilled by a service agent..." (p. 500, Section: Application).

Reference for B: The pattern's solution is described as: "Policies are centralized and abstracted into a repository from which they can be uniformly governed and enforced. A policy framework is established to support the definition, publishing, and runtime enforcement of policies." (p. 498, Section: Solution).

Reference for C: Under the "Impacts" section for the pattern, the text notes, "The use of proprietary policy expression languages can limit the interoperability of a policy framework." This directly relates to the vendor lock-in and incompatibility issues mentioned in the option. (p. 501, Section: Impacts).

Scroll to Top