Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Cisco Exam 300-535 Topic 11 Question 46 Discussion

Actual exam question for Cisco's 300-535 exam
Question #: 46
Topic #: 11
[All 300-535 Questions]

Refer to the exhibit.

What must be added after the last line of the Ansible playbook to check if the output contains ''IOS-XR''?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Rasheeda
5 days ago
Option D seems a bit off-topic. We're trying to check the output, not wait for a connection. I'd go with Option B.
upvoted 0 times
...
Fausto
13 days ago
Haha, 'wait_for: result[1] contains ''IOS-XR''' sounds like a typo. The playbook is probably looking for the first element, not the second.
upvoted 0 times
Eleonore
4 days ago
User1: I agree, 'wait_for: result[1] contains ''IOS-XR''' seems like a mistake.
upvoted 0 times
...
...
Edmond
23 days ago
I'm not sure about the difference between 'result[0]' and 'result[1]'. Maybe I should review the Ansible documentation again.
upvoted 0 times
Vanna
2 days ago
User4: Yeah, that's a good idea. We need to understand the difference.
upvoted 0 times
...
Gertude
7 days ago
User3: Let's check the Ansible documentation to be sure.
upvoted 0 times
...
Annmarie
12 days ago
User2: Maybe 'result[0]' is the first item then.
upvoted 0 times
...
Elvera
14 days ago
User1: I think 'result[1]' refers to the second item in the output.
upvoted 0 times
...
...
Kimbery
29 days ago
Option B looks good, as we need to check the first element of the result, not the second.
upvoted 0 times
...
Mitsue
1 months ago
But the question asks to check if the output contains ''IOS-XR'', so I think A is more accurate
upvoted 0 times
...
Lai
1 months ago
I disagree, I believe the correct answer is B) wait_for: result[0] contains IOS-XR
upvoted 0 times
...
Mitsue
1 months ago
I think the answer is A) wait_for: result[1] contains ''IOS-XR''
upvoted 0 times
...

Save Cancel
a