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
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.
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.
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.
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."
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
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.
This section is not available anymore. Please use the main Exam Page.350-401 Exam Questions
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.
Alberht
Highly Voted 2 years, 2 months agoDarude
Highly Voted 2 years ago[Removed]
Most Recent 6 months, 1 week agolimon408
10 months agolimon408
10 months agoteems5uk
11 months, 1 week agoChuckzero
1 year, 3 months agomarkymark874
1 year, 11 months agoiGlitch
2 years, 1 month agotckoon
2 years, 1 month agoAlberht
2 years, 2 months agoDeu_Inder
2 years, 2 months agoDegen6969
1 year, 7 months ago