exam questions

Exam 300-535 All Questions

View all questions & answers for the 300-535 exam

Exam 300-535 topic 1 question 23 discussion

Actual exam question from Cisco's 300-535
Question #: 23
Topic #: 1
[All 300-535 Questions]


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.
Show Suggested Answer Hide Answer
Suggested Answer: BE 🗳️

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
working_on_hcip
6 months, 1 week ago
Selected Answer: BE
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.
upvoted 1 times
...
Mellon
1 year, 8 months ago
should be B,E
upvoted 2 times
...
pablodvs
2 years, 5 months ago
Selected Answer: BE
POST creates a new object o resource, not update.
upvoted 2 times
...
phc1978
2 years, 10 months ago
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.
upvoted 2 times
...
bocadepez
3 years, 6 months ago
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
upvoted 3 times
...
chimee
3 years, 6 months ago
SHOULD be B n E
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago