exam questions

Exam 300-435 All Questions

View all questions & answers for the 300-435 exam

Exam 300-435 topic 1 question 87 discussion

Actual exam question from Cisco's 300-435
Question #: 87
Topic #: 1
[All 300-435 Questions]


Refer to the exhibit. Cisco SD-WAN deployment must be fixed using vManage APIs. A call to vEdge Hardware Health API returns the data in the exhibit (only a portion is shown). If the JSON shown in the exhibit is converted to a Python dictionary named `d`, how is the `status` property referenced?

  • A. d['data']['statusList']['status']
  • B. nbvnbvvnbhg
  • C. d{'data'}[0]{'statusList'}[0]{'status'}
  • D. d[data][0][statusList][0][status]
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Wocilon
Highly Voted 3 years, 1 month ago
Same question as 74. Answer is D but is missing all quoutes
upvoted 8 times
...
Jenas3
Most Recent 1 week ago
Selected Answer: A
The correct answer is A. d['data']['statusList']['status']. When the JSON data is converted to a Python dictionary d, the status property is correctly referenced as d['data']['statusList']['status']. This format corresponds to the nested keys in the JSON structure. The other options are incorrect.
upvoted 1 times
...
incognitoborg
6 months, 2 weeks ago
Selected Answer: D
The answer is D, just needs quotes around 'data', 'statusList', and 'status' >> d['data'][0]['statusList'][0]['status']
upvoted 1 times
...
Slavey
10 months ago
Right! the correct answer is really D, however it's missing quotes tested in Python3 as well: >>> d['data'][0]['statuslist'][0]['status'] 'up' all others gives errors and since question is how is the 'status' property referenced? the less wrong answer from the list is really D!
upvoted 2 times
...
ThePokemonNuzlockingMaster
10 months, 1 week ago
Selected Answer: D
tested in Python, script below: d = { "data": [ { "count": 4, "detailsURL": "", "status": "error", "statusList": [ { "count": 4, "detailsURL": "/dataservice/device/hardwarehealth/detail?state=normal", "message": "normal", "status": "up" } ] } ] } print(d['data'][0]['statusList'][0]['status'])
upvoted 1 times
...
Slavey
10 months, 1 week ago
duplication with few other questions, correct answer is A, d['data']['statusList']['status']
upvoted 1 times
...
fuhgeddaboudit
1 year, 4 months ago
Selected Answer: C
or C - replace curly brakets with square ones .. LOL
upvoted 1 times
...
Alondrix
1 year, 10 months ago
D with quotes: d'data'][0]['statusList'][0]['status']
upvoted 1 times
Alondrix
1 year, 10 months ago
Typo, should be: d['data'][0]['statusList'][0]['status']
upvoted 1 times
...
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago