350-601 Automation Practice Question
Exhibit
TASK [Configure interface] ****************************************************
fatal: [nxos-switch-1]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (nxos_config) module: mtu Supported parameters include: after, backup, backup_options, before, config, defaults, diff_against, diff_ignore_lines, intended_config, lines, match, parents, provider, replace, save_when, src"}Refer to the exhibit. An engineer is using an Ansible playbook to configure a Nexus switch. The playbook task uses the nxos_config module to set an MTU value on an interface. What is the most likely issue?
⚠ Common exam trap
Cisco often tests the distinction between generic configuration modules (nxos_config) and specialized modules (nxos_mtu, nxos_vlan, etc.), trapping candidates who assume any configuration can be done with nxos_config alone.
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
✓
Use the nxos_mtu module instead of nxos_config to configure MTU.
The nxos_config module is a generic module for applying arbitrary configuration commands, but it does not validate or handle the specific semantics of MTU configuration. The nxos_mtu module is purpose-built to manage MTU settings on Nexus interfaces, ensuring correct syntax and idempotent behavior. Therefore, using nxos_mtu is the appropriate approach for this task.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Add the 'provider' parameter with connection details.
Why it's wrong here
The provider parameter is deprecated in modern Ansible and is not required for this error.
- ✗
Correct the spelling of the MTU parameter to 'mtu_size'.
Why it's wrong here
The error indicates 'mtu' is unsupported, not misspelled. 'mtu_size' is not a valid parameter in nxos_config.
- ✓
Use the nxos_mtu module instead of nxos_config to configure MTU.
Why this is correct
The nxos_config module does not support MTU; the nxos_mtu module is designed for this purpose.
- ✗
Verify that the switch supports MTU configuration via Ansible.
Why it's wrong here
Nexus switches do support MTU configuration, but only through the nxos_mtu module.
Go deeper
Related to this question
About these practice questions
This 350-601 question is part of Courseiva's 984-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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-601 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-601 exam.