S90-02A · Question #12
Which of the following statements makes sense? Select the correct answer.
The correct answer is C. I designed my REST services to share the same XML schema. REST services place no restrictions on data format or schema design - multiple services can and often do share the same XML schema to promote consistency and reduce duplication, which is exactly what option C describes. Why the distractors fail: A is wrong (and truncated)…
Question
Which of the following statements makes sense? Select the correct answer.
Options
- AI designed a unique XML schema for each of my REST services so that the HTTP methods used
- BMy REST services are limited to the use of the GET HTTP method because only one XML
- CI designed my REST services to share the same XML schema.
- DXML schemas cannot be used by REST services.
How the community answered
(52 responses)- A2% (1)
- B8% (4)
- C88% (46)
- D2% (1)
Explanation
REST services place no restrictions on data format or schema design - multiple services can and often do share the same XML schema to promote consistency and reduce duplication, which is exactly what option C describes.
Why the distractors fail:
- A is wrong (and truncated) because HTTP methods have no bearing on schema design; you don't need unique schemas per service just because you use different HTTP methods.
- B is wrong because REST supports all standard HTTP methods - GET, POST, PUT, DELETE, PATCH, etc. - not just GET.
- D is wrong because XML is a perfectly valid data format for REST services; REST is format-agnostic and imposes no restriction on XML use.
Memory tip: REST stands for Representational State Transfer - the key word is "representational." REST says nothing about which format you use or how many services share it, so any answer that restricts REST to one HTTP method or one schema pattern is almost certainly wrong.
Topics
Community Discussion
No community discussion yet for this question.