exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 426 discussion

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


Refer to the exhibit. What is the result of the API request?

  • A. The native interface information is read from the network appliance.
  • B. The information for all interfaces is read from the network appliance.
  • C. The ג€paramsג€ variable reads data fields from the network appliance.
  • D. The ג€paramsג€ variable sends data fields to the network appliance.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Alberht
Highly Voted 2 years, 2 months ago
Selected Answer: B
I think All Interfaces could be the answer as there is no such thing as one native interface on a device. See below link.
upvoted 11 times
...
Darude
Highly Voted 2 years ago
Selected Answer: B
I Find it the correct answer is B Reference: https://www.ciscolive.com/c/dam/r/ciscolive/us/docs/2019/pdf/5eU6DfQV/LTRCRT-2700-LG.pdf page 10 step 7 :Issue an API call to see all configured interfaces on the system. Method: GET URL: https://csr1kv/restconf/data/Cisco-IOS-XE-native:native/interface
upvoted 8 times
...
[Removed]
Most Recent 6 months, 1 week ago
Selected Answer: B
B is more suitable The request targets the /restconf/api/running/native/interface endpoint, so it aims to retrieve interface information within the native configuration hierarchy. However, this doesn't necessarily imply that it's limited to only native interfaces. It could also include subinterfaces or other types of interfaces configured within the native context.
upvoted 2 times
...
limon408
10 months ago
I believe A is correct B says "All Interfaces" this could include tunnels, VLANS, etc The wording for A throws me off but when it says Native Interface I belive it is refering to all Native Interfaces on the device, like all physical interfaces exlucing the virtual ones.
upvoted 1 times
limon408
10 months ago
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/171/b_171_programmability_cg/restconf_protocol.html
upvoted 1 times
...
...
teems5uk
11 months, 1 week ago
Selected Answer: A
1.) method: "GET" indicates that it's a GET request, which is typically used for retrieving information. 2.) url: "/restconf/api/running/native/interface" specifies the URL endpoint for the request. 3.) params: {"Accept": ...} includes the request headers, specifying the accepted media types. 4.) data: {} is an empty object, indicating that no additional data is sent in the request body. Based on the above, the request is a GET request to retrieve information about the native interfaces from the network appliance. Therefore, the correct answer is: A. The native interface information is read from the network appliance.
upvoted 1 times
...
Chuckzero
1 year, 3 months ago
The correct answer is B. The JSON object structure provided is actually reading the Native interfaces, but all the information for all interface is read from the network appliance. The Params: This section includes multiple "Accept" headers with different media types, indicating the content types that the client is willing to accept as a response from the server. The provided media types are "application/vnd.yang.collection+json," "application/vnd.yang.data+json," and "application/vnd.yang.datastore+json."
upvoted 1 times
...
markymark874
1 year, 11 months ago
Selected Answer: B
B is correct
upvoted 5 times
...
iGlitch
2 years, 1 month ago
Selected Answer: B
Answer is B
upvoted 4 times
...
tckoon
2 years, 1 month ago
Selected Answer: A
A is correct answer. info from slide mention ther is ietf-interface and native interface on rescon url structure. https://www.netacad.com/sites/default/files/images/careers/Webinars/DevNet2/programmability_w_devnet_session_6_content_slides.pdf
upvoted 1 times
...
Alberht
2 years, 2 months ago
I read https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/166/b_166_programmability_cg/restconf_prog_int.pdf and /restconf/api isn't even mentioned. Plus in the native part there is always a specific interface mentioned. I think All Interfaces could be the answer as there is no such thing as one native interface on a device.
upvoted 2 times
...
Deu_Inder
2 years, 2 months ago
Is A the right answer?
upvoted 1 times
Degen6969
1 year, 7 months ago
See darude comment above, B should be correct.
upvoted 1 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 ...