Question 90
During a change review at a fictional ecommerce operations center, the engineer observes: A model tree shows an rw entry marked with a star, but a translator treats it as one scalar leaf and rejects multiple values. The team has recovered from YANG leaf-list mistaken for scalar. Which long-term change control is most specific to preventing this failure mode?
- Test namespace URIs explicitly when constructing model-driven XML.
- Parse YANG cardinality directly instead of treating the tree as plain text.
- Enforce XML serialization and parser checks on all user-supplied field values.
- Separate writable configuration and observed state when generating YANG-based changes.
Explanation
Correct Answer
B:Parse YANG cardinality directly instead of treating the tree as plain text. This guardrail specifically monitors or constrains the generator misreads the RFC8340 tree notation for a repeating leaf-list. It is more relevant to the observed incident (a model tree shows an rw entry marked with a star, but a translator treats it as one scalar leaf and rejects multiple values) than a generic service-availability check.
Incorrect Answers
A:This control is designed around the XML data element is qualified with a namespace that does not match its governing YANG module. It would not specifically prevent or detect the generator misreads the RFC8340 tree notation for a repeating leaf-list, which produced the documented observation a model tree shows an rw entry marked with a star, but a translator treats it as one scalar leaf and rejects multiple values.
C:This control is designed around the XML payload contains reserved characters inserted without XML escaping. It would not specifically prevent or detect the generator misreads the RFC8340 tree notation for a repeating leaf-list, which produced the documented observation a model tree shows an rw entry marked with a star, but a translator treats it as one scalar leaf and rejects multiple values.
D:This control is designed around the client is attempting to configure a read-only operational-state YANG node. It would not specifically prevent or detect the generator misreads the RFC8340 tree notation for a repeating leaf-list, which produced the documented observation a model tree shows an rw entry marked with a star, but a translator treats it as one scalar leaf and rejects multiple values.
Question 91
A fictional manufacturing facility reports: An edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation. Which underlying technical failure best accounts for this specific evidence?
- The generator misreads the RFC8340 tree notation for a repeating leaf-list.
- The client assumes that every target advertises an OpenConfig model that some devices do not implement.
- The client is attempting to configure a read-only operational-state YANG node.
- The generated client payload uses a YANG leaf absent from the target's advertised module revision.
Explanation
Correct Answer
C:The client is attempting to configure a read-only operational-state YANG node. Read-only nodes describe observed state and are not writable configuration targets. This explains the reported evidence: an edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation.
Incorrect Answers
A:This describes another failure: the generator misreads the RFC8340 tree notation for a repeating leaf-list, normally seen when an engineer flattens a YANG leaf-list into one string and loses all but the first permitted DNS server. The current case instead reports an edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation, so that alternate cause lacks the discriminating evidence present here.
B:This describes another failure: the client assumes that every target advertises an OpenConfig model that some devices do not implement, normally seen when a campus automation job posts an OpenConfig interface path to one switch and receives an unknown data node error although native interface reads succeed. The current case instead reports an edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation, so that alternate cause lacks the discriminating evidence present here.
D:This describes another failure: the generated client payload uses a YANG leaf absent from the target's advertised module revision, normally seen when a controller update starts rejecting a leaf introduced in a newer module revision while older leaf reads still work. The current case instead reports an edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation, so that alternate cause lacks the discriminating evidence present here.
Question 92
During a change review at a fictional manufacturing facility, the engineer observes: An edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation. Before applying a configuration change, what is the single most discriminating next diagnostic check?
- Inspect the YANG source statement and RFC8340 tree markers for the affected node.
- Read the advertised YANG module-set and compare the supported interface model to the requested path.
- Compare YANG-library module revisions and the leaf's availability in the target schema.
- Inspect the module tree rw and ro annotations for the specific node.
Explanation
Correct Answer
D:Inspect the module tree rw and ro annotations for the specific node. This isolates the relevant mechanism: the client is attempting to configure a read-only operational-state YANG node. The check focuses on the failing layer rather than changing production state on a guess.
Incorrect Answers
A:That check primarily isolates the generator misreads the RFC8340 tree notation for a repeating leaf-list, which can produce an engineer flattens a YANG leaf-list into one string and loses all but the first permitted DNS server. It would not isolate the observed cause: the client is attempting to configure a read-only operational-state YANG node.
B:That check primarily isolates the client assumes that every target advertises an OpenConfig model that some devices do not implement, which can produce a campus automation job posts an OpenConfig interface path to one switch and receives an unknown data node error although native interface reads succeed. It would not isolate the observed cause: the client is attempting to configure a read-only operational-state YANG node.
C:That check primarily isolates the generated client payload uses a YANG leaf absent from the target's advertised module revision, which can produce a controller update starts rejecting a leaf introduced in a newer module revision while older leaf reads still work. It would not isolate the observed cause: the client is attempting to configure a read-only operational-state YANG node.
Question 93
A support engineer for a fictional manufacturing facility records: An edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation. The investigation confirms that the client is attempting to configure a read-only operational-state YANG node. Which focused repair directly removes that cause without disabling unrelated safeguards?
- Remove the read-only node from configuration edits and read it through operational-state retrieval.
- Preserve the leaf-list as a repeatable collection in the payload.
- Select a supported native or OpenConfig path per target instead of sending a universal unsupported path.
- Regenerate the payload for the device-supported revision or upgrade the device through an approved path.
Explanation
Correct Answer
A:Remove the read-only node from configuration edits and read it through operational-state retrieval. It addresses the established root condition: the client is attempting to configure a read-only operational-state YANG node. Read-only nodes describe observed state and are not writable configuration targets.
Incorrect Answers
B:This repair would address the generator misreads the RFC8340 tree notation for a repeating leaf-list, not the confirmed root condition the client is attempting to configure a read-only operational-state YANG node.
C:This repair would address the client assumes that every target advertises an OpenConfig model that some devices do not implement, not the confirmed root condition the client is attempting to configure a read-only operational-state YANG node.
D:This repair would address the generated client payload uses a YANG leaf absent from the target's advertised module revision, not the confirmed root condition the client is attempting to configure a read-only operational-state YANG node.
Question 94
A fictional manufacturing facility reports: An edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation. A targeted change has just been applied for Read-only YANG state leaf edited. Which observable outcome best demonstrates that the original requirement is restored?
- Multiple authorized values can be read back independently without collapsing into one string.
- The configuration update succeeds while the operational value remains available in a state query.
- An authenticated model-driven read and permitted edit succeed against the advertised interface schema.
- The target validates the selected leaf and returns the intended value without unknown-element errors.
Explanation
Correct Answer
B:The configuration update succeeds while the operational value remains available in a state query. This measures the capability affected by the client is attempting to configure a read-only operational-state YANG node. The original reported issue was: an edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation.
Incorrect Answers
A:This check validates recovery from the generator misreads the RFC8340 tree notation for a repeating leaf-list. The actual fault is the client is attempting to configure a read-only operational-state YANG node; its original user-impact evidence (an edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation) could remain unresolved even if that separate check passed.
C:This check validates recovery from the client assumes that every target advertises an OpenConfig model that some devices do not implement. The actual fault is the client is attempting to configure a read-only operational-state YANG node; its original user-impact evidence (an edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation) could remain unresolved even if that separate check passed.
D:This check validates recovery from the generated client payload uses a YANG leaf absent from the target's advertised module revision. The actual fault is the client is attempting to configure a read-only operational-state YANG node; its original user-impact evidence (an edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation) could remain unresolved even if that separate check passed.
Question 95
During a change review at a fictional manufacturing facility, the engineer observes: An edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation. The team has recovered from Read-only YANG state leaf edited. Which long-term change control is most specific to preventing this failure mode?
- Parse YANG cardinality directly instead of treating the tree as plain text.
- Gate deployment on per-device YANG module capability discovery.
- Separate writable configuration and observed state when generating YANG-based changes.
- Pin supported model revisions in the automation compatibility matrix.
Explanation
Correct Answer
C:Separate writable configuration and observed state when generating YANG-based changes. This guardrail specifically monitors or constrains the client is attempting to configure a read-only operational-state YANG node. It is more relevant to the observed incident (an edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation) than a generic service-availability check.
Incorrect Answers
A:This control is designed around the generator misreads the RFC8340 tree notation for a repeating leaf-list. It would not specifically prevent or detect the client is attempting to configure a read-only operational-state YANG node, which produced the documented observation an edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation.
B:This control is designed around the client assumes that every target advertises an OpenConfig model that some devices do not implement. It would not specifically prevent or detect the client is attempting to configure a read-only operational-state YANG node, which produced the documented observation an edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation.
D:This control is designed around the generated client payload uses a YANG leaf absent from the target's advertised module revision. It would not specifically prevent or detect the client is attempting to configure a read-only operational-state YANG node, which produced the documented observation an edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation.
Question 96
During a change review at a fictional university library network, the engineer observes: A policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff. Which underlying technical failure best accounts for this specific evidence?
- The JSON encoding of a modeled YANG list uses an object where an array of list entries is required.
- The generated JSON value does not satisfy the YANG leaf type and range constraints.
- The XML data element is qualified with a namespace that does not match its governing YANG module.
- The client is attempting to configure a read-only operational-state YANG node.
Explanation
Correct Answer
D:The client is attempting to configure a read-only operational-state YANG node. Read-only nodes describe observed state and are not writable configuration targets. This explains the reported evidence: a policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff.
Incorrect Answers
A:This describes another failure: the JSON encoding of a modeled YANG list uses an object where an array of list entries is required, normally seen when a RESTCONF interface POST fails schema validation because a YANG list was serialized as a map instead of an array. The current case instead reports a policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff, so that alternate cause lacks the discriminating evidence present here.
B:This describes another failure: the generated JSON value does not satisfy the YANG leaf type and range constraints, normally seen when a RESTCONF request targeting a numeric range leaf is rejected because the generator encodes it as an alphabetic label. The current case instead reports a policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff, so that alternate cause lacks the discriminating evidence present here.
C:This describes another failure: the XML data element is qualified with a namespace that does not match its governing YANG module, normally seen when a NETCONF edit reports unknown-element for an otherwise correctly named interface leaf; the XML prefix resolves to another module. The current case instead reports a policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff, so that alternate cause lacks the discriminating evidence present here.
Question 97
A support engineer for a fictional university library network records: A policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff. Before applying a configuration change, what is the single most discriminating next diagnostic check?
- Inspect the module tree rw and ro annotations for the specific node.
- Compare the YANG list statement and the parsed JSON hierarchy with a schema-valid generated example.
- Inspect the leaf type and restrictions in the module and compare them with the serialized value.
- Inspect expanded XML element names and compare the namespace URI against the advertised schema.
Explanation
Correct Answer
A:Inspect the module tree rw and ro annotations for the specific node. This isolates the relevant mechanism: the client is attempting to configure a read-only operational-state YANG node. The check focuses on the failing layer rather than changing production state on a guess. The evidence to explain is: a policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff.
Incorrect Answers
B:That check primarily isolates the JSON encoding of a modeled YANG list uses an object where an array of list entries is required, which can produce a RESTCONF interface POST fails schema validation because a YANG list was serialized as a map instead of an array. It would not isolate the observed cause: the client is attempting to configure a read-only operational-state YANG node.
C:That check primarily isolates the generated JSON value does not satisfy the YANG leaf type and range constraints, which can produce a RESTCONF request targeting a numeric range leaf is rejected because the generator encodes it as an alphabetic label. It would not isolate the observed cause: the client is attempting to configure a read-only operational-state YANG node.
D:That check primarily isolates the XML data element is qualified with a namespace that does not match its governing YANG module, which can produce a NETCONF edit reports unknown-element for an otherwise correctly named interface leaf; the XML prefix resolves to another module. It would not isolate the observed cause: the client is attempting to configure a read-only operational-state YANG node.
Question 98
A fictional university library network reports: A policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff. The investigation confirms that the client is attempting to configure a read-only operational-state YANG node. Which focused repair directly removes that cause without disabling unrelated safeguards?
- Serialize list entries using the YANG-defined array structure and correct parent container.
- Remove the read-only node from configuration edits and read it through operational-state retrieval.
- Encode a valid value matching the defined YANG type and permitted range.
- Regenerate the element with the correct module namespace and keep NETCONF envelope namespaces distinct.
Explanation
Correct Answer
B:Remove the read-only node from configuration edits and read it through operational-state retrieval. It addresses the established root condition: the client is attempting to configure a read-only operational-state YANG node. Read-only nodes describe observed state and are not writable configuration targets. The repair should be scoped to the affected workflow and then independently validated.
Incorrect Answers
A:This repair would address the JSON encoding of a modeled YANG list uses an object where an array of list entries is required, not the confirmed root condition the client is attempting to configure a read-only operational-state YANG node.
C:This repair would address the generated JSON value does not satisfy the YANG leaf type and range constraints, not the confirmed root condition the client is attempting to configure a read-only operational-state YANG node.
D:This repair would address the XML data element is qualified with a namespace that does not match its governing YANG module, not the confirmed root condition the client is attempting to configure a read-only operational-state YANG node.
Question 99
During a change review at a fictional university library network, the engineer observes: A policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff. A targeted change has just been applied for Read-only YANG state leaf edited. Which observable outcome best demonstrates that the original requirement is restored?
- A RESTCONF dry run accepts the list structure and returns the expected keyed entries.
- The schema validator and target API both accept the value and return it unchanged.
- The configuration update succeeds while the operational value remains available in a state query.
- The server accepts the XML subtree and a get-config read returns the intended leaf.
Explanation
Correct Answer
C:The configuration update succeeds while the operational value remains available in a state query. This measures the capability affected by the client is attempting to configure a read-only operational-state YANG node. The original reported issue was: a policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff.
Incorrect Answers
A:This check validates recovery from the JSON encoding of a modeled YANG list uses an object where an array of list entries is required. The actual fault is the client is attempting to configure a read-only operational-state YANG node; its original user-impact evidence (a policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff) could remain unresolved even if that separate check passed.
B:This check validates recovery from the generated JSON value does not satisfy the YANG leaf type and range constraints. The actual fault is the client is attempting to configure a read-only operational-state YANG node; its original user-impact evidence (a policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff) could remain unresolved even if that separate check passed.
D:This check validates recovery from the XML data element is qualified with a namespace that does not match its governing YANG module. The actual fault is the client is attempting to configure a read-only operational-state YANG node; its original user-impact evidence (a policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff) could remain unresolved even if that separate check passed.
Question 100
A support engineer for a fictional university library network records: A policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff. The team has recovered from Read-only YANG state leaf edited. Which long-term change control is most specific to preventing this failure mode?
- Schema-validate JSON instances against the exact YANG revision in CI.
- Derive JSON field types and validation rules from the published module rather than spreadsheet guesses.
- Test namespace URIs explicitly when constructing model-driven XML.
- Separate writable configuration and observed state when generating YANG-based changes.
Explanation
Correct Answer
D:Separate writable configuration and observed state when generating YANG-based changes. This guardrail specifically monitors or constrains the client is attempting to configure a read-only operational-state YANG node. It is more relevant to the observed incident (a policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff) than a generic service-availability check.
Incorrect Answers
A:This control is designed around the JSON encoding of a modeled YANG list uses an object where an array of list entries is required. It would not specifically prevent or detect the client is attempting to configure a read-only operational-state YANG node, which produced the documented observation a policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff.
B:This control is designed around the generated JSON value does not satisfy the YANG leaf type and range constraints. It would not specifically prevent or detect the client is attempting to configure a read-only operational-state YANG node, which produced the documented observation a policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff.
C:This control is designed around the XML data element is qualified with a namespace that does not match its governing YANG module. It would not specifically prevent or detect the client is attempting to configure a read-only operational-state YANG node, which produced the documented observation a policy generator includes hardware counters from a tree's read-only branch in an intended configuration diff.
Automating Cisco Enterprise Solutions (ENAUTO) (300-435) Practice Tests