200-301 domain
Automation and Programmability
Use this page to practise 200-301 Automation and Programmability practice questions. The goal is not to memorise dumps, but to understand the concept, review the explanation and improve your exam readiness.
Focused practice
Start a Automation and Programmability session
All sessions draw only from this domain. Pick a length or try interactive practice with inline explanations.
Start 20-question practice session →What the exam tests
What to know about Automation and Programmability
Automation and Programmability questions test whether you can apply the concept in context, not just recognise a definition.
How the topic appears in realistic exam-style scenarios.
Which detail in the question changes the correct answer.
How to eliminate plausible but wrong options.
How to connect the question back to the wider exam objective.
Question index
All Automation and Programmability questions (125)
Click any question to see the full explanation, or start a practice session above.
An API client sends a valid GET request and receives an HTTP 200 response. What does that indicate?
2Why is version control valuable for network automation files?
3Why is version control useful for network automation scripts?
4What is a main operational benefit of a controller-based networking architecture?
5What is a northbound API in a controller-based network architecture?
6Which HTTP method is commonly used to retrieve information from a REST API without modifying the resource?
7Which two tasks are strong candidates for network automation? (Choose two.)
8Why are data models such as YANG important in network automation?
9Given the JSON snippet below, what is the value of hostname? { "device": { "hostname": "R1", "mgmt_ip": "192.0.2.10" } }
10Which data format is commonly used with REST APIs to represent objects, arrays, and key-value pairs?
11Which statement best contrasts YAML with JSON?
12Which statement accurately describes JSON?
13What is the role of a YANG model in network programmability?
14Which HTTP method is typically used to retrieve data from a REST API without modifying the resource?
15Which pairing is correct?
16Which tool type is most appropriate for turning a variable set of interface values into a reusable configuration template?
17What is version control primarily used for in network automation workflows?
18Which two statements about RESTful APIs are correct? (Choose two.)
19A REST API query returns this JSON snippet: { "interface": { "name": "GigabitEthernet1", "admin-status": "up", "oper-status": "down" } } What does this indicate?
20What data format is commonly used in REST API responses because it is lightweight and easy for applications to parse?
21In a controller-based network architecture, what is a southbound API typically used for?
22Which two practices most improve safety when automating network changes? (Choose two.)
23What is the main benefit of using a data model such as YANG in network automation?
24Why is idempotency valuable in network automation?
25What is the most likely purpose of a GET request in a RESTful network API?
26A network automation script sends this HTTP request to a controller API: POST /api/v1/devices What does the POST method typically indicate in a RESTful API?
27A controller API returns this data: { "device": { "hostname": "Dist-1", "interfaces": [ {"name": "Gig0/0", "status": "up"}, {"name": "Gig0/1", "status": "down"} ] } } Which statement is correct?
28Which two statements accurately describe REST-based APIs in a network automation context?
29An automation script must retrieve the current configuration state of a device from a REST API without modifying anything. Which HTTP method should it use?
30Based on the JSON data, what is the value associated with the device hostname field?
31Which statement best describes YANG in the context of network programmability?
32Which two statements accurately describe JSON?
33Match each automation-related term to its most accurate description.
34Which statement best describes an API token in a network automation workflow?
35Which statement best describes the relationship between REST and HTTP methods such as GET and POST?
36Match each controller or API direction term to its most accurate meaning.
37Match each JSON concept to its most accurate description.
38An API response returns a list of interface objects in JSON. Which structure most likely represents that list?
39Match each automation or programmability term to its most accurate description.
40Match each HTTP method to the most accurate action it commonly represents in REST-style APIs.
41Which two statements accurately describe APIs in network automation?
42In a controller-based design, which statement best describes a northbound API?
43Which statement best describes why JSON is common in controller APIs?
44Match each API or automation concept to the most accurate description.
45Which statement best explains why APIs are useful in controller-based networking?
46Match each automation-related data term to the most accurate description.
47Match each basic JSON element to its most accurate description.
48Match each automation concept to its most accurate description.
49Which two statements accurately describe controller-based networking at the CCNA level?
50Which statement best describes HTTPS in network automation contexts?
51Which statement best describes why a token might be used in an API request instead of sending a username and password with every request?
52Match each API security or access term to its most accurate description.
53Which two statements accurately describe JSON arrays?
54Which statement best describes the difference between a controller and a northbound API?
55Match each structured-data term to its most accurate meaning.
56Match each REST or API concept to its most accurate description.
57What is the main reason a controller API might return data in JSON rather than plain unstructured text?
58Why is a northbound API especially useful in a controller-based network architecture?
59Match each common automation term to its most accurate meaning.
60Which statement best describes why JSON is often easier for software tools to work with than unstructured text?
61Match each automation transport or interaction term to its most accurate description.
62Why might an automation script prefer a token-based API session over repeatedly prompting a human operator for credentials?
63Which two statements accurately describe APIs in controller-based networking?
64Which statement best describes the role of a token in an API-based workflow?
65Why is HTTPS usually preferred over HTTP when accessing controller APIs?
66Match each controller or automation term to its most accurate description.
67Match each common API or data term to its most accurate meaning.
68Match each API interaction term to its most accurate description.
69Which statement best describes the purpose of HTTPS in controller-based API communication?
70Why is a northbound API valuable to orchestration tools in a controller-based network?
71Match each HTTP method to the action it most commonly represents in a REST-style API.
72Why might a controller return interface information as a JSON array instead of a single JSON object?
73Which statement best describes why APIs are useful in controller-based networking?
74Match each JSON term to its most accurate meaning.
75Why would an orchestration platform prefer a northbound API over screen-scraping CLI output?
76Why is HTTPS usually preferred over HTTP when accessing a controller API?
77Match each API or programmability term to its most accurate meaning.
78Which statement best describes why tokens are commonly used in API-based workflows?
79Which two statements accurately describe controller-based networking?
80Why is HTTPS preferred over HTTP when accessing sensitive controller APIs?
81Match each programmability term to its most accurate meaning.
82Why is a northbound API generally more useful to orchestration software than a human-readable CLI screen?
83Why are tokens commonly used in API workflows instead of sending raw credentials with every request?
84Match each basic automation term to its most accurate meaning.
85Why is a northbound API valuable to orchestration systems in a controller-based architecture?
86Match each automation or API term to its most accurate role.
87Match each basic controller or API term to its most accurate meaning.
88Why is JSON often preferred over completely unstructured text in API responses?
89Match each REST-style method to the action it most commonly represents.
90Which statement best explains why JSON is often easier for software tools to process than free-form text?
91Which statement best describes a southbound API in a controller-based architecture at a conceptual level?
92Match each data-structure term to its most accurate meaning.
93Which two statements accurately describe JSON in network automation contexts?
94Which statement best describes why a REST API is easier for software to use than a human-oriented CLI screen output?
95Which two statements accurately describe software-defined networking and network virtualization concepts at a basic CCNA level?
96Which statement best describes NFV at a conceptual level?
97Which statement best describes software-defined networking at a conceptual level?
98Match each term to the most appropriate description in an API context.
99Which statement best describes why APIs are valuable in automation even when a CLI is still available?
100A JSON response from a controller contains a list of interfaces, each with its own name and status fields. Which JSON structure is most likely used to represent that list?
101Match each automation or API concept to its most accurate description.
102Match each programmability term to its most accurate description.
103Which statement best describes why HTTPS is commonly used together with APIs in network automation?
104Which two statements accurately describe why APIs and human-oriented CLIs are both still useful in network operations?
105Which statement best explains why structured API responses are valuable for network dashboards and automation systems?
106A REST API call uses the GET method against a device inventory endpoint. What is the most likely intent of the call?
107Which statement best describes why machine-readable state data is valuable for automation-based assurance?
108Which statement best describes YANG at a basic CCNA automation level?
109Match each REST-style method to the most common intent.
110Which statement best describes why tokens are commonly used in API-based automation environments?
111In a REST-style API, which method is most commonly associated with retrieving information?
112Which two statements accurately describe why structured telemetry and APIs improve operational tooling?
113Match each automation-related term to the description that best fits it.
114Which statement best describes why API endpoints and methods matter together in automation design?
115Which statement best explains why structured state data is more useful than free-form text for automated compliance checks?
116Which statement best describes an API endpoint?
117Match each term to the role it most directly plays in an API workflow.
118Which statement best explains why data models such as YANG matter when building consistent automation workflows?
119Which statement best describes why an API token should be protected even if HTTPS is already used?
120Which statement best explains why HTTPS and tokens are often used together in API-driven automation?
121Match each API workflow concept to the description that best fits it.
122Which statement best describes why JSON and YANG are related but not the same thing in automation workflows?
123Which statement best explains why methods such as GET and DELETE matter in API design?
124Which statement best describes why a controller-based network platform benefits from northbound APIs?
125Match each concept to the role it most directly plays in a structured automation workflow.
Watch out for
Common Automation and Programmability exam traps
- ▸Answering from memory before reading the full scenario.
- ▸Missing a constraint such as cost, availability, security, scope or command context.
- ▸Choosing a broad answer when the question asks for the most specific fix.
- ▸Ignoring why the wrong options are tempting.
Frequently asked questions
- What does the Automation and Programmability domain cover on the 200-301 exam?
- Automation and Programmability questions test whether you can apply the concept in context, not just recognise a definition.
- How many questions are in this domain?
- This page lists all 125 Automation and Programmability questions in the 200-301 question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
- What is the best way to practise this domain?
- Start with a short focused session (10 questions) to identify gaps, then use the interactive practice page to work through explanations. Repeat with a longer session once the weak areas feel solid.
- Can I practise only Automation and Programmability questions?
- Yes — the session launcher on this page filters questions to this domain only. Choose any session length or try the interactive practice page for inline explanations.