hardMultiple SelectObjective-mapped
350-401 Practice Question: Which three statements about Ansible modules for…
Which three statements about Ansible modules for Cisco IOS-XE are true? (Choose three.)
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The ios_config module supports idempotent configuration changes by comparing the desired state with the running configuration.
The ios_config module manages configuration snippets and supports idempotency via the 'lines' parameter. The ios_command module sends show commands and returns output. The ios_facts module gathers device facts. The ios_vlan module is a dedicated resource module for VLANs. The ios_lldp module manages LLDP settings. Idempotency means applying the same config multiple times yields the same result.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
The ios_config module supports idempotent configuration changes by comparing the desired state with the running configuration.
Why this is correct
Correct: ios_config uses the 'lines' parameter and compares with running config to avoid unnecessary changes.
- ✓
The ios_command module can be used to execute show commands and capture output for parsing.
Why this is correct
Correct: ios_command sends CLI commands and returns the output, which can be parsed with regex or filters.
- ✗
The ios_facts module gathers only interface statistics from the device.
Why it's wrong here
Incorrect: ios_facts gathers a broad set of facts including version, hardware, interfaces, and more.
- ✓
The ios_vlan module is used to create and delete VLANs on Cisco IOS devices.
Why this is correct
Correct: ios_vlan is a resource module that manages VLANs declaratively.
- ✗
The ios_lldp module can only enable LLDP globally, not on specific interfaces.
Why it's wrong here
Incorrect: ios_lldp can manage both global and per-interface LLDP settings.
Visual reference
Go deeper
Related to this question
About these practice questions
One of 1,175 original 350-401 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 350-401 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 350-401 exam.