exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 309 discussion

Actual exam question from Cisco's 350-401
Question #: 309
Topic #: 1
[All 350-401 Questions]

Which outcome is achieved with this Python code?
client.connect (ip, port= 22, username= usr, password= pswd ) stdin, stdout, stderr = client.exec_command ( 'show ip bgp 192.168.101.0 bestpath\n ' ) print (stdout)

  • A. connects to a Cisco device using SSH and exports the BGP table for the prefix
  • B. displays the output of the show command in a formatted way
  • C. connects to a Cisco device using SSH and exports the routing table information
  • D. connects to a Cisco device using Telnet and exports the routing table information
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
Miro07
11 months ago
Export part doesnt seem to fit right? Export where, we are just printing it to the screen? Another option is B but not sure about the "formatted way".. Anyone?
upvoted 1 times
...
[Removed]
1 year, 1 month ago
Selected Answer: A
A is correct
upvoted 1 times
...
nushadu
2 years, 6 months ago
Selected Answer: A
cisco_R5#show ip bgp 2.2.2.2 bestpath BGP routing table entry for 2.2.2.2/32, version 158 Paths: (1 available, best #1, table default) Not advertised to any peer Refresh Epoch 1 3 2, (received & used) 192.168.255.22 from 192.168.255.3 (3.3.3.3) Origin incomplete, localpref 100, valid, external, best rx pathid: 0, tx pathid: 0x0 cisco_R5#
upvoted 1 times
...
[Removed]
4 years, 1 month ago
The given answer is correct
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 ...