Cisco 200-901 Practice Test 59
Question 580
For an original CCNA Automation educational scenario, consider: An operator runs a repeatable script that imperatively deletes every existing object before recreating them despite no actual desired-state change. Select TWO complementary steps: the targeted correction and its strongest prechange validation.
- Change: Use Cisco Modeling Labs or an appropriate lab topology to exercise network behavior before a real deployment, paired with separate automated state checks.
- Treat a folder of untracked terminal screenshots as a versioned declarative source of truth for a production network.
- Change: Represent the target infrastructure state in versioned declarative configuration and reconcile observed state with controlled plans or idempotent operations.
- Check: Apply an unchanged configuration twice in a sandbox and compare proposed diffs, device state and resulting resource counts.
- Check: Compare the diagram's API responses with a test trace that includes task failure and token refresh before the next dependent call.
Explanation
Correct Answer
C:IaC manages desired state and repeatability; changes should converge safely rather than blindly replay destructive sequences. Acceptance: The second run makes no unintended changes and the declared state can reproduce approved infrastructure.
D:IaC manages desired state and repeatability; changes should converge safely rather than blindly replay destructive sequences. Required intervention: Represent the target infrastructure state in versioned declarative configuration and reconcile observed state with controlled plans or idempotent operations.
Incorrect Answers
A:Change: Use Cisco Modeling Labs or an appropriate lab topology to exercise network behavior before a real deployment, paired with separate automated state checks. An operator runs a repeatable script that imperatively deletes every existing object before recreating them despite no actual desired-state change.
B:IaC manages desired state and repeatability; changes should converge safely rather than blindly replay destructive sequences.
E:Check: Compare the diagram's API responses with a test trace that includes task failure and token refresh before the next dependent call. IaC manages desired state and repeatability; changes should converge safely rather than blindly replay destructive sequences.
Question 581
A network automation engineer is examining this network automation situation: An Ansible playbook installs and starts a service on a branch management host but uses shell commands that report changed on every run. A proposed shortcut is: Use unchecked shell commands for every task and assume a green play recap proves the correct inventory group was selected. What should the network automation engineer recommend as the narrowly scoped correction? Select ONE best answer.
- Use supported YANG-defined configuration and state paths with structured operations for repeatable validation and automation.
- Require peer review for security, correctness, operational blast radius, test evidence and rollback before accepting automation changes.
- Use unchecked shell commands for every task and assume a green play recap proves the correct inventory group was selected.
- Interpret host targeting, modules, tasks, conditionals and handlers and prefer idempotent modules for package, service and user management.
Explanation
Correct Answer
D:Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
Incorrect Answers
A:Use supported YANG-defined configuration and state paths with structured operations for repeatable validation and automation. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
B:Require peer review for security, correctness, operational blast radius, test evidence and rollback before accepting automation changes. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
C:Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
Question 582
A Cisco network automation implementation review finds: An Ansible playbook installs and starts a service on a branch management host but uses shell commands that report changed on every run. The team proposes: Interpret host targeting, modules, tasks, conditionals and handlers and prefer idempotent modules for package, service and user management. Which engineering principle most strongly supports the recommended response? Select ONE best answer.
- pyATS supports automated test execution and Genie can normalize supported command output into structured fields for repeatable assertions.
- Shell command behavior depends on quoting, word splitting, exit status and current directory; the same command text can affect different files under different context.
- NSO maps service intent to device-level configuration and can expose the planned impact and transaction failure rather than unmanaged partial CLI changes.
- Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
Explanation
Correct Answer
D:Relevant validation before approval: Run the playbook twice in a lab and inspect targeted hosts, task return codes, handler activation and changed versus ok counts.
Incorrect Answers
A:This option addresses a different network automation topic (pyATS Genie operational state tests) rather than the documented Ansible inventory task and idempotency decision.
B:This option addresses a different network automation topic (Bash workflow and variable quoting) rather than the documented Ansible inventory task and idempotency decision.
C:NSO maps service intent to device-level configuration and can expose the planned impact and transaction failure rather than unmanaged partial CLI changes. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
Question 583
The network automation team has not yet approved changes. Current evidence indicates: An Ansible playbook installs and starts a service on a branch management host but uses shell commands that report changed on every run. Which evidence best tests the technical diagnosis before approving a disruptive change? Select ONE best answer.
- Run the playbook twice in a lab and inspect targeted hosts, task return codes, handler activation and changed versus ok counts.
- Inspect representative pull-request diff, planned changes, lab reachability tests and approval artifacts tied to a commit hash.
- Apply an unchanged configuration twice in a sandbox and compare proposed diffs, device state and resulting resource counts.
- Build a lab with the relevant neighbors and interfaces, inject route failures and compare expected forwarding and adjacency behavior.
Explanation
Correct Answer
A:Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs. Confirm afterward that: Only intended hosts change, repeat runs converge and failures remain visible instead of silently skipping targets.
Incorrect Answers
B:Inspect representative pull-request diff, planned changes, lab reachability tests and approval artifacts tied to a commit hash. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
C:Apply an unchanged configuration twice in a sandbox and compare proposed diffs, device state and resulting resource counts. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
D:Build a lab with the relevant neighbors and interfaces, inject route failures and compare expected forwarding and adjacency behavior. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
Question 584
A candidate correction has been tested and the platform team requires a post-change acceptance check. Original problem: An Ansible playbook installs and starts a service on a branch management host but uses shell commands that report changed on every run. The service owner needs positive and negative results and evidence that legitimate data workflows still function. Which acceptance result demonstrates correct network automation behavior without disrupting authorized workflows? Select ONE best answer.
- The correct modeled resource is retrieved or updated with valid typed data and errors are classified accurately.
- Automation reports the real NETCONF operation outcome and does not mistake a parsed error for a completed change.
- The implementation follows correct interaction order and failure handling without racing ahead of unfinished operations.
- Only intended hosts change, repeat runs converge and failures remain visible instead of silently skipping targets.
Explanation
Correct Answer
D:Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs. The result must be validated using the documented device, service or access context.
Incorrect Answers
A:The correct modeled resource is retrieved or updated with valid typed data and errors are classified accurately. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
B:This option addresses a different network automation topic (NETCONF get versus edit-config results) rather than the documented Ansible inventory task and idempotency decision.
C:The implementation follows correct interaction order and failure handling without racing ahead of unfinished operations. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
Question 585
An implementation sign-off request identifies the following problem: An Ansible playbook installs and starts a service on a branch management host but uses shell commands that report changed on every run. Which paired technical change and validation should close the implementation review? Select ONE best answer.
- Change: Choose a suitable controller-level or device-level management workflow based on policy scope, supported platforms and transaction boundaries. Verify: Identify the source of truth, managed-device ownership and resulting change scope for a test policy and one isolated interface.
- Change: Use Terraform provider configuration, reviewed plans, managed remote state and suitable locking before apply, distinguishing provisioning from configuration management. Verify: Compare state address, proposed create update destroy actions and lock behavior after a safe external drift in a lab.
- Change: Use Cisco Modeling Labs or an appropriate lab topology to exercise network behavior before a real deployment, paired with separate automated state checks. Verify: Build a lab with the relevant neighbors and interfaces, inject route failures and compare expected forwarding and adjacency behavior.
- Change: Interpret host targeting, modules, tasks, conditionals and handlers and prefer idempotent modules for package, service and user management. Verify: Run the playbook twice in a lab and inspect targeted hosts, task return codes, handler activation and changed versus ok counts.
Explanation
Correct Answer
D:Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs. The change is successful only when: Only intended hosts change, repeat runs converge and failures remain visible instead of silently skipping targets.
Incorrect Answers
A:Change: Choose a suitable controller-level or device-level management workflow based on policy scope, supported platforms and transaction boundaries. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
B:Change: Use Terraform provider configuration, reviewed plans, managed remote state and suitable locking before apply, distinguishing provisioning from configuration management. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
C:Change: Use Cisco Modeling Labs or an appropriate lab topology to exercise network behavior before a real deployment, paired with separate automated state checks. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
Question 586
A network automation engineer is examining this network automation situation: A configuration team references a nonexistent host group in inventory and incorrectly concludes the playbook configured every switch successfully. A proposed shortcut is: Use unchecked shell commands for every task and assume a green play recap proves the correct inventory group was selected. What should the network automation engineer recommend as the narrowly scoped correction? Select ONE best answer.
- Represent the target infrastructure state in versioned declarative configuration and reconcile observed state with controlled plans or idempotent operations.
- Use supported Cisco NSO service modeling and transactional dry-run or commit workflows to coordinate multi-device service changes.
- Interpret host targeting, modules, tasks, conditionals and handlers and prefer idempotent modules for package, service and user management.
- Use unchecked shell commands for every task and assume a green play recap proves the correct inventory group was selected.
Explanation
Correct Answer
C:Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs. This targeted change addresses the stated automation or network-control gap without discarding necessary controls.
Incorrect Answers
A:Represent the target infrastructure state in versioned declarative configuration and reconcile observed state with controlled plans or idempotent operations. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
B:Use supported Cisco NSO service modeling and transactional dry-run or commit workflows to coordinate multi-device service changes. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
D:Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs. Use this instead: Interpret host targeting, modules, tasks, conditionals and handlers and prefer idempotent modules for package, service and user management.
Question 587
A Cisco network automation implementation review finds: A configuration team references a nonexistent host group in inventory and incorrectly concludes the playbook configured every switch successfully. The team proposes: Interpret host targeting, modules, tasks, conditionals and handlers and prefer idempotent modules for package, service and user management. Which engineering principle most strongly supports the recommended response? Select ONE best answer.
- Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
- Terraform tracks desired resources in state and computes plans, whereas Ansible chiefly runs inventory-based configuration tasks and NSO models network services.
- Code review catches defects and spreads knowledge beyond automated syntax checks, especially dangerous assumptions about permissions and deployment context.
- Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
Explanation
Correct Answer
D:Relevant validation before approval: Run the playbook twice in a lab and inspect targeted hosts, task return codes, handler activation and changed versus ok counts. Demonstrable success requires: Only intended hosts change, repeat runs converge and failures remain visible instead of silently skipping targets.
Incorrect Answers
A:This option addresses a different network automation topic (Unified diff context and patch review) rather than the documented Ansible inventory task and idempotency decision.
B:Terraform tracks desired resources in state and computes plans, whereas Ansible chiefly runs inventory-based configuration tasks and NSO models network services. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
C:Code review catches defects and spreads knowledge beyond automated syntax checks, especially dangerous assumptions about permissions and deployment context. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
Question 588
The network automation team has not yet approved changes. Current evidence indicates: A configuration team references a nonexistent host group in inventory and incorrectly concludes the playbook configured every switch successfully. Which evidence best tests the technical diagnosis before approving a disruptive change? Select ONE best answer.
- Compare state address, proposed create update destroy actions and lock behavior after a safe external drift in a lab.
- Run the playbook twice in a lab and inspect targeted hosts, task return codes, handler activation and changed versus ok counts.
- Annotate the script's request sequence with method and URL, and reproduce calls using fake responses in a sandbox.
- Inspect the proposed diff for secrets, unsafe TLS settings, missing negative tests and explicit reviewer acknowledgement of the planned route impact.
Explanation
Correct Answer
B:Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
Incorrect Answers
A:Compare state address, proposed create update destroy actions and lock behavior after a safe external drift in a lab. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
C:This option addresses a different network automation topic (Python workflow interpretation for Cisco APIs) rather than the documented Ansible inventory task and idempotency decision.
D:Inspect the proposed diff for secrets, unsafe TLS settings, missing negative tests and explicit reviewer acknowledgement of the planned route impact. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
Question 589
A candidate correction has been tested and the platform team requires a post-change acceptance check. Original problem: A configuration team references a nonexistent host group in inventory and incorrectly concludes the playbook configured every switch successfully. The service owner needs positive and negative results and evidence that legitimate data workflows still function. Which acceptance result demonstrates correct network automation behavior without disrupting authorized workflows? Select ONE best answer.
- The intended interface values are expressed and validated consistently without relying on arbitrary terminal prompt parsing.
- Only intended hosts change, repeat runs converge and failures remain visible instead of silently skipping targets.
- Planned changes are understood and serialized, and accidental unmanaged drift is detected before deployment.
- Enterprise policies remain consistent on managed devices and local changes follow the declared ownership model.
Explanation
Correct Answer
B:Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs. The approved implementation step was: Interpret host targeting, modules, tasks, conditionals and handlers and prefer idempotent modules for package, service and user management.
Incorrect Answers
A:The intended interface values are expressed and validated consistently without relying on arbitrary terminal prompt parsing. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
C:Planned changes are understood and serialized, and accidental unmanaged drift is detected before deployment. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
D:Enterprise policies remain consistent on managed devices and local changes follow the declared ownership model. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
Question 590
For an original CCNA Automation educational scenario, consider: A configuration team references a nonexistent host group in inventory and incorrectly concludes the playbook configured every switch successfully. Select TWO complementary steps: the targeted correction and its strongest prechange validation.
- Change: Interpret host targeting, modules, tasks, conditionals and handlers and prefer idempotent modules for package, service and user management.
- Check: Run the playbook twice in a lab and inspect targeted hosts, task return codes, handler activation and changed versus ok counts.
- Check: Compare the diagram's API responses with a test trace that includes task failure and token refresh before the next dependent call.
- Change: Use documented RESTCONF data paths and YANG module namespaces and preserve the declared leaf types when constructing and reading resource payloads.
- Use unchecked shell commands for every task and assume a green play recap proves the correct inventory group was selected.
Explanation
Correct Answer
A:Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs. Evidence: Run the playbook twice in a lab and inspect targeted hosts, task return codes, handler activation and changed versus ok counts.
B:Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs. Acceptance: Only intended hosts change, repeat runs converge and failures remain visible instead of silently skipping targets.
Incorrect Answers
C:Check: Compare the diagram's API responses with a test trace that includes task failure and token refresh before the next dependent call. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
D:Change: Use documented RESTCONF data paths and YANG module namespaces and preserve the declared leaf types when constructing and reading resource payloads. Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.
E:Ansible expresses ordered automation against inventory groups and modules can report changed status only when desired state differs.