Cisco 200-901 Practice Test 66
Question 650
For an original CCNA Automation educational scenario, consider: A developer sends a JSON leaf as a string where the device YANG schema declares a Boolean or decimal value. Select TWO complementary steps: the targeted correction and its strongest prechange validation.
- Make up a namespace and convert every YANG leaf value to a string regardless of type or schema.
- Check: Apply an unchanged configuration twice in a sandbox and compare proposed diffs, device state and resulting resource counts.
- Change: Use documented RESTCONF data paths and YANG module namespaces and preserve the declared leaf types when constructing and reading resource payloads.
- Change: Interpret context, removed and added lines and hunk headers to determine the exact before and after configuration meaning.
- Check: Compare the YANG tree and path with the request URL, content type and returned status for one list and scalar leaf.
Explanation
Correct Answer
C:RESTCONF exposes modeled paths through HTTP, and YANG controls hierarchical containers, lists, keys and leaf data types independent of HTTP success alone. Evidence: Compare the YANG tree and path with the request URL, content type and returned status for one list and scalar leaf.
E:RESTCONF exposes modeled paths through HTTP, and YANG controls hierarchical containers, lists, keys and leaf data types independent of HTTP success alone. Required intervention: Use documented RESTCONF data paths and YANG module namespaces and preserve the declared leaf types when constructing and reading resource payloads.
Incorrect Answers
A:RESTCONF exposes modeled paths through HTTP, and YANG controls hierarchical containers, lists, keys and leaf data types independent of HTTP success alone.
B:Check: Apply an unchanged configuration twice in a sandbox and compare proposed diffs, device state and resulting resource counts. RESTCONF exposes modeled paths through HTTP, and YANG controls hierarchical containers, lists, keys and leaf data types independent of HTTP success alone.
D:Change: Interpret context, removed and added lines and hunk headers to determine the exact before and after configuration meaning. A developer sends a JSON leaf as a string where the device YANG schema declares a Boolean or decimal value.
Question 651
A network automation engineer is examining this network automation situation: A pull request shows a minus line removing the default-deny ACL entry and a plus line adding a broad allow-any rule, but the reviewer treats both as new controls. A proposed shortcut is: Treat a plus line as an existing deleted entry and approve a diff without examining its effect on network access. What should the network automation engineer recommend as the narrowly scoped correction? Select ONE best answer.
- Trace variable expansion, quoting, conditionals and file operations in the Bash script and validate its scope with safe fixtures.
- Treat a plus line as an existing deleted entry and approve a diff without examining its effect on network access.
- Represent the target infrastructure state in versioned declarative configuration and reconcile observed state with controlled plans or idempotent operations.
- Interpret context, removed and added lines and hunk headers to determine the exact before and after configuration meaning.
Explanation
Correct Answer
D:Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
Incorrect Answers
A:Trace variable expansion, quoting, conditionals and file operations in the Bash script and validate its scope with safe fixtures. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
B:Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
C:Represent the target infrastructure state in versioned declarative configuration and reconcile observed state with controlled plans or idempotent operations. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
Question 652
A Cisco network automation implementation review finds: A pull request shows a minus line removing the default-deny ACL entry and a plus line adding a broad allow-any rule, but the reviewer treats both as new controls. The team proposes: Interpret context, removed and added lines and hunk headers to determine the exact before and after configuration meaning. Which engineering principle most strongly supports the recommended response? Select ONE best answer.
- Simulation and emulation tools can reproduce representative networks and control-plane outcomes without exposing live traffic to untested changes.
- Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
- Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
- Controllers coordinate intent across fleets, while device-level interfaces expose local resources and may provide more granular operational state.
Explanation
Correct Answer
C:Demonstrable success requires: The review identifies any expanded access or lost control before merge and the final file contains only intended changes.
Incorrect Answers
A:Simulation and emulation tools can reproduce representative networks and control-plane outcomes without exposing live traffic to untested changes. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
B:Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
D:Controllers coordinate intent across fleets, while device-level interfaces expose local resources and may provide more granular operational state. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
Question 653
The network automation team has not yet approved changes. Current evidence indicates: A pull request shows a minus line removing the default-deny ACL entry and a plus line adding a broad allow-any rule, but the reviewer treats both as new controls. Which evidence best tests the technical diagnosis before approving a disruptive change? Select ONE best answer.
- Apply the patch to a safe copy, inspect resulting configuration and compare it with policy tests and the original file.
- Inspect representative pull-request diff, planned changes, lab reachability tests and approval artifacts tied to a commit hash.
- Compare the YANG tree and path with the request URL, content type and returned status for one list and scalar leaf.
- Compare YANG leaf types, configured and operational data and model-supported paths across two approved device versions.
Explanation
Correct Answer
A:Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes. Confirm afterward that: The review identifies any expanded access or lost control before merge and the final file contains only intended changes.
Incorrect Answers
B:This option addresses a different network automation topic (Infrastructure CI/CD drift detection) rather than the documented Unified diff context and patch review decision.
C:Compare the YANG tree and path with the request URL, content type and returned status for one list and scalar leaf. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
D:Compare YANG leaf types, configured and operational data and model-supported paths across two approved device versions. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
Question 654
A candidate correction has been tested and the platform team requires a post-change acceptance check. Original problem: A pull request shows a minus line removing the default-deny ACL entry and a plus line adding a broad allow-any rule, but the reviewer treats both as new controls. 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 review identifies any expanded access or lost control before merge and the final file contains only intended changes.
- Tests fail when operational state differs from the approved baseline even when the configuration API returned success.
- Security-sensitive changes receive documented approval with credential hygiene and validated rollback evidence.
- Only the intended hosts and files are processed, with guarded failures rather than silent accidental deletions.
Explanation
Correct Answer
A:Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes. The result must be validated using the documented device, service or access context.
Incorrect Answers
B:Tests fail when operational state differs from the approved baseline even when the configuration API returned success. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
C:Security-sensitive changes receive documented approval with credential hygiene and validated rollback evidence. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
D:Only the intended hosts and files are processed, with guarded failures rather than silent accidental deletions. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
Question 655
An implementation sign-off request identifies the following problem: A pull request shows a minus line removing the default-deny ACL entry and a plus line adding a broad allow-any rule, but the reviewer treats both as new controls. Which paired technical change and validation should close the implementation review? Select ONE best answer.
- Change: Represent the target infrastructure state in versioned declarative configuration and reconcile observed state with controlled plans or idempotent operations. Verify: Apply an unchanged configuration twice in a sandbox and compare proposed diffs, device state and resulting resource counts.
- Change: Interpret context, removed and added lines and hunk headers to determine the exact before and after configuration meaning. Verify: Apply the patch to a safe copy, inspect resulting configuration and compare it with policy tests and the original file.
- 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: Read lifelines and ordered request-response arrows, identify asynchronous callbacks or polling and make dependent actions wait for the documented result. Verify: 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
B:Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes. The change is successful only when: The review identifies any expanded access or lost control before merge and the final file contains only intended changes.
Incorrect Answers
A:Change: Represent the target infrastructure state in versioned declarative configuration and reconcile observed state with controlled plans or idempotent operations. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
C:Change: Choose a suitable controller-level or device-level management workflow based on policy scope, supported platforms and transaction boundaries. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
D:This option addresses a different network automation topic (API sequence diagram and asynchronous ordering) rather than the documented Unified diff context and patch review decision.
Question 656
A network automation engineer is examining this network automation situation: An engineer reads @@ -10,3 +10,5 @@ in a diff as an executable router command rather than source and target line ranges. A proposed shortcut is: Treat a plus line as an existing deleted entry and approve a diff without examining its effect on network access. What should the network automation engineer recommend as the narrowly scoped correction? Select ONE best answer.
- 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 plus line as an existing deleted entry and approve a diff without examining its effect on network access.
- Interpret context, removed and added lines and hunk headers to determine the exact before and after configuration meaning.
- Use documented RESTCONF data paths and YANG module namespaces and preserve the declared leaf types when constructing and reading resource payloads.
Explanation
Correct Answer
C:Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
Incorrect Answers
A:Use Cisco Modeling Labs or an appropriate lab topology to exercise network behavior before a real deployment, paired with separate automated state checks. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
B:Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes. Use this instead: Interpret context, removed and added lines and hunk headers to determine the exact before and after configuration meaning.
D:Use documented RESTCONF data paths and YANG module namespaces and preserve the declared leaf types when constructing and reading resource payloads. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
Question 657
A Cisco network automation implementation review finds: An engineer reads @@ -10,3 +10,5 @@ in a diff as an executable router command rather than source and target line ranges. The team proposes: Interpret context, removed and added lines and hunk headers to determine the exact before and after configuration meaning. 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.
- Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
- Simulation and emulation tools can reproduce representative networks and control-plane outcomes without exposing live traffic to untested changes.
- Observable API behavior follows HTTP methods and target resources, not merely the programming language or presence of an authentication token.
Explanation
Correct Answer
B:Demonstrable success requires: The review identifies any expanded access or lost control before merge and the final file contains only intended changes.
Incorrect Answers
A:PyATS supports automated test execution and Genie can normalize supported command output into structured fields for repeatable assertions. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
C:Simulation and emulation tools can reproduce representative networks and control-plane outcomes without exposing live traffic to untested changes. An engineer reads @@ -10,3 +10,5 @@ in a diff as an executable router command rather than source and target line ranges.
D:This option addresses a different network automation topic (Python workflow interpretation for Cisco APIs) rather than the documented Unified diff context and patch review decision.
Question 658
The network automation team has not yet approved changes. Current evidence indicates: An engineer reads @@ -10,3 +10,5 @@ in a diff as an executable router command rather than source and target line ranges. Which evidence best tests the technical diagnosis before approving a disruptive change? Select ONE best answer.
- Apply the patch to a safe copy, inspect resulting configuration and compare it with policy tests and the original file.
- Inspect a staged service dry-run diff, affected devices and recovery behavior after a simulated device rejection.
- Inspect the proposed diff for secrets, unsafe TLS settings, missing negative tests and explicit reviewer acknowledgement of the planned route impact.
- Test the script with paths containing spaces and a missing variable, record pwd and preview file changes in a disposable environment.
Explanation
Correct Answer
A:Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes. This check tests the actual network, API or deployment boundary before an operationally risky change.
Incorrect Answers
B:Inspect a staged service dry-run diff, affected devices and recovery behavior after a simulated device rejection. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
C:Inspect the proposed diff for secrets, unsafe TLS settings, missing negative tests and explicit reviewer acknowledgement of the planned route impact. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
D:Test the script with paths containing spaces and a missing variable, record pwd and preview file changes in a disposable environment. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
Question 659
A candidate correction has been tested and the platform team requires a post-change acceptance check. Original problem: An engineer reads @@ -10,3 +10,5 @@ in a diff as an executable router command rather than source and target line ranges. 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 review identifies any expanded access or lost control before merge and the final file contains only intended changes.
- Security-sensitive changes receive documented approval with credential hygiene and validated rollback evidence.
- Automation reports the real NETCONF operation outcome and does not mistake a parsed error for a completed change.
- Enterprise policies remain consistent on managed devices and local changes follow the declared ownership model.
Explanation
Correct Answer
A:Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes. The approved implementation step was: Interpret context, removed and added lines and hunk headers to determine the exact before and after configuration meaning.
Incorrect Answers
B:Security-sensitive changes receive documented approval with credential hygiene and validated rollback evidence. An engineer reads @@ -10,3 +10,5 @@ in a diff as an executable router command rather than source and target line ranges.
C:This option addresses a different network automation topic (NETCONF get versus edit-config results) rather than the documented Unified diff context and patch review decision.
D:Enterprise policies remain consistent on managed devices and local changes follow the declared ownership model. Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.
Question 660
For an original CCNA Automation educational scenario, consider: An engineer reads @@ -10,3 +10,5 @@ in a diff as an executable router command rather than source and target line ranges. Select TWO complementary steps: the targeted correction and its strongest prechange validation.
- Check: Compare state address, proposed create update destroy actions and lock behavior after a safe external drift in a lab.
- Change: Choose a suitable controller-level or device-level management workflow based on policy scope, supported platforms and transaction boundaries.
- Check: Apply the patch to a safe copy, inspect resulting configuration and compare it with policy tests and the original file.
- Treat a plus line as an existing deleted entry and approve a diff without examining its effect on network access.
- Change: Interpret context, removed and added lines and hunk headers to determine the exact before and after configuration meaning.
Explanation
Correct Answer
C:Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes. Acceptance: The review identifies any expanded access or lost control before merge and the final file contains only intended changes.
E:Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes. Evidence: Apply the patch to a safe copy, inspect resulting configuration and compare it with policy tests and the original file.
Incorrect Answers
A:This option addresses a different network automation topic (Terraform plan state and provider scope) rather than the documented Unified diff context and patch review decision.
B:Change: Choose a suitable controller-level or device-level management workflow based on policy scope, supported platforms and transaction boundaries. An engineer reads @@ -10,3 +10,5 @@ in a diff as an executable router command rather than source and target line ranges.
D:Unified diffs mark deleted source lines with minus and inserted target lines with plus, while context and hunk positions help locate changes.