312-50V10 · Question #817
Gilbert, a web developer, uses a centralized web API to reduce complexity and increase the Integrity of updating and changing data. For this purpose, he uses a web service that uses HTTP methods such
The correct answer is D. REST API. A REST API uses standard HTTP methods (GET, POST, PUT, DELETE) to provide scalable, portable, and reliable web service communication.
Question
Gilbert, a web developer, uses a centralized web API to reduce complexity and increase the Integrity of updating and changing data. For this purpose, he uses a web service that uses HTTP methods such as PUT. POST. GET. and DELETE and can improve the overall performance, visibility, scalability, reliability, and portability of an application. What is the type of web-service API mentioned in the above scenario?
Options
- AJSON-RPC
- BSOAP API
- CRESTful API
- DREST API
How the community answered
(29 responses)- B3% (1)
- C7% (2)
- D90% (26)
Why each option
A REST API uses standard HTTP methods (GET, POST, PUT, DELETE) to provide scalable, portable, and reliable web service communication.
JSON-RPC is a remote procedure call protocol that uses JSON encoding to invoke named methods and does not define operations through HTTP verbs like PUT and DELETE.
SOAP API relies on XML-based messaging with a strict protocol envelope and WSDL contract, and does not use lightweight HTTP method-based resource operations.
RESTful API implies strict conformance to all six REST architectural constraints, whereas REST API is the correct broader term for the service described and is the answer the question is looking for.
REST API (Representational State Transfer) is the architectural style that defines resource interaction through HTTP methods such as GET, POST, PUT, and DELETE, directly matching the scenario. It is designed to improve performance, visibility, scalability, reliability, and portability of applications as described.
Concept tested: REST API HTTP methods and architectural characteristics
Source: https://learn.microsoft.com/en-us/azure/architecture/best-practices/api-design
Topics
Community Discussion
No community discussion yet for this question.