exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 611 discussion

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



Refer to the exhibit. A developer is creating an Ansible playbook for a Cisco NX-OS device. The tasks that are defined in the playbook focus on the configuration on the device and is combined with other playbooks to showcase Day 0 to Day N tasks using an agentless tool like Ansible. Which two tasks will execute when the playbook is run in check mode? (Choose two.)

  • A. Create a backup if there are any differences detected in the diff output.
  • B. Print any configuration differences to stdout.
  • C. Compare the running-config against the latest.txt file.
  • D. Deploy a configuration that is based on the latest.txt template.
  • E. Compare the saved-config against the latest.txt file.
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

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
yairus
2 weeks ago
Selected Answer: AC
A. Create a backup if there are any differences detected in the diff output. C. Compare the running-config against the latest.txt file.
upvoted 1 times
...
doiszeroum
2 months, 3 weeks ago
Selected Answer: BE
E. Compare the saved-config against the latest.txt file: If the playbook involves comparing the saved configuration (saved-config) with a template or reference file (latest.txt), this task would execute in check mode. Ansible would compare the configurations and report any differences, but it would not apply any changes.
upvoted 1 times
...
daniii89
2 months, 3 weeks ago
Selected Answer: BC
When running in check mode (--check flag in Ansible), Ansible simulates the execution of the tasks without making actual changes to the device. This means that tasks that modify configuration (such as deploying or backing up configurations) will not execute, but comparison and diff-checking tasks will.
upvoted 1 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