nerdexam
Cisco

200-301 · Question #482

Which two components are needed to create an Ansible script that configures a VLAN on a switch? (Choose two.)

The correct answer is B. task C. playbook. Ansible playbooks: “files that provide actions and logic about what Ansible should do.” “The playbook will list tasks and choices based on those results, like “Configure all branch routers in these locations, and if errors occur for any device, do these extra tasks for that devic

Submitted by yaw92· Mar 5, 2026Automation and Programmability

Question

Which two components are needed to create an Ansible script that configures a VLAN on a switch? (Choose two.)

Options

  • Acookbook
  • Btask
  • Cplaybook
  • Dmodel
  • Erecipe

How the community answered

(50 responses)
  • B
    94% (47)
  • D
    4% (2)
  • E
    2% (1)

Explanation

Ansible playbooks: “files that provide actions and logic about what Ansible should do.” “The playbook will list tasks and choices based on those results, like “Configure all branch routers in these locations, and if errors occur for any device, do these extra tasks for that device”.”

Topics

#Ansible#Ansible Playbook#Ansible Task#Network Automation

Community Discussion

No community discussion yet for this question.

Full 200-301 Practice