Correcft answer: B
Patch = update
Post = create or operation like reload
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
B is correct since the question is asking to change an existing value (from 192.168.100.1/24 to 10.10.10.1/24)
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)
POST creates new records.
PUT/PATCH updates/partially-updates existing records (meaning it performs a CHANGE).
Since the question wants to CHANGE a value on something that exists, than it can only be B - PATCH
HTTPs Methods
The https-based protocol-RESTCONF (RFC 8040), which is a stateless protocol, uses secure HTTP methods
to provide CREATE, READ, UPDATE and DELETE (CRUD) operations on a conceptual datastore containing
YANG-defined data, which is compatible with a server that implements NETCONF datastores.
The following table shows how the RESTCONF operations relate to NETCONF protocol operations:
OPTIONS SUPPORTED METHODS
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/166/b_166_programmability_cg/restconf_prog_int.pdf
upvoted 2 times
...
This section is not available anymore. Please use the main Exam Page.350-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.
moslig
Highly Voted 1 year, 9 months agoTeringzooi
Most Recent 7 months, 3 weeks agodesignated
8 months, 4 weeks agoferock
1 year ago__al__
1 year, 1 month agoudo2020
1 year, 4 months agocj_kuo
1 year, 5 months agojjkcoins
1 year, 8 months ago