exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 124 discussion

Actual exam question from Cisco's 350-901
Question #: 124
Topic #: 1
[All 350-901 Questions]

FILL BLANK -
Fill in the blanks to complete the Python script to enable the SSID with a name of `371767916` in the network resource `11111111` using the Meraki Dashboard
API.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below
1. 371767916
2. "{{HTTP_METHOD}}"
3. payload

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
duracell
Highly Voted 2 years, 5 months ago
1. 371767916 2. 'put' 3. payload
upvoted 16 times
udo2020
2 years, 5 months ago
Why not 2. POST ? I think it should be created and not updated!?
upvoted 1 times
testingrealname
2 years, 2 months ago
It is put, cuz the ssid is already created cuz you have the name already, so in restapi to update is PUT, another example check the next question.
upvoted 4 times
...
...
...
examtopicstroilevw
Most Recent 3 months, 1 week ago
1. 371767916 2. PUT 3. payload Rationale: SSID exists, we're only enabling it. I don't like the URL in the snippet, and having trouble finding the older version documentation, hope that the test simply includes the pertinent API docs snippet for the question at hand, to avoid confusion. https://developer.cisco.com/meraki/api-v1/update-network-wireless-ssid/
upvoted 1 times
...
ballastleaf8
1 year ago
According to example in the study guide, for the v0 API the URL should be “https://api.meraki.com/api/v0” + “networks/{my_network}/ssids/{my_ssid_nr}”. So the script in the question is wrong or missing information to populate {my_ssid_nr}. But otherwise, based on the example in the study guide, the best answer I think is: 371767916 'PUT' json.dumps(payload) Overall though, the v0 API is end of support (https://developer.cisco.com/meraki/api/#!introduction/sunset-notice) so I hope the question has simply been removed.
upvoted 1 times
JCGO
11 months, 1 week ago
payload is a string. no need to json.dumps() it. it is allready json-like string.
upvoted 2 times
...
...
Teringzooi
1 year, 8 months ago
Correct answer: 1. 371767916 = Name SSID 2. 'put' = SSID is existing, just update settings 3. payload = enable response = requests.request('PUT', url, headers=headers, data = payload) Source: https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid
upvoted 2 times
...
NetGirl
1 year, 8 months ago
1. 371767916 2. POST 3. json.dumps(payload) Why POST? First of all, the URL is wrong as it's missing "networks". It should be api/v0/networks/11111111/saids The question says 11111111 is the network resource, not an SSID. We don't have the SSID number, so we need to create it with POST. Why json.dumps(payload)? that's how you'd enter a dictionary in "data=" in your request. If it was "json=", you could've said json = payload.
upvoted 1 times
Teringzooi
1 year, 8 months ago
It's put. Question states: enable the SSID with a name of `371767916` So SSID is existing, now just enable the damn thing.
upvoted 1 times
...
...
designated
1 year, 9 months ago
1. 371767916 2. 'put' 3. payload response = requests.request('PUT', url, headers=headers, data = payload) https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid
upvoted 2 times
...
ferock
2 years, 1 month ago
1. 371767916 2. PUT 3. payload
upvoted 2 times
ferock
2 years, 1 month ago
Sorry 2. 'PUT'
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 ...