exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 218 discussion

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



Refer to the exhibits. An interface named `GigabitEthernet2` has been configured on a Cisco IOS XE device.
Using RESTCONF APIs as defined by the [email protected] model, which two combinations of `rest_operation` and `payload` must be added to the Python script to set the `description` to `Configured by RESTCONF`? (Choose two.)
A.

B.

C.

D.

E.

Show Suggested Answer Hide Answer
Suggested Answer: AB

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
python_tamer
Highly Voted 2 years, 2 months ago
I think AC. A - PATCH is an update so A could just update the description here. B - PUT is a replace so you'd lose your existing IP, mask, etc config. C - PUT is a replace but you're re-adding all the config. D - POST is for new objects. No good here as Gi2 already exists. E - POST is for new objects. No good here as Gi2 already exists.
upvoted 19 times
designated
1 year, 8 months ago
You nailed it!
upvoted 4 times
...
...
valbonarexhepi
Highly Voted 2 years, 2 months ago
A and C
upvoted 5 times
...
juangalvez284
Most Recent 6 months, 3 weeks ago
A and C
upvoted 1 times
...
i9t6
10 months, 2 weeks ago
A is correct, B, C PUT "Status: 405 Method Not Allowed" wheb trying in the devnet XE sandbox D, E POST "Status: 409 Conflict", "error-message": "object already exists also C and E "ietf=interfaces" vs "ietf-interfaces" notice "=" probably C, but not with these errors D,E
upvoted 1 times
...
Teringzooi
1 year, 7 months ago
Correct answer: A & C A = patch = update C = put = create / replace GET = Read PATCH = Update PUT = Create or Replace POST = Create or Operations (reload, default) DELETE = Deletes the targeted resource HEAD = Header metadata (no response body) https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/168/b_168_programmability_cg/RESTCONF.pdf
upvoted 2 times
...
designated
1 year, 8 months ago
The following table shows how the RESTCONF operations relate to NETCONF protocol operations: GET = Read PATCH = Update PUT = Create or Replace POST = Create or Operations (reload, default) DELETE = Deletes the targeted resource HEAD = Header metadata (no response body) https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/168/b_168_programmability_cg/RESTCONF.pdf
upvoted 2 times
...
__al__
2 years, 1 month ago
A and C makes sense
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago