Automation & Programmability

CCNA 200-301 · Automation and Programmability

By Abu Anns · Last updated 20 November 2026Exam version: 200-301 v1.1 (current until 2 Feb 2027)

Automation is the newest domain on the CCNA and the one that most surprises candidates who expected a purely command-line exam. It is only 10% of the test, and it is almost entirely conceptual — no programming is required, and no code needs to be written. The exam wants you to understand why networks are being automated, how controller-based networking differs from traditional networking, what a REST API is, how to read JSON data, and what tools like Ansible and Terraform do. This guide covers those ideas in plain language, with the vocabulary the exam uses.

How automation impacts network management

Traditional network management means logging into devices one at a time and typing commands. It works for ten devices; it does not work for ten thousand. Every manual change is slow, inconsistent (two engineers configure the same task slightly differently), and error-prone (a typo can take down a network). Automation replaces repetitive manual work with software: a script or a tool applies the same tested configuration to every device, in seconds, with the same result every time. The benefits the exam names are consistency, speed, reliability, and scale — plus the ability to treat network configuration as code that can be reviewed, version-controlled, and rolled back, exactly like application code. Automation does not replace network engineers; it replaces the repetitive parts of their jobs and frees them for design and troubleshooting.

Traditional networks vs controller-based networking

In a traditional network, every device makes its own decisions. Each router runs its own routing protocol, builds its own routing table, and forwards packets based on its own view of the network. The control plane (the decision-making: which path should traffic take?) and the data plane (the forwarding: actually moving the packets) live together on every device, and changes are made device by device. In controller-based networking (the core idea of software-defined networking, or SDN), the control plane moves to a central controller, and the network devices become simpler: they forward packets according to instructions from the controller. The controller sees the whole network, so it can make decisions no single device could — rerouting traffic around a failure in seconds, or applying a security policy to every device at once.

SDN architecture has three parts the exam names. The underlay is the physical network: the routers, switches, and links that carry traffic. The overlay is the virtual network built on top of the underlay: tunnels and virtual segments that connect endpoints regardless of the physical topology. The fabric is the integrated combination of underlay and overlay, managed as one system — Cisco's SD-Access is a fabric architecture for campus networks. Two types of API connect the pieces: southbound APIs carry instructions from the controller down to the network devices, and northbound APIs let applications and orchestration systems talk to the controller, asking it for information or requesting network changes. Remember the direction: north is up toward the applications, south is down toward the devices.

AI and machine learning in network operations

The v1.1 blueprint added AI to the exam, and v2.0 expands it further — so this topic is worth knowing properly. Predictive AI and machine learning analyse network data to forecast problems before they happen: spotting a traffic pattern that precedes a failure, predicting when a link will saturate, or flagging behaviour that looks like an attack. Generative AI creates new content: drafting a configuration from a plain-language request, summarising a troubleshooting session, or answering an engineer's question in natural language. In practice the two combine in digital network assistants and AIOps platforms, which monitor the network continuously, explain what they find, and sometimes suggest or apply fixes. The exam's point is the distinction — predictive AI forecasts, generative AI creates — and the idea that AI augments engineers rather than replacing them: a human still approves changes and is accountable for the result.

REST-based APIs

An API (Application Programming Interface) is how software talks to other software, and a REST-based API is the dominant style for network automation. REST uses standard HTTP requests to perform operations on resources, and the exam maps the four CRUD operations to HTTP verbs: Create uses POST, Read uses GET, Update uses PUT or PATCH, and Delete uses DELETE. A GET request to a controller's API might retrieve the list of devices; a POST might create a new VLAN. REST APIs are stateless — each request carries everything the server needs, and the server remembers nothing between requests — and they exchange data in a structured format, usually JSON.

APIs need authentication, and the exam names three types: basic authentication (a username and password sent with the request, only safe over HTTPS), API keys (a long token identifying the caller, sent in a header), and bearer tokens (a token obtained by logging in first, then presented with each request — the OAuth style). The API's responses carry HTTP status codes that tell you what happened: 200 means OK, 201 means a resource was created, 400 means the request was malformed, 401 means authentication failed, and 404 means the resource was not found.

Configuration management: Ansible and Terraform

Ansible and Terraform are the two automation tools the exam names, and they do different jobs. Ansible is a configuration management tool: it connects to devices over SSH (no agent software needed on the device — it is agentless), and it applies configurations described in YAML files called playbooks. An Ansible playbook might say "make sure every switch has this NTP server configured", and Ansible checks each device and changes only what is needed. Terraform is an infrastructure-as-code tool: it provisions and manages infrastructure — virtual machines, networks, cloud resources — from declarative configuration files written in HCL, tracking what exists in a state file and applying only the changes needed to reach the desired state. The exam's distinction is simple: Ansible configures things that already exist, Terraform creates things. Both let a team manage infrastructure with version-controlled files instead of manual steps.

JSON-encoded data

JSON (JavaScript Object Notation) is the data format REST APIs use, and the exam asks you to recognise its components. JSON data is built from objects (key-value pairs inside curly braces), arrays (ordered lists inside square brackets), strings (text in double quotes), numbers, booleans (true/false), and null. A typical example: {"hostname": "R1", "interfaces": ["GigabitEthernet0/0", "GigabitEthernet0/1"], "ospf_enabled": true}. The keys are strings, the values can be any type, and the structure nests — an object can contain arrays, and arrays can contain objects. You do not need to write JSON on the exam, but you do need to read it: given a JSON snippet, identify the keys, the values, and the data types. The most common mistakes are using single quotes instead of double quotes (JSON requires double quotes) and forgetting that a trailing comma after the last item is not allowed.

Advertisement

Exam traps to watch for

Practice questions

Test yourself on this guide. Answers are checked instantly, with a full explanation for each question.

Q1.What is the main benefit of network automation over manual device-by-device configuration?

Report an error

Q2.In a controller-based (SDN) architecture, what is the difference between the control plane and the data plane?

Report an error

Q3.In an SDN architecture, which API lets an application request a network change from the controller, and which API carries the controller's instructions to the devices?

Report an error

Q4.A network operations tool analyses traffic patterns and warns that a WAN link will saturate next Tuesday. Is this generative AI or predictive AI, and why?

Report an error

Q5.Which HTTP verb is used to retrieve information from a REST API, and which is used to create a new resource?

Report an error

Q6.A REST API returns status code 401 in response to a request. What does this mean?

Report an error

Q7.An engineer wants to configure NTP on 200 existing switches without installing any software on them. Which tool fits best, and how does it connect?

Report an error

Q8.In the JSON data {"hostname": "R1", "interfaces": ["G0/0", "G0/1"], "ospf_enabled": true}, what is the data type of the value for "interfaces"?

Report an error

Q9.In a software-defined architecture, what is the difference between the underlay and the overlay?

Report an error

Q10.How does controller-based networking differ from traditional networking?

Report an error