300-435 Automating and Programming Cisco Enterprise Solutions (ENAUTO) Practice Questions
Prepare for 300-435 with more than an answer.
- Exam fee
- $300 USD
- Level
- Professional
- Valid for
- 3 years
Domains covered on the exam 6
- Network Programmability Foundation10%
- Automate APIs and Protocols10%
- Network Device Programmability20%
- Cisco DNA Center20%
- Cisco SD-WAN20%
- Cisco Meraki20%
- 1
True or False: In a YANG data model, a 'container' node can hold multiple instances of child nodes (like a list), whereas a 'list' node is used to group related nodes but can only exist once.
Show answer details
Correct answer: B
This statement is backwards. A 'container' exists only once (singleton) and groups related nodes. A 'list' can have multiple instances (like rows in a table), each identified by a key.
- 2
An automation engineer is writing a Python script to interact with the Cisco DNA Center 'Command Runner' API. They submit a command successfully but need to retrieve the actual output of the CLI command. Which workflow describes the correct sequence of API calls?
Show answer details
Correct answer: A
The Command Runner API is asynchronous. First,
POST /dna/intent/api/v1/network-device-poller/cli/read-requestwithcommandsanddeviceUuidsreturns ataskId. Second,GET /dna/intent/api/v1/task/{taskId}is polled until the task completes, and itsprogressfield is a JSON string that contains thefileId. Third,GET /dna/intent/api/v1/file/{fileId}downloads the command output for each device. - 3
Which Ansible module would be most appropriate for rendering a complex Cisco IOS XE configuration from a Jinja2 template on the control node without pushing it to the device immediately?
Show answer details
Correct answer: A
The
templatemodule processes a Jinja2 template and produces a file on the managed node (or control node ifdelegate_to: localhostis used). This is the standard way to generate configuration text files from variables before applying them. - 4
While troubleshooting a Python script using the
requestslibrary to interact with Cisco SD-WAN vManage, you encounter an 'SSL: CERTIFICATE_VERIFY_FAILED' error. What is the recommended way to handle this during development testing?Show answer details
Correct answer: A
For development against self-signed certificates (common in labs), setting
verify=Falseallows the connection to proceed. In production, you should pointverifyto a valid CA bundle. - 5
Case Study: GlobalTech Inc.
GlobalTech is deploying a new SD-WAN fabric. They want to automate the onboarding of edge devices. The devices arrive at the branch with no configuration (factory default). The plan is to use Plug and Play (PnP) for initial connectivity.
Once connected, the devices need to be associated with a specific template in vManage based on their serial number. The automation script will run periodically to check for new devices in the 'staging' state.
Which API flow describes the correct logic to move a device from PnP claiming to a configured state?
Show answer details
Correct answer: A
The standard flow is to identify the device in inventory (synced from PnP), prepare the input variables (system IP, site ID, etc.) required by the template, and then use the 'Attach Template' API call. Finally, monitor the operation ID for success.
- 6
Refer to the diagram below. A script is retrieving network topology data.
graph LR Script -->|GET /dna/intent/api/v1/topology/physical-topology| DNAC DNAC -->|JSON Response| ScriptThe script receives a JSON payload representing the physical links. Which JSON key would most likely contain the source node UUID for a link in the Cisco DNA Center API response?
Show answer details
Correct answer: A
GET /dna/intent/api/v1/topology/physical-topology(SDKdnac.topology.get_physical_topology()) returnsnodesandlinks. Each link object names its two ends withsourceandtarget(the IDs of the connected nodes) and adds port details such asstartPortNameandendPortName.origin_idandstartNodeare not link fields, anddeviceIdis not a link attribute. - 7
What are two characteristics of RPC API calls? (Choose two.)
Show answer details
Correct answer: C, E
An RPC (remote procedure call) API exposes remote operations as procedures. Each call invokes one specific function or service on the server, such as a NETCONF
RPC or a JSON-RPC method, and the client passes parameters (arguments) with the call. RPC is not limited to network devices and does not require UDP: NETCONF RPCs run over SSH/TCP, and gRPC runs over HTTP/2. SSL/TLS is also not part of the definition of RPC.An RPC (remote procedure call) API exposes remote operations as procedures. Each call invokes one specific function or service on the server, such as a NETCONF
RPC or a JSON-RPC method, and the client passes parameters (arguments) with the call. RPC is not limited to network devices and does not require UDP: NETCONF RPCs run over SSH/TCP, and gRPC runs over HTTP/2. SSL/TLS is also not part of the definition of RPC. - 8
Which two actions do Python virtual environments allow users to perform? (Choose two.)
Show answer details
Correct answer: D, E
A Python virtual environment (
python3 -m venv) is a lightweight, isolated Python environment with its own site-packages directory. Each project can quickly get its own set of installed modules at the versions it needs, for example frompip install -r requirements.txt, for development, testing and debugging without affecting the system Python or other projects. A venv does not port code between languages, emulate other operating systems, or simplify a CI/CD pipeline.A Python virtual environment (
python3 -m venv) is a lightweight, isolated Python environment with its own site-packages directory. Each project can quickly get its own set of installed modules at the versions it needs, for example frompip install -r requirements.txt, for development, testing and debugging without affecting the system Python or other projects. A venv does not port code between languages, emulate other operating systems, or simplify a CI/CD pipeline.
