Courseiva
mediumMultiple ChoiceObjective-mapped

200-901 Practice Question: Runs the Ansible playbook shown in the exhibit,…

Exhibit

Refer to the exhibit.
---
- name: Configure VLAN
  cisco.ios.ios_vlan:
    vlan_id: 100
    name: test_vlan
    state: present
  register: result

A network engineer runs the Ansible playbook shown in the exhibit, but it fails. The error indicates the module 'cisco.ios.ios_vlan' does not exist. What is the most likely cause?

⚠ Common exam trap

Cisco often tests the exact module naming convention in the cisco.ios collection, where the trap is that candidates assume the module name is singular ('ios_vlan') because it seems intuitive, but the correct name is plural ('ios_vlans') due to the collection's resource-oriented design.

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 module name is misspelled; it should be 'ios_vlans'

The error indicates that the module 'cisco.ios.ios_vlan' does not exist. In the cisco.ios collection, the correct module name for managing VLANs is 'ios_vlans' (plural), not 'ios_vlan'. This is a common naming mistake because many other Ansible modules use singular names, but the ios_vlan module was deprecated and replaced by ios_vlans in newer versions of the collection.

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 collection 'cisco.ios' is not installed

    Why it's wrong here

    If the collection were missing, the error would be about collection not found, not module not found.

  • The module name is misspelled; it should be 'ios_vlans'

    Why this is correct

    The correct module for configuring VLANs on Cisco IOS is 'ios_vlans' (with an 's').

  • The 'state: present' is invalid for this module

    Why it's wrong here

    Even if state were invalid, the error would be about parameter, not missing module.

  • The playbook lacks 'become: yes'

    Why it's wrong here

    Privilege escalation is often needed but would cause a permission error, not a missing module error.

Visual reference

Switch VLAN 10 Sales (192.168.10.0/24) PC-A PC-B VLAN 20 HR (192.168.20.0/24) PC-C PC-D Router VLANs isolate traffic — inter-VLAN routing requires a Layer 3 device

About these practice questions

One of 989 original 200-901 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 200-901 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 200-901 exam.