exam questions

Exam 350-601 All Questions

View all questions & answers for the 350-601 exam

Exam 350-601 topic 1 question 396 discussion

Actual exam question from Cisco's 350-601
Question #: 396
Topic #: 1
[All 350-601 Questions]



Refer to the exhibit. Which feature must be implemented on Postman to receive the response from a Cisco Nexus 9000 Series Switch?

  • A. API token in the APIC-cookie
  • B. username and password in the Nexus-cookie
  • C. username and password in the api/mo header
  • D. certificate in the HTML Nexus-API header
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
bizzar7774
1 week, 5 days ago
Selected Answer: C
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.
upvoted 1 times
...
CoAsT_x
2 months ago
Selected Answer: C
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>
upvoted 1 times
CoAsT_x
2 months ago
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.
upvoted 1 times
...
...
asd248402
3 months ago
Selected Answer: C
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.
upvoted 1 times
...
Huberttheman
1 year ago
Selected Answer: A
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.
upvoted 1 times
udo2020
4 months ago
I don't think you are right. Because your mentioned sequence is about ACI / APIC and not Nexus NX OS. I think it should be C.
upvoted 1 times
...
...
Scheldon
1 year, 2 months ago
Selected Answer: A
Based on what I found I believe it is A
upvoted 1 times
...
7korn7
1 year, 5 months ago
Selected Answer: A
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
upvoted 4 times
ciscoshare2022
1 year, 3 months ago
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
...
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago