Skip to content

5.0 AI, Network Operations and Management

Automation Fundamentals Practice Questions

Updated for CCNA v2.0

APIs, JSON/YAML, REST, SDN, and configuration automation basics.

Author-reviewed by LabFabric · 8 September 2026 · Report a content issue

One solved question, so you can see how these are marked

Which format uses curly braces for objects and quoted property names in a common API response?

JSON

A JSON object uses braces and double-quoted string member names. YAML block mappings commonly use indentation, CSV uses delimited records, and XML uses elements and tags.

Every question in the set below is marked like this. The answers stay hidden until you pick one.

Find related practice in the CCNA path
All 9 Automation Fundamentals questions in this set

Answers and explanations appear when you work through the set above.

  1. Which HTTP method has standardized safe semantics for retrieving a current representation without requesting a state change?

    • PATCH
    • GET
    • POST
    • DELETE
  2. Which HTTP response class indicates successful handling of a request?

    • 4xx
    • 5xx
    • 2xx
    • 3xx
  3. What makes an automation action idempotent?

    • Each run appends another copy of the same configuration
    • It can only be run after restarting the device
    • It requires the operator to reverse every previous change
    • Repeating it has the same intended effect as applying it once
  4. What is YAML commonly used to express in Ansible workflows?

    • Playbooks, inventories, and variables
    • Raw Ethernet packet framing
    • An HTTP response status code
    • A binary device image
  5. Which automation tool commonly uses agentless playbooks to operate network devices through SSH or APIs?

    • An SNMP monitoring dashboard
    • Ansible
    • Terraform resource planning
    • A syslog collector
  6. Which statement best characterises REST?

    • A requirement that every API use XML
    • A protocol that replaces HTTP encryption
    • An architectural style using resources and a uniform interface
    • A required device command-line syntax
  7. In model-driven network management, what does a YANG model define?

    • The order of Ethernet frames on a link
    • An application's HTTP response status
    • The encrypted bytes of an SSH session
    • The structure and constraints of configuration and operational data
  8. What practical benefit does version control add to text-based network automation?

    • A history of changes that can be reviewed and compared
    • Automatic restoration of every device after an outage
    • Proof that each committed change is technically correct
    • Replacement of device backups and testing
  9. What is commonly separated in a software-defined network architecture?

    • Access links and their physical transceivers
    • Control-plane decisions and data-plane forwarding
    • All IPv4 traffic and all IPv6 traffic
    • User authentication and every application session