exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 420 discussion

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

DRAG DROP -

Refer to the exhibit. Drag and drop the snippets into the RESTCONF request to form the request that returns this response. Not all options are used.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:

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
[Removed]
Highly Voted 1 year ago
given answer is correct URL:http://10.10.10.10/restconf/api/running/native/interface/ ((( GigabitEthernet/1/ ))) This URL points to the specific interface (GigabitEthernet 1) whose configuration we want to retrieve. HTTP Verb: ((( GET ))) You use the GET method to retrieve data from a specified resource. Since you are retrieving the current configuration of the interface. Headers: ((( Accept ))) - application/vnd.yang.data+json The Accept header tells the server that the client expects the response in a specific format, which is application/vnd.yang.data+json
upvoted 7 times
AbdullahMohammad251
9 months, 3 weeks ago
Also note that the body field is empty as indicated by 'N/A (not applicable)' next to it, which means that we don't need to specify the content-type header in the request.
upvoted 2 times
...
...
5eba813
Most Recent 1 year, 3 months ago
what is the correct order ?
upvoted 1 times
...
dragonwise
2 years, 2 months ago
Does anybody know what is the Accept keyword for?
upvoted 1 times
bk989
2 years, 1 month ago
The "Accept" header field can be used by user agents to specify response media types that are acceptable. The Accept header always indicates what kind of response from the server a client can accept.
upvoted 4 times
...
...
Stylar
2 years, 6 months ago
GET retrieves data. PUT or POST if successful would return a 204 no content code. If you would then need to check if it was done, you would use GET to see what has happened.
upvoted 2 times
...
dougj
2 years, 7 months ago
GET is used to retrieve config data, both POST and PUT are used to send data
upvoted 2 times
...
Deu_Inder
2 years, 9 months ago
Hi, can anyone help me with 'http verb' here? How can it be get? We are putting the configuration from a client machint to the device running RESTCONF (a https server) right?
upvoted 1 times
uzbin
2 years, 8 months ago
It is PUT or POST. I am leaning towards PUT.
upvoted 1 times
...
RREVECO
2 years, 8 months ago
I think it's GET the question says: "Drag and drop the snippets into the RESTCONF request to form the request that returns this response" POST = create PUT = replace GET = get/get-config
upvoted 5 times
FrameRelay
2 years, 8 months ago
Agreed, GET
upvoted 2 times
...
...
M_B
2 years, 5 months ago
The question states "RESTCONF Rquest" so should be GET
upvoted 1 times
...
FrameRelay
2 years, 8 months ago
no, the question reads "form the request that returns this response", therefore has to be a GET because its returning the values, not configuring them.
upvoted 6 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 ...