350-501 · Question #16
Refer to the exhibit. What is the URL used for with REST API?
The correct answer is C. It is used to send a message to the APIC to perform an operation on a managed object or class. In the context of REST API interactions with Cisco APIC, a URL is used to identify and specify the target managed object or class upon which an operation is to be performed.
Question
Refer to the exhibit. What is the URL used for with REST API?
Options
- AIt is used to contact a URL filter to determine the efficacy of a web address
- BIt is used to send a TACACS+ authentication request to a server
- CIt is used to send a message to the APIC to perform an operation on a managed object or class
- DIt is used to initiate an FTP session to save a running configuration of a device.
How the community answered
(51 responses)- A2% (1)
- B2% (1)
- C90% (46)
- D6% (3)
Why each option
In the context of REST API interactions with Cisco APIC, a URL is used to identify and specify the target managed object or class upon which an operation is to be performed.
A URL filter is a security mechanism used to determine the validity or safety of web addresses for browsing, which is unrelated to the function of a URL in a REST API call to a management controller like APIC.
TACACS+ is an AAA protocol, and its authentication requests are not typically formulated as a REST API URL targeting an APIC managed object.
In RESTful architecture, the Uniform Resource Locator (URL) identifies a specific resource, which, for Cisco APIC, corresponds to a managed object or class upon which an API call will perform an operation like GET, POST, PUT, or DELETE.
An FTP session uses a specific protocol for file transfer and is distinct from how a URL functions in a REST API call to interact with managed objects.
Concept tested: REST API fundamentals - URL and resource identification
Source: https://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/1-x/api/guide/b_Cisco_APIC_REST_API_User_Guide/b_Cisco_APIC_REST_API_User_Guide_chapter_01.html
Topics
Community Discussion
No community discussion yet for this question.