CCNP 350-401 ENCOR Question 295 DISCUSSION
« Back to Main MenuRefer to the exhibit.What does the snippet of code achive?
A. It opens an ncclient connection to a cisco Nexus device and maintains it for the duration of the context
B. It creates an SSH connection using the SSH key that is stored,and the password is ignored
C. It opens a tunnel and encapsulates the login information,if the host key is correct
D. It creates a temporary connection to a Cisco Nexus device and retrieves a token to be used for API calls
Refer to the exhibit.What does the snippet of code achive?
A. It opens an ncclient connection to a cisco Nexus device and maintains it for the duration of the context
B. It creates an SSH connection using the SSH key that is stored,and the password is ignored
C. It opens a tunnel and encapsulates the login information,if the host key is correct
D. It creates a temporary connection to a Cisco Nexus device and retrieves a token to be used for API calls
Correct Answer: A