Cisco 350-601 Practice Test 93
Question 920
A nightly network automation job recreates the same VLANs and disrupts services because its tasks are imperative and non-idempotent. The observed failure is: a non-idempotent script can generate repeated disruption and configuration drift. What is the BEST controlled recovery once this failure is recognized?
- The controlled remediation is to disable configuration backups to avoid tracking repeat changes.
- The controlled remediation is to always erase the switch running configuration before each playbook.
- The controlled remediation is to use ad hoc terminal keystrokes with no state comparison as desired-state automation.
- The controlled remediation is to replace unsafe tasks with idempotent modules, run check or diff tests, and confirm stable subsequent runs.
Explanation
Correct Answer
D:Validate against first and second playbook run changes, device configuration diff and idempotence test results. Idempotent automation converges toward a defined state without making unnecessary repeated changes.
Incorrect Answers
A:Disable configuration backups to avoid tracking repeat changes. This would not reliably restore service after the stated fault. A non-idempotent script can generate repeated disruption and configuration drift. The controlled recovery is to replace unsafe tasks with idempotent modules, run check or diff tests, and confirm stable subsequent runs.
B:Always erase the switch running configuration before each playbook. This would not reliably restore service after the stated fault. A non-idempotent script can generate repeated disruption and configuration drift. The controlled recovery is to replace unsafe tasks with idempotent modules, run check or diff tests, and confirm stable subsequent runs.
C:Use ad hoc terminal keystrokes with no state comparison as desired-state automation. This would not reliably restore service after the stated fault. A non-idempotent script can generate repeated disruption and configuration drift. The controlled recovery is to replace unsafe tasks with idempotent modules, run check or diff tests, and confirm stable subsequent runs.
Question 921
A playbook meant for two Nexus leaf switches modifies an unrelated switch because the inventory group includes the wrong host. What is the BEST supported implementation or corrective action?
- Validate host inventory, group targeting, network connection plugin and least-privilege credentials.
- Set all datacenter devices as one catch-all target group with no review.
- Assume an SSH session to a jump host automatically configures each Nexus switch.
- Store privileged passwords directly in publicly shared inventory files.
Explanation
Correct Answer
A:This directly addresses ansible inventory and credentials because ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context. Confirm the change against resolved inventory targets, Ansible connection log, task host list and post-change device state.
Incorrect Answers
B:An incorrect inventory or connector can either target the wrong device or prevent intended automation. The relevant correction is to validate host inventory, group targeting, network connection plugin and least-privilege credentials.
C:That option would assume an SSH session to a jump host automatically configures each Nexus switch, but it addresses a different concern. This directly addresses ansible inventory and credentials because ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context.
D:An incorrect inventory or connector can either target the wrong device or prevent intended automation. The appropriate action remains to validate host inventory, group targeting, network connection plugin and least-privilege credentials.
Question 922
A playbook meant for two Nexus leaf switches modifies an unrelated switch because the inventory group includes the wrong host. Which evidence BEST verifies the intended technical behavior?
- A successful SSH session without script output, API responses or resulting state.
- Resolved inventory targets, Ansible connection log, task host list and post-change device state.
- A saved script file that has never been executed or tested.
- An API endpoint returning HTML instead of validated inventory or outcome.
Explanation
Correct Answer
B:These observations test the actual ansible inventory and credentials mechanism rather than a superficial management status. Ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context.
Incorrect Answers
A:This information cannot independently verify ansible inventory and credentials. The decisive records instead include resolved inventory targets, Ansible connection log, task host list and post-change device state.
C:This information cannot independently verify ansible inventory and credentials. Ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context.
D:This information cannot independently verify ansible inventory and credentials. An API endpoint returning HTML instead of validated inventory or outcome.
Question 923
A playbook meant for two Nexus leaf switches modifies an unrelated switch because the inventory group includes the wrong host. Which principle BEST explains why the recommended solution is appropriate?
- An HTTP 200 connection proves the intended device state was changed correctly.
- One initial successful run guarantees all later automation remains correct.
- Ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context.
- A script saved on a controller always runs successfully on every target.
Explanation
Correct Answer
C:Validation depends on resolved inventory targets, Ansible connection log, task host list and post-change device state. This explains why the most appropriate response is to validate host inventory, group targeting, network connection plugin and least-privilege credentials.
Incorrect Answers
A:An HTTP 200 connection proves the intended device state was changed correctly. This is an incorrect generalization for ansible inventory and credentials. The applicable technical behavior is that ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context. The operator should verify resolved inventory targets, Ansible connection log, task host list and post-change device state.
B:One initial successful run guarantees all later automation remains correct. This is an incorrect generalization for ansible inventory and credentials. The applicable technical behavior is that ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context. The operator should verify resolved inventory targets, Ansible connection log, task host list and post-change device state.
D:A script saved on a controller always runs successfully on every target. This is an incorrect generalization for ansible inventory and credentials. The applicable technical behavior is that ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context. The operator should verify resolved inventory targets, Ansible connection log, task host list and post-change device state.
Question 924
A playbook meant for two Nexus leaf switches modifies an unrelated switch because the inventory group includes the wrong host. Assume an engineer instead chooses to set all datacenter devices as one catch-all target group with no review. What is the MOST significant failure introduced by that shortcut?
- Verifying server policy references is the reason the missing references occurred.
- Keeping API error responses is the underlying cause of failed automation.
- Reviewing a Terraform plan makes correct configuration objects disappear.
- An incorrect inventory or connector can either target the wrong device or prevent intended automation.
Explanation
Correct Answer
D:Ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context. That is the direct consequence of choosing the misleading shortcut.
Incorrect Answers
A:This does not explain the actual ansible inventory and credentials defect after the shortcut. The meaningful failure is that an incorrect inventory or connector can either target the wrong device or prevent intended automation.
B:This does not explain the actual ansible inventory and credentials defect after the shortcut. The relevant evidence is resolved inventory targets, Ansible connection log, task host list and post-change device state.
C:This does not explain the actual ansible inventory and credentials defect after the shortcut. In the given case, a playbook meant for two Nexus leaf switches modifies an unrelated switch because the inventory group includes the wrong host.
Question 925
A playbook meant for two Nexus leaf switches modifies an unrelated switch because the inventory group includes the wrong host. The observed failure is: an incorrect inventory or connector can either target the wrong device or prevent intended automation. What is the BEST controlled recovery once this failure is recognized?
- Repair inventory and secure credentials, perform a read-only test and confirm controlled scope.
- Assume an SSH session to a jump host automatically configures each Nexus switch.
- Store privileged passwords directly in publicly shared inventory files.
- Set all datacenter devices as one catch-all target group with no review.
Explanation
Correct Answer
A:Ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context. This addresses the observable fault while preserving a check of the expected result.
Incorrect Answers
B:That option would assume an SSH session to a jump host automatically configures each Nexus switch, but it addresses a different concern. This addresses the observable fault while preserving a check of the expected result.
C:Store privileged passwords directly in publicly shared inventory files. This would not reliably restore service after the stated fault. An incorrect inventory or connector can either target the wrong device or prevent intended automation. The controlled recovery is to repair inventory and secure credentials, perform a read-only test and confirm controlled scope.
D:That option would set all datacenter devices as one catch-all target group with no review, but it addresses a different concern. This addresses the observable fault while preserving a check of the expected result.
Question 926
An operations team runs network Ansible tasks with an incorrect connection plugin and authentication fails before tasks start. Which configuration decision MOST directly resolves the issue?
- On this affected device, the engineer should assume an SSH session to a jump host automatically configures each Nexus switch.
- On this affected device, the engineer should validate host inventory, group targeting, network connection plugin and least-privilege credentials.
- On this affected device, the engineer should store privileged passwords directly in publicly shared inventory files.
- On this affected device, the engineer should set all datacenter devices as one catch-all target group with no review.
Explanation
Correct Answer
B:This directly addresses ansible inventory and credentials because ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context.
Incorrect Answers
A:Assume an SSH session to a jump host automatically configures each Nexus switch. The proposed change targets the wrong mechanism or lacks essential validation. Ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context. Relevant evidence is resolved inventory targets, Ansible connection log, task host list and post-change device state.
C:An incorrect inventory or connector can either target the wrong device or prevent intended automation.
D:An incorrect inventory or connector can either target the wrong device or prevent intended automation. Set all datacenter devices as one catch-all target group with no review.
Question 927
An operations team runs network Ansible tasks with an incorrect connection plugin and authentication fails before tasks start. What should the engineer inspect to confirm the actual state?
- For this deployment, examine a dashboard snapshot detached from actual target configuration and logs.
- For this deployment, examine a successful SSH session without script output, API responses or resulting state.
- For this deployment, examine resolved inventory targets, Ansible connection log, task host list and post-change device state.
- For this deployment, examine a saved script file that has never been executed or tested.
Explanation
Correct Answer
C:These observations test the actual ansible inventory and credentials mechanism rather than a superficial management status. They should be checked after validate host inventory, group targeting, network connection plugin and least-privilege credentials.
Incorrect Answers
A:This information cannot independently verify ansible inventory and credentials. In the given case, an operations team runs network Ansible tasks with an incorrect connection plugin and authentication fails before tasks start.
B:This information cannot independently verify ansible inventory and credentials. A successful SSH session without script output, API responses or resulting state.
D:This information cannot independently verify ansible inventory and credentials. A saved script file that has never been executed or tested.
Question 928
An operations team runs network Ansible tasks with an incorrect connection plugin and authentication fails before tasks start. What technical behavior underlies the correct decision?
- For this condition, the applicable principle is that a script saved on a controller always runs successfully on every target.
- For this condition, the applicable principle is that an HTTP 200 connection proves the intended device state was changed correctly.
- For this condition, the applicable principle is that cloud or on-box automation removes the need to validate inputs and outcomes.
- For this condition, the applicable principle is that ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context.
Explanation
Correct Answer
D:Validation depends on resolved inventory targets, Ansible connection log, task host list and post-change device state.
Incorrect Answers
A:A script saved on a controller always runs successfully on every target. This is an incorrect generalization for ansible inventory and credentials. The applicable technical behavior is that ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context. The operator should verify resolved inventory targets, Ansible connection log, task host list and post-change device state.
B:An HTTP 200 connection proves the intended device state was changed correctly. This is an incorrect generalization for ansible inventory and credentials. The applicable technical behavior is that ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context. The operator should verify resolved inventory targets, Ansible connection log, task host list and post-change device state.
C:Cloud or on-box automation removes the need to validate inputs and outcomes. This is an incorrect generalization for ansible inventory and credentials. The applicable technical behavior is that ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context. The operator should verify resolved inventory targets, Ansible connection log, task host list and post-change device state.
Question 929
An operations team runs network Ansible tasks with an incorrect connection plugin and authentication fails before tasks start. Assume an engineer instead chooses to set all datacenter devices as one catch-all target group with no review. Which resulting risk or fault should the reviewer identify?
- The resulting defect is that an incorrect inventory or connector can either target the wrong device or prevent intended automation.
- The resulting defect is that reviewing a Terraform plan makes correct configuration objects disappear.
- The resulting defect is that using a dry-run test inherently disables every network management API.
- The resulting defect is that keeping API error responses is the underlying cause of failed automation.
Explanation
Correct Answer
A:Ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context. The proper corrective action is to validate host inventory, group targeting, network connection plugin and least-privilege credentials.
Incorrect Answers
B:This does not explain the actual ansible inventory and credentials defect after the shortcut. In the given case, an operations team runs network Ansible tasks with an incorrect connection plugin and authentication fails before tasks start.
C:This does not explain the actual ansible inventory and credentials defect after the shortcut. Using a dry-run test inherently disables every network management API.
D:This does not explain the actual ansible inventory and credentials defect after the shortcut. Keeping API error responses is the underlying cause of failed automation.
Question 930
An operations team runs network Ansible tasks with an incorrect connection plugin and authentication fails before tasks start. The observed failure is: an incorrect inventory or connector can either target the wrong device or prevent intended automation. Which remediation most directly restores the intended behavior?
- The controlled remediation is to store privileged passwords directly in publicly shared inventory files.
- The controlled remediation is to repair inventory and secure credentials, perform a read-only test and confirm controlled scope.
- The controlled remediation is to set all datacenter devices as one catch-all target group with no review.
- The controlled remediation is to assume an SSH session to a jump host automatically configures each Nexus switch.
Explanation
Correct Answer
B:Ansible applies tasks to hosts resolved from inventory and relies on correct connection and privilege context. Validate against resolved inventory targets, Ansible connection log, task host list and post-change device state.
Incorrect Answers
A:Store privileged passwords directly in publicly shared inventory files. This would not reliably restore service after the stated fault. An incorrect inventory or connector can either target the wrong device or prevent intended automation. The controlled recovery is to repair inventory and secure credentials, perform a read-only test and confirm controlled scope.
C:Set all datacenter devices as one catch-all target group with no review. This would not reliably restore service after the stated fault. An incorrect inventory or connector can either target the wrong device or prevent intended automation. The controlled recovery is to repair inventory and secure credentials, perform a read-only test and confirm controlled scope.
D:Assume an SSH session to a jump host automatically configures each Nexus switch. This would not reliably restore service after the stated fault. An incorrect inventory or connector can either target the wrong device or prevent intended automation. The controlled recovery is to repair inventory and secure credentials, perform a read-only test and confirm controlled scope.