Question 220
A support engineer for a fictional media production site records: A change job sends If-Match with a stale ETag after another operator modifies the target configuration. The team has recovered from RESTCONF conditional request conflict. Which long-term change control is most specific to preventing this failure mode?
- Add HTTP header assertions to RESTCONF API tests.
- Validate SAN coverage and trust chains during endpoint certificate rotations.
- Unit-test keyed RESTCONF URL construction for representative interface names.
- Use optimistic concurrency and intentional retry decisions in the transaction workflow.
Explanation
Correct Answer
D:Use optimistic concurrency and intentional retry decisions in the transaction workflow. This guardrail specifically monitors or constrains the conditional RESTCONF update uses an entity tag that no longer matches the current resource. It is more relevant to the observed incident (a change job sends If-Match with a stale ETag after another operator modifies the target configuration) than a generic service-availability check.
Incorrect Answers
A:This control is designed around the HTTP request does not declare an acceptable YANG-modeled media type for the submitted representation. It would not specifically prevent or detect the conditional RESTCONF update uses an entity tag that no longer matches the current resource, which produced the documented observation a change job sends If-Match with a stale ETag after another operator modifies the target configuration.
B:This control is designed around the requested HTTPS hostname does not match the service certificate's valid identities. It would not specifically prevent or detect the conditional RESTCONF update uses an entity tag that no longer matches the current resource, which produced the documented observation a change job sends If-Match with a stale ETag after another operator modifies the target configuration.
C:This control is designed around the RESTCONF operation is directed at a list container rather than the keyed list entry required for that edit. It would not specifically prevent or detect the conditional RESTCONF update uses an entity tag that no longer matches the current resource, which produced the documented observation a change job sends If-Match with a stale ETag after another operator modifies the target configuration.
Question 221
During a change review at a fictional regional government office, the engineer observes: A playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks. Which underlying technical failure best accounts for this specific evidence?
- The host inventory specifies the wrong connection plugin for IOS XE network modules.
- Automation logging exposes a credential because sensitive tasks or debug output lack redaction.
- Inventory host grouping and variable precedence resolve to a broader target set than intended.
- The playbook relies on append-only CLI commands instead of reconciling desired state.
Explanation
Correct Answer
A:The host inventory specifies the wrong connection plugin for IOS XE network modules. Ansible network modules need a transport plugin compatible with the device API or CLI. This explains the reported evidence: a playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks.
Incorrect Answers
B:This describes another failure: automation logging exposes a credential because sensitive tasks or debug output lack redaction, normally seen when a pipeline prints an API token in its Ansible verbose output during failure handling although the configuration change succeeds. The current case instead reports a playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks, so that alternate cause lacks the discriminating evidence present here.
C:This describes another failure: inventory host grouping and variable precedence resolve to a broader target set than intended, normally seen when a branch rollout unexpectedly targets lab devices because a shared group_vars file overrides the intended hostname list. The current case instead reports a playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks, so that alternate cause lacks the discriminating evidence present here.
D:This describes another failure: the playbook relies on append-only CLI commands instead of reconciling desired state, normally seen when repeating an Ansible playbook appends an identical access-list entry on every run instead of converging to one rule. The current case instead reports a playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks, so that alternate cause lacks the discriminating evidence present here.
Question 222
A support engineer for a fictional regional government office records: A playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks. Before applying a configuration change, what is the single most discriminating next diagnostic check?
- Inspect job logs for emitted secret values and locate the originating task output.
- Inspect ansible_connection and target platform variables for the failing inventory group.
- Run --list-hosts and inspect effective variables before execution.
- Compare running configuration before and after a second no-change playbook run.
Explanation
Correct Answer
B:Inspect ansible_connection and target platform variables for the failing inventory group. This isolates the relevant mechanism: the host inventory specifies the wrong connection plugin for IOS XE network modules. The check focuses on the failing layer rather than changing production state on a guess.
Incorrect Answers
A:That check primarily isolates automation logging exposes a credential because sensitive tasks or debug output lack redaction, which can produce a pipeline prints an API token in its Ansible verbose output during failure handling although the configuration change succeeds. It would not isolate the observed cause: the host inventory specifies the wrong connection plugin for IOS XE network modules.
C:That check primarily isolates inventory host grouping and variable precedence resolve to a broader target set than intended, which can produce a branch rollout unexpectedly targets lab devices because a shared group_vars file overrides the intended hostname list. It would not isolate the observed cause: the host inventory specifies the wrong connection plugin for IOS XE network modules.
D:That check primarily isolates the playbook relies on append-only CLI commands instead of reconciling desired state, which can produce repeating an Ansible playbook appends an identical access-list entry on every run instead of converging to one rule. It would not isolate the observed cause: the host inventory specifies the wrong connection plugin for IOS XE network modules.
Question 223
A fictional regional government office reports: A playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks. The investigation confirms that the host inventory specifies the wrong connection plugin for IOS XE network modules. Which focused repair directly removes that cause without disabling unrelated safeguards?
- Remove unsafe debug output and use protected secret storage with no_log for sensitive task results.
- Separate environment inventories and apply an explicit reviewed host limit.
- Configure the appropriate supported network_cli or httpapi connection for the chosen modules.
- Use a supported idempotent resource module or check-before-change logic for the exact policy.
Explanation
Correct Answer
C:Configure the appropriate supported network_cli or httpapi connection for the chosen modules. It addresses the established root condition: the host inventory specifies the wrong connection plugin for IOS XE network modules. Ansible network modules need a transport plugin compatible with the device API or CLI.
Incorrect Answers
A:This repair would address automation logging exposes a credential because sensitive tasks or debug output lack redaction, not the confirmed root condition the host inventory specifies the wrong connection plugin for IOS XE network modules.
B:This repair would address inventory host grouping and variable precedence resolve to a broader target set than intended, not the confirmed root condition the host inventory specifies the wrong connection plugin for IOS XE network modules.
D:This repair would address the playbook relies on append-only CLI commands instead of reconciling desired state, not the confirmed root condition the host inventory specifies the wrong connection plugin for IOS XE network modules.
Question 224
During a change review at a fictional regional government office, the engineer observes: A playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks. A targeted change has just been applied for Ansible connection plugin mismatch. Which observable outcome best demonstrates that the original requirement is restored?
- A redacted test run completes without secrets in logs or artifacts.
- The dry run lists only the approved site and the change report contains no unintended nodes.
- Two consecutive runs leave the same intended policy and the second reports no change.
- A read-only fact task and a controlled network configuration task complete through the expected transport.
Explanation
Correct Answer
D:A read-only fact task and a controlled network configuration task complete through the expected transport. This measures the capability affected by the host inventory specifies the wrong connection plugin for IOS XE network modules. The original reported issue was: a playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks.
Incorrect Answers
A:This check validates recovery from automation logging exposes a credential because sensitive tasks or debug output lack redaction. The actual fault is the host inventory specifies the wrong connection plugin for IOS XE network modules; its original user-impact evidence (a playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks) could remain unresolved even if that separate check passed.
B:This check validates recovery from inventory host grouping and variable precedence resolve to a broader target set than intended. The actual fault is the host inventory specifies the wrong connection plugin for IOS XE network modules; its original user-impact evidence (a playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks) could remain unresolved even if that separate check passed.
C:This check validates recovery from the playbook relies on append-only CLI commands instead of reconciling desired state. The actual fault is the host inventory specifies the wrong connection plugin for IOS XE network modules; its original user-impact evidence (a playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks) could remain unresolved even if that separate check passed.
Question 225
A support engineer for a fictional regional government office records: A playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks. The team has recovered from Ansible connection plugin mismatch. Which long-term change control is most specific to preventing this failure mode?
- Lint network group variables against each collection's documented connection requirements.
- Scan automation output and enforce secret-redaction policies in CI.
- Make inventory targeting a mandatory change-control check.
- Add repeat-run idempotence tests to all periodic playbooks.
Explanation
Correct Answer
A:Lint network group variables against each collection's documented connection requirements. This guardrail specifically monitors or constrains the host inventory specifies the wrong connection plugin for IOS XE network modules. It is more relevant to the observed incident (a playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks) than a generic service-availability check.
Incorrect Answers
B:This control is designed around automation logging exposes a credential because sensitive tasks or debug output lack redaction. It would not specifically prevent or detect the host inventory specifies the wrong connection plugin for IOS XE network modules, which produced the documented observation a playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks.
C:This control is designed around inventory host grouping and variable precedence resolve to a broader target set than intended. It would not specifically prevent or detect the host inventory specifies the wrong connection plugin for IOS XE network modules, which produced the documented observation a playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks.
D:This control is designed around the playbook relies on append-only CLI commands instead of reconciling desired state. It would not specifically prevent or detect the host inventory specifies the wrong connection plugin for IOS XE network modules, which produced the documented observation a playbook uses a Linux SSH shell connection for an IOS XE target and fails when it tries to run network CLI configuration tasks.
Question 226
A support engineer for a fictional engineering test facility records: Ansible discovers routers but errors that the module cannot execute over the current local shell transport. Which underlying technical failure best accounts for this specific evidence?
- The playbook relies on append-only CLI commands instead of reconciling desired state.
- The host inventory specifies the wrong connection plugin for IOS XE network modules.
- Automation logging exposes a credential because sensitive tasks or debug output lack redaction.
- Inventory host grouping and variable precedence resolve to a broader target set than intended.
Explanation
Correct Answer
B:The host inventory specifies the wrong connection plugin for IOS XE network modules. Ansible network modules need a transport plugin compatible with the device API or CLI. This explains the reported evidence: ansible discovers routers but errors that the module cannot execute over the current local shell transport.
Incorrect Answers
A:This describes another failure: the playbook relies on append-only CLI commands instead of reconciling desired state, normally seen when repeating an Ansible playbook appends an identical access-list entry on every run instead of converging to one rule. The current case instead reports ansible discovers routers but errors that the module cannot execute over the current local shell transport, so that alternate cause lacks the discriminating evidence present here.
C:This describes another failure: automation logging exposes a credential because sensitive tasks or debug output lack redaction, normally seen when a pipeline prints an API token in its Ansible verbose output during failure handling although the configuration change succeeds. The current case instead reports ansible discovers routers but errors that the module cannot execute over the current local shell transport, so that alternate cause lacks the discriminating evidence present here.
D:This describes another failure: inventory host grouping and variable precedence resolve to a broader target set than intended, normally seen when a branch rollout unexpectedly targets lab devices because a shared group_vars file overrides the intended hostname list. The current case instead reports ansible discovers routers but errors that the module cannot execute over the current local shell transport, so that alternate cause lacks the discriminating evidence present here.
Question 227
A fictional engineering test facility reports: Ansible discovers routers but errors that the module cannot execute over the current local shell transport. Before applying a configuration change, what is the single most discriminating next diagnostic check?
- Compare running configuration before and after a second no-change playbook run.
- Inspect job logs for emitted secret values and locate the originating task output.
- Inspect ansible_connection and target platform variables for the failing inventory group.
- Run --list-hosts and inspect effective variables before execution.
Explanation
Correct Answer
C:Inspect ansible_connection and target platform variables for the failing inventory group. This isolates the relevant mechanism: the host inventory specifies the wrong connection plugin for IOS XE network modules. The check focuses on the failing layer rather than changing production state on a guess. The evidence to explain is: ansible discovers routers but errors that the module cannot execute over the current local shell transport.
Incorrect Answers
A:That check primarily isolates the playbook relies on append-only CLI commands instead of reconciling desired state, which can produce repeating an Ansible playbook appends an identical access-list entry on every run instead of converging to one rule. It may be useful in a separate incident, but it does not directly discriminate the demonstrated problem: the host inventory specifies the wrong connection plugin for IOS XE network modules.
B:That check primarily isolates automation logging exposes a credential because sensitive tasks or debug output lack redaction, which can produce a pipeline prints an API token in its Ansible verbose output during failure handling although the configuration change succeeds. It may be useful in a separate incident, but it does not directly discriminate the demonstrated problem: the host inventory specifies the wrong connection plugin for IOS XE network modules.
D:That check primarily isolates inventory host grouping and variable precedence resolve to a broader target set than intended, which can produce a branch rollout unexpectedly targets lab devices because a shared group_vars file overrides the intended hostname list. It may be useful in a separate incident, but it does not directly discriminate the demonstrated problem: the host inventory specifies the wrong connection plugin for IOS XE network modules.
Question 228
During a change review at a fictional engineering test facility, the engineer observes: Ansible discovers routers but errors that the module cannot execute over the current local shell transport. The investigation confirms that the host inventory specifies the wrong connection plugin for IOS XE network modules. Which focused repair directly removes that cause without disabling unrelated safeguards?
- Use a supported idempotent resource module or check-before-change logic for the exact policy.
- Remove unsafe debug output and use protected secret storage with no_log for sensitive task results.
- Separate environment inventories and apply an explicit reviewed host limit.
- Configure the appropriate supported network_cli or httpapi connection for the chosen modules.
Explanation
Correct Answer
D:Configure the appropriate supported network_cli or httpapi connection for the chosen modules. It addresses the established root condition: the host inventory specifies the wrong connection plugin for IOS XE network modules. Ansible network modules need a transport plugin compatible with the device API or CLI. The repair should be scoped to the affected workflow and then independently validated.
Incorrect Answers
A:This repair would address the playbook relies on append-only CLI commands instead of reconciling desired state, not the confirmed root condition the host inventory specifies the wrong connection plugin for IOS XE network modules. Applying it here risks an unrelated configuration change while leaving the identified failure uncorrected.
B:This repair would address automation logging exposes a credential because sensitive tasks or debug output lack redaction, not the confirmed root condition the host inventory specifies the wrong connection plugin for IOS XE network modules. Applying it here risks an unrelated configuration change while leaving the identified failure uncorrected.
C:This repair would address inventory host grouping and variable precedence resolve to a broader target set than intended, not the confirmed root condition the host inventory specifies the wrong connection plugin for IOS XE network modules. Applying it here risks an unrelated configuration change while leaving the identified failure uncorrected.
Question 229
A support engineer for a fictional engineering test facility records: Ansible discovers routers but errors that the module cannot execute over the current local shell transport. A targeted change has just been applied for Ansible connection plugin mismatch. Which observable outcome best demonstrates that the original requirement is restored?
- A read-only fact task and a controlled network configuration task complete through the expected transport.
- Two consecutive runs leave the same intended policy and the second reports no change.
- A redacted test run completes without secrets in logs or artifacts.
- The dry run lists only the approved site and the change report contains no unintended nodes.
Explanation
Correct Answer
A:A read-only fact task and a controlled network configuration task complete through the expected transport. This measures the capability affected by the host inventory specifies the wrong connection plugin for IOS XE network modules. The original reported issue was: ansible discovers routers but errors that the module cannot execute over the current local shell transport.
Incorrect Answers
B:This check validates recovery from the playbook relies on append-only CLI commands instead of reconciling desired state. The actual fault is the host inventory specifies the wrong connection plugin for IOS XE network modules; its original user-impact evidence (ansible discovers routers but errors that the module cannot execute over the current local shell transport) could remain unresolved even if that separate check passed.
C:This check validates recovery from automation logging exposes a credential because sensitive tasks or debug output lack redaction. The actual fault is the host inventory specifies the wrong connection plugin for IOS XE network modules; its original user-impact evidence (ansible discovers routers but errors that the module cannot execute over the current local shell transport) could remain unresolved even if that separate check passed.
D:This check validates recovery from inventory host grouping and variable precedence resolve to a broader target set than intended. The actual fault is the host inventory specifies the wrong connection plugin for IOS XE network modules; its original user-impact evidence (ansible discovers routers but errors that the module cannot execute over the current local shell transport) could remain unresolved even if that separate check passed.
Question 230
A fictional engineering test facility reports: Ansible discovers routers but errors that the module cannot execute over the current local shell transport. The team has recovered from Ansible connection plugin mismatch. Which long-term change control is most specific to preventing this failure mode?
- Add repeat-run idempotence tests to all periodic playbooks.
- Lint network group variables against each collection's documented connection requirements.
- Scan automation output and enforce secret-redaction policies in CI.
- Make inventory targeting a mandatory change-control check.
Explanation
Correct Answer
B:Lint network group variables against each collection's documented connection requirements. This guardrail specifically monitors or constrains the host inventory specifies the wrong connection plugin for IOS XE network modules. It is more relevant to the observed incident (ansible discovers routers but errors that the module cannot execute over the current local shell transport) than a generic service-availability check.
Incorrect Answers
A:This control is designed around the playbook relies on append-only CLI commands instead of reconciling desired state. It would not specifically prevent or detect the host inventory specifies the wrong connection plugin for IOS XE network modules, which produced the documented observation ansible discovers routers but errors that the module cannot execute over the current local shell transport.
C:This control is designed around automation logging exposes a credential because sensitive tasks or debug output lack redaction. It would not specifically prevent or detect the host inventory specifies the wrong connection plugin for IOS XE network modules, which produced the documented observation ansible discovers routers but errors that the module cannot execute over the current local shell transport.
D:This control is designed around inventory host grouping and variable precedence resolve to a broader target set than intended. It would not specifically prevent or detect the host inventory specifies the wrong connection plugin for IOS XE network modules, which produced the documented observation ansible discovers routers but errors that the module cannot execute over the current local shell transport.
Automating Cisco Enterprise Solutions (ENAUTO) (300-435) Practice Tests