Question 140
A fictional public research laboratory reports: After applying a VLAN change, the same session interprets the post-change show command as an invalid config subcommand. The team has recovered from Configuration mode exit not handled. Which long-term change control is most specific to preventing this failure mode?
- Preflight command privilege and use least-privilege service-account policies.
- Test prompt variants across device contexts in the CLI automation suite.
- Exercise long-output CLI commands in automated collection tests.
- Make mode transitions explicit in reusable CLI transaction helpers.
Explanation
Correct Answer
D:Make mode transitions explicit in reusable CLI transaction helpers. This guardrail specifically monitors or constrains the script does not return to an EXEC context before issuing operational verification commands. It is more relevant to the observed incident (after applying a VLAN change, the same session interprets the post-change show command as an invalid config subcommand) than a generic service-availability check.
Incorrect Answers
A:This control is designed around the automation session lacks the privileged mode required for its intended configuration operation. It would not specifically prevent or detect the script does not return to an EXEC context before issuing operational verification commands, which produced the documented observation after applying a VLAN change, the same session interprets the post-change show command as an invalid config subcommand.
B:This control is designed around Netmiko completion detection is using a prompt expectation that no longer matches the device response. It would not specifically prevent or detect the script does not return to an EXEC context before issuing operational verification commands, which produced the documented observation after applying a VLAN change, the same session interprets the post-change show command as an invalid config subcommand.
C:This control is designed around CLI terminal pagination interrupts the programmatic command output stream. It would not specifically prevent or detect the script does not return to an EXEC context before issuing operational verification commands, which produced the documented observation after applying a VLAN change, the same session interprets the post-change show command as an invalid config subcommand.
Question 141
A support engineer for a fictional university library network records: An ncclient compliance job cannot find interface counters because it queries running configuration instead of operational state. Which underlying technical failure best accounts for this specific evidence?
- The code requests configuration-only data for a YANG operational-state value.
- The NETCONF subtree filter addresses a namespace that does not match the target model.
- A concurrent NETCONF transaction holds the candidate datastore lock.
- The NETCONF SSH subsystem is not enabled or advertised on the device.
Explanation
Correct Answer
A:The code requests configuration-only data for a YANG operational-state value. NETCONF get-config reads a configuration datastore, not arbitrary live operational counters. This explains the reported evidence: an ncclient compliance job cannot find interface counters because it queries running configuration instead of operational state.
Incorrect Answers
B:This describes another failure: the NETCONF subtree filter addresses a namespace that does not match the target model, normally seen when an ncclient get call returns an empty data tree because the subtree filter uses a different namespace from the server module. The current case instead reports an ncclient compliance job cannot find interface counters because it queries running configuration instead of operational state, so that alternate cause lacks the discriminating evidence present here.
C:This describes another failure: a concurrent NETCONF transaction holds the candidate datastore lock, normally seen when an ncclient script receives lock-denied while another automation job stages candidate changes on the same node. The current case instead reports an ncclient compliance job cannot find interface counters because it queries running configuration instead of operational state, so that alternate cause lacks the discriminating evidence present here.
D:This describes another failure: the NETCONF SSH subsystem is not enabled or advertised on the device, normally seen when sSH CLI works on a router but ncclient raises a subsystem negotiation error before exchanging any RPC. The current case instead reports an ncclient compliance job cannot find interface counters because it queries running configuration instead of operational state, so that alternate cause lacks the discriminating evidence present here.
Question 142
A fictional university library network reports: An ncclient compliance job cannot find interface counters because it queries running configuration instead of operational state. Before applying a configuration change, what is the single most discriminating next diagnostic check?
- Compare the advertised module namespace to the filter's expanded XML element names.
- Inspect the target leaf's config property and capture the ncclient RPC type.
- Inspect the returned rpc-error lock owner and the job ledger for overlapping sessions.
- Inspect SSH subsystem negotiation and the device's NETCONF enablement state.
Explanation
Correct Answer
B:Inspect the target leaf's config property and capture the ncclient RPC type. This isolates the relevant mechanism: the code requests configuration-only data for a YANG operational-state value. The check focuses on the failing layer rather than changing production state on a guess.
Incorrect Answers
A:That check primarily isolates the NETCONF subtree filter addresses a namespace that does not match the target model, which can produce an ncclient get call returns an empty data tree because the subtree filter uses a different namespace from the server module. It would not isolate the observed cause: the code requests configuration-only data for a YANG operational-state value.
C:That check primarily isolates a concurrent NETCONF transaction holds the candidate datastore lock, which can produce an ncclient script receives lock-denied while another automation job stages candidate changes on the same node. It would not isolate the observed cause: the code requests configuration-only data for a YANG operational-state value.
D:That check primarily isolates the NETCONF SSH subsystem is not enabled or advertised on the device, which can produce sSH CLI works on a router but ncclient raises a subsystem negotiation error before exchanging any RPC. It would not isolate the observed cause: the code requests configuration-only data for a YANG operational-state value.
Question 143
During a change review at a fictional university library network, the engineer observes: An ncclient compliance job cannot find interface counters because it queries running configuration instead of operational state. The investigation confirms that the code requests configuration-only data for a YANG operational-state value. Which focused repair directly removes that cause without disabling unrelated safeguards?
- Correct the namespace and subtree hierarchy in the ncclient filter.
- Serialize candidate transactions and wait for or safely release the legitimate lock owner.
- Use an appropriate operational-state read instead of get-config on running.
- Enable the supported NETCONF subsystem with authorized access without changing CLI SSH unnecessarily.
Explanation
Correct Answer
C:Use an appropriate operational-state read instead of get-config on running. It addresses the established root condition: the code requests configuration-only data for a YANG operational-state value. NETCONF get-config reads a configuration datastore, not arbitrary live operational counters.
Incorrect Answers
A:This repair would address the NETCONF subtree filter addresses a namespace that does not match the target model, not the confirmed root condition the code requests configuration-only data for a YANG operational-state value.
B:This repair would address a concurrent NETCONF transaction holds the candidate datastore lock, not the confirmed root condition the code requests configuration-only data for a YANG operational-state value.
D:This repair would address the NETCONF SSH subsystem is not enabled or advertised on the device, not the confirmed root condition the code requests configuration-only data for a YANG operational-state value.
Question 144
A support engineer for a fictional university library network records: An ncclient compliance job cannot find interface counters because it queries running configuration instead of operational state. A targeted change has just been applied for ncclient get and get-config confused. Which observable outcome best demonstrates that the original requirement is restored?
- A targeted read returns the expected filtered neighbors without an unnecessary full dump.
- The next controlled edit obtains the lock, validates, commits and unlocks cleanly.
- An ncclient session exchanges capabilities and completes a read-only get-config RPC.
- Fresh nonconfiguration counters appear in the returned data while configuration queries remain separate.
Explanation
Correct Answer
D:Fresh nonconfiguration counters appear in the returned data while configuration queries remain separate. This measures the capability affected by the code requests configuration-only data for a YANG operational-state value. The original reported issue was: an ncclient compliance job cannot find interface counters because it queries running configuration instead of operational state.
Incorrect Answers
A:This check validates recovery from the NETCONF subtree filter addresses a namespace that does not match the target model. The actual fault is the code requests configuration-only data for a YANG operational-state value; its original user-impact evidence (an ncclient compliance job cannot find interface counters because it queries running configuration instead of operational state) could remain unresolved even if that separate check passed.
B:This check validates recovery from a concurrent NETCONF transaction holds the candidate datastore lock. The actual fault is the code requests configuration-only data for a YANG operational-state value; its original user-impact evidence (an ncclient compliance job cannot find interface counters because it queries running configuration instead of operational state) could remain unresolved even if that separate check passed.
C:This check validates recovery from the NETCONF SSH subsystem is not enabled or advertised on the device. The actual fault is the code requests configuration-only data for a YANG operational-state value; its original user-impact evidence (an ncclient compliance job cannot find interface counters because it queries running configuration instead of operational state) could remain unresolved even if that separate check passed.
Question 145
A fictional university library network reports: An ncclient compliance job cannot find interface counters because it queries running configuration instead of operational state. The team has recovered from ncclient get and get-config confused. Which long-term change control is most specific to preventing this failure mode?
- Test config-versus-state retrieval paths for each modeled leaf.
- Validate filter namespaces against server capabilities before bulk collection.
- Use per-device datastore transaction coordination and timeout handling.
- Test NETCONF subsystem availability separately from generic SSH access.
Explanation
Correct Answer
A:Test config-versus-state retrieval paths for each modeled leaf. This guardrail specifically monitors or constrains the code requests configuration-only data for a YANG operational-state value. It is more relevant to the observed incident (an ncclient compliance job cannot find interface counters because it queries running configuration instead of operational state) than a generic service-availability check.
Incorrect Answers
B:This control is designed around the NETCONF subtree filter addresses a namespace that does not match the target model. It would not specifically prevent or detect the code requests configuration-only data for a YANG operational-state value, which produced the documented observation an ncclient compliance job cannot find interface counters because it queries running configuration instead of operational state.
C:This control is designed around a concurrent NETCONF transaction holds the candidate datastore lock. It would not specifically prevent or detect the code requests configuration-only data for a YANG operational-state value, which produced the documented observation an ncclient compliance job cannot find interface counters because it queries running configuration instead of operational state.
D:This control is designed around the NETCONF SSH subsystem is not enabled or advertised on the device. It would not specifically prevent or detect the code requests configuration-only data for a YANG operational-state value, which produced the documented observation an ncclient compliance job cannot find interface counters because it queries running configuration instead of operational state.
Question 146
A fictional clinical education campus reports: Telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves. Which underlying technical failure best accounts for this specific evidence?
- The NETCONF SSH subsystem is not enabled or advertised on the device.
- The code requests configuration-only data for a YANG operational-state value.
- The NETCONF subtree filter addresses a namespace that does not match the target model.
- A concurrent NETCONF transaction holds the candidate datastore lock.
Explanation
Correct Answer
B:The code requests configuration-only data for a YANG operational-state value. NETCONF get-config reads a configuration datastore, not arbitrary live operational counters. This explains the reported evidence: telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves.
Incorrect Answers
A:This describes another failure: the NETCONF SSH subsystem is not enabled or advertised on the device, normally seen when sSH CLI works on a router but ncclient raises a subsystem negotiation error before exchanging any RPC. The current case instead reports telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves, so that alternate cause lacks the discriminating evidence present here.
C:This describes another failure: the NETCONF subtree filter addresses a namespace that does not match the target model, normally seen when an ncclient get call returns an empty data tree because the subtree filter uses a different namespace from the server module. The current case instead reports telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves, so that alternate cause lacks the discriminating evidence present here.
D:This describes another failure: a concurrent NETCONF transaction holds the candidate datastore lock, normally seen when an ncclient script receives lock-denied while another automation job stages candidate changes on the same node. The current case instead reports telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves, so that alternate cause lacks the discriminating evidence present here.
Question 147
During a change review at a fictional clinical education campus, the engineer observes: Telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves. Before applying a configuration change, what is the single most discriminating next diagnostic check?
- Inspect SSH subsystem negotiation and the device's NETCONF enablement state.
- Compare the advertised module namespace to the filter's expanded XML element names.
- Inspect the target leaf's config property and capture the ncclient RPC type.
- Inspect the returned rpc-error lock owner and the job ledger for overlapping sessions.
Explanation
Correct Answer
C:Inspect the target leaf's config property and capture the ncclient RPC type. This isolates the relevant mechanism: the code requests configuration-only data for a YANG operational-state value. The check focuses on the failing layer rather than changing production state on a guess. The evidence to explain is: telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves.
Incorrect Answers
A:That check primarily isolates the NETCONF SSH subsystem is not enabled or advertised on the device, which can produce sSH CLI works on a router but ncclient raises a subsystem negotiation error before exchanging any RPC. It may be useful in a separate incident, but it does not directly discriminate the demonstrated problem: the code requests configuration-only data for a YANG operational-state value.
B:That check primarily isolates the NETCONF subtree filter addresses a namespace that does not match the target model, which can produce an ncclient get call returns an empty data tree because the subtree filter uses a different namespace from the server module. It may be useful in a separate incident, but it does not directly discriminate the demonstrated problem: the code requests configuration-only data for a YANG operational-state value.
D:That check primarily isolates a concurrent NETCONF transaction holds the candidate datastore lock, which can produce an ncclient script receives lock-denied while another automation job stages candidate changes on the same node. It may be useful in a separate incident, but it does not directly discriminate the demonstrated problem: the code requests configuration-only data for a YANG operational-state value.
Question 148
A support engineer for a fictional clinical education campus records: Telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves. The investigation confirms that the code requests configuration-only data for a YANG operational-state value. Which focused repair directly removes that cause without disabling unrelated safeguards?
- Enable the supported NETCONF subsystem with authorized access without changing CLI SSH unnecessarily.
- Correct the namespace and subtree hierarchy in the ncclient filter.
- Serialize candidate transactions and wait for or safely release the legitimate lock owner.
- Use an appropriate operational-state read instead of get-config on running.
Explanation
Correct Answer
D:Use an appropriate operational-state read instead of get-config on running. It addresses the established root condition: the code requests configuration-only data for a YANG operational-state value. NETCONF get-config reads a configuration datastore, not arbitrary live operational counters. The repair should be scoped to the affected workflow and then independently validated.
Incorrect Answers
A:This repair would address the NETCONF SSH subsystem is not enabled or advertised on the device, not the confirmed root condition the code requests configuration-only data for a YANG operational-state value. Applying it here risks an unrelated configuration change while leaving the identified failure uncorrected.
B:This repair would address the NETCONF subtree filter addresses a namespace that does not match the target model, not the confirmed root condition the code requests configuration-only data for a YANG operational-state value. Applying it here risks an unrelated configuration change while leaving the identified failure uncorrected.
C:This repair would address a concurrent NETCONF transaction holds the candidate datastore lock, not the confirmed root condition the code requests configuration-only data for a YANG operational-state value. Applying it here risks an unrelated configuration change while leaving the identified failure uncorrected.
Question 149
A fictional clinical education campus reports: Telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves. A targeted change has just been applied for ncclient get and get-config confused. Which observable outcome best demonstrates that the original requirement is restored?
- Fresh nonconfiguration counters appear in the returned data while configuration queries remain separate.
- An ncclient session exchanges capabilities and completes a read-only get-config RPC.
- A targeted read returns the expected filtered neighbors without an unnecessary full dump.
- The next controlled edit obtains the lock, validates, commits and unlocks cleanly.
Explanation
Correct Answer
A:Fresh nonconfiguration counters appear in the returned data while configuration queries remain separate. This measures the capability affected by the code requests configuration-only data for a YANG operational-state value. The original reported issue was: telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves.
Incorrect Answers
B:This check validates recovery from the NETCONF SSH subsystem is not enabled or advertised on the device. The actual fault is the code requests configuration-only data for a YANG operational-state value; its original user-impact evidence (telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves) could remain unresolved even if that separate check passed.
C:This check validates recovery from the NETCONF subtree filter addresses a namespace that does not match the target model. The actual fault is the code requests configuration-only data for a YANG operational-state value; its original user-impact evidence (telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves) could remain unresolved even if that separate check passed.
D:This check validates recovery from a concurrent NETCONF transaction holds the candidate datastore lock. The actual fault is the code requests configuration-only data for a YANG operational-state value; its original user-impact evidence (telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves) could remain unresolved even if that separate check passed.
Question 150
During a change review at a fictional clinical education campus, the engineer observes: Telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves. The team has recovered from ncclient get and get-config confused. Which long-term change control is most specific to preventing this failure mode?
- Test NETCONF subsystem availability separately from generic SSH access.
- Test config-versus-state retrieval paths for each modeled leaf.
- Validate filter namespaces against server capabilities before bulk collection.
- Use per-device datastore transaction coordination and timeout handling.
Explanation
Correct Answer
B:Test config-versus-state retrieval paths for each modeled leaf. This guardrail specifically monitors or constrains the code requests configuration-only data for a YANG operational-state value. It is more relevant to the observed incident (telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves) than a generic service-availability check.
Incorrect Answers
A:This control is designed around the NETCONF SSH subsystem is not enabled or advertised on the device. It would not specifically prevent or detect the code requests configuration-only data for a YANG operational-state value, which produced the documented observation telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves.
C:This control is designed around the NETCONF subtree filter addresses a namespace that does not match the target model. It would not specifically prevent or detect the code requests configuration-only data for a YANG operational-state value, which produced the documented observation telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves.
D:This control is designed around a concurrent NETCONF transaction holds the candidate datastore lock. It would not specifically prevent or detect the code requests configuration-only data for a YANG operational-state value, which produced the documented observation telemetry counters are visible in device status views but a get-config RPC yields only administratively configured leaves.
Automating Cisco Enterprise Solutions (ENAUTO) (300-435) Practice Tests