WorksheetsAPI Styles Fundamentals
Total questions: 10
Worksheet time: 6mins
Which of the following is not an HTTP method?
CREATE
POST
PUT
OPTION
How would you configure a RESTful URL parameter that supports a search for a book based on its ID?
GET /{id}/books/
GET /books/{id}
GET /book?id={id}
GET /books?id={id}
Which header should be configured to tell the server XML is preferred over JSON?
Accept
Content-Type
User-Agent
GET
The ability to invoke a RESTful method multiple times without changing the state of the server on subsequent invocations is known as:
Idempotence
Immutability
Statefulness
Uniformity
For duplex communication we can’t use ____________
Long Polling
HTML5
JavaScript
Streaming
When can Websocket be used?
Shopping Websites
Real-time applications
Banking Websites
NONE
Websocket is a computer communications protocol, providing _________ communication channels over a single TCP connection.
half-duplex
one-direction
full-duplex
full dimensional
Refer to the image. Choose the correct option:
5 - Producer;
1 - Consumer;
2 - Channel;
3 - Exchange;
4 - Queue;
3 - Producer;
2 - Channel;
1 - Exchange;
5 - Queue;
4 - Consumer;
1 - Producer;
2 - Channel;
3 - Exchange;
4 - Queue;
5 - Consumer;
4 - Channel;
2 - Exchange;
1 - Queue;
3 - Consumer;
5 - Producer;
A queue must be bound to an exchange in order to receive messages from it
True
False
What are the main GraphQL supported operations ?
Only Query
Query , Mutation and Subscription
Only Mutation
Query and Mutation
