Question 47 of 100 from exam 350-901-DEVCOR: Developing Applications Using Cisco Core Platforms and APIs

Question 47 of 100 from exam 350-901-DEVCOR: Developing Applications Using Cisco Core Platforms and APIs

Question

The Meraki API url https://api.meraki.com/api/v0/networks/123456789/ssids/2 has been stored in the environment variable meraki_url, and the API key has been stored in meraki_api_key.

Which snippet presents the correct API call to configure, secure, and enable an SSID using the Meraki API? A.

curl -X PUT \ --url $meraki_url \
+H °X-Cisco-Meraki-APL-Key: ‘$meraki_api_kev’
-H ‘Accept: applicationjison’ \

-H ‘Content-type: applicationijson’ \
—data-raw ‘{

‘name’ “My SSID’,

‘enabled’: false,

“authMode": ‘psk’,

“enctyptionMode": ‘wpa’,

“psk": “meraki123”,

‘wpaEncryptionMode”: “WPA1 and WPA2"

¥

B.

curl -X PUT \ --url $meraki_url \

-H X-Cisco-Meraki-API-Key: ‘$meraki_api_key’
-H ‘Accept: application/json’ \

-H ‘Content-type: applicationijson’ \
~-data-raw ‘{

“name”: “My SSID",

“enabled”: true,

“authMode”: “psk’,

“encryptionMode”: “wpa”,

“psk’: ‘meraki123",

“wpaEncryptionMode": "WPA1 and WPA2"

}

C.

curl -X PUT \ --url $meraki_url \

-H ‘X-Cisco-Meraki-API-Key: ‘$meraki_api_key’
-H ‘Accept: application/json’ \

-H ‘Content-type: application/json’ \

--data-raw ‘{

“enabled”: true,

“useVianTagging”: true

D.

curl-X PUT \ --url $meraki_url \

-H °X-Cisco-Meraki-API-Key: ‘$meraki_api_key’
-H ‘Accept: application/json’ \

-H ‘Content-type: applicationjson’\

—data-raw ‘{

‘name’ “My SSID’,

‘enabled’: true,

y

Explanations

B.