Cisco
300-535 · Question #48
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.)
The correct answer is B. If the specified configuration is already in the running configuration, the command is not replaced E. If the specified configuration is not on the device, the POST request creates it. 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
Design for Cisco Cloud Automation
Question
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.)
Exhibit
Options
- AIf the specified configuration is already in the running configuration, the command is replaced by
- BIf the specified configuration is already in the running configuration, the command is not replaced
- CIf the specified configuration is already executed in the running configuration, the command is
- DIf the specified configuration is already in the running configuration, the command updates this
- EIf the specified configuration is not on the device, the POST request creates it.
How the community answered
(36 responses)- A8% (3)
- B69% (25)
- C6% (2)
- D17% (6)
Explanation
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
Topics
#RESTCONF#POST method#idempotency#configuration management
Community Discussion
No community discussion yet for this question.
