# Free 300-435 practice questions

> 10 free 300-435 practice questions with the correct answer and an explanation.

Page: https://devopscodelab.com/exams/cisco-300-435/free-practice-questions/
Practice exams: https://devopscodelab.com/exams/cisco-300-435/

### Question 1 of 10

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?

- A. Cisco native models such as Cisco-IOS-XE-native
- B. Cisco deviation modules published for each IOS XE release
- C. OpenConfig models such as openconfig-network-instance
- D. IETF models such as ietf-routing extended by vendor augments

**Answer:** C

**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

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?

- A. The switch downloads the file and merges it into running-config as CLI text
- B. The switch contacts Catalyst Center as a PnP agent and waits for a claim
- C. The switch downloads the Python script and runs it inside the guest shell
- D. The switch sends the URL to SD-WAN Manager to request a device template

**Answer:** C

**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

Which inventory variables let Ansible manage IOS XE devices over SSH CLI with the cisco.ios collection?

- A. ansible_connection=ssh and ansible_shell_type=cisco.ios.ios
- B. ansible_connection=ansible.netcommon.network_cli and ansible_network_os=cisco.ios.ios
- C. ansible_connection=local and ansible_python_interpreter=/usr/bin/python3
- D. ansible_connection=ansible.netcommon.httpapi and ansible_network_os=cisco.ios.ios

**Answer:** B

**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 (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.)

- A. Add verify=False to skip TLS certificate validation
- B. Set the Accept header to application/yang-data+json
- C. Set the Content-Type header to text/plain for the GET
- D. Set the Accept header to application/yang-data+xml
- E. Add the depth=1 query parameter to the request URI

**Answer:** B, D

**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

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?

- A. Configuration groups
- B. Bootstrap configurations
- C. Feature profiles only
- D. Localized policies

**Answer:** A

**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

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?

- A. GET /dataservice/client/token without login, then POST the template with basic authentication
- B. POST /dna/system/api/v1/auth/token, then send the token in the X-Auth-Token header
- C. POST /j_security_check, GET /dataservice/client/token, then send the token in X-XSRF-TOKEN
- D. POST /dataservice/login with an API key, then send the key in the Authorization header

**Answer:** C

**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

An onboarding template in Catalyst Center must give each new switch only enough configuration for management reachability. What should the Day-0 template contain?

- A. A command to disable the PnP agent so it stops calling Catalyst Center
- B. The complete access port, QoS and security configuration of the site
- C. Only the hostname; DHCP supplies the rest
- D. Management IP, credentials and a route to Catalyst Center

**Answer:** D

**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

A NETCONF client must create a periodic dynamic subscription for interface statistics on IOS XE. Which RPC is used?

- A. establish-subscription with a filter and period
- B. create-subscription for the NETCONF stream
- C. get with a filter and a polling loop in Python
- D. edit-config with the Cisco-IOS-XE-mdt-cfg model

**Answer:** A

**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

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?

- A. pyATS with Genie learn and diff
- B. Netmiko with send_config_set
- C. YANG Suite with the RPC builder
- D. Ansible with ios_config backup

**Answer:** A

**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 (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.)

- A. Omit type hints so that the agent can send any input
- B. Accept any free-text command and pass it to the CLI
- C. Return the raw controller token along with every result
- D. Write a clear docstring that states what the tool returns
- E. Use a read-only API account for the tool's controller calls

**Answer:** D, E

**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.

Ready for a timed run? Take the free 15-question 300-435 mini exam: https://devopscodelab.com/app/exams/cisco-300-435/mini/

DevOpsCode Lab is not affiliated with Cisco. 300-435 and related names are trademarks of their owners. We write every question ourselves; these are not real exam questions.
