20+ practice questions focused on Automation — one of the most tested topics on the ENCOR 350-401 exam. Each question includes a detailed explanation so you learn why the right answer is correct.
Start Automation PracticeA network engineer needs to automate the backup of running configurations from multiple Cisco IOS XE devices to a central TFTP server. Which tool is best suited for this task in a Python-based automation framework?
Explanation: Netmiko is a Python library built on Paramiko that simplifies SSH automation for network devices. It can connect to multiple Cisco IOS XE devices and execute the `copy running-config tftp:` command with robust prompt handling and minimal custom code, making it well suited for scripted backups. Ansible is an external automation framework, RESTCONF is an API interface, and Paramiko requires lower-level SSH handling and more custom code for the same task.
A network engineer is creating a Python script using the Cisco IOS XE RESTCONF API to configure a loopback interface. The script sends a PUT request to the URI /restconf/data/Cisco-IOS-XE-native:native/interface/Loopback=100 with a JSON body that includes the IP address. The API returns a 201 Created status, but the loopback interface does not appear in the running configuration. What is the most likely issue?
Explanation: The 201 Created status indicates that the server accepted the request, but the loopback interface was not actually created because the PUT method is not appropriate for creating a new list resource in the Cisco IOS XE RESTCONF implementation. According to the RESTCONF protocol, POST is used to create a new data resource when the client does not provide the exact resource identifier, while PUT is used to replace or create a resource when the client specifies the entire URI. However, for list entries in YANG data models, some implementations (including Cisco IOS XE) require POST to the list node to create a new instance, as PUT to a specific instance may only be effective if the instance already exists or may be accepted but not committed to the running configuration. Therefore, even though a 201 was returned, the configuration was not applied, indicating that a POST request to /restconf/data/Cisco-IOS-XE-native:native/interface/Loopback would have been the correct approach.
A network engineer is troubleshooting an Ansible playbook that uses the ios_config module to apply ACLs. The playbook runs without errors, but the ACLs are not applied to the device. The engineer verifies that the device is reachable and the credentials are correct. What is the most likely cause?
Explanation: The ios_config module requires the connection parameter to be set to 'network_cli' (or 'ansible.netcommon.network_cli') to use the CLI transport for sending configuration commands to network devices. Without this, Ansible defaults to the 'smart' connection, which may not properly interact with network device CLIs, causing the playbook to run without errors but not apply the ACLs.
Which THREE are valid methods for automating network device configuration using Cisco IOS XE? (Choose three.)
Explanation: NETCONF/YANG (A) is a valid automation method on Cisco IOS XE because IOS XE supports NETCONF over SSH (port 830) with YANG data models, allowing programmatic configuration via <edit-config> operations. CLI via SSH with Python, such as Netmiko (D), is valid because Netmiko establishes an SSH session and sends IOS/IOS XE CLI commands, which is a widely used automation approach even though it is screen-scraping rather than model-driven. RESTCONF (E) is valid because IOS XE exposes RESTCONF over HTTPS (port 443) with YANG-modeled resources, enabling configuration through HTTP methods like POST, PUT, PATCH, and DELETE. SNMP Set requests (B) are not a valid configuration-automation method here, since SNMP is primarily used for monitoring and its Set operations are limited and not a supported model-driven configuration interface on IOS XE. Telnet with Expect scripts (C) is not valid because Telnet is an insecure, legacy protocol and Expect-based CLI scripting is not a supported or recommended IOS XE automation method.
Refer to the exhibit. A network engineer wants to use Ansible to change the IP address of Loopback100 from 10.1.100.1/24 to 10.1.200.1/24. The playbook uses the ios_config module. The playbook runs successfully, but the IP address remains unchanged. What is the most likely reason?
Explanation: The ios_config module in Ansible, by default, uses a 'set' operation that appends commands to the running configuration. To change an existing IP address on an interface, the module must be configured with the 'replace' option or use a 'before'/'parents' directive to remove the old address first. Without this, the new IP command is added but the old one remains, and the interface retains the original address because Cisco IOS allows multiple IP addresses on a single interface only if the secondary keyword is used, which the module does not automatically apply.
+15 more Automation questions available
Practice all Automation questions1. Baseline your knowledge
Start with 10 questions to gauge your current understanding of Automation. This tells you whether you need a concept refresher or just practice.
2. Review every explanation
For each question — right or wrong — read the full explanation. Understanding why an answer is correct is more valuable than knowing the answer itself.
3. Focus on exam traps
Automation questions on the 350-401 frequently use trap wording. Look for subtle differences in answers that test your precision, not just general knowledge.
4. Reach 80% consistently
Do repeated sessions until you score 80%+ three times in a row. Then move to mixed-mode practice to test cross-topic recall under realistic conditions.
The exact number varies per candidate. Automation is tested as part of the ENCOR 350-401 blueprint. Practicing with targeted Automation questions ensures you can handle any format or difficulty that appears.
Yes. Courseiva provides free 350-401 practice questions across all exam topics and domains. The platform includes topic-based practice, mock exams, missed-question review, bookmarked questions, and readiness tracking — no account required.
Difficulty is subjective, but Automation is a high-priority exam concept tested in multiple ways — direct recall, scenario analysis, and command-output interpretation. Consistent practice is the best way to build confidence.
Launch a full Automation practice session with instant scoring and detailed explanations.
Start Automation Practice →