exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 350 discussion

Actual exam question from Cisco's 200-901
Question #: 350
Topic #: 1
[All 200-901 Questions]



Refer to the exhibit. An engineer runs a network that consists of Cisco Nexus devices. The network is distributed between data centers in different locations. The switches are configured using standalone connections and a single point of failure. Which process is being automated by the Ansible playbook?

  • A. enabling HSRP on the nxos_rtr inventory host
  • B. enabling HSRP on the rtr-1a inventory host
  • C. executing HSRP configuration from the Ansible controller node
  • D. executing HSRP configuration from the srv-1a inventory host
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ExamNinja1
6 days, 23 hours ago
Selected Answer: D
The delegate_to directive in the playbook specifies that the task should be delegated to the host srv-1a. This means the HSRP configuration tasks are executed from the srv-1a inventory host.
upvoted 1 times
...
daniii89
2 weeks, 6 days ago
Selected Answer: B
A. enabling HSRP on the nxos_rtr inventory host is incorrect because nxos_rtr starts the playbook, but HSRP is not configured on it. B. enabling HSRP on the rtr-1a inventory host is correct because host: "{{ hostvars['rtr-1a']['ansible_ssh_host'] }}" means that HSRP is configured on rtr-1a. C. executing HSRP configuration from the Ansible controller node is incorrect because delegate_to ensures that the configuration is not executed from the Ansible controller, but from srv-1a. D. executing HSRP configuration from the srv-1a inventory host is incorrect because srv-1a executes the playbook, but HSRP is not configured on srv-1a, it is applied on rtr-1a.
upvoted 1 times
...
727b8c8
5 months, 2 weeks ago
Selected Answer: B
The Playbook Targets rtr-1a, Not nxos_rtr: task in the playbook is specifically targeting rtr-1a for HSRP configuration. The line: host: "{{ hostvars['rtr-1a']['ansible_ssh_host'] }}"
upvoted 2 times
...
nicovl
1 year, 10 months ago
Selected Answer: A
Host doesn’t seem to be a valid parameter. In that case only answer A is valid looking at the group that is being targeted. https://docs.ansible.com/ansible/latest/collections/cisco/nxos/nxos_hsrp_module.html
upvoted 2 times
...
nospampls
2 years, 1 month ago
i think "gather_facts: false" is the key in this question and https://docs.ansible.com/archive/ansible/2.5/modules/nxos_hsrp_module.html
upvoted 2 times
rtg2123
1 year, 11 months ago
I think that leads to enable hsrp, rather than ensure hsrp is configured, which is the default case without gather_facts: false. I would go with B because for make makes some sense, but i not an asnible expert. Anyone has other opinions?
upvoted 1 times
rtg2123
1 year, 11 months ago
And from the link you share: host = "Specifies the DNS host name or address for connecting to the remote device over the specified transport. The value of host is used as the destination address for the transport." So this make me more to think that B is correct
upvoted 2 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago