Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 31 of 166
Free Preview · 166 of 552 · questions 1–166 of 552 are free. Sign up free to sync your progress across devices.
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Only C As only C has [0] which is the first element of the list
C is correct - I was confused at first.. But i think: ITEMS - is a dictionary with a list as its value. This list has only one entry though - hence you need the positional arg 0 to target the nested K/V pairs.
without special chars: The JSON data in the exhibit has been parsed and stored in a variable, "data". What returns the value "172.16.0.11" ? A. data['items']['host'][1] B. data['items'][O]['host']['value'] C. data['items']['host']['value'] D. data['items']['1']['host']['value']