Sample Questions and Answers
What does the acronym CRUD stand for in REST API operations?
Copy, Run, Update, Delete
B. Create, Read, Update, Delete
C. Check, Route, Undo, Deploy
D. Configure, Replace, Use, Delete
Answer: B
Explanation: CRUD stands for Create, Read, Update, and Delete—basic operations in REST APIs.
What data structure does NETCONF use?
JSON
B. YAML
C. XML
D. CSV
Answer: C
Explanation: NETCONF transmits structured data using XML.
What’s the function of Cisco DevNet Sandbox?
Host production networks
B. Provide access to malware samples
C. Offer a safe environment to test APIs and automation scripts
D. Configure firewalls manually
Answer: C
Explanation: Cisco DevNet Sandbox lets developers experiment with Cisco APIs and tools safely.
What is the role of the “hosts” directive in an Ansible playbook?
Define tasks
B. List all commands
C. Specify target devices
D. Enable logging
Answer: C
Explanation: The hosts directive specifies which managed devices will be affected by the playbook.
What is a key advantage of using gNMI over SNMP?
Supports binary and streaming data efficiently
B. Less secure
C. Based on UDP
D. CLI only
Answer: A
Explanation: gNMI allows structured, streaming telemetry with better performance than SNMP.
What is the purpose of a “playbook” in Ansible?
A template for Python automation
B. A list of device names
C. A YAML file defining tasks to automate configuration
D. A log file
Answer: C
Explanation: Playbooks are YAML files that define what tasks should be run and how.
What is the main goal of Cisco’s Network Programmability initiative?
Increase manual control
B. Reduce automation
C. Enable agile, API-driven network management
D. Replace all devices with wireless routers
Answer: C
Explanation: Cisco Network Programmability promotes agility and automation via APIs and tools.
What is the function of Cisco ISE in programmable networks?
Hosts SD-WAN
B. Provides identity-based access control
C. Offers GUI configuration only
D. Blocks VPN
Answer: B
Explanation: Cisco ISE manages identity-based access policies and network access.
Which of the following is a common use case for RESTCONF?
CLI backups
B. Automated monitoring of server temperature
C. Model-driven configuration of network devices using REST API
D. Editing YAML files
Answer: C
Explanation: RESTCONF uses model-driven interfaces for configuring network devices via REST APIs.
Which Cisco platform offers intent-based networking using AI and machine learning?
Cisco ACI B. Cisco DNA Center C. Cisco ISE D. Cisco NSO
Answer: B
Explanation: Cisco DNA Center leverages intent-based networking powered by AI and ML for predictive and automated network management.
What is the purpose of a bridge domain in Cisco ACI?
Define SNMP traps B. Enable VTP domains C. Provide Layer 2 forwarding boundary D. Assign IP addresses
Answer: C
Explanation: A bridge domain is a Layer 2 forwarding construct in ACI that defines the broadcast domain.
Which YANG statement is used to define a configuration node?
container B. leaf C. config D. list
Answer: B
Explanation: The “leaf” statement defines a single configuration or state data node.
In the context of Cisco SD-WAN, what is a TLOC?
Telemetry Local Object Cache B. Transport Locator C. Trusted LAN Over Circuit D. Terminated Location Object
Answer: B
Explanation: TLOC (Transport Locator) identifies WAN transport path components in SD-WAN.
What is the role of the Cisco vManage component in SD-WAN?
Encrypts VPN traffic B. Orchestrates control plane C. Provides GUI-based centralized management D. Stores configuration backups
Answer: C
Explanation: Cisco vManage is used for centralized GUI-based management and monitoring of SD-WAN environments.
Which protocol is primarily used by RESTCONF for transport?
SNMP B. SSH C. HTTP/HTTPS D. Telnet
Answer: C
Explanation: RESTCONF uses HTTP or HTTPS as its transport mechanism.
Which type of data modeling is used in gNMI?
SNMP MIB B. XML Schema C. YANG D. JSON Schema
Answer: C
Explanation: gNMI uses YANG for defining the data models.
What is the advantage of using model-driven telemetry over traditional polling methods?
Reduced device support B. Static configuration C. Streaming updates without polling D. Only works with CLI
Answer: C
Explanation: Model-driven telemetry allows continuous streaming of data, eliminating the need for periodic polling.
What is Cisco UCS Director mainly used for?
VPN termination B. Data center automation and orchestration C. Firewall configuration D. End-user authentication
Answer: B
Explanation: UCS Director automates and orchestrates data center operations across compute, network, and storage.
Which component in the NETCONF protocol handles locking configuration?
B. C. D.
Answer: B
Explanation: The <lock> operation prevents other clients from modifying the configuration datastore.
What defines a collection of configuration changes in Ansible?
Inventory B. Role C. Task D. Playbook
Answer: D
Explanation: A playbook is a file that defines a series of tasks to be executed on managed hosts.
What is the use of the ‘hosts’ file in Ansible?
Store log data B. Define variables C. Define target systems D. Start web services
Answer: C
Explanation: The Ansible hosts file lists the systems on which the playbooks will run.
Which command allows you to create a new virtual environment for Python automation scripts?
python-env new B. pyenv start C. python3 -m venv myenv D. pip install venv
Answer: C
Explanation: This command creates a new virtual environment using Python’s built-in venv module.
Which programming model allows you to describe what you want to happen rather than how?
Procedural B. Imperative C. Declarative D. Object-Oriented
Answer: C
Explanation: Declarative models focus on the end state, not the exact process to get there.
What does a REST API typically return after a successful POST request?
HTTP 200 OK B. HTTP 404 Not Found C. HTTP 201 Created D. HTTP 500 Server Error
Answer: C
Explanation: A POST request that successfully creates a resource typically returns HTTP status code 201.
What is the function of the “gather_facts” parameter in an Ansible playbook?
Collect system information before running tasks B. Disable SSH C. Stop execution D. Install new packages
Answer: A
Explanation: gather_facts collects facts (like OS, IPs, etc.) about the target machines before task execution.
What does Cisco ACI use to represent network applications?
Policy Objects B. Application Profiles C. VXLAN IDs D. Contracts
Answer: B
Explanation: Application Profiles define application components and their communication requirements in Cisco ACI.
Which Python library is most commonly used to send HTTP requests in scripts?
json B. os C. requests D. flask
Answer: C
Explanation: The requests library is widely used for sending HTTP/HTTPS requests in Python.
What function does a Contract serve in Cisco ACI?
Authenticate users B. Provide Layer 3 routing C. Define communication rules between EPGs D. Monitor devices
Answer: C
Explanation: Contracts define policies that control communication between Endpoint Groups.
Reviews
There are no reviews yet.