Devasc900201
.....
.....
Kartei Details
Karten | 90 |
---|---|
Sprache | Deutsch |
Kategorie | Informatik |
Stufe | Andere |
Erstellt / Aktualisiert | 12.04.2021 / 28.04.2021 |
Weblink |
https://card2brain.ch/box/20210412_devasc900201
|
Einbinden |
<iframe src="https://card2brain.ch/box/20210412_devasc900201/embed" width="780" height="150" scrolling="no" frameborder="0"></iframe>
|
Which two statements describe the advantages of using a version control System? (Choose two)
Which product provides network controller-level management features?
Refer to the exhibit.
docker run -p 3000:5000 f877cbf2ff33
A process on the host wants to access the service running inside this Docker container. Which port is used to make a connection?
Which description of a default gateway is true?
Which two statements are true about Cisco UCS Manager, Cisco UCS Director, or Cisco Intersight APIs? (Choose two.)
On which port does NETCONF operate by default?
Which device is a system that monitors and controls incoming and outgoing network traffic based on predetermined security roles?
When a Cisco IOS XE networking device is configured using RESTCONF, what is the default data-encoding method?
Which two elements are foundational principles of DevOps? (Choose two.)
In DNS, which record specifies an alias that refers to another name that ultimately resolves to an IP address?
Which statement describes the benefit of using functions in programming?
Fill in the blanks to complete the Python script to request a service ticket using the APIC-EM REST API for the user "devnetuser". import requests import json controller = "˜devnetapi.cisco.com/sandbox/apic_em' url = "https://" + controller + "api/va/ticket" payload = {"˜username': "˜_________________', "˜password': "˜370940885'} header = {"˜Content-type': "˜application.json'} response = _______________________.post(url, data=json.dumps(payload), \ headers= ______________________, verify=False) r_json = response.json() print(r_json) ticket = r_json["response"]["serviceTicket"] print(ticket)
devnetuser requests header
Which platform is run directly using a hypervisor?
What are two advantages of version control software? (Choose two.)
What are two benefits of managing network configuration via APIs? (Choose two.)
def process_devices(dnac, token):
url = "https://{}/api/v1/network/-device".format(dnac['host'])
headers["x-auth-token"] = token
response = requests.get(url, headers=headers, verify=False)
data = response.json()
for item in data ['response']:
print(item["hostname"], " ", item["managementIpAddress"])
What is the function of the Python scipt?
FILL BLANK -
Fill in the blanks to complete the cURL command that invokes a RESTful API to retrieve a resource in JSON format using OAuth. curl ""X ____________ -H " __________: application/json" \
-H " _______: Bearer AbCdEf123456" https://localhost/api/myresource
GET Content-Type Authorization
Which model-driven programmability protocol does Cisco IOS XE Software support?
Which two types of NAT are used in a network? (Choose two.)
A developer is reviewing a code that was written by a colleague. It runs fine, but there are many lines of code to do a seemingly simple task repeatedly. Which action organizes the code?
Which CI/CD tool is an automation tool used to build, test, and deploy software?
$ pyang -f tree Cisco-IOS-XE-native.yang
module: Cisco-IOS-XE-native
+---rw native
+--rw logging
+--rw monitor |
+--rw severity? logging-level-type
$ curl ---insecure -v -X PATCH \
"https://ios-xe-mgmt-latest.cisco.com:9443/restconf/data/Cisco-IOS-XE-native:native" \
-H 'Authorization: Basic ZGV2ZWwvcGVyOKMxc2NvMTIzNDU=' -H 'Accept: application/yang-data+json' \
-H 'Content-Type: application/ yang-data+json' \
-d '{ "Cisco-IOS-XE-native:native" : { "logging" : { "monitor" : { "severity" : "alerts" }} } }'
> ...
< ...
< HTTP/1.1 204 No Content
The definition of the YANG module and a RESTCONF query sent to a Cisco IOS XE device is shown. Which statement is correct if the RESTCONF interface responds with a 204 status code?
What is the purpose of the Cisco VIRL software tool?
What is the purpose of a MAC address?
Which two NETCONF operations cover the RESTCONF GET operation? (Choose two.)
Which two statements about JSON and XML are true? (Choose two.)
Package updates from a local server fail to download. However, the same updates work when a much slower external repository is used. Why are local updates failing?
Which line is an example of the start of a chunk from a unified diff?
What is the benefit of edge computing?
FILL BLANK -
Fill in the blanks to complete the statement.
Given a username of "devnet" and a password of "cisco123", applications must create a base64 encoding of the string "________________" when sending HTTP requests to an API that uses _______________ authentication.
devnet:cisco123 Basic
Which Cisco DevNet resource allows access to products in a development lab to explore, learn, and build applications that use Cisco APIs?
Which way should be used to safely store the API keys?
Which principle is a value from the manifesto for Agile software development?
Which statement about authenticating a RESTCONF API session with a router that runs Cisco IOS XE Software is true?
What are two advantages of the Model-View-Controller software design pattern? (Choose two.)
def get_result()
url="https://sandboxdnac.cisco.com/dna/system/api/v1/auth/token"
resp = requests.post(url, auth=HTTPBasicAuth(DNAC_USER, DNAC_PASSWORD))
result = resp.json()['Token']
return result
What does the Python funktion do?
Which two statements describe the role of an artifact repository in a CI/CD pipeline? (Choose two.)
Which detail is included in a routing table?
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 the network _______________ list in _______________ format.
GET device json
Which status code is used by a REST API to indicate that the submitted payload is incorrect?