300435at Flashcards
(58 cards)
1.What are two characteristics of RPC API calls? (Choose two.)
A. They can be used only on network devices.
B. They use only UDP for communications.
C. Parameters can be passed to the calls.
D. They must use SSL/TLS.
E. They call a single function or service.
A. They can be used only on network devices
C. Parameters can be passed to the calls.
2.Which two actions do Python virtual environments allow users to perform? (Choose two.)
A. Simplify the CI/CD pipeline when checking a project into a version control system, such as Git.
B. Efficiently port code between different languages, such as JavaScript and Python.
C. Run and simulate other operating systems within a development environment.
D. Quickly create any Python environment for testing and debugging purposes.
E. Quickly create an isolated Python environment with module dependencies.
D. Quickly create any Python environment for testing and debugging purposes. E. Quickly create an isolated Python environment with module dependencies.
3.What are two benefits of leveraging Ansible for automation of Cisco IOS XE Software? (Choose two.)
A. Ansible playbooks are packaged and installed on IOS XE devices for automatic execution when an IOS device reboots.
B. All IOS XE operating systems include Ansible playbooks for basic system administration tasks.
C. It is a device-independent method for automation and can be used with any type of device or operating system.
D. Ansible playbooks can be written from the IOS XE EXEC command line to configure the device itself.
E. It does not require any modules of software except SSH to be loaded on the network device.
A. Ansible playbooks are packaged and installed on IOS XE devices for automatic execution when an IOS device reboots.
C. It is a device-independent method for automation and can be used with any type of device or operating system.
B) print (‘The Switch: “+return_val.deviceName+ “, \
went down at: “+return_val.occrredAt)
C) print (‘The Switch: “+return_val.[‘deviceName’]+ “, \
went down at: “+return_val.[‘occrredAt’]”)
print (‘The Switch: “+return_val.deviceName+ “, \
went down at: “+return_val.occrredAt)
5> The exhibit also shows the data that is received by the application and stored in the variable return_val. Which Python code completes the task?
A)
bssids =return_val[“bssids”]
for number in range (return_val [“alertData”] [“countNode”]):
send_to_application (“ALERT: detected a bssid on the
network: “+ return_val[“alertData”] [bssids] [number])
B)
bssids =return_val[“bssids”]
for value in bssids:
send_to_application (“ALERT: detected a bssid on the
network: “+ value)
D)
bssids =return_val [“alertData”][“bssids”]
for value in bssids:
send_to_application (“ALERT: detected a bssid on the
network: “+ value)
A)
bssids =return_val[“bssids”]
for number in range (return_val [“alertData”] [“countNode”]):
send_to_application (“ALERT: detected a bssid on the
network: “+ return_val[“alertData”] [bssids] [number])
6.Which two features are foundations of a software-defined network instead of a traditional network? (Choose two.)
A. control plane and data plane are tightly coupled
B. build upon a robust software stack
C. requires device by device-level configurations
D. automated through expressed intent to a software controller
E. requires significant physical hardware resources
B. build upon a robust software stack
D. automated through expressed intent to a software controller
A) git init git add device status.py git commit -m "Initial Revision" git remote add origin \ https://git.cisco.com/python_programmer/device_status.git git push -u origin master
B) git init git remote add origin \ https://git.cisco.com/python_programmer/device_status.git git add device status.py git push
C) git init git remote add origin \ https://git.cisco.com/python_programmer/device_status.git git add device status.py git commit -m "Initial Revision" git push -u origin master
D) git init git add device status.py git remote add python_programmer/device_status git push
git init git add device status.py git commit -m "Initial Revision" git remote add origin \ https://git.cisco.com/python_programmer/device_status.git git push -u origin master
8.What are two characteristics of synchronous calls to APIs? (Choose two.)
A. They can be used only with certain programming languages.
B. They make your application less portable, so asynchronous calls are preferred.
C. They can add perceived latency to your application if data is not received.
D. They block until a response is returned from the servers.
E. They do not block while waiting for the API to be processed.
C. They can add perceived latency to your application if data is not received.
E. They do not block while waiting for the API to be processed.
What is the result when running the Python scripts? A. s1 B. s2 C. s1, s2, s3 D. s3
B. s2
Which type of YANG container is described by the JSON instance provided?
A. interface-configurations
B. active
C. interface-name
D. description
A. interface-configurations
Which NETCONF protocol operation is used to interact with the YANG model?
A. edit-config
B. get
C. get-config
D. copy-config
A.
How many YANG models does the NETCONF operation interact with? A. one B. two C. three D. four
A. one
13.Which statement describe the difference between OpenConfig and native YANG data models?
A. Native models are designed to be independent of the underlying platform and are developed by vendors and standards bodies, such as the IETF.
B. Native models are developed by individual developers and designed to apply configurations on platforms.
C. OpenConfig models are developed by vendors and designed to integrate to features or configurations that are relevant only to that platform.
D. Native models are developed by vendors and designed to integrate to features or configurations that are relevant only to that platform.
A. Native models are designed to be independent of the underlying platform and are developed by vendors and standards bodies, such as the IETF.
An engineer creates a Python script using RESTCONF to display hostname information. The code must be completed so that it can be tested. Which string completes the highlighted areas in the exhibit? A. yang-data+json B. yang +json C. yang.data+json D. json
A. yang-data+json
15.Which statement is true for Cisco IOS XE Software?
A. RESTCONF supports JSON and XML and NETCONF supports XML.
B. RESTCONF supports XML and NETCONF supports JSON and XML.
C. RESTCONF and NETCONF supports JSON and XML.
D. RESTCONF supports XML and NETCONF supports JSON
A. RESTCONF supports JSON and XML and NETCONF supports XML.
16.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: ‘ \
-H ‘Content-Type: application/jason’ \
-X PUT –data-binary ‘{ \
“access”: “users”, \
“communityString” : “readonly” } ‘ \
‘https://api.meraki.com/api/v0/networks/1234567/snmpSettings’
B)
curl -L -H ‘X-Cisco-Meraki-API-Key: ‘ \
-H ‘Content-Type: application/jason’ \
-X PUT –data-binary ‘{ \
“access”: “community”, \
“communityString” : “readonly” } ‘ \
‘https://api.meraki.com/api/v0/networks/1234567/snmpSettings’
-X PUT
“access”: “community”
Which NETCONF statement type is represented by +–rw address* [ip]?
A. list
B. leaf-list
C. container
D. submodule
A. list
18.The automation engineer must replace device configuration using RESTCONF. How is this configured using the Python library Requests?
A. delete()
B. post()
C. put()
D. patch()
C. put()
19.Which two Netmiko methods are used to configure a device? (Choose two.)
A. send_config() B. send_control_from_file() C. send_config_set() D. send_command() E. send_config_from_file()
C. send_config_set()
E. send_config_from_file()
An engineer creates an Ansible playbook to configure VRF information using a local_vrfs variable. The code must be completed so that it can be tested. Which string completes the code?
A. present
B. up
C. on
D. active
A. present
Drag and drop
ioscmd interface
parents iosxe
iosconfig ios_config
ios_config
parents
Which XML tag completes this NETCONF telemetry subscription with a Cisco IOS XE device? A. crontab B. cadence C. frequency D. period
D. period
23.Which two statements are benefits of YANG-push telemetry data over traditional data collection methods? (Choose two.)
A. The subscription requests use less bandwidth than SNMP polls.
B. It uses UDP rather than TCP.
C. You can precisely define data subscriptions.
D. It scales better than SNMP.
E. It is supported on more devices than SNMP.
B. It uses UDP rather than TCP.
C. You can precisely define data subscriptions.
24.FILL BLANK Fill in the blank to complete the statement.
________is a solution for automating the configuration of a device when it is first powered on, using DHCP and TFTP
zero touch provisioning