ENCOR automation and AI explained
Automation and Artificial Intelligence is 15% of the 350-401 ENCOR v1.2 topics. It tests whether you can read short Python, build valid JSON, explain what a data modelling language such as YANG does, interpret REST API responses from Catalyst Center and RESTCONF, write an EEM applet, and compare agent-based with agentless tools. Cisco’s list does not describe AI content beyond the domain title and the Catalyst Center topic in network assurance, so the exam’s AI coverage is something to watch in the official topics rather than assume.
What the seven topics ask
| Topic | What to be able to do |
|---|---|
| 6.1 Python | Read basic scripts: variables, lists, dictionaries, loops, conditions, functions, and a requests call |
| 6.2 JSON | Construct valid JSON: braces, brackets, double-quoted keys, no trailing commas |
| 6.3 Data modelling | Explain what YANG provides: a structured model of configuration and state |
| 6.4 APIs | Describe APIs for Catalyst Center and SD-WAN Manager |
| 6.5 REST responses | Interpret status codes and payloads from Catalyst Center and RESTCONF |
| 6.6 EEM | Construct an applet to automate configuration, troubleshooting or data collection |
| 6.7 Tools | Compare agent and agentless orchestration tools |
Python and JSON
Expect short snippets where you decide what the code prints or what a failing line does. Learn how a JSON object maps to a Python dictionary and a JSON array to a list, and how to reach a nested value with indexes and keys. JSON allows strings, numbers, booleans, null, objects and arrays; it forbids comments and single quotes.
YANG, NETCONF and RESTCONF
YANG describes the structure of configuration and operational data. NETCONF and RESTCONF carry operations against YANG models; the network assurance guide compares them. The value of a model is consistency: the same structure works across tools, instead of parsing CLI text.
REST codes
| Code | Meaning |
|---|---|
| 200 | OK, request succeeded |
| 201 | Created |
| 204 | Success, no content returned |
| 400 | Bad request, malformed |
| 401 | Not authenticated |
| 403 | Authenticated but not permitted |
| 404 | Resource not found |
| 500 | Server error |
When a scenario shows a call that returns 401, think of a missing or expired token; a 403 means the credentials are accepted but the role lacks permission.
EEM applets
An EEM applet has an event and one or more actions. The event is a trigger such as a syslog pattern, a timer or a CLI command; actions run CLI commands, send messages or write logs. A typical question shows an applet and asks what it does, or which line is missing. Read the event line first, then the actions in numeric order.
Agent versus agentless
Agent-based tools install software on the managed device and often work in a pull model, where the device checks in with a server (Puppet and Chef are the usual examples). Agentless tools connect with an existing protocol such as SSH or an API and push changes (Ansible is the usual example). Network devices often cannot run an agent, which is one reason agentless tools are common in networking.
How to study
Write a ten-line Python script that calls a public REST API and prints one field; hand-write a JSON device inventory; and build an EEM applet that logs when an interface goes down. These three labs cover most of the domain.
Sample questions
Question 1. A REST call to a controller returns HTTP 401. What is the most likely issue?
- A. The resource does not exist
- B. The user lacks permission for the resource
- C. The server crashed
- D. The authentication token is missing or invalid
Show answer
Answer: D
A 401 response means the request lacks valid authentication, such as a missing or expired token. A 404 would mean the resource is missing, a 403 would mean valid credentials without permission, and a 500 would indicate a server fault.
Want more questions like this? Full 350-401 ENCOR practice tests →
Question 2. In an EEM applet, what does the event line define?
- A. The commands to run
- B. The trigger that starts the applet
- C. The applet name
- D. The log destination
Show answer
Answer: B
The event line defines the trigger that starts the applet, such as a syslog message match or a timer. The actions that follow define what to do. The applet name is separate and does not define the trigger.
Want more questions like this? Full 350-401 ENCOR practice tests →
Question 3. Which tool is normally described as agentless and push-based?
- A. Ansible
- B. Puppet
- C. Chef
- D. A device-resident polling client
Show answer
Answer: A
Ansible connects over SSH or APIs without installing an agent and pushes configuration. Puppet and Chef are traditionally agent-based and pull from a server. A device that polls a server for configuration is following the agent model.
Want more questions like this? Full 350-401 ENCOR practice tests →
Next steps
Try the practice test or read is ENCOR worth it.