DRAG DROP - Refer to the exhibit. Drag and drop the code snippets from the left onto the item numbers on the right that match the missing sections in the exhibit to complete the script to implement control flow. Select and Place:
Answer: there are only 5 blanks, I hope there are only 5 on the real thing!
1. try
2. except Exception as e
3. request.status_codes.codes.UNAUTHORIZED
4. Authorization
5. request.status_codes.codes.SERVER_ERROR
My rationale (in order i approached them):
1 and 2 look like a try except structure, especially if compare to the create_dnac_token() at the bottom of the screen
3 skipped, wasn't sure what was hapening here
4 Authorization would match Basic inside headers
5 looked like it could be two different things initially, went back to 3
3 figured that this was unauthorized, because the follow-on line wanted to create a token, and being unauthorized would be a valid reason to create a token
5 back to this one, i figured that it had to be a server error, simply because "service is not reachable" would fit with server error better than it could fit with "too many requests" as that would imply the service was still reachable and the follow-on code should have been related rate limiting.
This section is not available anymore. Please use the main Exam Page.350-901 Exam Questions
Log in to ExamTopics
Sign in:
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.
valbonarexhepi
Highly Voted 1 year, 9 months agoexamtopicstroilevw
Most Recent 1 month, 3 weeks agowhipmuffin
5 months, 1 week agoferock
1 year, 6 months agoudo2020
1 year, 9 months ago