Network APIs and Scripting Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Network Automation

What you'll be asked

  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. 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. What is the primary purpose of using a NETCONF 'datastore' during network automation tasks?
  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. 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?

Answers and explanations come after you submit.