Refer to the exhibit. An automation engineer has created a RESTCONF POST to configure network devices. Which two tasks are accomplished when the code is executed? (Choose two.)
A.
If the specified configuration is already in the running configuration, the command is replaced by this request.
B.
If the specified configuration is already in the running configuration, the command is not replaced by this request.
C.
If the specified configuration is already executed in the running configuration, the command is merged with this request.
D.
If the specified configuration is already in the running configuration, the command updates this request.
E.
If the specified configuration is not on the device, the POST request creates it.
The POST method creates a new resource, and if that resource already exists,
a “409 Conflict” status line is returned.
The PUT method also creates a resource, but unlike the POST method, PUT replaces
a resource if it finds that it already exists. When a PUT method creates a resource,
a “201 Created” response is sent back to the client. If the resource already
exists and is replaced by the PUT request, a “204 No Content” response is sent
back to the client
The primary way to edit a resource is using the PATCH method. The PATCH method
enables you to selectively edit the target resource.
Answer :- BE
https://datatracker.ietf.org/doc/html/rfc8040
If the data resource already exists, then the POST request MUST fail
and a "409 Conflict" status-line MUST be returned. The error-tag
value "resource-denied" is used in this case.
Agree. B & E.
If the data resource already exists, then the POST request MUST fail
and a "409 Conflict" status-line MUST be returned. The error-tag
value "resource-denied" is used in this case.
https://tools.ietf.org/html/rfc8040#section-4.4
This section is not available anymore. Please use the main Exam Page.300-535 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.
working_on_hcip
6 months, 1 week agoMellon
1 year, 8 months agopablodvs
2 years, 5 months agophc1978
2 years, 10 months agobocadepez
3 years, 6 months agochimee
3 years, 6 months ago