S90-02A · Question #2
Which of the following statements is true? Select the correct answer.
The correct answer is A. When using WS-AtomicTransaction, services participating in a transaction vote on the outcome. Option A is correct because WS-AtomicTransaction uses a two-phase commit (2PC) protocol where all participating services act as voters - each service votes either "commit" or "abort," and a coordinator collects those votes to determine the final outcome, ensuring atomicity…
Question
Which of the following statements is true? Select the correct answer.
Options
- AWhen using WS-AtomicTransaction, services participating in a transaction vote on the outcome
- BWhen using WS-AtomicTransaction, services participating in a transaction use RPC protocols to
- CWhen using WS-AtomicTransaction, services participating in a transaction rely on the use of WS-
- DWhen using WS-AtomicTransaction, services do not actually participate in a transaction.
How the community answered
(41 responses)- A93% (38)
- B5% (2)
- D2% (1)
Explanation
Option A is correct because WS-AtomicTransaction uses a two-phase commit (2PC) protocol where all participating services act as voters - each service votes either "commit" or "abort," and a coordinator collects those votes to determine the final outcome, ensuring atomicity across distributed services.
Why the distractors fail:
- B is wrong because WS-AtomicTransaction is a SOAP/web services protocol built on WS-Coordination, not RPC protocols - it uses XML messaging, not remote procedure calls.
- C appears to be cut off, but any claim that WS-AtomicTransaction relies on some unrelated or incorrect dependency would be false; it relies on WS-Coordination for its coordination framework.
- D is the opposite of the truth - participation is the entire point; services are explicitly enlisted into the transaction by the coordinator.
Memory tip: Think of WS-AtomicTransaction as a democratic vote among microservices - everyone gets a say (commit or abort), and the coordinator tallies the result. If even one service votes "abort," the whole transaction rolls back, just like a unanimous-jury requirement.
Topics
Community Discussion
No community discussion yet for this question.