Online Exam Quiz

questionQuestion  1 to 30

Which MIME type is commonly used for sending JSON data over HTTP in RESTful services?

  • text/xml
  • application/xml
  • text/plain
  • application/json
Mark for review

What does the term 'idempotent' mean in the context of HTTP methods?

  • Single request has no effect
  • Multiple identical requests have different effects as a single request
  • Multiple identical requests have the same effect as a single request
  • Single request has an effect
Mark for review

What is the purpose of idempotency in HTTP methods in RESTful services?

  • Ensures that multiple identical requests have the same effect as a single request
  • Ensures that single request has an effect
  • Ensures that single request has no effect
  • Ensures that multiple identical requests have different effects as a single request
Mark for review

What is the role of URI in RESTful architecture?

  • Defines methods for operations
  • Encodes data in requests
  • Establishes session
  • Identifies resources uniquely
Mark for review

Which HTTP status code is used to indicate that the server understands the request but refuses to authorize it in RESTful services?

  • 405 Method Not Allowed
  • 401 Unauthorized
  • 409 Conflict
  • 403 Forbidden
Mark for review

Which HTTP status code is used to indicate that the client needs to authenticate in order to access a resource in RESTful services?

  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not Found
  • 405 Method Not Allowed
Mark for review

Which MIME type is commonly used for sending form data over HTTP in RESTful services?

  • application/json
  • application/x-www-form-urlencoded
  • text/plain
  • text/xml
Mark for review

What is the purpose of URI templates in RESTful services?

  • To define URI patterns for resources
  • To provide security
  • To handle HTTP methods
  • To encode data in requests
Mark for review

Which HTTP method is used to create a new resource in RESTful services?

  • GET
  • PUT
  • DELETE
  • POST
Mark for review

Which HTTP method is idempotent in nature among the following?

  • POST
  • PUT
  • DELETE
  • GET
Mark for review

Which HTTP status code is used to indicate that the request could not be processed because of conflict in RESTful services?

  • 404 Not Found
  • 401 Unauthorized
  • 409 Conflict
  • 403 Forbidden
Mark for review

What is the purpose of HTTP PUT method in RESTful services?

  • Create a resource
  • Fetch a resource
  • Delete a resource
  • Update a resource
Mark for review

What does the term 'resource identifier' refer to in RESTful services?

  • Programming logic
  • URI that uniquely identifies a resource
  • Server configuration
  • User interface
Mark for review

What is the purpose of OPTIONS method in RESTful services?

  • To retrieve a representation of the resource
  • To create a new resource
  • To update the resource
  • To describe the communication options for the target resource
Mark for review

Which HTTP status code is used to indicate a successful resource creation in RESTful services?

  • 201 Created
  • 404 Not Found
  • 200 OK
  • 204 No Content
Mark for review

What does the term 'stateless' mean in the context of RESTful services?

  • Server manages user sessions
  • Server stores client state
  • Server uses encrypted data
  • Server does not store client state
Mark for review

Which HTTP methods are commonly used in RESTful services for performing CRUD operations?

  • DELETE
  • POST
  • GET
  • PUT
Mark for review

What does the term 'resource state' refer to in RESTful services?

  • Programming logic
  • User interface
  • Server configuration
  • Data and representations of a resource
Mark for review

Which HTTP method is used for retrieving data from RESTful services?

  • DELETE
  • PUT
  • POST
  • GET
Mark for review

What does the term 'query parameter' refer to in RESTful services?

  • Programming logic
  • Additional information in the URL query string
  • Server configuration
  • User interface
Mark for review

Which HTTP method is used to request a specific part of a resource in RESTful services?

  • POST
  • PUT
  • PATCH
  • GET
Mark for review

Which HTTP status code is used to indicate that the client's request cannot be processed due to semantic errors?

  • 404 Not Found
  • 500 Internal Server Error
  • 400 Bad Request
  • 422 Unprocessable Entity
Mark for review

What is the purpose of HTTP PATCH method in RESTful services?

  • Create a resource
  • Fetch a resource
  • Partially update a resource
  • Delete a resource
Mark for review

Which HTTP method is not safe to be retried automatically in case of network failures in RESTful services?

  • PUT
  • POST
  • DELETE
  • GET
Mark for review

What does the term 'resource representation' refer to in RESTful services?

  • User authentication
  • Data format used to represent a resource
  • Client interface
  • Server configuration
Mark for review

Which HTTP status code is used to indicate that the request has been fulfilled and has resulted in one or more new resources being created?

  • 201 Created
  • 200 OK
  • 204 No Content
  • 404 Not Found
Mark for review

Which HTTP header is used to request the response format in RESTful services?

  • Content-Type
  • Request-Type
  • Response-Format
  • Accept
Mark for review

What is the purpose of content-length header in RESTful services?

  • Indicates the size of the entity-body
  • Indicates the HTTP method
  • Indicates the content type
  • Indicates the response format
Mark for review

Which HTTP header is used to specify the allowed methods for a resource in RESTful services?

  • Access-Control-Allow-Methods
  • Allow
  • Allow-Methods
  • Accept-Method
Mark for review

In RESTful services, what does HATEOAS stand for?

  • Hypermedia As The Engine Of Application State
  • Hypermedia As The Entry Of Application State
  • Hypermedia As The Exit Of Application State
  • Hypertext As The Engine Of Application State
Mark for review

blinkerOnline

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • Answered
  • Not Answered
  • Marked for Review