exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 349 discussion

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



Refer to the exhibit. An engineer creates an application that leverages the Ansible framework to provision CPE endpoints that have configuration changes. The application contains an Ansible playbook named provision_cpes.yml that uses the ansible.builtin.script Ansible module to execute these two Python scripts:

• gather_and_create.py, which creates a JSON file named bios.json that contains the CPE models and their respective IOS file information
• load_and_parse.py, which loads the file data and parses it for later consumption

After several successful runs, the application fails. During a review of the Ansible execution logs, the engineer discovers an error output that indicates that one of the stages failed. What is the cause of this issue?

  • A. gather_and_create.py Python script
  • B. load_and_parse.py Python script
  • C. provision_cpes.yml Ansible playbook
  • D. ansible.builtin-script Ansible module
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
mkOwl
Highly Voted 2 years, 1 month ago
Selected Answer: A
load_and_parse.py Python script shows that it cannot find file bios.json which should be generated by gather_and_create.py Python script. So I believe correct answer should be A.
upvoted 12 times
...
Amycert
Most Recent 8 months ago
Selected Answer: A
A, file not created
upvoted 1 times
...
ThePokemonNuzlockingMaster
1 year, 10 months ago
Selected Answer: A
Agreed it is most likely A. I think that there's not actually enough information to say for certain, since in theory the load_and_parse.py script might not be looking in the correct place, but most likely cause is that the bios.json file isn't being created which is why gather_and_create.py is more likely the issue
upvoted 2 times
...
tor123
1 year, 11 months ago
Selected Answer: A
It should be A
upvoted 1 times
...
Fedesarucho
2 years, 1 month ago
Selected Answer: A
Agree to mkOwl
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 ...