exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 397 discussion

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

Which capability is used by Ansible to run a set of tasks when a property is changed?

  • A. handlers
  • B. playbooks
  • C. roles
  • D. tasks
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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: A
I’m pretty sure it’s handlers
upvoted 11 times
Woonesuf
9 months, 3 weeks ago
I agree. "Sometimes you want a task to run only when a change is made on a machine. For example, you may want to restart a service if a task updates the configuration of that service, but not if the configuration is unchanged. Ansible uses handlers to address this use case. Handlers are tasks that only run when notified." Source: https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_handlers.html
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 ...