Automation, Programmability & APIs (350-401 ENCOR) Flashcards
Cisco CCNP Enterprise 350-401-ENCOR Flashcards

| Front | Back |
| CRUD mapping to HTTP verbs? | Create POST Read GET Update PUT or PATCH Delete DELETE |
| How do you authenticate to Cisco DNA Center APIs? | Obtain a token using basic auth then use the token in request headers |
| How do you capture task output in Ansible? | Use the register keyword to store the result in a variable |
| How do you secure telemetry streams? | Use TLS mutual authentication and enforce authorization on collectors |
| How do you version YANG modules? | Use module revision statements and follow semantic versioning practices |
| How does Ansible connect to network devices? | Using connection plugins like network_cli httpapi or netconf depending on platform |
| How does RESTCONF represent YANG data in JSON? | JSON object names map to YANG node names and data types convert to JSON primitives |
| HTTP method for partial updates? | PATCH to modify part of a resource |
| HTTP status code for resource created? | 201 Created |
| HTTP status code for successful GET? | 200 OK |
| JSON vs XML for RESTCONF? | JSON is more concise than XML and is commonly used with RESTCONF |
| Leaf vs leaf list in YANG? | Leaf is a single value node leaf list is an ordered list of values |
| Name an Ansible module for Cisco NX OS? | nxos_config |
| NETCONF RPC to retrieve running config? | get config with source set to running |
| Push vs pull telemetry? | Push initiates from device to collector pull is collector requesting data from device |
| REST API authentication best practice? | Use HTTPS tokens or API keys and avoid embedding credentials in URLs |
| Role of an API schema in automation? | Defines expected request and response structures enabling code generation and validation |
| Streaming telemetry vs SNMP polling? | Telemetry streams real time data to a collector while SNMP polls periodically |
| Typical RESTCONF base URL path? | https device IP restconf data or restconf operations |
| What are RPCs in YANG? | Remote procedures defined by YANG for device specific operations |
| What does an idempotent Ansible playbook ensure? | That running the playbook twice yields no changes after the first run |
| What does CRUD mean in automation? | Create Read Update Delete |
| What does Jinja2 provide in Ansible? | Templating language for dynamic configuration files with conditionals and loops |
| What is a container in YANG? | A grouping of related nodes that may be optional |
| What is a leafref in YANG? | A YANG type that references the path to another node |
| What is a role in Ansible? | A reusable collection of tasks handlers files and templates organized by a standard layout |
| What is a telemetry collector? | A server that receives stores and processes streamed telemetry data |
| What is a YANG module? | A reusable container that defines data nodes types and relationships for a feature |
| What is an Ansible inventory? | A file or source that lists managed hosts and groups |
| What is an Ansible playbook? | A YAML file of plays that define automation tasks to run on hosts |
| What is Cisco DNA Center? | A controller for network automation policy assurance and provisioning in enterprise networks |
| What is Genie? | A pyATS library for parsing and modeling device outputs |
| What is idempotence in automation? | Operation that can be run multiple times with the same result after the first execution |
| What is model driven telemetry? | Streaming device state and performance data to a collector based on data models |
| What is NETCONF? | An XML based protocol that uses RPC over SSH for configuring and retrieving device data |
| What is OpenConfig? | Vendor neutral YANG models for consistent telemetry and configuration |
| What is pyATS? | Cisco Python test automation framework for network testing and verification |
| What is RESTCONF? | A RESTful protocol for accessing YANG modeled data on network devices over HTTPS |
| What is Swagger OpenAPI used for? | Describing REST APIs operations parameters and models |
| What is the default port for NETCONF? | TCP port 830 |
| What is the primary purpose of YANG? | Define data models for configuration state and RPC operations |
| What is XPath used for in NETCONF? | To filter XML data during get and get config operations |
| What is YANG augmentation used for? | To extend existing YANG modules with additional nodes |
| What port does RESTCONF use by default? | HTTPS port 443 |
| What tool is commonly used to test REST APIs? | Postman or curl |
| Which headers are required for RESTCONF content negotiation? | Accept and Content Type headers indicating application yang data plus json or xml |
| Which protocol is commonly used for streaming telemetry? | gNMI over gRPC with TLS |
| Which Python library is used for NETCONF? | ncclient |
| Which Python library is used for REST APIs? | requests |
| YANG statement to define list key? | key inside list declares the unique key leaves |
About the Flashcards
Master the principles of network automation and programmability with this focused study set. These flashcards for the Cisco CCNP Enterprise exam help you efficiently review essential terminology, protocols, and core concepts. By drilling these fundamental ideas, you can build a strong base of knowledge for the topics tested on the exam. The deck covers the critical building blocks of modern network management and operations.
This collection dives into technologies like RESTCONF, NETCONF, and Ansible automation. You will also review the structure of YANG data models, the principles of model-driven telemetry, and the fundamentals of interacting with REST APIs. Reinforce your understanding of how these components work together to enable scalable, programmable network infrastructure and prepare for success.
Topics covered in this flashcard deck:
- RESTCONF and NETCONF Protocols
- YANG Data Modeling Concepts
- Ansible Automation for Networks
- REST API Fundamentals
- Model-Driven Telemetry
- Python Automation Tools