A user retrieves data in JSON format from an application by submitting a GET request on TCP port 80. Which of the following technologies are most likely in use? (Choose two.)

Last Updated on August 2, 2021 by Admin 2

A user retrieves data in JSON format from an application by submitting a GET request on TCP port 80.

Which of the following technologies are most likely in use? (Choose two.)

  • XML
  • SOAP
  • HTTPS
  • HTTP
  • REST API
Explanation:

Most likely, representational state transfer (REST) Application Programming Interface (API) and Hypertext Transfer Protocol (HTTP) are in use if a user retrieves data in JavaScript Object Notation (JSON) format from an application by submitting a GET request on Transmission Control Protocol (TCP) port 80. REST is an API architecture that uses HTTP or HTTP Secure (HTTPS) to enable external resources to access and make use of programmatic methods that are exposed by the API. In this way, users can interact with specific portions of a data structure from a remote system. By default, HTTP operates on TCP port 80. A GET request is an HTTP method of retrieving information from an HTTP server.
It is not likely that HTTPS is in use in this scenario, because the TCP port on which the GET request is being made is the HTTP port. If the encrypted HTTPS protocol was being used in this scenario, the TCP port on which the request is being made would most likely be TCP port 443. By default, HTTPS servers listen for traffic on TCP port 443. On Cisco Application Policy Infrastructure Controller (APIC) devices, HTTPS, not HTTP, is enabled by default. It is possible to enable HTTP on an APIC device. However, HTTP is less secure than HTTPS and is therefore not recommended for that purpose.
It is not likely that Simple Object Access Protocol (SOAP) API is being used in this scenario, because the user is retrieving data from a Cisco APIC device. Cisco APIC does not support SOAP, which is an older API messaging protocol that uses HTTP and XML to enable communication between devices. SOAP APIs are typically more resource-intensive than more modern APIs and, therefore, slower. Open APIs can be used to enable services such as billing automation and centralized management of cloud infrastructure.
Extensible Markup Language (XML) is not in use in this scenario. XML is an output format that is supported by REST API. However, in this scenario, the user has retrieved data from the Cisco APIC device in JSON format.

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments