Question 300
While investigating a reproducible simulation for fictional Windward Maritime, the team reports: A YANG-driven script uses a generic key name that is not in the device's supported schema, causing server-side validation rejection. Which targeted correction best addresses the network automation failure?
Explanation
Correct Answer
Construct JSON using the published YANG container hierarchy, qualified node names and correct value types. This addresses the problem because yANG defines node hierarchy, namespaces, list keys and data types; conforming JSON must preserve that structure. Confirm success using: The payload validates against the YANG schema and the RESTCONF server accepts the exact intended interface resource. Applied here, the relevant facts are: A YANG-driven script uses a generic key name that is not in the device's supported schema, causing server-side validation rejection. The question asks which targeted correction best addresses the network automation failure.
Incorrect Answers
The offered action targets: container start ordering does not inherently guarantee service readiness; health conditions and retries address that gap. The case facts point instead to: yANG defines node hierarchy, namespaces, list keys and data types; conforming JSON must preserve that structure. Implement “Construct JSON using the published YANG container hierarchy, qualified node names and correct value types” to address that specific condition.
This alternative is a response to another technical cause: a GitLab pipeline exit code identifies failure, while job logs and test artifacts reveal the specific causal stage and assertion. The reported case instead depends on: yANG defines node hierarchy, namespaces, list keys and data types; conforming JSON must preserve that structure. The action that directly addresses it is “Construct JSON using the published YANG container hierarchy, qualified node names and correct value types”.
The proposed action belongs to the mechanism: deployment command success is not the same as verified service success; operational checks must follow state changes. Here the stated fault follows a different mechanism: yANG defines node hierarchy, namespaces, list keys and data types; conforming JSON must preserve that structure. The corrective choice is “Construct JSON using the published YANG container hierarchy, qualified node names and correct value types”.