🔥 3-day streak
Cisco CCNP Enterprise ENCOR (350-401)67 / 115
Question 67 of 115
A network engineer writes a Python script to submit a configuration task to Cisco Catalyst Center and then poll a status endpoint until the task completes. The relevant portion of the script is: ```python import requests, time status = "PENDING" while status != "SUCCESS": r = requests.get(url, headers=headers) status = r.json()["response"]["status"] time.sleep(2) print("Task finished") ``` The task on Catalyst Center actually fails and the API returns a status value of "FAILURE". What is the behavior of this script?
Reviewed for accuracy · Report an issueNext question