nerdexam
SOA

S90-02A · Question #63

Which of the following statements makes sense? Select the correct answer.

The correct answer is A. I have 3 REST services, 2 of which do not support the PUT method. Option A is correct because REST services are built on HTTP but are not required to implement every HTTP method - it's perfectly valid for some services to omit PUT (e.g., if they don't support resource updates). Option B is nonsensical because SOAP headers belong to the SOAP…

Advanced Web Services and REST Services

Question

Which of the following statements makes sense? Select the correct answer.

Options

  • AI have 3 REST services, 2 of which do not support the PUT method.
  • BI have 3 REST services, 2 of which have a PUT operation in the SOAP header schemas of their
  • CI have 3 REST services, 2 of which do not support HTTP.
  • DNone of these statements make sense.

How the community answered

(21 responses)
  • A
    76% (16)
  • B
    5% (1)
  • C
    14% (3)
  • D
    5% (1)

Explanation

Option A is correct because REST services are built on HTTP but are not required to implement every HTTP method - it's perfectly valid for some services to omit PUT (e.g., if they don't support resource updates). Option B is nonsensical because SOAP headers belong to the SOAP protocol, which is entirely separate from REST; REST services communicate via plain HTTP and have no SOAP envelope or header schemas. Option C is self-contradictory because REST is defined as an architectural style that runs over HTTP - a service that doesn't support HTTP cannot, by definition, be a REST service.

Memory tip: Think of REST as "married to HTTP" - it can choose which HTTP methods (GET, POST, PUT, etc.) to support, but it can never divorce HTTP itself. Anything mixing REST with SOAP concepts is always a trap answer.

Topics

#REST#HTTP methods#PUT method#service design

Community Discussion

No community discussion yet for this question.

Full S90-02A Practice