- RESTful Tutorial
- RESTful - Home
- RESTful - Introduction
- RESTful - Environment Setup
- RESTful - First Application
- RESTful - Resources
- RESTful - Messages
- RESTful - Addressing
- RESTful - Methods
- RESTful - Statelessness
- RESTful - Caching
- RESTful - Security
- RESTful - Java (JAX-RS)
- RESTful Useful Resources
- RESTful - Questions and Answers
- RESTful - Quick Guide
- RESTful - Useful Resources
- RESTful - Discussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
RESTful Online Quiz
Following quiz provides Multiple Choice Questions (MCQs) related to RESTful Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.
Q 1 - What REST stands for?
Answer : B
Explanation
REST stands for REpresentational State Transfer.
Q 2 - Which of the following component of HTTP response indicates server status for the requested resource?
Answer : A
Explanation
Status/Response Code − Indicate Server status for the requested resource. For example 404 means resource not found and 200 means response is ok.
Answer : C
Explanation
URI stands for Uniform Resource Identifier. Each resource in REST architecture is identified by its URI.
Q 4 - Which of the following HTTP method should be used to create/update resource using RESTful web service?
Answer : C
Explanation
POST opearations should be used to create/update resource using RESTful web service.
Q 5 - Public directive of Cache Control Header of HTTP response indicates that resource is cachable by any component.
Answer : A
Explanation
Public directive indicates that resource is cachable by any component.
Q 6 - Which of the following HTTP Status code means NOT MODIFIED, used to reduce network bandwidth usage in case of conditional GET requests?
Answer : D
Explanation
HTTP Status Code 304 means NOT MODIFIED, used to reduce network bandwidth usage in case of conditional GET requests.
Q 7 - Which of the following annotation of JAX RS API is used to annotate a method to get the relative path of the resource class/method?
Answer : A
Explanation
@Path - Relative path of the resource class/method.
Q 8 - Which of the following annotation of JAX RS API binds the parameter passed to method to a HTTP header?
Answer : D
Explanation
@HeaderParam − Binds the parameter passed to method to a HTTP header.
Q 9 - RESTful web services make use of FTP protocol as a medium of communication between client and server.
Answer : B
Explanation
RESTful web services make use of HTTP protocol as a medium of communication between client and server.
Answer : A
Explanation
GET opearations should be readonly.