nerdexam
Cisco

350-601 · Question #723

Refer to the exhibit. Three VLANs are configured on Cisco Nexus Series Switch called GRPIC1SW01. An engineer must remove only VLAN 3 from the existing configuration using the existing Ansible…

The correct answer is B. state: overridden. The state: overridden option in the Ansible cisco.nxos.nxos_vlans module will ensure that only the VLANs specified in the playbook (VLAN 5 and VLAN 10) remain configured on the switch. Any existing VLANs not defined in the config list (such as VLAN 3) will be removed, meeting…

Automation

Question

Refer to the exhibit. Three VLANs are configured on Cisco Nexus Series Switch called GRPIC1SW01. An engineer must remove only VLAN 3 from the existing configuration using the existing Ansible playbook. Which module statement must be added under Task_1 to complete the playbook?

Exhibit

350-601 question #723 exhibit

Options

  • Astate: replaced
  • Bstate: overridden
  • Cstate: merged
  • Dstate: deleted

How the community answered

(33 responses)
  • A
    12% (4)
  • B
    79% (26)
  • C
    3% (1)
  • D
    6% (2)

Explanation

The state: overridden option in the Ansible cisco.nxos.nxos_vlans module will ensure that only the VLANs specified in the playbook (VLAN 5 and VLAN 10) remain configured on the switch. Any existing VLANs not defined in the config list (such as VLAN 3) will be removed, meeting the requirement to delete only VLAN 3 while keeping VLAN 5 and VLAN 10.

Topics

#Ansible#Network Automation#Cisco Nexus#VLANs

Community Discussion

No community discussion yet for this question.

Full 350-601 Practice