Exams > Cisco > 350-601: Implementing and Operating Cisco Data Center Core Technologies (DCCOR)
350-601: Implementing and Operating Cisco Data Center Core Technologies (DCCOR)
Page 16 out of 34 pages Questions 151-160 out of 340 questions
Question#151

Which feature must be enabled to support the use of JSON and XML encodings when a Cisco Nexus 7000 Series Switch is deployed?

  • A. Bash shell
  • B. NX-API
  • C. Open Agent Container
  • D. LLDP
Discover Answer Hide Answer

B
On Cisco Nexus devices, command-line interfaces (CLIs) are run only on the device. NX-API improves the accessibility of these CLIs by making them available outside of the switch by using HTTP/HTTPS. You can use this extension to the existing Cisco Nexus CLI system on the Cisco Nexus 7000 Series devices. NX-API supports show commands, and configurations. NX-API supports JSON-RPC, JSON, and XML formats.
Reference:
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus7000/sw/programmability/guide/b_Cisco_Nexus_7000_Series_NX-
OS_Programmability_Guide/b_Cisco_Nexus_7000_Series_NX-OS_Programmability_Guide_chapter_0101.html

Question#152

An engineer needs a utility to translate traditional Nexus CLI inputs and generate Python code using XML and JSON message formats. The solution needs to be available on a Nexus 7700 series switch. Which utility should be used?

  • A. NX-API Sandbox
  • B. NX-OS JSON-RPC
  • C. Guest Shell for NX-OS
  • D. Open NX-OS
Discover Answer Hide Answer

A
Reference:
https://developer.cisco.com/docs/nx-os/#!nx-api-cli-developer-sandbox

Question#153


An engineer must use the python module in the guest shell of the Cisco Nexus 9000 Series switch to shutdown port Ethernet 1/4. Which command set will accomplish this?

  • A. from cli import * cli(''conf t'') cli(''interface eth1/4'') cli(''shutdown'')
  • B. from cisco import cli cli(''conf t'' ; ''interface eth1/4'' ; ''shutג€)
  • C. from cli import * cli(''conf t ; interface eth1/4 ; shut'')
  • D. from cisco import cli cli(''conf t ; interface eth1/4") cli(''shutdown'')
Discover Answer Hide Answer

C
Reference:
https://www.ciscolive.com/c/dam/r/ciscolive/apjc/docs/2016/pdf/DEVNET-1077.pdf

Question#154

DRAG DROP -
An engineer deploys a custom Guest Shell rootfs on a Nexus 9000 Series Switch. Drag and drop the steps from the left into the order required to deploy the solution on the right. Not all options are used.
Select and Place:

Discover Answer Hide Answer


Reference:
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/programmability/guide/b_Cisco_Nexus_9000_Series_NX-
OS_Programmability_Guide_7x/Guest_Shell.html
https://www.ciscolive.com/c/dam/r/ciscolive/us/docs/2018/pdf/BRKDCN-2015.pdf

Question#155

The Cisco Nexus switch Generic Online Diagnostics policy for a PortLoopback test requires 10 consecutive failures to error disable the port. The customer wants to change it to 5 consecutive failures. Which configuration applies the changes for module 1 only?

  • A. Nexus(config)# event manager applet custom-PortLoopback override __PortLoopback Nexus(config-applet)# event gold mod all test PortLoopback testing-type bootup consecutive-failure 5 Nexus(config-applet)# action 1 publish-event
  • B. Nexus(config)# event manager applet custom-PortLoopback override __PortLoopback Nexus(config-applet)# event gold mod 1 test PortLoopback testing-type monitoring consecutive-failure 5 Nexus(config-applet)# action 1 publish-default
  • C. Nexus(config)# event manager applet custom-PortLoopback override __PortLoopback Nexus(config-applet)# event gold mod all test PortLoopback testing-type monitoring consecutive-failure 5 Nexus(config-applet)# action 1 policy-default
  • D. Nexus(config)# event manager applet custom-PortLoopback override __PortLoopback Nexus(config-applet)# event gold mod 1 test PortLoopback testing-type bootup consecutive-failure 5 Nexus(config-applet)# action 1 policy-event
Discover Answer Hide Answer

D
Reference:
https://www.ciscolive.com/c/dam/r/ciscolive/us/docs/2017/pdf/BRKDCN-3234.pdf

Question#156


Refer to the exhibit. Which command needs to be added to the line starting with the `file` keyword to have the generated running-config file with the name 'fusion- config_' and current date?

  • A. str.('fusion-config_') + date
  • B. ('fusion-config_') + date
  • C. ('fusion-config_ + date')
  • D. string(('fusion-config_') + date
Discover Answer Hide Answer

B
See below for an example:
nxos9kv# python
Python 2.7.11 (default, Feb 26 2018, 03:34:16)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> import cli
>>> date = time.strftime('%Y%m%d')
>>> file = ("fusion-config_') + date
>>> print(file)
fusion-config_20210329
>>> print('copy running-config ftp://10.183.249.182/FusionSW/' + file) copy running-config ftp://10.183.249.182/FusionSW/fusion-config_20210329

Question#157

A network engineer must create an EEM script that saves a copy of the running configuration on bootflash and writes a message to syslog when a user saves the configuration to a Cisco Nexus Series switch. Which configuration set should be applied to complete this task?
A.

B.

C.

D.

Discover Answer Hide Answer

B
Reference:
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/system_management/configuration/guide/ b_Cisco_Nexus_9000_Series_NX-OS_System_Management_Configuration_Guide_7x/b_Cisco_Nexus_9000_Series_NX-
OS_System_Management_Configuration_Guide_7x_chapter_01110.html

Question#158

DRAG DROP -
An engineer must shut down the Ethernet 1/2 interface when the Ethernet 4/5 interface state is down. Drag and drop the CLI commands from the bottom onto the blanks in the exhibit to implement this EEM. Not all commands are used.
Select and Place:

Discover Answer Hide Answer


Question#159

Which data interchange format is presented in this output?

  • A. CSS
  • B. YAML
  • C. XML
  • D. JSON
Discover Answer Hide Answer

D

Question#160

An engineer requires a solution to automate the configuration and deployment of remote network devices for a customer. The engineer must keep these considerations in mind:
✑ The customer's environment is based on industry-accepted standards and requires a solution that meets these standards.
✑ The security requirements mandate the use of a secure transport mechanism between the automation software and target devices such as SSH or TLS.
✑ The solution must be implemented using a human-readable language and provide the functionality to format data in XML or JSON.
Which solution must be used to meet these requirements?

  • A. Ansible
  • B. REST API
  • C. NETCONF
  • D. SNMP
Discover Answer Hide Answer

C
Reference:
https://www.cisco.com/c/en/us/products/collateral/ios-nx-os-software/ios-xe/nb-06-cisco-ios-xe-faq-en.html#Ansible

chevron rightPrevious Nextchevron right