Test: Web Caching


10 Questions MCQ Test Computer Networks | Test: Web Caching


Description
Attempt Test: Web Caching | 10 questions in 10 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study Computer Networks for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
QUESTION: 1

What REST stands for?

Solution:

Answer: b
Explanation: REST stands for Representational State Transfer.

QUESTION: 2

Which of the following protocol is used by Restful web services as a medium of communication between client and server?

Solution:

Answer: a
Explanation: Restful web services make use of HTTP protocol as a medium of communication between client and server.

QUESTION: 3

 Which of the following is a best practice to create a standard URI for a web service?

Solution:

Answer: C
Explanation: Both of the above options are correct.

QUESTION: 4

 Which of the following HTTP method should be idempotent in nature?

Solution:

Answer: b
Explanation: DELETE operations should be idempotent, means their result will always same no matter how many times these operations are invoked.

QUESTION: 5

Which of the following directive of Cache Control Header of HTTP response indicates that resource is cachable by only client and server?

Solution:

Answer: b
Explanation: Private directive indicates that resource is cachable by only client and server, no intermediary can cache the resource.

QUESTION: 6

Which of the following HTTP Status code means CREATED, when a resource is successful created using POST or PUT request?

Solution:

Answer: b
Explanation: HTTP Status Code 201 means CREATED, when a resource is successful created using POST or PUT request.

QUESTION: 7

Which of the following annotation of JAX RS API is used to annotate a method used to create resource?

Solution:

Answer: C
Explanation: @PUT – HTTP Get request, used to create resource.

QUESTION: 8

Which of the following annotation of JAX RS API binds the parameter passed to method to a HTTP matrix parameter in path?

Solution:

Answer: c
Explanation: @MatrixParam – Binds the parameter passed to method to a HTTP matrix parameter in path.

QUESTION: 9

In REST architecture, a REST Server simply provides access to resources and REST client accesses and presents the resources.

Solution:

Answer: b
Explanation: In REST architecture, a REST Server simply provides access to resources and REST client accesses and presents the resources.

QUESTION: 10

POST operations should be idempotent.

Solution:

Answer: b
Explanation: POST operation can cause different result.

Use Code STAYHOME200 and get INR 200 additional OFF
Use Coupon Code