nerdexam
SOA

S90-02A · Question #47

Which of the following statements is true? Select the correct answer.

The correct answer is D. All of these statements are true. D is correct because all three statements accurately describe scenarios where XML can be exchanged, making any single-choice answer incomplete. REST services (A) are format-agnostic and commonly support XML alongside JSON. SOAP-based services (B) are built around XML - every…

Web Services and Contract-First Design

Question

Which of the following statements is true? Select the correct answer.

Options

  • AXML documents can be exchanged by REST services.
  • BXML documents can be exchanged by SOAP-based Web services.
  • CXML documents can be exchanged by component-based services.
  • DAll of these statements are true.

How the community answered

(52 responses)
  • A
    2% (1)
  • B
    4% (2)
  • C
    2% (1)
  • D
    92% (48)

Explanation

D is correct because all three statements accurately describe scenarios where XML can be exchanged, making any single-choice answer incomplete. REST services (A) are format-agnostic and commonly support XML alongside JSON. SOAP-based services (B) are built around XML - every SOAP message envelope is an XML document by specification. Component-based services (C) such as those built on CORBA or EJB can also serialize and transmit XML documents as their data payload.

The trap with A, B, and C individually is that each is a true but partial statement - selecting any one of them implies the others are false, which they are not.

Memory tip: Think of XML as a universal data language - it's not owned by any single service architecture (REST, SOAP, or component-based). Whenever you see "all of the above" as an option and each individual choice seems plausible, verify each one; if none contradict each other, "all of the above" is almost always correct.

Topics

#XML#REST#SOAP#service types

Community Discussion

No community discussion yet for this question.

Full S90-02A Practice