exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 286 discussion

Actual exam question from Cisco's 200-901
Question #: 286
Topic #: 1
[All 200-901 Questions]



Refer to the exhibit. Which HTTP code is returned after the RESTCONF query is executed?

  • A. 201
  • B. 204
  • C. 302
  • D. 304
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
herrmann69
Highly Voted 9 months, 4 weeks ago
Selected Answer: A
I can't delete my other comment. I think A is correct - not B. I kept searching and found another resource: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/171/b_171_programmability_cg/restconf_protocol.html#reference_64683574281833241652455754795825 there, the same request is used with curl - the response code is 201
upvoted 5 times
...
herrmann69
Most Recent 9 months, 4 weeks ago
Selected Answer: B
https://github.com/YangModels/yang/blob/main/vendor/cisco/xe/1721/Cisco-IOS-XE-logging.yang line 616 is the severity leaf of the logging/monitor container https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/166/b_166_programmability_cg/restconf_prog_int.pdf page 10 is doing something similar with PUT and the logging/monitor/severity the response there is 204 Since the monitoring config does not really get created, only changes the current severity level, I would select answer B I'm not 100% sure though.
upvoted 1 times
...
rtg2123
1 year, 9 months ago
I think A is correct because is a POST operation and if successful it is expected to have status code 201 - Created. I have found something similar to this here: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/166/b_166_programmability_cg/restconf_prog_int.pdf
upvoted 3 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 ...