200-901 exam dumps

200-901 practice question 145 of 204

Cisco DevNet Associate. Associate level, Cisco. Free question with the correct answer and a full explanation.

200-901 Question 145

Select 3

You are tasked with automating the testing of a network configuration change in a lab environment. You decide to use pyATS for this purpose. Which of the following steps are required to validate the network's state before and after the change using pyATS?

  1. A

    Capture the initial network state using a pyATS testbed file and save it as a baseline.

  2. B

    Use pyATS Genie parser to extract and validate operational data, such as interface status and routing tables.

  3. C

    Implement the configuration change directly in the testbed file to simulate the change.

  4. D

    Write a pyATS script to compare the pre-change baseline to the post-change network state.

  5. E

    Deploy the network change using pyATS jobs and parse logs for errors.

Show answer and explanation

Correct answers: A, B, D

Explanation

To validate the network's state before and after a change using pyATS, you need to capture the initial state, use tools like the Genie parser to collect and validate data, and compare the pre- and post-change states using a script. This ensures a structured and automated approach to verifying network changes. Configuration deployment and testing are separate processes in this workflow.

  • A. Correct.

    Correct: Capturing the initial network state is a critical first step in validating the network's behavior before and after the configuration change.

  • B. Correct.

    Correct: The Genie parser is an integral part of pyATS, allowing you to extract and validate operational data from devices.

  • C. Incorrect.

    Incorrect: Configuration changes are not made directly in the testbed file. The testbed file is used for device inventory and connection details.

  • D. Correct.

    Correct: Writing a script to compare the pre-change and post-change states is essential for identifying discrepancies caused by the changes.

  • E. Incorrect.

    Incorrect: pyATS itself does not deploy configuration changes, though it can help validate and parse network states before and after changes.

Timed practice exam

Take a 200-901 practice test under exam conditions

75 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam