200-301 CCNA · Cisco · Automation and Programmability · Bank updated 2026-11-03
200-301 CCNA practice questions: Automation and Programmability
5 free questions from 20 on this area · answer and explanation for each · no sign-up
These 5 questions come from the Automation and Programmability section of our 200-301 CCNA bank (20 questions on this area, which carries 10% of the real exam). Every question is original, with the correct answer explained and linked to the source it is drawn from.
Free: 6 questions in study mode, no card. All 20 Automation and Programmability questions and the full 200-301 CCNA bank: $15 one-time.
1/5 · Automation and Programmability
An operations team has to add one VLAN and one matching access list to 400 access switches. Until now every change was typed into a console session per device. The team now keeps the change in a file that an automation tool renders and applies to all 400 switches from one control host. Which statement about that tool is accurate?
ADevices are changed one at a time inside one transaction, and a failure part-way rolls the estate back.
BEach switch keeps a copy of the file and re-applies it after a reload, reverting console changes.
CRunning the same file again reports which switches no longer match it, as well as changing them.
DThe tool derives the access list from the VLAN it is given, leaving the engineer just the VLAN to state.
Answer: C. Topic 6.1. Automation moves the unit of work from a device to a definition: the same rendered configuration reaches every target from one control host, so the differences that accumulate when 400 devices are edited by hand largely disappear, and because the file states what the devices are meant to look like, re-running it is at the same time a correction and a compliance report. What does not come with it is atomicity or self-healing on the device: a run iterates and reports per-device results, an unreachable switch fails its own task rather than blocking the rest, and nothing on the switch re-applies the definition by itself after a reload. Cisco frames the same idea for controller-based operations, describing intent APIs that provide policy-based abstraction of business intent, allowing an operator to focus on an outcome to achieve instead of struggling with the mechanisms that implement that outcome. What never changes is the engineer's responsibility for the content of the change.
Source: Cisco 200-301 CCNA v1.1 Exam Topics - Section 6: Automation and Programmability
2/5 · Automation and Programmability
A ticketing application asks the network controller over HTTPS for the list of managed devices and receives a JSON document. Separately, the controller pushes the resulting configuration to the switches it manages. Which statement maps these two exchanges to the correct interfaces?
ABoth exchanges use the northbound interface, both of them starting at the controller itself.
BThe application-to-controller exchange is southbound, and the controller-to-device one is northbound.
CBoth exchanges use the southbound interface, the controller being client in one and server in the other.
DThe application-to-controller exchange is northbound and the controller-to-device one is southbound.
Answer: D. Topic 6.3.b. Cisco states that the intent API is a northbound REST API that exposes specific capabilities of the controller platform and that the RESTful intent API uses HTTPS verbs (GET, POST, PUT and DELETE) with JSON structures to discover and control the network. On the other side, a device package enables the controller to communicate with a device by encapsulating the southbound protocol used to communicate with it. The simple rule that survives the exam room: applications and orchestration systems live above the controller and talk to it northbound; switches, routers and access points live below it and are reached southbound.
Source: Cisco 200-301 CCNA v1.1 Exam Topics - Section 6: Automation and Programmability
3/5 · Automation and Programmability · hard
A virtual machine in a VXLAN fabric is migrated from a server under leaf 1 to a server under leaf 9. It keeps its IP address, it keeps the entries already in its ARP cache, including the one for its default gateway, and it carries on sending without a pause. Which property of the fabric lets that happen?
ALeaf 9 tunnels the traffic back to leaf 1, the holder of the gateway for that subnet.
BEvery leaf carrying that subnet answers to the same gateway address and gateway MAC.
CThe spine switches hold the gateway for every subnet and answer the machine's requests.
DThe controller rewrites the machine's ARP cache as soon as it detects the migration.
Answer: B. Topic 6.3. Cisco's VXLAN BGP EVPN design and implementation guide describes the distributed anycast gateway: a network shares the same gateway IP and the globally assigned gateway MAC address, and every VTEP is assigned the same MAC address for every Layer 2 VNI switched virtual interface. The guide then states the consequence for mobility: as the endpoint attachments to the network are moved from one VTEP to the other, the ARP entry for the gateway MAC does not need to be resolved again in the endpoint's ARP cache, as the gateway MAC and IP remain consistent across VTEPs provisioned with the same VLAN. The endpoint therefore sends to the same gateway address and the same gateway MAC after the move, and the leaf it now sits behind answers locally instead of forwarding to a distant gateway. The underlay's job in the same design is narrower: it advertises the reachability of the tunnel endpoints so that the encapsulated traffic can cross the fabric between them.
Source: Cisco 200-301 CCNA v1.1 Exam Topics - Section 6: Automation and Programmability
4/5 · Automation and Programmability · hard
A team manages the VLANs of a data-centre fabric with Terraform: one resource block per VLAN in the configuration files, and a state file kept by the team's pipeline. VLAN 30 is being handed over to another team, which will look after it by hand from now on, and the VLAN has to keep carrying traffic. An engineer deletes the VLAN 30 block from the files, removes the references to it, runs terraform apply and approves the plan. What does the run do to VLAN 30?
ALeaves it on the switches and drops it from the state file
BDestroys it on the switches and drops it from the state file
CLeaves it on the switches and keeps its entry in the state file
DHalts with an error that the state and the files disagree
5/5 · Automation and Programmability
Before a change window, an engineer runs a playbook against the production access switches with ansible-playbook --check to see what it would do. Most of its tasks use modules that support check mode. One task uses a module that does not, and that task sets no check_mode keyword of its own. What does that one task do on this run?
AIt is skipped and leaves the switches as they are
BIt runs in normal mode and pushes its change to the switches
CIt fails and halts the play at that task
DIt reports the change it would make and leaves it unapplied
Other 200-301 CCNA areas
The same kind of free sample for every other section of the 200-301 CCNA bank:
Practise 200-301 CCNA with instant feedback
6 free questions in study mode · no card · full 200-301 CCNA bank with area filters and the error log: $15 one-time · no dumps, no ads.
Start 200-301 CCNA free →
ExamDeck is an independent study tool, not affiliated with, endorsed by, or sponsored by Cisco. 200-301 CCNA and related marks are trademarks of their respective owners, used for identification only. Exam facts checked against official Cisco materials (as of November 2026); always confirm current details with the vendor before booking.