Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Cisco 350-901 Exam - Topic 4 Question 35 Discussion

{'lat': 37.4180951010362, 'lng': -122.098531723022, 'address': '', 'serial': 'Q2HP-F5K5-F98Q','mac': '88:15:44:ea:f5:bf', 'lanIp': '10.10.10.15','model': 'MS220-8P', 'switchProfileId': None, 'firmware': 'switch-11-31', 'floorPlanId': None}Refer to the exhibit. A developer needs to find the geographical coordinates of a device on the network L_397561557481105433 using a Python script to query the Meraki API. After running response = requests.get() against the Meraki API, the value of response.text is shown in the exhibit.What Python code is needed to retrieve the longitude and latitude coordinates of the device?
A) latitude = response.text['lat'] longitude = response.text['lng']
B) latitude = response.json()['lat'] longitude = response.json()['lng']
C) latitude = response.json()[0] longitude = response.json()[1]
D) latitude = response.text[0] longitude = response.text[1]

Cisco 350-901 Exam - Topic 4 Question 35 Discussion

Actual exam question for Cisco's 350-901 exam
Question #: 35
Topic #: 4
[All 350-901 Questions]

{'lat': 37.4180951010362, 'lng': -122.098531723022, 'address': '', 'serial': 'Q2HP-F5K5-F98Q',

'mac': '88:15:44:ea:f5:bf', 'lanIp': '10.10.10.15',

'model': 'MS220-8P', 'switchProfileId': None, 'firmware': 'switch-11-31', 'floorPlanId': None}

Refer to the exhibit. A developer needs to find the geographical coordinates of a device on the network L_397561557481105433 using a Python script to query the Meraki API. After running response = requests.get() against the Meraki API, the value of response.text is shown in the exhibit.

What Python code is needed to retrieve the longitude and latitude coordinates of the device?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Darnell
10 months ago
D doesn’t make sense at all, what’s going on?
upvoted 0 times
...
Sherita
10 months ago
Wait, can you really access lat/lng like that?
upvoted 0 times
...
Asha
11 months ago
C seems off, it’s not indexing correctly.
upvoted 0 times
...
Felicidad
11 months ago
I think A looks good too, but it’s not using json.
upvoted 0 times
...
Josue
11 months ago
Option B is definitely the right choice!
upvoted 0 times
...
Lashanda
11 months ago
I'm a little confused by this question. Is there something else we need to do besides just setting the attribute as Searchable? The wording about "after creating the search refinement" makes me wonder if there's another step I'm missing.
upvoted 0 times
...
Celestina
11 months ago
I'm not too sure about this one. I'll have to think it through carefully before answering.
upvoted 0 times
...
Viva
11 months ago
Whoa, this is a new type of integral I haven't seen before. I'm a bit confused, but I'll give it my best shot.
upvoted 0 times
...

Save Cancel