Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Cisco Implementing Cisco Data Center Core Technologies v1.1 (350-601 DCCOR) 350-601 Question # 22 Topic 3 Discussion

Cisco Implementing Cisco Data Center Core Technologies v1.1 (350-601 DCCOR) 350-601 Question # 22 Topic 3 Discussion

350-601 Exam Topic 3 Question 22 Discussion:
Question #: 22
Topic #: 3

An engineer must create an Ansible playbook to enforce compliance on Cisco Nexus 9000 Series Switches. The playbook must connect individually to each switch, leverage the Cisco NX-OS API, and enable the OSPF feature in an idempotent manner. Which playbook must the engineer use?


A.

- name: Enable OSPF

hosts: nxos_hosts

serial: 1

ansible_connection: httpapi

tasks:

- name: Ensure OSPF is enabled

cisco.nxos.nxos_feature:

feature: ospf

state: enabled


B.

- name: Enable OSPF

hosts: nxos_hosts

ansible_connection: network_cli

tasks:

- name: Ensure OSPF is enabled

cisco.nxos.nxos_feature:

feature: ospf

state: enabled

serial: 1


C.

- name: Enable OSPF

hosts: nxos_hosts

ansible_connection: local

tasks:

- name: Ensure OSPF is enabled

cisco.nxos.nxos_feature:

feature: ospf

state: enabled

throttle: 1


D.

- name: Enable OSPF

hosts: nxos_hosts

throttle: 1

ansible_connection: netconf

tasks:

- name: Ensure OSPF is enabled

cisco.nxos.nxos_feature:

feature: ospf

state: enabled


Get Premium 350-601 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.