Practice Automation Questions Now
Start a timed practice session focusing on Automation & Programmability topics from the ENCOR question bank.
Start ENCOR Practice Quiz →ENCOR Automation Question Bank (7 Questions)
Browse all 7 practice questions covering Automation & Programmability for the ENCOR certification exam. Each question includes the full answer and a detailed explanation to help you understand the concepts.
- Question 1Automation
What types of APIs does Cisco DNA Center (Catalyst Center) expose?
Show Answer & Explanation
Correct Answer: BExplanation:DNA Center APIs: Intent APIs (REST — high-level operations: 'provision a device', 'create a site'), Integration APIs (webhooks, ITSM integration, event notifications), Multivendor SDK (manage non-Cisco devices), and know-your-network APIs (assurance, path trace). All RESTful with JSON, authenticated via token.
- Question 2Automation
How can Terraform be used for network infrastructure automation?
Show Answer & Explanation
Correct Answer: BExplanation:Terraform for networking: ACI provider (provision tenants, EPGs, contracts), Meraki provider (manage networks, SSIDs, VLANs), ISE provider (manage policies), cloud providers (AWS VPC, Azure VNet). Declarative HCL files, state tracking, plan/apply workflow, and drift detection. Complements Ansible (Terraform provisions, Ansible configures).
- Question 3Automation
How does RESTCONF differ from NETCONF for device management?
Show Answer & Explanation
Correct Answer: BExplanation:RESTCONF (RFC 8040): HTTP/HTTPS transport, JSON or XML encoding, YANG data models, standard HTTP methods (GET/POST/PUT/PATCH/DELETE). NETCONF: SSH transport, XML only, RPC operations (<get-config>, <edit-config>), transaction support (commit/rollback). RESTCONF is simpler/familiar for web developers.
- Question 4Automation
What Python library is commonly used to interact with Cisco device APIs?
Show Answer & Explanation
Correct Answer: BExplanation:Python networking libraries: 'requests' (REST API calls to DNAC, Meraki, vManage, ISE), 'netmiko' (SSH to IOS/NX-OS/etc. — simplified paramiko wrapper), 'ncclient' (NETCONF), 'pyATS/Genie' (testing/parsing), 'napalm' (multi-vendor abstraction). Python is the de facto language for network automation.
- Question 5Automation
What are the main types of YANG models used in network automation?
Show Answer & Explanation
Correct Answer: BExplanation:YANG model types: IETF (standards-based, RFC-defined — ietf-interfaces, ietf-routing), OpenConfig (vendor-neutral, operator-driven — openconfig-interfaces, openconfig-bgp), Native/Vendor (Cisco-IOS-XE-*, NX-OS, XR — most features but vendor-specific). Tools: pyang (validate/convert), YANG Explorer, NETCONF/RESTCONF to interact.
- Question 6Automation
Which Python library is commonly used to interact with network device REST APIs by sending HTTP requests?
Show Answer & Explanation
Correct Answer: BExplanation:The Python 'requests' library is the standard tool for making HTTP/HTTPS calls to REST APIs (GET, POST, PUT, DELETE). It's used with DNA Center, Meraki, SD-WAN (vManage), and other Cisco APIs. Paramiko and Netmiko are SSH libraries for CLI automation. Scapy is a packet crafting/analysis tool.
- Question 7Automation
Which Cisco DNA Center API allows you to discover and retrieve information about all network devices managed by the controller?
Show Answer & Explanation
Correct Answer: AExplanation:DNA Center's Intent APIs provide high-level abstractions for common network operations. The Network Device endpoint (GET /dna/intent/api/v1/network-device) retrieves device inventory. Intent APIs abstract complex operations into simple REST calls. Integration APIs connect to third-party systems. Events APIs provide webhooks for notifications.
Key Automation Concepts for ENCOR
ENCOR Automation Exam Tips
Automation & Programmability questions in ENCOR are typically scenario-based. Focus on service-level decision making aligned to official exam objectives. Priority concepts: automation, python, api, netconf, restconf, yang.
What ENCOR Expects
- Anchor your answer in select the most practical, secure, and scalable answer for the stated scenario.
- Automation scenarios for ENCOR are frequently mapped to Domain 6 (15%), so read the objective carefully before picking controls or architecture.
- Expect multi-service scenarios where Automation interacts with IAM, networking, storage, or observability patterns rather than appearing as an isolated service question.
- When two options are both technically valid, prefer the choice that best aligns with the exam's operational scope (Professional) and managed-service best practices.
High-Value Automation Concepts
- Know the core Automation building blocks cold: automation, python, api, netconf.
- Review the edge-case features and limits for restconf, yang; these details are commonly used to differentiate answer choices.
- Practice service-integration reasoning: how Automation pairs with Network Assurance, Architecture, SD-WAN in real deployment patterns.
- For ENCOR, explain why the chosen Automation design meets reliability, security, and cost expectations better than the alternatives.
Common ENCOR Traps
- Watch for answers that partially solve the requirement but miss operational constraints.
- Questions in Automation often include distractors that look correct for Automation but violate least-privilege, durability, or availability requirements.
- Avoid picking options purely by feature name; validate data path, failure handling, and governance impact before answering.
- If the prompt hints at automation or repeatability, eliminate manual-only operational answers first.
Fast Review Checklist
- Can you compare at least two Automation implementation paths and justify which one best fits the scenario?
- Can you map the chosen answer back to Automation (15%) outcomes for ENCOR?
- Can you explain security and access boundaries for Automation without relying on default-open assumptions?
- Can you describe how Automation integrates with Network Assurance and Architecture during failure, scaling, and monitoring events?