Correct Answer : 2000
Explanation : It's hard to believe, but Roy Fielding delivered his dissertation on REST in 2000, predating the SOA craze, microservices and cloud-native computing. But more than 20 years later, the RESTful architectural style remains prominent in the world of software development.
Correct Answer : Representational State Transfer
Correct Answer : Roy Fielding
Explanation : The term REST was originally defined in Roy Fielding's doctoral dissertation, "Architectural Styles and the Design of Network-based Software Architectures." Kohsuke Kawaguchi created Jenkins. James Gosling invented Java. Linus Torvalds devised Linux and Git.
Correct Answer : Request Header
Explanation : Request Header − Contains metadata for the HTTP Request message as key-value pairs. For example, client ( or browser) type, format supported by client, format of message body, cache settings etc.
Correct Answer : Both (A) and (B)
Explanation : Each resource in REST architecture is identified by its URI. Purpose of an URI is to locate a resource(s) on the server hosting the web service.
Correct Answer : HTTP
Correct Answer : Success
Correct Answer : 405 Method Not Allowed
Correct Answer : Uniform Interface
Correct Answer : curl
Correct Answer : POST
Correct Answer : In REST Services, the client gets access to resources and the server provides access to them.
Correct Answer : OPTION
Correct Answer : idempotency
Correct Answer : an identify layer on top of OAuth 2.0
Correct Answer : DELETE
Explanation : DELETE opearations should be used to delete resource using RESTful web service.
Correct Answer : no-cache/no-store
Correct Answer : 304
Explanation : HTTP Status Code 304 means NOT MODIFIED, used to reduce network bandwidth usage in case of conditional GET requests.
Correct Answer : CORS
Explanation : By default, a RESTful web service will not allow requests from clients outside of the domain and port on which it is hosted. To allow this, cross-origin resource sharing, or CORS, must be enabled.
Correct Answer : PUT
Explanation : When the resource identifier is supplied as part of the URL, along with metadata to be used to create the object, the correct HTTP method to use is PUT.
Correct Answer : Idempotence
Correct Answer : Service orchestration
Explanation : Code on demand, the client-server model and a stateless request-response cycle are all RESTful constraints described in Roy Fielding's dissertation on RESTful web services. Service orchestration, which is most commonly associated with cloud-native Kubernetes clusters, is not a RESTful constraint.
Correct Answer : notify other systems of an event
Correct Answer : It reduce load on servers.
Correct Answer : GET /books/{id}
Explanation : RESTful URLs preferably identify resources through URL parameters as opposed to query parameters. Furthermore, the name of the collection type should precede the unique identifier of the resource, which makes GET /books/{id}
Correct Answer : 404
Correct Answer : 500
Correct Answer : FALSE
N > 0
Correct Answer : Idempotency
Correct Answer : Kebab case
Correct Answer : The uniform interface constraint
Explanation : The uniform interface constraint demands that URLs and URIs be designed in a predictable and consistent manner that is easily navigated and consumed by RESTful clients.
Correct Answer : @HeaderParam
Correct Answer : Server Error
Correct Answer : flexible querying/responses
Correct Answer : /companies/{id} and/companies
Correct Answer : to share features and functionality with other system.
Correct Answer : application/vnd.myapp.v2+json
Correct Answer : No
Correct Answer : must-revalidate
Correct Answer : TCP guarantees delivery of data
Correct Answer : scheme
Correct Answer : octets
Correct Answer : OpenAPI Specification
Correct Answer : Accept
Explanation : The Accept header can be configured to tell the server how to format the exchanged data. The Content-Type header informs the client of the format of the data being delivered. The User-Agent property describes the browser type. GET is an HTTP method, not a standard HTTP header.
Correct Answer : Authentication
Correct Answer : REST is an architectural style
Explanation : REST predates the common use of terms such as cloud-native and microservices by almost 20 years. It is certainly used for web services, but it is not actually a standard. Instead, REST is considered an architectural style.
Explanation : A web service is a collection of open protocols and standards used for exchanging data between applications or systems. Software applications written in various programming languages and running on various platforms can use web services to exchange data over computer networks like the Internet in a manner similar to inter-process communication on a single computer.
Correct Answer : It identifies the client application or SDK.
Correct Answer : data in the token
Correct Answer : API proxy
Correct Answer : Informational
Correct Answer : Response Header
Correct Answer : Code on Demand
Correct Answer : OpenAPI (Swagger)
Correct Answer : @POST
Explanation : @POST − HTTP Get request, used to create/update resource.
Correct Answer : @DefaultValue
Explanation : @DefaultValue − Assigns a default value to a parameter passed to method.
Correct Answer : True
Explanation : RESTful web services use HTTP methods to implement the concept of REST architecture.
Correct Answer : The resource requested has been found and moved temporarily to new URL location.
Correct Answer : 403
Explanation : HTTP Status Code 403 means FORBIDDEN, states that user is not having access to method being used for example, delete access without admin rights
Correct Answer : All of the above.
Correct Answer : Private
Correct Answer : @QueryParam
Explanation : @QueryParam − Binds the parameter passed to method to a query parameter in path.
Correct Answer : Authorization Code Grant
Correct Answer : GET /users/{id}
Correct Answer : tracking downloads
Correct Answer : subresources
Correct Answer : to link two resources together
Correct Answer : ID token