exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 72 discussion

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


Refer to the exhibit. Which code snippet completes this code to handle API rate-limit?

  • A. response.status_code == 429
  • B. response.status_code != 408
  • C. response.status != 408
  • D. response.status_code != 429
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
lente_kriebels
Highly Voted 2 years, 8 months ago
Correct answer is D
upvoted 19 times
...
mariodevx
Most Recent 7 months, 4 weeks ago
Selected Answer: A
If you have 429 code you must terminate immediately the loop if response.status_code ==429 break
upvoted 1 times
examtopicstroilevw
1 month, 3 weeks ago
per the comment, it wants NOT rate-limited. please double-check.
upvoted 1 times
...
...
Teringzooi
1 year, 7 months ago
Selected Answer: D
Answer: D # If not rate-limited, exit loop and continue with the rest of the code if response.status_code !=429
upvoted 4 times
...
designated
1 year, 8 months ago
Selected Answer: D
D is correct because of the comment above the code. # If not rate-limited, exit loop and continue with the rest of the code if response.status_code !=429
upvoted 2 times
...
ferock
2 years ago
Selected Answer: D
If not rate limit means the status code is not (!=) 429, D is correct
upvoted 3 times
...
python_tamer
2 years, 3 months ago
Selected Answer: D
Yep, it's D
upvoted 3 times
...
Kiwi2
2 years, 5 months ago
Yes, agree with Lente_Kriebels. response.status_code != 429 means not rate-limited.
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago