Which platform has an API that can be used to obtain a list of vulnerable software on user devices?
D
Which two items are Cisco DevNet resources? (Choose two.)
CE
Reference:
https://developer.cisco.com/
FILL BLANK -
Fill in the blanks to complete the Python script to update the Webex Teams membership of a room using the Python requests library. import requests url = `https://api.ciscospark.com/v1/memberships/
Y2lzY29zcGFyazov379971079INISVAvOTJiM2RkOWEtNjc1ZC00YTQxLThjNDEtMmFiZGY4OWY0NGY0OjExNzJkNmYwLTJIYzMtMTFIOS1iOWI3LWNmMjg3M
TJhYTkzNw`
my_token = `AbCdEf123456`
payload = `{\n \`isModerator\`: true\n}`
headers = {
'Authorization': 'Bearer' + my_token,
'Content-Type': 'application/json'
}
response = requests. ___________ (`PATCH`, url, headers= ___________, data = ____________ ) print(response.text.encode('utf8'))
See explanation below.
response = requests.request(ג€PATCHג€, url, headers= headers, data = payload ) print(response.text.encode('utf8'))
While developing a real-time VoIP application on a Cisco Webex platform, users report that their voice gets chopped or parts of the conversation drop out. Which network constraint is impacting the application?
A
FILL BLANK -
Refer to the exhibit.
Fill in the blank to complete the query parameter and value so that the result set is returned in reverse chronological order (most recent first) based on when messages were posted to those rooms.
HTTP GET /v1/rooms ________________
See explanation below.
GET/v1/rooms{?teamId,type,sortBy,max}
Reference:
https://developer.webex.com/docs/api/v1/rooms/list-rooms
A company has written a script that creates a log bundle from the Cisco DNA Center every day. The script runs without error and the log bundles are produced.
However, when the script is run during business hours, people report poor voice quality of phone calls. What explains this behavior?
C
FILL BLANK -
Fill in the blanks to complete the statement.
Cisco DNA Center provides the capability to send an HTTP _______________ request to the API endpoint https://DNA-C_API_ADDRESS/api/v1/ network-device/and receive a list of network _______________ in _______________ format.
See explanation below.
get
device
json
FILL BLANK -
Fill in the blanks to complete the Python script to retrieve a list of network devices using the Cisco DNA Center API. my_token=
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzl1NiJ9.ey.JzdWliOil1ZDE0OWZkMjhlZTY2
MmQ3NGM5YzE5ZTliLmYzMClslmV4cCI6MTU3MjM3ODE5MCwidXNlcm5hbWUiOiJraX
N370940885.zhK5LPQd501ZUpZI0IH_qrgOXttlNbxSFFF7JOEtRls'
import requests
url = `https://myDNAserver/dna/intent/api/v1/network-device`
payload = {}
headers = {'x-auth-token': my_token}
response = requests.request( _______________________ , url,
headers = _________________________, data = _______________________ ) print(response.text.encode('utf8'))
See explanation below.
response = requests.request( method , url,
headers = headers, data = request.get_data )
print(response.text.encode('utf8'))
Reference:
https://www.programcreek.com/python/example/64946/flask.request.get_data
DRAG DROP -
Drag and drop the requests from the left into the order on the right to create and check the path trace between two devices using Cisco DNA center API.
Select and Place:
DRAG DROP -
Refer to the exhibit. A Python script must delete all Cisco Catalyst 9300 Series switches that have an uptime that is greater than 90 days. The script must also query for the status of all the other devices. Drag and drop the code from the bottom onto the box where the code is missing to complete the script. Not all options are used.
Select and Place: