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
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.
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
...
This section is not available anymore. Please use the main Exam Page.200-901 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.
herrmann69
Highly Voted 9 months, 4 weeks agoherrmann69
Most Recent 9 months, 4 weeks agortg2123
1 year, 9 months ago