exam questions

Exam 300-635 All Questions

View all questions & answers for the 300-635 exam

Exam 300-635 topic 1 question 34 discussion

Actual exam question from Cisco's 300-635
Question #: 34
Topic #: 1
[All 300-635 Questions]

Refer to the exhibit.

The script is called deltacounters.py and it is currently inside a Guest Shell container running inside a Cisco NX-OS switch.
Which Cisco NX-OS command results in a successful execution of this script?

  • A. python /home/admin/bootflash:deltacounters.py ethemet1/1
  • B. show python bootflash:deltacounters.py ethernet1/1
  • C. guestshell run python /home/admin/deltacounter.py ethernet1/1
  • D. guestshell execute python /home/admin/deltacounter.py ethernet1/1
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Ietsmeteennaam
1 year ago
The order of the command in C seems to be incorrect as i read in 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 under the header Accessing the Guest Shell: n Cisco NX-OS, only network-admin users can access the Guest Shell by default. It is automatically enabled in the system and can be accessed using the run guestshell command. Consistent with the run bash command, these commands can be issued within the Guest Shell with the run guestshell command form of the NX-OS CLI command. So I would go with answer A.
upvoted 1 times
Ietsmeteennaam
1 year ago
Doing tests: A does nopt work for me in guestshell, it can't find the bootflash: path And the question asks for a Cisco NX-OS command, which C is, and A could be, if the path exists. So I need to change my answer form A to C
upvoted 2 times
...
...
Growbot
1 year, 5 months ago
Selected Answer: A
Agree with Mili0098, you're already in the guestshell container.
upvoted 1 times
...
Mili0098
1 year, 6 months ago
the True answer is A, it's already in guest shell so no need of guestshell command first
upvoted 1 times
...
anonymousch
3 years, 4 months ago
Selected Answer: C
Answer C is correct, there are two possibilities: guestshell run command or run guestshell command
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago