Loading questions...
Updated
A developer is attempting to retrieve all the messages from a Cisco Webex space. The server responds by sending the first 1,000 messages. The developer must make additional requests to retrieve the rest of the messages. Which API constraint is described in this scenario?
A developer pushes an application to production. The application receives a webhook over HTTPS without a secret. The webhook information contains credentials to service in cleartext. When the information is received, it is stored in the database with an SHA-256 hash. Credentials to the database are accessed at runtime through the use of a vault service. While troubleshooting, the developer sets the logging to debug to view the message from the webhook. What is the security issue in this scenario?
Which action do webhooks enable an application to perform?
DRAG DROP -
DRAG DROP -
Drag and drop the API characteristics from the left onto the categories on the right.
Select and Place:
How are operations on REST APIs performed as compared to RPC APIs?
Refer to the exhibit.
Which HTTP error code series relates to redirection?
Which platform has an API that can be used to obtain a list of vulnerable software on user devices?
Which two items are Cisco DevNet resources? (Choose two.)
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'))
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?
FILL BLANK -
Refer to the exhibit.
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?
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.
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'))
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:
When a Cisco IOS XE networking device is configured using RESTCONF, what is the default data-encoding method?
DRAG DROP -
Which two concepts describe test-driven development? (Choose two.)
What is an advantage of a version control system?
Refer to the exhibit. A developer just finished testing a Python script and wants to save the list of packages and versions installed on the current machine. The developer must make sure that it will not cause any issues if tested on another device due to different library versions. Which line of code needs to be placed on the snippet where the code is missing?
Refer to the exhibit. A developer cannot reach the web application behind an NGINX load balancer. The developer sends a request to an application FQDN with cURL but gets an HTTP 502 response. Which action solves the problem?
Refer to the exhibit. A network engineer wants use API update information about device interfaces. The network devices are deployed in a Cisco DevNet Sandbox and have running interfaces. Which value is suitable as the headers variable?
Refer to the exhibit. A developer can access the TLS REST API on server A, but cannot access the API on server B. The developer can ping server B. When the developer performs a packet capture on the TLS REST API port on server B, the capture shows that the packet arrived and the server responded. What causes the issue?
Refer to the exhibit. Drag and drop the code from the bottom onto the box where the code is missing to complete the function that adds a new global access rule that denies traffic using the Cisco ASA REST API. Not all options are used.
Select and Place:
Which Python data structure does my_json contain?
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 ________________
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: