nerdexam
Cisco

300-435 · Question #91

Refer to the exhibit. The lab group consists of four Cisco IOS XE routers named pod-11,pod-12, and pod-22. What is the result of running the Ansible playbook to reset the lab?

The correct answer is C. The Loopback1 interface is removed from the pod-11 and pod-12 routers. The Ansible playbook, when executed, will specifically target the pod-11 and pod-12 routers and remove their Loopback1 interfaces to reset the lab configuration.

Device-Level Network Automation

Question

Refer to the exhibit. The lab group consists of four Cisco IOS XE routers named pod-11,pod-12, and pod-22. What is the result of running the Ansible playbook to reset the lab?

Options

  • AThe IPv4 and IPv6 addresses for the Loopback1 interface are removed from pod-11 and pod-12.
  • BThe IPv4 and IPv6 addresses for the Loopback2 interface are removed from all routers.
  • CThe Loopback1 interface is removed from the pod-11 and pod-12 routers.
  • DThe changes will occur on pod-21 and pod-22 if the loopback2 interface is absent.

How the community answered

(61 responses)
  • A
    2% (1)
  • B
    5% (3)
  • C
    85% (52)
  • D
    8% (5)

Why each option

The Ansible playbook, when executed, will specifically target the pod-11 and pod-12 routers and remove their Loopback1 interfaces to reset the lab configuration.

AThe IPv4 and IPv6 addresses for the Loopback1 interface are removed from pod-11 and pod-12.

Removing only IPv4 and IPv6 addresses from Loopback1 is less comprehensive than removing the entire interface, and the correct answer indicates the interface itself is removed.

BThe IPv4 and IPv6 addresses for the Loopback2 interface are removed from all routers.

This suggests removing Loopback2 from all routers, which contradicts the precise targeting of Loopback1 on a specific subset of routers implied by the correct answer.

CThe Loopback1 interface is removed from the pod-11 and pod-12 routers.Correct

Based on the typical structure of an Ansible playbook designed to 'reset' a lab, this option implies that the playbook's tasks and host targeting are configured to remove the Loopback1 interface exclusively from the pod-11 and pod-12 routers, leaving other routers or interfaces untouched. The Ansible inventory or 'hosts' directive likely restricts the playbook's execution to this specific subset, and the task module targets Loopback1 for removal.

DThe changes will occur on pod-21 and pod-22 if the loopback2 interface is absent.

This option refers to pod-21 and Loopback2, which differs from the Loopback1 and pod-11, pod-12 focus of the correct answer and the likely playbook's intent.

Concept tested: Ansible playbook execution and targeting

Source: https://docs.ansible.com/ansible/latest/inventory_guide/index.html

Topics

#Ansible#Network Automation#Cisco IOS XE#Interface Configuration

Community Discussion

No community discussion yet for this question.

Full 300-435 Practice