nerdexam
Cisco

350-601 · Question #401

A network administrator must create a Linux container on a Cisco Nexus Series Switch. The container requires 10 percent of the CPU of the switch and 1024 MB of RAM to run successfully. Which task…

The correct answer is B. Increase the compute resources with the guestshell resize command. To allocate specific CPU and RAM resources for a Linux container (guestshell) on a Cisco Nexus Switch, the guestshell resize command must be used.

Compute

Question

A network administrator must create a Linux container on a Cisco Nexus Series Switch. The container requires 10 percent of the CPU of the switch and 1024 MB of RAM to run successfully. Which task provides the necessary resources?

Options

  • AEdit the container properties with the guestshell run command.
  • BIncrease the compute resources with the guestshell resize command.
  • CEnable the Bash shell of the switch with the feature bash command
  • DModify resource allocation with the virtual-service resize command.

How the community answered

(46 responses)
  • A
    4% (2)
  • B
    91% (42)
  • C
    2% (1)
  • D
    2% (1)

Why each option

To allocate specific CPU and RAM resources for a Linux container (guestshell) on a Cisco Nexus Switch, the `guestshell resize` command must be used.

AEdit the container properties with the guestshell run command.

The `guestshell run` command is used to execute commands *within* the guestshell container, not to modify its resource allocation.

BIncrease the compute resources with the guestshell resize command.Correct

The `guestshell resize` command is specifically designed to adjust the allocated CPU and memory resources for the guestshell Linux container on Cisco Nexus switches. This command allows the administrator to specify the desired CPU percentage and memory in MB, directly addressing the requirement to provide 10% CPU and 1024 MB of RAM.

CEnable the Bash shell of the switch with the feature bash command

The `feature bash` command enables the Bash shell on the switch, which is a prerequisite for guestshell, but it does not allocate resources to a guestshell container.

DModify resource allocation with the virtual-service resize command.

While `virtual-service` commands manage virtual services, the `guestshell resize` command is the specific and correct command for adjusting the resources of the guestshell container itself, not a generic `virtual-service resize`.

Concept tested: Cisco Nexus Guestshell resource allocation

Source: https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/programmability/7x/prog_guide/b_Cisco_Nexus_9000_Series_NX-OS_Programmability_Guide_7x/b_Cisco_Nexus_9000_Series_NX-OS_Programmability_Guide_7x_chapter_010.html#concept_13F398FEBA244A489704F4C18086208E

Topics

#Cisco Nexus#Linux Container#Guestshell#Resource Allocation

Community Discussion

No community discussion yet for this question.

Full 350-601 Practice