exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 309 discussion

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



Refer to the exhibit. A network engineer must integrate error handling for time-outs on network devices using the REST interface. Which line of code needs to be placed on the snippet where the code is missing to accomplish this task?

  • A. elif resp.status_code == 429 or self._retries < self._MAX_RETRIES:
  • B. elif resp.status_code == 404 and self._retries < self._MAX_RETRIES:
  • C. elif resp.status_code == 404 or self._retries < self._MAX_RETRIES:
  • D. elif resp.status_code == 429 and self._retries < self._MAX_RETRIES:
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
[Removed]
Highly Voted 10 months, 1 week ago
Selected Answer: D
Answer is correct.
upvoted 6 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 ...