Sail E0 Webinar

MCQs

Total Questions : 10
Question 1. Annotation which allows the Jaxb2Marshaller marshaller to detect a class's (i.e., object's) fields.
  1.    XmlRootElement
  2.    XmlRoot
  3.    NotNull
  4.    None of the mentioned
 Discuss Question
Answer: Option A. -> XmlRootElement




Question 2. Which of the following is correct about URI in RESTful web services?
  1.    Each resource in REST architecture is identified by its URI
  2.    Purpose of an URI is to locate a resource(s) on the server hosting the web service
  3.    Both of the above
  4.    None of the above
 Discuss Question
Answer: Option C. -> Both of the above




Question 3. The rest state and motion of body are
  1.    non relative
  2.    not related
  3.    relative
  4.    none of above
 Discuss Question
Answer: Option C. -> relative




Question 4. Annotation added as an input parameter to the handler meth
  1.    PathVariable
  2.    Path
  3.    PathLocale
  4.    None of the mentioned
 Discuss Question
Answer: Option A. -> PathVariable




Question 5. If a body doesn't change its position with respect to its surroundings then its in state of
  1.    motion
  2.    rest
  3.    equilibrium
  4.    weightlessness
 Discuss Question
Answer: Option B. -> rest




Question 6. Explain features of XML-RPC?
  1.    RPCs are performed using simple XML language
  2.    XML encoded Requests are sent via HTTP POST
  3.    XML Response is embedded in HTTP response
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above




Question 7. If a body does changes its posotion with respect to its surroundings, it is said to be at
  1.    distance
  2.    position
  3.    rest
  4.    motion
 Discuss Question
Answer: Option D. -> motion




Question 8. Each resource in REST architecture is identified by its URI.
  1.    True
  2.    false
  3.    All the above
  4.    None
 Discuss Question
Answer: Option A. -> True




Question 9. The marshaller used by MarshallingView belongs to one of a series of XML marshallers.
  1.    Jaxb2Marshaller
  2.    XmlBeansMarshaller
  3.    CastorMarshalle
  4.    All of the mentioned
 Discuss Question
Answer: Option D. -> All of the mentioned




Question 10. RestTemplate class method which performs an HTTP HEAD operation.
  1.    headForHeaders(String, Object"¦)
  2.    getForObject(String, Class, Object"¦)
  3.    postForLocation(String, Object, Object"¦)
  4.    postForObject(String, Object, Class, Object"¦)
 Discuss Question
Answer: Option D. -> postForObject(String, Object, Class, Object"¦)




Latest Videos

Latest Test Papers