On API | More Q&A Click Here
# | Question | Options | Answer |
---|---|---|---|
1 | Which of the following is not a valid HTTP methods used in RESTful web services? | TIME | |
2 | Which of the following component of HTTP request contains message content or Resource representation? | Request Body | |
3 | What URI stands for? | Uniform Resource Identifier | |
4 | Which of the following HTTP method should be used to create resource using RESTful web service? | PUT | |
5 | Public directive of Cache Control Header of HTTP response indicates that resource is cachable by any component. | true | |
6 | Which of the following is a best practice for designing a secure RESTful web service? | Both of the above. | |
7 | What JAX-RS stands for? | JAVA API for RESTful Web Services. | |
8 | Which of the following annotation of JAX RS API assigns a default value to a parameter passed to method? | @DefaultValue | |
9 | A web service is a collection of open protocols and standards used for exchanging data between applications or systems. | true | |
10 | POST opearations should be idempotent. | false | |
11 | What is the HTTP Code 200 Indicates? | Success | |
12 | What is WSDL Stands for? | Webservice Description Language | |
13 | What is SOAP stands for ? | Simple Object Access Protocol | |
14 | What are the different HTTP Methods available? | GET,HEAD,CONNECT,OPTIONS | |
15 | What are the mark up languages available in REST Services? | JSON & XML | |
16 | What is the category of 5XX HTTP Codes belongs to? | Server Error | |
17 | What is the protocol used in REST? | HTTP | |
18 | What is the HTTP Code Related to Page Not Found? | 404 | |
19 | What is the Category of the 1XX HTTP Codes belongs to? | Informational | |
20 | What does the Acronym REST Stands for? | Representational State Transfer | |
21 | What is the Category of 4XX HTTP Codes belongs to? | Client Error | |
22 | What is the HTTP Code Related to Internal Server Error?? | 500 | |
23 | What is the Category of 2XX HTTP Codes belongs to? | Success | |
24 | What is the Category of 3XX HTTP Codes belongs to? | Redirection |