Network APIs and Scripting Quiz

5 questions Pass: 70% +25 pts

Quiz covering Network Automation

Network APIs and Scripting Quiz

5 questions | Pass: 70% | Earn 25 points

Questions in this quiz

A preview of the 5 questions covered. Start the quiz above to answer them, check your score, and read the explanations.

  1. 1

    Which of the following data formats is most commonly used by RESTful APIs for exchanging structured data between network devices and automation controllers?

  2. 2

    When using the Python 'requests' library to interact with a network device's API, which HTTP method is typically used to create or add a new configuration resource?

  3. 3

    What is the primary purpose of using a NETCONF 'datastore' during network automation tasks?

  4. 4

    You are writing a Python script to automate device configuration. You receive a '401 Unauthorized' error when sending your API request. What is the most likely cause?

  5. 5

    In the context of model-driven programmability, why is it considered best practice to use YANG models rather than raw CLI parsing for network automation?