S90-01A · Question #54
Which of the following statements is true?
The correct answer is A. For a service consumer to interact with a service it must comply to the requirements of the service. Option A is correct because a fundamental principle of service-oriented architecture is that any consumer wishing to use a service must adhere to the terms defined by that service - including its interface, protocols, and constraints. The service sets the rules; the consumer…
Question
Which of the following statements is true?
Options
- AFor a service consumer to interact with a service it must comply to the requirements of the service
- BThe service contract is used to express meta data about a service for human consumption only, and
- CService contracts are only used to access a service when the service consumer itself is not a service.
- DAll of these statements are true.
How the community answered
(51 responses)- A94% (48)
- B2% (1)
- C2% (1)
- D2% (1)
Explanation
Option A is correct because a fundamental principle of service-oriented architecture is that any consumer wishing to use a service must adhere to the terms defined by that service - including its interface, protocols, and constraints. The service sets the rules; the consumer must conform to them, not the other way around.
Why the distractors fail:
- B is wrong because service contracts serve both human and machine consumption - they are used programmatically by service consumers to understand how to interact with a service, not just as human-readable documentation.
- C is wrong because service contracts govern access for all consumers, regardless of whether the consumer is itself a service or a non-service application. The contract applies universally.
- D is wrong because only A is true; since B and C contain false claims, "all of these" cannot be correct.
Memory tip: Think of a service contract like a legal contract - both parties must follow its terms, it's referenced throughout the relationship (not just at signing), and it applies to everyone who enters the agreement, human or automated.
Topics
Community Discussion
No community discussion yet for this question.