โ† All Cisco CCNA Flashcard Decks

Network Automation and APIs Flashcards

7 cards from real Cisco CCNA practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 Network Automation and APIs flashcards as text
  1. Which HTTP method is used to partially update an existing resource in a REST API?

    Answer: PATCH

    PATCH is used for partial updates to an existing resource, while PUT replaces the entire resource.

  2. In a REST API response, which HTTP status code indicates that a new resource was successfully created?

    Answer: 201 Created

    HTTP 201 Created is the standard response when a POST request successfully creates a new resource.

  3. What does the 'I' stand for in the CRUD acronym used with REST APIs?

    Answer: CRUD does not contain an 'I'

    CRUD stands for Create, Read, Update, Delete โ€” there is no 'I' in the acronym.

  4. Which Ansible component describes the desired state of managed devices?

    Answer: Playbook

    An Ansible playbook is a YAML file that defines the desired configuration state for managed hosts.

  5. What is the primary advantage of using NETCONF over SNMP for network management?

    Answer: NETCONF supports transactional configuration with rollback

    NETCONF provides transactional configuration operations including commit and rollback capabilities, which SNMP lacks.

  6. In Python, which library is commonly used to make HTTP REST API calls to network devices?

    Answer: requests

    The 'requests' library is the standard Python library for making HTTP/REST API calls.

  7. Which data serialization format does NETCONF use natively?

    Answer: XML

    NETCONF uses XML as its native data encoding format for both configuration data and protocol messages.

Network Automation and APIs Flashcards โ€” Cisco CCNA Study Cards with Answers