1.
In what modes can you execute the command show mac-address-table?
Correct Answer(s)
A. User mode
B. Enable mode
Explanation
The command "show mac-address-table" can be executed in both User mode and Enable mode. In User mode, the command provides a read-only view of the MAC address table. In Enable mode, the command provides a more detailed view of the MAC address table, including additional information such as VLAN assignments. It cannot be executed in Global configuration mode, Setup mode, or Interface configuration mode.
2.
In which of the following modes of the CLI could you issue a command to reboot the switch?
Correct Answer
B. Enable mode
Explanation
In the enable mode of the CLI, you have administrative privileges and can issue commands to perform various tasks, including rebooting the switch. This mode allows you to make changes to the switch's configuration and access all available commands and features.
3.
Which of the following is a difference between Telnet and SSH as supported by a Cisco switch?
Correct Answer
B. SSH encrypts all data exchange, including login passwords; Telnet encrypts nothing.
Explanation
SSH encrypts all data exchange, including login passwords, while Telnet does not encrypt any data. This means that when using SSH, all communication between the client and the server, including the login credentials, is encrypted, providing a secure connection. On the other hand, Telnet does not provide any encryption, making it vulnerable to eavesdropping and unauthorized access.
4.
What type of switch memory is used to store the configuration used by the switch when it is up and working?
Correct Answer
A. RAM
Explanation
RAM, or Random Access Memory, is the type of switch memory used to store the configuration used by the switch when it is up and working. RAM is a volatile memory, meaning that its contents are lost when power is turned off or interrupted. However, it provides fast read and write access, making it ideal for storing temporary data such as the switch configuration.
5.
What command copies the configuration from RAM into NVRAM?
Correct Answer
C. Copy running-config startup-config
Explanation
The correct answer is "copy running-config startup-config." This command copies the configuration from the running configuration in RAM to the startup configuration in NVRAM. This ensures that the configuration changes made in the current session are saved and will be loaded the next time the device is powered on.
6.
Which mode prompts the user for basic configuration information?
Correct Answer
D. Setup mode
Explanation
Setup mode is the mode that prompts the user for basic configuration information. In this mode, the user is guided through a series of prompts to configure basic settings such as hostname, passwords, and interfaces. This mode is typically used when initially setting up a device or when performing a factory reset.
7.
A switch user is currently in console line configuration mode. Which of the following would place the user in enable mode?
Correct Answer(s)
B. Using the exit command twice in a row
C. Pressing the Ctrl-z key sequence
Explanation
Using the exit command twice in a row or pressing the Ctrl-z key sequence would both place the user in enable mode. The exit command is used to exit the current mode and return to the previous mode. By using it twice in a row, the user would exit console line configuration mode and return to the user EXEC mode, and then exit the user EXEC mode and enter enable mode. Pressing the Ctrl-z key sequence is another way to exit console line configuration mode and enter enable mode.
8.
Imagine that you have configured the enable secret command, followed by the enable password command, from the console. You log out of the switch and log back in at the console. Which command defines the password that you had to enter to access privileged mode?
Correct Answer
B. Enable secret
Explanation
The enable secret command is used to set a password for accessing privileged mode. When logging back in at the console, the password that needs to be entered to access privileged mode is the one set by the enable secret command.
9.
An engineer had formerly configured a Cisco 2960 switch to allow Telnet access so that the switch expected a password of mypassword from the Telnet user. The engineer then changed the configuration to support Secure Shell. Which of the following commands could have been part of the new configuration?
Correct Answer(s)
B. A username name password password global configuration command
C. A transport input ssh command in vty config mode
Explanation
The engineer changed the configuration to support Secure Shell, which means that Telnet access is no longer allowed and SSH access is enabled instead. To configure SSH access, the engineer would have used the "A transport input ssh command in vty config mode" to specify that only SSH connections are allowed on the virtual terminal lines. Additionally, the engineer would have used the "A username name password password global configuration command" to create a username and password for authentication when accessing the switch via SSH.
10.
The following command was copied and pasted into configuration mode when a user was telnetted into a Cisco switch: banner login this is the login bannerWhich of the following are true about what occurs the next time a user logs in from the console?
Correct Answer
B. The banner text “his is” is displayed.
Explanation
When a user logs in from the console after the given command is executed, the banner text "his is" will be displayed.
11.
Which of the following is not required when configuring port security without sticky learning?
Correct Answer
A. Setting the maximum number of allowed MAC addresses on the interface with the switchport port-security maximum interface subcommand
12.
An engineer’s desktop PC connects to a switch at the main site. A router at the main site connects to each branch office via a serial link, with one small router and switch at each branch. Which of the following commands must be configured, in the listed configuration mode, to allow the engineer to telnet to the branch office switches?
Correct Answer(s)
A. The ip address command in VLAN 1 configuration mode
C. The ip default-gateway command in global configuration mode
E. The password command in vty line configuration mode
Explanation
To allow the engineer to telnet to the branch office switches, the following commands must be configured:
1. The ip address command in VLAN 1 configuration mode: This command is necessary to assign an IP address to the VLAN 1 interface on the branch office switches, allowing them to communicate with other devices on the network.
2. The ip default-gateway command in global configuration mode: This command is required to set the default gateway address on the branch office switches, enabling them to send traffic to devices outside their local network.
3. The password command in vty line configuration mode: This command is used to set a password for remote access to the branch office switches via Telnet. It ensures that only authorized users can access the switches remotely.
13.
Which of the following describes a way to disable IEEE standard autonegotiation on a 10/100 port on a Cisco switch?
Correct Answer
B. Configure the speed 100 and duplex full interface subcommands
Explanation
The correct answer is to configure the speed 100 and duplex full interface subcommands. This is because setting the speed to 100 and duplex to full manually disables the autonegotiation feature of the IEEE standard on a 10/100 port on a Cisco switch. Autonegotiation allows devices to automatically negotiate and select the best speed and duplex settings for communication. By manually configuring the speed and duplex, the switch will not negotiate with the connected device and will operate at the specified settings.
14.
In which of the following modes of the CLI could you configure the duplex setting for interface fastethernet 0/5?
Correct Answer
E. Interface configuration mode
Explanation
In the interface configuration mode of the CLI, you can configure specific settings for a particular interface. In this case, you can configure the duplex setting for interface fastethernet 0/5. This mode allows you to make changes and settings that are specific to a particular interface, such as enabling or disabling features, setting speed and duplex settings, and configuring IP addresses.
15.
The show vlan brief command lists the following output:2 my-vlan active Fa0/13, Fa0/15Which of the following commands could have been used as part of the configuration for this switch?
Correct Answer
A. The vlan 2 global configuration command
Explanation
The correct answer is the vlan 2 global configuration command. This command is used to create a VLAN with the VLAN ID of 2 in the global configuration mode. The output of the show vlan brief command indicates that a VLAN with ID 2, named "my-vlan", is active and is associated with the FastEthernet interfaces Fa0/13 and Fa0/15. Therefore, it can be inferred that the vlan 2 global configuration command was used to create and activate this VLAN.