QuestionQ20

Automation

Question Image

Refer to the exhibit. An engineer runs a Python script from a newly enabled Guest Shell on a Cisco Nexus 93108 Series Switch. The script requires an additional package named "Markdown" from the Python package manager. Which set of tasks must the engineer complete to install the required package?

  • A Set the NAMESERVER variable in /etc/sysconfig/network.Clone the Markdown repository with the git clone command.
  • B Add nameserver configuration to /etc/resolv.conf.Run sudo chvrf management pip install Markdown.
  • C Enable ip domain-lookup in startup-config.Enter python install Markdown as root.
  • D Configure ip name-server in configuration mode.Execute sudo yum -y install Markdown.
Explanation

Guest Shell requires a DNS nameserver in /etc/resolv.conf to resolve the package repository hostname. chvrf management runs pip through the management VRF, providing the network path needed to download and install the Python package.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!