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 200-901 Exam - Topic 1 Question 109 Discussion

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

Refer to the exhibit.

An engineer is comparing two files by using the unified diff format. Which cade snippet belongs to the new.py file?

A.

B.

C.

D.

Show Suggested Answer Hide Answer
Suggested Answer: B

The provided diff format shows changes between two versions of a file. The + signs indicate lines that have been added in the new file (new.py). The code snippet that belongs to the new file is the one with + signs, showing the addition of code to print the device list filtered by hostname. The added lines include printing the message and setting the query_string_params to filter by hostname.


Contribute your Thoughts:

0/2000 characters
I’m a bit confused about the context here. I thought the new file would have more additions, but I can't recall the exact details.
upvoted 0 times
...
Rocco
5 days ago
I remember practicing a similar question where we had to identify changes in a diff output. I feel like option C might be the right one.
upvoted 0 times
...
Ira
10 days ago
I think the unified diff format shows changes with a plus or minus, but I'm not sure which snippet corresponds to new.py.
upvoted 0 times
...

Save Cancel