S90-09A · Question #46
Which of the following statements is true?
The correct answer is C. The application of the Legacy Wrapper pattern supports the Contract Centralization pattern by. Option C is correct because the Legacy Wrapper pattern encapsulates a legacy system behind a clean, standardized service contract, creating a single centralized access point. This directly supports the Contract Centralization pattern, which requires that consumers interact with…
Question
Which of the following statements is true?
Options
- AThe application of the Legacy Wrapper pattern results in the coupling of the service consumer to
- BThe application of the Legacy Wrapper pattern results in the coupling of the service contract to the
- CThe application of the Legacy Wrapper pattern supports the Contract Centralization pattern by
- DNone of these statements are true.
How the community answered
(33 responses)- A3% (1)
- B12% (4)
- C82% (27)
- D3% (1)
Explanation
Option C is correct because the Legacy Wrapper pattern encapsulates a legacy system behind a clean, standardized service contract, creating a single centralized access point. This directly supports the Contract Centralization pattern, which requires that consumers interact with a unified contract rather than directly with backend system internals.
Why the distractors fail:
- Option A is wrong because the Legacy Wrapper decouples the consumer from the legacy system - consumers only see the wrapper's contract, not the legacy internals.
- Option B is wrong because the wrapper's service contract is intentionally designed independently of the legacy system's API; the wrapper handles the translation internally, so no coupling exists at the contract level.
- Option D falls away once you recognize C is valid.
Memory tip: Think of the Legacy Wrapper as a "clean facade over a messy room." The facade (centralized contract) is what visitors see - supporting Contract Centralization - while the clutter (legacy logic) stays hidden behind it. If any option says the pattern couples something, it's almost certainly wrong, since decoupling is the pattern's core purpose.
Topics
Community Discussion
No community discussion yet for this question.