CCNA Automation Network Device Programmability Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 18 | Questions: 20 | Updated: Aug 14, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. What does NETCONF stand for in network automation?

Explanation

NETCONF stands for Network Configuration Protocol. It is a network management protocol that enables applications to configure and retrieve information from network devices in a structured, standardized way.

Submit
Please wait...
About This Quiz
CCNA Automation Network Device Programmability Quiz - Quiz

This quiz evaluates your understanding of network device programmability and automation concepts covered in the CCNA curriculum. You'll be tested on APIs, configuration management, scripting languages, and automation frameworks used in modern network environments. Master these skills to design and implement automated solutions in enterprise networks.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. Cisco DNA Center is used for which primary automation function?

Explanation

Cisco DNA Center automates and manages enterprise networks using intent-based networking. It translates business policies into network configurations, then helps deploy, monitor, and troubleshoot those configurations across devices. It is not primarily designed for packet capture, email routing, or voice call processing.

Submit

3. SNMP is primarily used for network ____.

Explanation

SNMP (Simple Network Management Protocol) allows network administrators to collect status and performance data from devices such as routers, switches, and servers. It can also report faults and alerts, helping administrators track network health and identify problems. Its primary purpose is therefore to monitor network devices and their activity.

Submit

4. RESTCONF is built on top of which protocol?

Explanation

RESTCONF uses HTTP as its transport protocol, typically secured with TLS as HTTPS. It maps network configuration and state operations to standard HTTP methods such as GET, POST, PUT, and DELETE.

Submit

5. Which Cisco API provides real-time device telemetry and operational data?

Explanation

Model-Driven Telemetry streams real-time operational data from network devices using structured data models and configurable subscriptions. This enables applications to monitor device health and performance with greater timeliness and detail than periodic polling methods such as SNMP.

Submit

6. What is the primary advantage of using APIs for network automation instead of CLI?

Explanation

APIs let automation tools interact with network devices and services through structured requests, making configuration and monitoring repeatable and scalable. They also integrate easily with other software systems, unlike CLI workflows, which often rely on manual commands and device-specific output.

Submit

7. Which API model uses XML or JSON to communicate with network devices over HTTP/HTTPS?

Explanation

A REST API lets applications communicate with network devices through standard HTTP or HTTPS requests. Device resources are accessed using methods such as GET, POST, PUT, and DELETE, while responses commonly use XML or JSON. SNMP, Telnet, and SSH rely on different protocols and communication models, making REST convenient for automation and integration.

Submit

8. YANG models define the structure and constraints for network device configuration. True or False?

Explanation

YANG is a data modeling language used to describe the structure of network configuration and operational data. Its schemas specify data types, relationships, and constraints, helping ensure that configuration sent to a network device is valid and consistent. Thus, the statement is true.

Submit

9. What is the default port for NETCONF over SSH?

Explanation

NETCONF over SSH uses TCP port 830 by default for its management sessions. Although SSH commonly uses port 22, NETCONF is assigned a separate port to distinguish its protocol traffic. Port 443 is typically used for HTTPS, while port 161 is commonly used for SNMP.

Submit

10. Which data format is lightweight and human-readable, commonly used in REST APIs?

Explanation

JSON (JavaScript Object Notation) is a lightweight, text-based format that represents data using readable key-value pairs and arrays. It is easy for people to inspect and simple for software to parse, making it a common choice for exchanging data through REST APIs.

Submit

11. Idempotency in automation means an operation produces the same result regardless of how many times it is executed. True or False?

Explanation

Idempotency means repeating an automation operation does not change the outcome after the first successful execution. This makes workflows safer to retry, since running the same operation multiple times produces the same final state rather than duplicating or altering results.

Submit

12. Ansible playbooks are written in which file format?

Explanation

Ansible playbooks are written in YAML, a human-readable data format that uses indentation to organize information. YAML makes it straightforward to define plays, tasks, variables, and configuration settings in a clear structure. JSON, XML, and CSV are not the standard formats used for Ansible playbooks.

Submit

13. Which Python library is commonly used for SSH connections to network devices?

Explanation

Paramiko is a Python library that implements the SSH protocol, allowing programs to securely connect to remote systems, authenticate, and run commands. It is commonly used to automate access to network devices. Requests handles HTTP, while Flask and Django are web frameworks.

Submit

14. The REST API uses standard HTTP methods. Which method is used to retrieve data?

Explanation

GET retrieves data from a server without changing the resource. In REST APIs, it is the standard HTTP method for requesting information, such as a record or list of records.

Submit

15. Which IOS XE feature allows structured data retrieval from network devices?

Explanation

Model-Driven Telemetry uses structured data models to collect and stream operational information from network devices, enabling efficient, near-real-time monitoring. Unlike SNMP traps, which send event notifications, it provides ongoing access to organized device data.

Submit

16. Which automation framework is agentless and uses SSH for device communication?

Explanation

Ansible is agentless, so it doesn’t require software to be installed on managed devices. It communicates with them over SSH, making setup and maintenance straightforward. Puppet and Chef typically rely on agents, while SaltStack commonly uses agents, though it also supports agentless modes.

Submit

17. A network automation script that configures multiple devices is called a ____.

Explanation

A playbook is a set of automation instructions that defines tasks to perform on one or more network devices. It can coordinate configuration changes across multiple devices, helping ensure they are managed consistently and efficiently. A manifest, template, or blueprint may describe or provide structure, but the executable automation plan is the playbook.

Submit

18. Which Python library is used for sending HTTP requests in network automation?

Explanation

Requests is a Python library for making HTTP requests, such as GET and POST calls. In network automation, it lets scripts communicate with devices and services through REST APIs.

Submit

19. Which tool is used to validate YANG models and manage NETCONF operations?

Explanation

pyang is a Python-based tool for checking YANG models for syntax errors and validating them against YANG rules. It helps ensure models are well-formed before use in network automation. NETCONF operations are typically performed by a separate client, such as ncclient; pyang’s primary role is YANG model validation.

Submit

20. Which of the following is NOT a benefit of network automation? Select all that apply.

Explanation

Network automation can reduce configuration mistakes, speed up deployments, and make it easier to scale network operations consistently. Increasing the cost of network devices is not a benefit; device cost is an expense, and automation typically aims to improve operational efficiency rather than make the hardware itself more expensive.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What does NETCONF stand for in network automation?
Cisco DNA Center is used for which primary automation function?
SNMP is primarily used for network ____.
RESTCONF is built on top of which protocol?
Which Cisco API provides real-time device telemetry and operational...
What is the primary advantage of using APIs for network automation...
Which API model uses XML or JSON to communicate with network devices...
YANG models define the structure and constraints for network device...
What is the default port for NETCONF over SSH?
Which data format is lightweight and human-readable, commonly used in...
Idempotency in automation means an operation produces the same result...
Ansible playbooks are written in which file format?
Which Python library is commonly used for SSH connections to network...
The REST API uses standard HTTP methods. Which method is used to...
Which IOS XE feature allows structured data retrieval from network...
Which automation framework is agentless and uses SSH for device...
A network automation script that configures multiple devices is called...
Which Python library is used for sending HTTP requests in network...
Which tool is used to validate YANG models and manage NETCONF...
Which of the following is NOT a benefit of network automation? Select...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!