The answer is C because the structure of the URL (api/mo/sys/intf/phys-[eth1/3].json) aligns with the NX-API interface of the Nexus NX-OS software. ACI physical interfaces are often referred to in the context of fabric nodes (switches in the ACI fabric) and have URLs like /api/node/mo/topology/pod-[pod-id]/node-[node-id]/sys/phys-[eth1/3].json.
Given this distinction, the provided endpoint targets the Nexus 9000 NX-OS and not Cisco ACI. I hope this helps.
Agree with asd248402. C.
If you look at the address in the URL it is HTTP and from the official cert book, chapter 16 "Key Topic":
Authentication
There are different types of authentication for REST APIs. This means they can use the API to perform operations that not only read data but also add, edit, and delete data. These access rights are typically based on user-assigned roles such as Administrator that would have full rights to change data, whereas a plain User role might have read-only access rights.
The following list shows the types of authentication controls:
None: The Web API resource is public; anybody can place a call. Generally, the case for GET methods, rarely for POST, PUT, DELETE.
Basic HTTP: The username and password are passed to the server in an encoded string.
<SNIP>
Another snippet from same area and mentions Google (postman)
An application programming interface (API) is a way for two pieces of software to talk to each other. An API allows for the development of rich applications with a wide variety of functionality. Let’s go through an example.
Suppose you are the creator of an online marketplace named Jack’s Shop, where people can come to buy stuff and get it delivered to their home/office. How do you track which user purchased what? You need to maintain a database with user accounts and user order history. But you don’t want to maintain a user credentials database in-house. You would like your users to log in using their Google or Facebook accounts. How do you achieve this? A simple answer to this question would be using the Facebook API or Google API to authenticate users.
NX-API is integrated into the authentication system on the device. Users must have appropriate accounts to access the device through NX-API. NX-API uses HTTP basic authentication. All requests must contain the username and password in the HTTP header.
From Nexus REST API documentation:
The typical sequence of configuration is:
Authenticate: Call https://<IP of Nexus switch>/api/aaaLogin.xml with a payload that in XML is <aaaUser name='username' pwd= 'password'/>. This call returns a cookie value that the browser uses for the next calls.
Send POST to apply the configuration: The URL of the POST message varies depending on the object, the following is an example: https://<IP of Nexus switch>/api/mo/sys/bgp/inst.json, where api indicates that this call is to the API, mo indicates that this call is to modify a managed object, bgp/inst refers to the BGP instance, and .json indicates that the payload is in JSON format. If the end of URL were .xml, that would mean that the payload is in XML format.
The correct asnwer is A
Subsequent operations on the REST API can use this token value as a cookie named APIC-cookie to authenticate future requests
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/3-x/rest-api-config/b_Cisco_APIC_REST_API_Configuration_Guide_3x/b_Cisco_APIC_REST_API_Configuration_Guide_chapter_01.html
question is about Nexus 9000 RSET API, your response and link are about APIC and ACI REST API.
I think the correct answer is C
upvoted 2 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
bizzar7774
1 week, 5 days agoCoAsT_x
2 months agoCoAsT_x
2 months agoasd248402
3 months agoHuberttheman
1 year agoudo2020
4 months agoScheldon
1 year, 2 months ago7korn7
1 year, 5 months agociscoshare2022
1 year, 3 months ago