Courseiva
AutomationhardMultiple ChoiceObjective-mapped

350-601 Automation Practice Question

An Ansible playbook using the cisco.nxos.nxos_config module fails with the error: 'Unsupported parameters for (cisco.nxos.nxos_config) module: connection type setting'. What is the most likely cause?

⚠ Common exam trap

Cisco often tests the distinction between play-level and task-level parameters, specifically that `connection` is not a valid parameter for network modules at the task level, leading candidates to incorrectly attribute the error to module installation or device compatibility.

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 playbook includes an invalid parameter 'connection: network_cli' inside the task block.

The error 'Unsupported parameters for (cisco.nxos.nxos_config) module: connection type setting' occurs because the `connection: network_cli` parameter is being passed inside the task block of the playbook. The `cisco.nxos.nxos_config` module does not accept a `connection` parameter at the task level; connection settings must be defined at the play or inventory level. This is a common syntax error when using Ansible network modules.

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 SSH key authentication is misconfigured.

    Why it's wrong here

    Authentication issues cause connection errors, not parameter unsupported errors.

  • The playbook includes an invalid parameter 'connection: network_cli' inside the task block.

    Why this is correct

    The 'connection' parameter is a play-level attribute, not a task parameter for nxos_config.

  • The module is not installed correctly.

    Why it's wrong here

    A missing module would give a different error, not about unsupported parameters.

  • The playbook is targeting a device running an unsupported NX-OS version.

    Why it's wrong here

    Version unsupported would cause connection or execution errors, not parameter errors.

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 →

How Courseiva writes practice questions · Editorial policy

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.