Cisco 300-435 Practice Test - Questions Answers, Page 5
List of questions
Related questions
Which action allows for creating a Python script to pull inventory for Cisco SD-WAN Viptela devices using the Viptela library in the code?
from urllib.request import Viptela
from viptela.devices import Viptela
from viptela.viptela import Viptela
from viptela.library import Viptela
What is primary purpose of using the Cisco SD-WAN vManage Certificate Management API?
to securely deploy vManage
to report an issue to Cisco TAC
to install signed certificates
to contact Enterprise Certificate Authority
Fill in the blank to complete the URL for the Cisco SD-WAN API that retrieves a list of users that are logged into a device.
users?
Which two API calls must be issued to attach a device template in Cisco SD-WAN? (Choose two.)
“monitor device action status” GET API request with the device ID to display the status of the attach action
“monitor device action status” GET API request with the process ID to display the status of the attach action
PUT call to initiate the attach action
POST call to initiate the attach action
GET call to initiate the attach action
During a network outage, a network administrator used the Cisco SD-WAN vManage Troubleshooting Dashboard APIs to troubleshoot the cause of the issue. Which detail is captured during troubleshooting with these APIs?
VPN health
public cloud resources
connections summary
OMP connection health
Refer to the exhibit.
A Python script has been created that calls the Cisco SD-WAN vManage Device Inventory API to get the list of vEdges. The JSON data that returns to a Python dictionary has been converted and assigned to a variable named “d”. A portion of the JSON is shown in the exhibit. Which code will complete the expression hostname= to access the hostname?
d[“data”][0][“host-name”]
d[data][0][host-name]
d(“data”)[0](“host-name”)
d[“host-name”][“data”]{“0”}
Fill in the blank to complete the URL for an API call to Cisco SD-WAN to display the history of the Bidirectional Forwarding Detection sessions that run on a vEdge router.
bfd/history?
Refer to the exhibit.
A Python script must be created to deactivate vSmart Policy Cisco SD-WAN vManage Configuration APIs. The documentation states the URL is as shown in the exhibit for this REST call using POST, and that “policyId” is a required request parameter. Which line of Python code makes this call, assuming the variable “s” is a valid Requests session object and the variable “policy-id” is the policyId?
s.port(‘https://vmanage:8443/dataservice/template/policy/vsmart/activate?policyId=%s’ %policy_id)
s.port(‘https://vmanage:8443/dataservice/template/policy/vsmart/activate/%s’ % policy_id)
s.port(‘https://vmanage:8443/dataservice/template/policy/vsmart/activate&policyId=%s’ %policy_id)
s.port(‘https://vmanage:8443/dataservice/template/policy/vsmart/activate/’, data = {‘policyId’:policy_id})
A configuration has been made to add to every switch port a new port description. The script worked initially, but after a few seconds, an HTTP 429 status code was received. What causes this error message from the Meraki cloud?
The wrong API key is used to query the data.
The rate limit of the Cisco Meraki API is exceeded.
The API key has expired.
The device goes offline while you poll the API dashboard.
Which Python snippet receives a Meraki webhook request?
Option A
Option B
Option C
Option D
Question