Question 15 of 60 from exam 300-435-ENAUTO: Automating and Programming Cisco Enterprise Solutions

Question 15 of 60 from exam 300-435-ENAUTO: Automating and Programming Cisco Enterprise Solutions

Question

Which curl command is used to update the SNMP community of network ID '1234567' to read-only? A.

curl -L -H ‘X-Cisco-Meraki-API-Key: <key>’ \
-H ‘Content-Type: application/json’ \
-X PUT --data-binary ‘{ \
waccess”:"users”, \
“communi tyString’:"readonly’}’ \
‘https: //api .meraki . com/api/v0/networks/1234567/snmpsettings’

B.

curl -L -H ‘X-Cisco-Meraki-API-Key: <key>' \
-H ‘Content-Type: application/json’ \
-x pur --data-binary ‘{ \
“access”: community”, \
‘communi tyString”:"readonly’)}' \
‘https: //api .meraki .com/api/v0/networks/1234567/snmpsettings’

C.

curl -L -H ‘X-Cisco-Meraki-API-Key: <key>’ \
-H ‘Content-Type: application/json’ \
-K pur --data-binary ‘{ \
waccess”:"users”, \
“usersname”:""snmp”, \
‘passphase”:/"readonly”}’ \
vattps:: //api -meraki .com/api/v0/networks/1234567/snmpSettings’

D.

curl -L -H ‘X-Cisco-Meraki-API-Key: <key>' \
-H ‘Content-Type: application/json’ \
-X POs? --data-binary ‘{ \
access”: ”community”, \
“communi tystring”: readonly”) \
‘https: //api meraki . com/api /v0 /networks/1234567/snmpsettings’

Explanations

B.

PUT is used to update the snmp network ID.

The access has to be community and not users.

Therefore, option B is correct.