Question 20
At fictional Thornwick Health Trust, during a remote branch provisioning pilot, the operator observes: An engineer builds a RESTCONF URI without a required interface-list key and receives a resource-not-found or ambiguous-target error. What should the team add to its network automation operating process?
Explanation
Correct Answer
Derive endpoint templates from the published YANG list keys and reject unkeyed destructive list updates. This prevents the recurrence because rESTCONF exposes list entries through resource identifiers determined by the keys declared in the YANG model. A matching immediate correction is: Address the exact YANG list instance using its fully encoded key values in the RESTCONF data resource path.
Incorrect Answers
The proposed action belongs to the mechanism: infrastructure as code, low-code workflows and custom software solve different state-lifecycle and integration needs. Here the stated fault follows a different mechanism: rESTCONF exposes list entries through resource identifiers determined by the keys declared in the YANG model. The corrective choice is “Derive endpoint templates from the published YANG list keys and reject unkeyed destructive list updates”.
The offered action targets: safe network automation separates preflight, controlled deployment, verification and recovery instead of assuming all endpoints will succeed. The case facts point instead to: rESTCONF exposes list entries through resource identifiers determined by the keys declared in the YANG model. Implement “Derive endpoint templates from the published YANG list keys and reject unkeyed destructive list updates” to address that specific condition.
The proposed action belongs to the mechanism: robust batch automation isolates errors at the per-resource boundary and retains auditable partial outcomes. Here the stated fault follows a different mechanism: rESTCONF exposes list entries through resource identifiers determined by the keys declared in the YANG model. The corrective choice is “Derive endpoint templates from the published YANG list keys and reject unkeyed destructive list updates”.