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 350-901 Topic 4 Question 71 Discussion

Actual exam question for Cisco's 350-901 exam
Question #: 71
Topic #: 4
[All 350-901 Questions]

Refer to the exhibit.

A network engineer writes a script to test authentication workflow using Python and REST API. The engineer wants to ensure that the script handles expected errors by matching output to HTTP status codes The scnpt uses the Python requests module. Which line of code must be added on the snippet where the code is missing?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Lemuel
14 days ago
I'm not sure, but I think C) response is also a valid option.
upvoted 0 times
...
Leeann
17 days ago
I agree with Pete. The status code is important for error handling.
upvoted 0 times
...
Pete
18 days ago
I think the answer is B) response.status_code.
upvoted 0 times
...
Tula
18 days ago
Haha, good one Charlie! Maybe the network engineer is trying to 'wing it' and hoping for the best. Classic move, my friend.
upvoted 0 times
...
Arlene
21 days ago
Dave
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77