300-435
Free 300-435 practice questions
10 questions from our 300-435 practice tests, each with the correct answer and a written explanation. Read them with the answers shown, or switch to quiz mode and answer first.
Question 1 of 10, Network Automation Foundation
An engineer needs one YANG model to configure BGP neighbors the same way on Cisco IOS XE routers and on another vendor's routers in the same network. The model is maintained by a working group of network operators. Which model family meets this requirement?
- ACisco native models such as Cisco-IOS-XE-native
- BCisco deviation modules published for each IOS XE release
- COpenConfig models such as openconfig-network-instance Correct answer
- DIETF models such as ietf-routing extended by vendor augments
Answer and explanation: OpenConfig models are vendor-neutral and are written by an operator-led working group, so the same openconfig-network-instance payload can configure BGP across vendors. Cisco native models expose IOS XE features only and are not portable. Deviation modules only describe where a platform departs from a standard model and cannot be used on their own. IETF routing models are standards-based but the BGP pieces are commonly supplied through vendor-specific augments, which breaks the single-payload requirement.
Question 2 of 10, Device-Level Network Automation
An IOS XE switch boots with no startup configuration and receives a DHCP reply whose option 67 points to http://10.0.0.5/ztp.py. What happens next during Zero-Touch Provisioning?
- AThe switch downloads the file and merges it into running-config as CLI text
- BThe switch contacts Catalyst Center as a PnP agent and waits for a claim
- CThe switch downloads the Python script and runs it inside the guest shell Correct answer
- DThe switch sends the URL to SD-WAN Manager to request a device template
Answer and explanation: With ZTP, IOS XE recognizes a Python script in the boot file option, starts guest shell and executes the script, which typically uses the cli module to configure the device. Merging a CLI file is the classic autoinstall behaviour with a config file, not a .py script. PnP discovery uses option 43 or DNS to reach Catalyst Center. SD-WAN Manager is not involved in this ZTP flow.
Question 3 of 10, Device-Level Network Automation
Which inventory variables let Ansible manage IOS XE devices over SSH CLI with the cisco.ios collection?
- Aansible_connection=ssh and ansible_shell_type=cisco.ios.ios
- Bansible_connection=ansible.netcommon.network_cli and ansible_network_os=cisco.ios.ios Correct answer
- Cansible_connection=local and ansible_python_interpreter=/usr/bin/python3
- Dansible_connection=ansible.netcommon.httpapi and ansible_network_os=cisco.ios.ios
Answer and explanation: cisco.ios modules use the network_cli connection plugin and need ansible_network_os set to cisco.ios.ios. The plain ssh connection expects a Python-capable host and would try to run modules on the router. connection local is the legacy method and is no longer supported for these modules. httpapi is a REST-based connection and IOS XE CLI modules do not use it.
Question 4 of 10, Device-Level Network Automation. Choose 2.
A RESTCONF GET from a Python script to an IOS XE router returns HTTP 406 Not Acceptable. Which two changes could fix the request? (Choose two.)
- AAdd verify=False to skip TLS certificate validation
- BSet the Accept header to application/yang-data+json Correct answer
- CSet the Content-Type header to text/plain for the GET
- DSet the Accept header to application/yang-data+xml Correct answer
- EAdd the depth=1 query parameter to the request URI
Answer and explanation: 406 means the server cannot produce the media type named in the Accept header, so sending one of the two RESTCONF media types fixes it. Skipping certificate validation addresses TLS errors, not content negotiation. Content-Type describes a request body, and text/plain is not a RESTCONF type anyway. depth limits returned levels and does not affect negotiation.
Question 5 of 10, Controller-Based Network Automation
An SD-WAN team wants to configure WAN edges with a newer, simpler model that groups features by function instead of attaching device templates. Which SD-WAN Manager feature is this?
- AConfiguration groups Correct answer
- BBootstrap configurations
- CFeature profiles only
- DLocalized policies
Answer and explanation: Configuration groups, introduced in recent SD-WAN Manager releases, group feature profiles into a deployable unit as an alternative to device templates. Feature profiles are the building blocks inside configuration groups, not the deployable unit by themselves. Localized policies define device-level policy such as QoS. Bootstrap configurations help onboard devices but do not manage ongoing configuration.
Question 6 of 10, Controller-Based Network Automation
A Python script must log in to Cisco Catalyst SD-WAN Manager and then create a device template through the REST API. Which sequence is required?
- AGET /dataservice/client/token without login, then POST the template with basic authentication
- BPOST /dna/system/api/v1/auth/token, then send the token in the X-Auth-Token header
- CPOST /j_security_check, GET /dataservice/client/token, then send the token in X-XSRF-TOKEN Correct answer
- DPOST /dataservice/login with an API key, then send the key in the Authorization header
Answer and explanation: SD-WAN Manager uses form login at j_security_check to set a session cookie, and write operations also need the XSRF token from client/token in the X-XSRF-TOKEN header. The auth/token flow and X-Auth-Token belong to Catalyst Center. SD-WAN Manager does not log in with an API key at that path. The token endpoint needs an authenticated session first.
Question 7 of 10, Controller-Based Network Automation
An onboarding template in Catalyst Center must give each new switch only enough configuration for management reachability. What should the Day-0 template contain?
- AA command to disable the PnP agent so it stops calling Catalyst Center
- BThe complete access port, QoS and security configuration of the site
- COnly the hostname; DHCP supplies the rest
- DManagement IP, credentials and a route to Catalyst Center Correct answer
Answer and explanation: The Day-0 onboarding template should provide management connectivity and credentials so Catalyst Center can manage the device, after which Day-N templates apply the full design. Pushing everything at Day 0 makes onboarding fragile. A hostname alone leaves the device unmanageable. The PnP agent is closed automatically after a successful claim.
Question 8 of 10, Operations
A NETCONF client must create a periodic dynamic subscription for interface statistics on IOS XE. Which RPC is used?
- Aestablish-subscription with a filter and period Correct answer
- Bcreate-subscription for the NETCONF stream
- Cget with a filter and a polling loop in Python
- Dedit-config with the Cisco-IOS-XE-mdt-cfg model
Answer and explanation: Dynamic subscriptions on IOS XE are created with the establish-subscription RPC that includes the filter and period. edit-config with the mdt-cfg model creates configured subscriptions. create-subscription is the older RFC 5277 event notification RPC and does not create periodic yang-push subscriptions. A polling loop is not telemetry.
Question 9 of 10, Operations
Before and after a change window, an engineer wants to capture the OSPF state of 40 IOS XE routers and automatically report what changed. Which tool is designed for this?
- ApyATS with Genie learn and diff Correct answer
- BNetmiko with send_config_set
- CYANG Suite with the RPC builder
- DAnsible with ios_config backup
Answer and explanation: Genie can learn features such as OSPF into structured snapshots, and diff compares the before and after snapshots. send_config_set pushes configuration and does not compare state. YANG Suite builds and sends RPCs interactively. An ios_config backup saves configuration text, not operational OSPF state.
Question 10 of 10, AI in Automation. Choose 2.
An engineer builds a FastMCP tool that returns interface status from Catalyst Center. Which two practices make the tool safer and more useful to the agent? (Choose two.)
- AOmit type hints so that the agent can send any input
- BAccept any free-text command and pass it to the CLI
- CReturn the raw controller token along with every result
- DWrite a clear docstring that states what the tool returns Correct answer
- EUse a read-only API account for the tool's controller calls Correct answer
Answer and explanation: A clear docstring helps the model pick and use the tool correctly, and a read-only account limits damage if the agent is manipulated. Returning tokens leaks credentials. Passing arbitrary text to the CLI creates an injection path. Omitting type hints removes input validation and makes the schema vague.