WGU - D417 - Automation Assessment EXAM
LATEST UPDATE THIS YEAR (2026-2027) ALL 300
QUESTIONS AND CORRECT ANSWERS WITH
RATIONALES
1. A network engineer is tasked with automating the configuration of 50 new switches. Which
programming language is most commonly used in the WGU D417 course for scripting network
interactions with libraries like Netmiko?
A) Java
B) C++
C) Python
D) Ruby
Answer: C. Python is the industry standard for network automation and is the primary language
used in WGU D417 for scripting network interactions using libraries such as Netmiko and
Paramiko.
2. What is the primary purpose of the Netmiko library in network automation?
1
, Page 2 of 152
A) To automate cloud infrastructure provisioning
B) To simplify SSH connections to network devices and execute commands
C) To manage version control for network configurations
D) To create virtual network topologies
Answer: B. Netmiko is a multi-vendor library that simplifies SSH connections to network devices,
enabling automated execution of commands and retrieval of output.
3. In the WGU D417 performance assessment, students are required to write Python scripts
to identify existing VLANs and add new configurations. Which library is specifically used for
this purpose?
A) Requests
B) Ansible
C) Netmiko
D) Paramiko
Answer: C. In the D417 assessment, students write Python scripts using Netmiko to identify
existing VLANs and add new VLAN configurations.
2
, Page 3 of 152
4. Ansible is a configuration management tool used in network automation. How does
Ansible communicate with network devices?
A) Through a proprietary agent installed on each device
B) Through SSH (or API) without requiring agents
C) Through SNMP polling only
D) Through a central database synchronization
Answer: B. Ansible is agentless and communicates with network devices via SSH (or API), making
it lightweight and easy to deploy in network automation environments.
5. What is an Ansible inventory file used for?
A) Storing the playbook execution logs
B) Defining the hosts and groups of hosts that Ansible manages
C) Configuring the Ansible control node
D) Storing secret variables for playbooks
3
, Page 4 of 152
Answer: B. An inventory file defines the hosts and groups of hosts that Ansible manages,
allowing playbooks to target specific devices or groups of devices.
6. A network engineer wants to automate VLAN configuration across multiple switches.
Which Ansible component contains the tasks to be executed?
A) Inventory file
B) Playbook
C) Module
D) Role
Answer: B. An Ansible playbook contains the tasks to be executed on managed hosts, defining
the desired state and the steps to achieve it.
7. What is a YAML file in the context of Ansible?
A) A binary configuration file
B) A human-readable data serialization format used for playbooks and inventories
4