Cisco 200-901 Practice Test 64
Question 630
For an original CCNA Automation educational scenario, consider: A cleanup task changes working directories unexpectedly and removes logs from the wrong path because it uses relative paths without checking pwd. Select TWO complementary steps: the targeted correction and its strongest prechange validation.
- Change: Trace variable expansion, quoting, conditionals and file operations in the Bash script and validate its scope with safe fixtures.
- Use rm -rf $DIR with an uninitialized variable and assume word splitting never changes command arguments.
- Change: Use Cisco Modeling Labs or an appropriate lab topology to exercise network behavior before a real deployment, paired with separate automated state checks.
- Check: Test the script with paths containing spaces and a missing variable, record pwd and preview file changes in a disposable environment.
- Check: Apply the patch to a safe copy, inspect resulting configuration and compare it with policy tests and the original file.
Explanation
Correct Answer
A:Shell command behavior depends on quoting, word splitting, exit status and current directory; the same command text can affect different files under different context. Evidence: Test the script with paths containing spaces and a missing variable, record pwd and preview file changes in a disposable environment.
D:Shell command behavior depends on quoting, word splitting, exit status and current directory; the same command text can affect different files under different context. Acceptance: Only the intended hosts and files are processed, with guarded failures rather than silent accidental deletions.
Incorrect Answers
B:Shell command behavior depends on quoting, word splitting, exit status and current directory; the same command text can affect different files under different context.
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. A cleanup task changes working directories unexpectedly and removes logs from the wrong path because it uses relative paths without checking pwd.
E:Check: Apply the patch to a safe copy, inspect resulting configuration and compare it with policy tests and the original file. Shell command behavior depends on quoting, word splitting, exit status and current directory; the same command text can affect different files under different context.
Question 631
A network automation engineer is examining this network automation situation: An engineer sees NETCONF rpc-error in the XML reply to an edit-config operation but counts the transport connection as successful configuration. A proposed shortcut is: Assume any NETCONF message received over an active SSH session means the device accepted the configuration. What should the network automation engineer recommend as the narrowly scoped correction? Select ONE best answer.
- Use supported Cisco NSO service modeling and transactional dry-run or commit workflows to coordinate multi-device service changes.
- Interpret NETCONF RPC reply elements, ok versus rpc-error and the configuration or operational datastore targeted by the request.
- Use documented RESTCONF data paths and YANG module namespaces and preserve the declared leaf types when constructing and reading resource payloads.
- Assume any NETCONF message received over an active SSH session means the device accepted the configuration.
Explanation
Correct Answer
B:The required acceptance condition is: Automation reports the real NETCONF operation outcome and does not mistake a parsed error for a completed change.
Incorrect Answers
A:Use supported Cisco NSO service modeling and transactional dry-run or commit workflows to coordinate multi-device service changes. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
C:Use documented RESTCONF data paths and YANG module namespaces and preserve the declared leaf types when constructing and reading resource payloads. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
D:NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
Question 632
A Cisco network automation implementation review finds: An engineer sees NETCONF rpc-error in the XML reply to an edit-config operation but counts the transport connection as successful configuration. The team proposes: Interpret NETCONF RPC reply elements, ok versus rpc-error and the configuration or operational datastore targeted by the request. 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.
- NSO maps service intent to device-level configuration and can expose the planned impact and transaction failure rather than unmanaged partial CLI changes.
- Code review catches defects and spreads knowledge beyond automated syntax checks, especially dangerous assumptions about permissions and deployment context.
- NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
Explanation
Correct Answer
D:Demonstrable success requires: Automation reports the real NETCONF operation outcome and does not mistake a parsed error for a completed change. This principle explains the proposed technical approach, which is: Interpret NETCONF RPC reply elements, ok versus rpc-error and the configuration or operational datastore targeted by the request.
Incorrect Answers
A:This option addresses a different network automation topic (Unified diff context and patch review) rather than the documented NETCONF get versus edit-config results decision.
B:NSO maps service intent to device-level configuration and can expose the planned impact and transaction failure rather than unmanaged partial CLI changes. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
C:This option addresses a different network automation topic (Code review quality and sensitive credential handling) rather than the documented NETCONF get versus edit-config results decision.
Question 633
The network automation team has not yet approved changes. Current evidence indicates: An engineer sees NETCONF rpc-error in the XML reply to an edit-config operation but counts the transport connection as successful configuration. Which evidence best tests the technical diagnosis before approving a disruptive change? Select ONE best answer.
- Apply an unchanged configuration twice in a sandbox and compare proposed diffs, device state and resulting resource counts.
- Compare the diagram's API responses with a test trace that includes task failure and token refresh before the next dependent call.
- Read a sample rpc-reply containing ok and a failing reply with error-tag, then inspect the relevant device datastore.
- Compare YANG leaf types, configured and operational data and model-supported paths across two approved device versions.
Explanation
Correct Answer
C:NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
Incorrect Answers
A:Apply an unchanged configuration twice in a sandbox and compare proposed diffs, device state and resulting resource counts. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
B:Compare the diagram's API responses with a test trace that includes task failure and token refresh before the next dependent call. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
D:Compare YANG leaf types, configured and operational data and model-supported paths across two approved device versions. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
Question 634
A candidate correction has been tested and the platform team requires a post-change acceptance check. Original problem: An engineer sees NETCONF rpc-error in the XML reply to an edit-config operation but counts the transport connection as successful configuration. 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 implementation follows correct interaction order and failure handling without racing ahead of unfinished operations.
- Automation reports the real NETCONF operation outcome and does not mistake a parsed error for a completed change.
- The reviewer accurately identifies the automation's read or write effects and required permissions without inventing side effects.
- The second run makes no unintended changes and the declared state can reproduce approved infrastructure.
Explanation
Correct Answer
B:NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration. The approved implementation step was: Interpret NETCONF RPC reply elements, ok versus rpc-error and the configuration or operational datastore targeted by the request.
Incorrect Answers
A:The implementation follows correct interaction order and failure handling without racing ahead of unfinished operations. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
C:The reviewer accurately identifies the automation's read or write effects and required permissions without inventing side effects. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
D:The second run makes no unintended changes and the declared state can reproduce approved infrastructure. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
Question 635
An implementation sign-off request identifies the following problem: An engineer sees NETCONF rpc-error in the XML reply to an edit-config operation but counts the transport connection as successful configuration. Which paired technical change and validation should close the implementation review? Select ONE best answer.
- 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: 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: Interpret NETCONF RPC reply elements, ok versus rpc-error and the configuration or operational datastore targeted by the request. Verify: Read a sample rpc-reply containing ok and a failing reply with error-tag, then inspect the relevant device datastore.
- Change: Trace API method, endpoint path, loops and response usage to identify whether code discovers devices, observes clients or changes configuration. Verify: Annotate the script's request sequence with method and URL, and reproduce calls using fake responses in a sandbox.
Explanation
Correct Answer
C:NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration. The change is successful only when: Automation reports the real NETCONF operation outcome and does not mistake a parsed error for a completed change.
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. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
B:Change: Choose a suitable controller-level or device-level management workflow based on policy scope, supported platforms and transaction boundaries. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
D:Change: Trace API method, endpoint path, loops and response usage to identify whether code discovers devices, observes clients or changes configuration. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
Question 636
A network automation engineer is examining this network automation situation: An automation client parses NETCONF get-config as an HTTP JSON response and misses the returned XML data tree. A proposed shortcut is: Assume any NETCONF message received over an active SSH session means the device accepted the configuration. What should the network automation engineer recommend as the narrowly scoped correction? Select ONE best answer.
- Use documented RESTCONF data paths and YANG module namespaces and preserve the declared leaf types when constructing and reading resource payloads.
- Interpret NETCONF RPC reply elements, ok versus rpc-error and the configuration or operational datastore targeted by the request.
- Trace API method, endpoint path, loops and response usage to identify whether code discovers devices, observes clients or changes configuration.
- Assume any NETCONF message received over an active SSH session means the device accepted the configuration.
Explanation
Correct Answer
B:NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration. This targeted change addresses the stated automation or network-control gap without discarding necessary controls.
Incorrect Answers
A:Use documented RESTCONF data paths and YANG module namespaces and preserve the declared leaf types when constructing and reading resource payloads. An automation client parses NETCONF get-config as an HTTP JSON response and misses the returned XML data tree.
C:Trace API method, endpoint path, loops and response usage to identify whether code discovers devices, observes clients or changes configuration. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
D:NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
Question 637
A Cisco network automation implementation review finds: An automation client parses NETCONF get-config as an HTTP JSON response and misses the returned XML data tree. The team proposes: Interpret NETCONF RPC reply elements, ok versus rpc-error and the configuration or operational datastore targeted by the request. Which engineering principle most strongly supports the recommended response? Select ONE best answer.
- NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
- Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions.
- Sequence diagrams express temporal relationships between participants; asynchronous acceptance and final completion are separate events.
- RESTCONF exposes modeled paths through HTTP, and YANG controls hierarchical containers, lists, keys and leaf data types independent of HTTP success alone.
Explanation
Correct Answer
A:Demonstrable success requires: Automation reports the real NETCONF operation outcome and does not mistake a parsed error for a completed change.
Incorrect Answers
B:Model-driven programmability provides typed hierarchical schemas that permit machine validation and reduce brittle screen-scraping assumptions. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
C:Sequence diagrams express temporal relationships between participants; asynchronous acceptance and final completion are separate events. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
D:RESTCONF exposes modeled paths through HTTP, and YANG controls hierarchical containers, lists, keys and leaf data types independent of HTTP success alone. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
Question 638
The network automation team has not yet approved changes. Current evidence indicates: An automation client parses NETCONF get-config as an HTTP JSON response and misses the returned XML data tree. Which evidence best tests the technical diagnosis before approving a disruptive change? Select ONE best answer.
- Identify the source of truth, managed-device ownership and resulting change scope for a test policy and one isolated interface.
- Read a sample rpc-reply containing ok and a failing reply with error-tag, then inspect the relevant device datastore.
- Inspect representative pull-request diff, planned changes, lab reachability tests and approval artifacts tied to a commit hash.
- Annotate the script's request sequence with method and URL, and reproduce calls using fake responses in a sandbox.
Explanation
Correct Answer
B:NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration. If confirmed, the proportionate intervention is: Interpret NETCONF RPC reply elements, ok versus rpc-error and the configuration or operational datastore targeted by the request.
Incorrect Answers
A:Identify the source of truth, managed-device ownership and resulting change scope for a test policy and one isolated interface. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
C:Inspect representative pull-request diff, planned changes, lab reachability tests and approval artifacts tied to a commit hash. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
D:Annotate the script's request sequence with method and URL, and reproduce calls using fake responses in a sandbox. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
Question 639
A candidate correction has been tested and the platform team requires a post-change acceptance check. Original problem: An automation client parses NETCONF get-config as an HTTP JSON response and misses the returned XML data tree. 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 implementation follows correct interaction order and failure handling without racing ahead of unfinished operations.
- The second run makes no unintended changes and the declared state can reproduce approved infrastructure.
- Automation reports the real NETCONF operation outcome and does not mistake a parsed error for a completed change.
- Changes deploy only after technical and policy gates and can be traced or reverted if validation fails.
Explanation
Correct Answer
C:NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration. The result must be validated using the documented device, service or access context.
Incorrect Answers
A:The implementation follows correct interaction order and failure handling without racing ahead of unfinished operations. An automation client parses NETCONF get-config as an HTTP JSON response and misses the returned XML data tree.
B:The second run makes no unintended changes and the declared state can reproduce approved infrastructure. An automation client parses NETCONF get-config as an HTTP JSON response and misses the returned XML data tree.
D:Changes deploy only after technical and policy gates and can be traced or reverted if validation fails. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
Question 640
For an original CCNA Automation educational scenario, consider: An automation client parses NETCONF get-config as an HTTP JSON response and misses the returned XML data tree. 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.
- Change: Interpret NETCONF RPC reply elements, ok versus rpc-error and the configuration or operational datastore targeted by the request.
- Check: Read a sample rpc-reply containing ok and a failing reply with error-tag, then inspect the relevant device datastore.
- Check: Inspect a staged service dry-run diff, affected devices and recovery behavior after a simulated device rejection.
- Assume any NETCONF message received over an active SSH session means the device accepted the configuration.
Explanation
Correct Answer
B:NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration. Acceptance: Automation reports the real NETCONF operation outcome and does not mistake a parsed error for a completed change.
C:NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration. Required intervention: Interpret NETCONF RPC reply elements, ok versus rpc-error and the configuration or operational datastore targeted by the request.
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 automation client parses NETCONF get-config as an HTTP JSON response and misses the returned XML data tree.
D:Check: Inspect a staged service dry-run diff, affected devices and recovery behavior after a simulated device rejection. NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.
E:NETCONF uses XML RPC framing, and a successful SSH transport does not imply a successful RPC or committed target configuration.