exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 289 discussion

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



Refer to the exhibit. A network engineer must configure new interfaces on a set of devices and is planning to use an Ansible playbook for the task. All devices support SSH and NETCONF protocol, and the interface variables are unique per device. In which directory are the YAML files including variables hosted to automate the task with the netconf_config module?

  • A. current working directory
  • B. host_vars directory
  • C. group_vars directory
  • D. home directory
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
outrageous7
Highly Voted 10 months, 2 weeks ago
Selected Answer: B
this should be B, unique per host, so in host vars
upvoted 7 times
cerifyme85
9 months, 2 weeks ago
IT asked for directory for YML files for ansible not directory for host files.. A is correct
upvoted 3 times
outrageous7
9 months, 2 weeks ago
bro grow up it's hostvars
upvoted 1 times
...
outrageous7
9 months, 2 weeks ago
how it be a static file, when it says the variables are different PER DEVICE !!!
upvoted 1 times
...
...
mellohello
10 months, 2 weeks ago
Correct, The YAML files including variables for the netconf_config module would be hosted in the host_vars directory.
upvoted 3 times
...
...
rtg2123
Most Recent 8 months, 2 weeks ago
Selected Answer: B
I think it's B too: "We document adding variables in the main inventory file for simplicity. However, storing variables in separate host and group variable files is a more robust approach to describing your system policy. Setting variables in the main inventory file is only a shorthand. See Organizing host and group variables for guidelines on storing variable values in individual files in the ‘host_vars’ directory" https://docs.ansible.com/ansible/latest/inventory_guide/intro_inventory.html
upvoted 3 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