ExamGecko
Question list
Search
Search

Related questions











Question 38 - 300-435 discussion

Report
Export

Refer to the exhibit.

Cisco SD-WAN deployment must be troubleshooted using vManage APIs. A call to vEdge Hardware Health API returns the data in the exhibit (only a portion is shown). If this JSON is converted to a Python dictionary and assigned to the variable “d”, how the status is accessed that is indicated on line 16?

A.

d[data][0][statusList][0][status]

Answers
A.

d[data][0][statusList][0][status]

B.

d[‘data’][‘statusList’][‘status’]

Answers
B.

d[‘data’][‘statusList’][‘status’]

C.

d{‘data’}[0]{‘statusList’}[0]{‘status’}

Answers
C.

d{‘data’}[0]{‘statusList’}[0]{‘status’}

D.

d[‘data’][0][‘statusList’][0][‘status’]

Answers
D.

d[‘data’][0][‘statusList’][0][‘status’]

Suggested answer: D

Explanation:

:

The 0s in option AC and D are not logical in this scenario. The status tag already takes care of the error message.

asked 07/10/2024
luigi catalano
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first