Question 30
During a change review at a fictional regional data center, the engineer observes: An engineer copies an ncclient NETCONF payload into a requests POST; the HTTPS API responds with a bad representation error. The team has recovered from NETCONF edit sent to RESTCONF listener. Which long-term change control is most specific to preventing this failure mode?
- Separate writable configuration and observed state when generating YANG-based changes.
- Test transport, RPC framing and media type together before promoting a protocol adapter.
- Add an explicit commit and post-commit verification stage to candidate-based automations.
- Gate deployment on per-device YANG module capability discovery.
Explanation
Correct Answer
B:Test transport, RPC framing and media type together before promoting a protocol adapter. This guardrail specifically monitors or constrains NETCONF RPC framing is being sent through a RESTCONF HTTP resource endpoint. It is more relevant to the observed incident (an engineer copies an ncclient NETCONF payload into a requests POST; the HTTPS API responds with a bad representation error) than a generic service-availability check.
Incorrect Answers
A: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 NETCONF RPC framing is being sent through a RESTCONF HTTP resource endpoint, which produced the documented observation an engineer copies an ncclient NETCONF payload into a requests POST; the HTTPS API responds with a bad representation error.
C:This control is designed around the workflow edits candidate but never commits the transaction to running. It would not specifically prevent or detect NETCONF RPC framing is being sent through a RESTCONF HTTP resource endpoint, which produced the documented observation an engineer copies an ncclient NETCONF payload into a requests POST; the HTTPS API responds with a bad representation error.
D: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 NETCONF RPC framing is being sent through a RESTCONF HTTP resource endpoint, which produced the documented observation an engineer copies an ncclient NETCONF payload into a requests POST; the HTTPS API responds with a bad representation error.
Question 31
A fictional engineering test facility reports: A NETCONF client edits the candidate datastore and exits without a commit; subsequent running-state reads show the old address. Which underlying technical failure best accounts for this specific evidence?
- The generator misreads the RFC8340 tree notation for a repeating leaf-list.
- The client is attempting to configure a read-only operational-state YANG node.
- The workflow edits candidate but never commits the transaction to running.
- NETCONF RPC framing is being sent through a RESTCONF HTTP resource endpoint.
Explanation
Correct Answer
C:The workflow edits candidate but never commits the transaction to running. A candidate edit does not automatically become active running configuration. This explains the reported evidence: a NETCONF client edits the candidate datastore and exits without a commit; subsequent running-state reads show the old address.
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 a NETCONF client edits the candidate datastore and exits without a commit; subsequent running-state reads show the old address, so that alternate cause lacks the discriminating evidence present here.
B:This describes another failure: the client is attempting to configure a read-only operational-state YANG node, normally seen when an edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation. The current case instead reports a NETCONF client edits the candidate datastore and exits without a commit; subsequent running-state reads show the old address, so that alternate cause lacks the discriminating evidence present here.
D:This describes another failure: NETCONF RPC framing is being sent through a RESTCONF HTTP resource endpoint, normally seen when a Python job opens HTTPS port 443 and posts XML RPC envelopes to a RESTCONF URL that rejects the message media type. The current case instead reports a NETCONF client edits the candidate datastore and exits without a commit; subsequent running-state reads show the old address, so that alternate cause lacks the discriminating evidence present here.
Question 32
During a change review at a fictional engineering test facility, the engineer observes: A NETCONF client edits the candidate datastore and exits without a commit; subsequent running-state reads show the old address. 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.
- Inspect the module tree rw and ro annotations for the specific node.
- Capture the request transport and verify whether it uses an SSH NETCONF session or an HTTPS RESTCONF resource path.
- Inspect advertised candidate capability and compare candidate and running datastores after the RPC sequence.
Explanation
Correct Answer
D:Inspect advertised candidate capability and compare candidate and running datastores after the RPC sequence. This isolates the relevant mechanism: the workflow edits candidate but never commits the transaction to running. 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 workflow edits candidate but never commits the transaction to running.
B:That check primarily isolates the client is attempting to configure a read-only operational-state YANG node, which can produce an edit-config attempts to set a leaf marked ro in an RFC8340 module tree and the device denies the operation. It would not isolate the observed cause: the workflow edits candidate but never commits the transaction to running.
C:That check primarily isolates NETCONF RPC framing is being sent through a RESTCONF HTTP resource endpoint, which can produce a Python job opens HTTPS port 443 and posts XML RPC envelopes to a RESTCONF URL that rejects the message media type. It would not isolate the observed cause: the workflow edits candidate but never commits the transaction to running.
Question 33
A support engineer for a fictional engineering test facility records: A NETCONF client edits the candidate datastore and exits without a commit; subsequent running-state reads show the old address. The investigation confirms that the workflow edits candidate but never commits the transaction to running. Which focused repair directly removes that cause without disabling unrelated safeguards?
- Commit the validated candidate transaction with proper locking and confirmed rollback controls.
- Preserve the leaf-list as a repeatable collection in the payload.
- Remove the read-only node from configuration edits and read it through operational-state retrieval.
- Use NETCONF over its negotiated SSH subsystem for XML RPCs or translate the operation into a valid RESTCONF HTTP request.
Explanation
Correct Answer
A:Commit the validated candidate transaction with proper locking and confirmed rollback controls. It addresses the established root condition: the workflow edits candidate but never commits the transaction to running. A candidate edit does not automatically become active running configuration.
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 workflow edits candidate but never commits the transaction to running.
C:This repair would address the client is attempting to configure a read-only operational-state YANG node, not the confirmed root condition the workflow edits candidate but never commits the transaction to running.
D:This repair would address NETCONF RPC framing is being sent through a RESTCONF HTTP resource endpoint, not the confirmed root condition the workflow edits candidate but never commits the transaction to running.
Question 34
A fictional engineering test facility reports: A NETCONF client edits the candidate datastore and exits without a commit; subsequent running-state reads show the old address. A targeted change has just been applied for NETCONF target datastore mismatch. Which observable outcome best demonstrates that the original requirement is restored?
- Multiple authorized values can be read back independently without collapsing into one string.
- A fresh running-datastore read and traffic probe show the committed route.
- The configuration update succeeds while the operational value remains available in a state query.
- A standards-compliant request returns the expected configuration through the intended protocol.
Explanation
Correct Answer
B:A fresh running-datastore read and traffic probe show the committed route. This measures the capability affected by the workflow edits candidate but never commits the transaction to running. The original reported issue was: a NETCONF client edits the candidate datastore and exits without a commit; subsequent running-state reads show the old address.
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 workflow edits candidate but never commits the transaction to running; its original user-impact evidence (a NETCONF client edits the candidate datastore and exits without a commit; subsequent running-state reads show the old address) could remain unresolved even if that separate check passed.
C:This check validates recovery from the client is attempting to configure a read-only operational-state YANG node. The actual fault is the workflow edits candidate but never commits the transaction to running; its original user-impact evidence (a NETCONF client edits the candidate datastore and exits without a commit; subsequent running-state reads show the old address) could remain unresolved even if that separate check passed.
D:This check validates recovery from NETCONF RPC framing is being sent through a RESTCONF HTTP resource endpoint. The actual fault is the workflow edits candidate but never commits the transaction to running; its original user-impact evidence (a NETCONF client edits the candidate datastore and exits without a commit; subsequent running-state reads show the old address) could remain unresolved even if that separate check passed.
Question 35
During a change review at a fictional engineering test facility, the engineer observes: A NETCONF client edits the candidate datastore and exits without a commit; subsequent running-state reads show the old address. The team has recovered from NETCONF target datastore mismatch. 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.
- Separate writable configuration and observed state when generating YANG-based changes.
- Add an explicit commit and post-commit verification stage to candidate-based automations.
- Test transport, RPC framing and media type together before promoting a protocol adapter.
Explanation
Correct Answer
C:Add an explicit commit and post-commit verification stage to candidate-based automations. This guardrail specifically monitors or constrains the workflow edits candidate but never commits the transaction to running. It is more relevant to the observed incident (a NETCONF client edits the candidate datastore and exits without a commit; subsequent running-state reads show the old address) 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 workflow edits candidate but never commits the transaction to running, which produced the documented observation a NETCONF client edits the candidate datastore and exits without a commit; subsequent running-state reads show the old address.
B: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 workflow edits candidate but never commits the transaction to running, which produced the documented observation a NETCONF client edits the candidate datastore and exits without a commit; subsequent running-state reads show the old address.
D:This control is designed around NETCONF RPC framing is being sent through a RESTCONF HTTP resource endpoint. It would not specifically prevent or detect the workflow edits candidate but never commits the transaction to running, which produced the documented observation a NETCONF client edits the candidate datastore and exits without a commit; subsequent running-state reads show the old address.
Question 36
During a change review at a fictional rural school district, the engineer observes: A staged route modification appears in candidate reads but disappears after a session close during a device rollout. 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 workflow edits candidate but never commits the transaction to running.
Explanation
Correct Answer
D:The workflow edits candidate but never commits the transaction to running. A candidate edit does not automatically become active running configuration. This explains the reported evidence: a staged route modification appears in candidate reads but disappears after a session close during a device rollout.
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 staged route modification appears in candidate reads but disappears after a session close during a device rollout, 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 staged route modification appears in candidate reads but disappears after a session close during a device rollout, 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 staged route modification appears in candidate reads but disappears after a session close during a device rollout, so that alternate cause lacks the discriminating evidence present here.
Question 37
A support engineer for a fictional rural school district records: A staged route modification appears in candidate reads but disappears after a session close during a device rollout. Before applying a configuration change, what is the single most discriminating next diagnostic check?
- Inspect advertised candidate capability and compare candidate and running datastores after the RPC sequence.
- 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 advertised candidate capability and compare candidate and running datastores after the RPC sequence. This isolates the relevant mechanism: the workflow edits candidate but never commits the transaction to running. The check focuses on the failing layer rather than changing production state on a guess. The evidence to explain is: a staged route modification appears in candidate reads but disappears after a session close during a device rollout.
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 workflow edits candidate but never commits the transaction to running.
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 workflow edits candidate but never commits the transaction to running.
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 workflow edits candidate but never commits the transaction to running.
Question 38
A fictional rural school district reports: A staged route modification appears in candidate reads but disappears after a session close during a device rollout. The investigation confirms that the workflow edits candidate but never commits the transaction to running. Which focused repair directly removes that cause without disabling unrelated safeguards?
- Serialize list entries using the YANG-defined array structure and correct parent container.
- Commit the validated candidate transaction with proper locking and confirmed rollback controls.
- 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:Commit the validated candidate transaction with proper locking and confirmed rollback controls. It addresses the established root condition: the workflow edits candidate but never commits the transaction to running. A candidate edit does not automatically become active running configuration. 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 workflow edits candidate but never commits the transaction to running.
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 workflow edits candidate but never commits the transaction to running.
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 workflow edits candidate but never commits the transaction to running.
Question 39
During a change review at a fictional rural school district, the engineer observes: A staged route modification appears in candidate reads but disappears after a session close during a device rollout. A targeted change has just been applied for NETCONF target datastore mismatch. 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.
- A fresh running-datastore read and traffic probe show the committed route.
- The server accepts the XML subtree and a get-config read returns the intended leaf.
Explanation
Correct Answer
C:A fresh running-datastore read and traffic probe show the committed route. This measures the capability affected by the workflow edits candidate but never commits the transaction to running. The original reported issue was: a staged route modification appears in candidate reads but disappears after a session close during a device rollout.
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 workflow edits candidate but never commits the transaction to running; its original user-impact evidence (a staged route modification appears in candidate reads but disappears after a session close during a device rollout) 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 workflow edits candidate but never commits the transaction to running; its original user-impact evidence (a staged route modification appears in candidate reads but disappears after a session close during a device rollout) 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 workflow edits candidate but never commits the transaction to running; its original user-impact evidence (a staged route modification appears in candidate reads but disappears after a session close during a device rollout) could remain unresolved even if that separate check passed.
Question 40
A support engineer for a fictional rural school district records: A staged route modification appears in candidate reads but disappears after a session close during a device rollout. The team has recovered from NETCONF target datastore mismatch. 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.
- Add an explicit commit and post-commit verification stage to candidate-based automations.
Explanation
Correct Answer
D:Add an explicit commit and post-commit verification stage to candidate-based automations. This guardrail specifically monitors or constrains the workflow edits candidate but never commits the transaction to running. It is more relevant to the observed incident (a staged route modification appears in candidate reads but disappears after a session close during a device rollout) 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 workflow edits candidate but never commits the transaction to running, which produced the documented observation a staged route modification appears in candidate reads but disappears after a session close during a device rollout.
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 workflow edits candidate but never commits the transaction to running, which produced the documented observation a staged route modification appears in candidate reads but disappears after a session close during a device rollout.
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 workflow edits candidate but never commits the transaction to running, which produced the documented observation a staged route modification appears in candidate reads but disappears after a session close during a device rollout.
Automating Cisco Enterprise Solutions (ENAUTO) (300-435) Practice Tests