exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 287 discussion

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



Refer to the exhibit. The Python code manages a Cisco CSR 1000V router. Which code snippet must be placed in the blank in the code to update the current configuration of the targeted resource?

  • A.
  • B.
  • C.
  • D.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
i9t6
11 months ago
Selected Answer: D
D, tested in sandbox
upvoted 1 times
...
jithin1234
1 year ago
Selected Answer: D
it's D https://rstforum.net/whitepaper/lab-8-restconf-getting-hands-on/
upvoted 4 times
...
lancejack2021
1 year, 1 month ago
It's D, the others threw the below error when I tested it against the Cisco DevNet sandboxes: "ietf-restconf:errors": { "error": [ { "error-type": "application", "error-tag": "malformed-message", "error-path": "/Cisco-IOS-XE-native:native", "error-message": "missing element: native in /ios:native" } ] } }
upvoted 1 times
...
ldlpi
1 year, 1 month ago
Selected Answer: D
Sorry I change my asnwer, read below.
upvoted 1 times
...
ldlpi
1 year, 1 month ago
Selected Answer: B
In other example of: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/1611/b_1611_programmability_cg/restconf_programmable_interface.html We have: # curl -i -k -X "PATCH" "https://10.85.116.30:443/restconf/data/Cisco-IOS-XE-native:native" \ > -H 'Content-Type: application/yang-data+json' \ > -H 'Accept: application/yang-data+json' \ > -u 'admin:admin' \ > -d $'{ > "native": { > "logging": { > "monitor": { > "severity": "informational" > } > } > } > }'
upvoted 2 times
ldlpi
1 year, 1 month ago
Sorry, in this example it overlaps native with native; with our case it will be hostname with hostname?
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 ...