🔥 3-day streak
Cisco CCNP Automation AUTOCOR (350-901)106 / 136
Question 106 of 136

You are writing a Python script that uses the requests library to push a batch of 200 ACL entries to a controller's REST API. The API uses OAuth2 bearer tokens that expire after 5 minutes, and it enforces a rate limit that returns HTTP 429 with a 'Retry-After' header when exceeded. During long runs some POST calls fail with 401 and others with 429. Which approach correctly handles both failure conditions while completing all 200 pushes?

Reviewed for accuracy · Report an issueNext question