Free Cisco 350-901 Actual Exam Questions - Question 12 Discussion

Question No. 12

Refer to the exhibit. 350-901 practice exam questions Which line of code needs to be placed on the snippet where the code is missing to provide APl rate- limiting to the requests?

Select one option, then reveal solution.
US
YY
Yasir Y.
2026-02-21

B looks right since headers use get() not post(), and response fits better here.

0
UQ
Usman Q.
2026-02-16

The snippet seems to use a local variable named response rather than self.response, so C and A can be ruled out because they reference self.response. Also, using .post() on headers doesn’t make sense since headers are typically accessed with .get(). That leaves B as the clean and correct choice because it uses response.headers.get('Retry-After') with proper quotes. D is invalid too because it uses .post(). So yeah, B fits best for standard header retrieval syntax here.

0
UQ
Usman Q.
2026-01-26

It’s B, since .get() is the right method and ‘response’ fits the snippet.

0
BA
Bilal A.
2026-01-17

Option B looks good because it uses response.headers.get with correct quotes.

0
BA
Bilal A.
2026-01-17

Maybe B, since it uses the right method for getting headers and matches usual syntax. The others look off with ‘post’ or missing quotes.

0