Cisco Developing Applications using Cisco Core Platforms and APIs (DEVCOR) 350-901 Question # 92 Topic 10 Discussion
350-901 Exam Topic 10 Question 92 Discussion:
Question #: 92
Topic #: 10
Refer to the exhibit.
A network engineer must integrate error handling tor 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 serf._retries < selff._MAX_RETRIES:
B.
elif resp.status_code == 404 or self, retries < self._MAX_RETRIES:
C.
elif resp.status_code == 429 and self .retries < self._MAX_RETRIES:
D.
elif resp.status_code == 404 and self._relries < self._MAX_RETRIES:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit