Header Ads

IOS and Security Device Manager (CCNA)

1. 
Which of the following commands sets the secret password to Cisco?
A.enable secret password Cisco
B.enable secret cisco
C.enable secret Cisco
D.enable password Cisco
Answer & Explanation
Answer: Option C
Explanation:
The enable secret password is case sensitive, so the second option is wrong. To set theenable secret <password>, use the enable secret <password> command from global configuration mode.


2. 
You type the following command into the router and receive the following output:
Router#show serial 0/0
^
% Invalid input detected at '^' marker.
Why was this error message displayed?
A.You need to be in privileged mode.
B.You cannot have a space between serial and 0/0.
C.The router does not have a serial0/0 interface.
D.Part of the command is missing.
Answer & Explanation
Answer: Option D
Explanation:
You can view the interface statistics from user mode, but the command is show interface serial 0/0.

3. 
Which of the following commands will display the current IP addressing and the layer 1 and 2 status of an interface?
  1. show version
  2. show protocols
  3. show interfaces
  4. show controllers
  5. show ip interface
A.1, 2 and 4
B.2, 3 and 5
C.3 and 4 only
D.None of the above
Answer & Explanation
Answer: Option B
Explanation:
The commands show protocolsshow interfaces, and show ip interface will show you the layer 1 and 2 status and the IP addresses of your router's interfaces.


4. 
You type show running-config and get this output:
[output cut]
Line console 0
Exec-timeout 1 35
Password BIXPASSWD
Login
[output cut]
What do the two numbers following the exec-timeout command mean?
A.If no command has been typed in 35 seconds, the console connection will be closed.
B.If no router activity has been detected in 1 hour and 35 minutes, the console will be locked out.
C.If no commands have been typed in 1 minute and 35 seconds, the console connection will be closed.
D.If you're connected to the router by a Telnet connection, input must be detected within 1 minute and 35 seconds or the connection will be closed.
Answer & Explanation
Answer: Option C
Explanation:
The exec-timeout command is set in minutes and seconds.


5. 
What layer of the OSI model would you assume the problem is in if you type show interface serial 1 and receive the following message? "Serial1 is down, line protocol is down."
A.Physical layer
B.Data Link layer
C.Network layer
D.None. It is a router problem.
Answer & Explanation
Answer: Option A
Explanation:
If you see that a serial interface and the protocol are both down, then you have a Physical layer problem. If you see serial1 is upline protocol is down, then you are not receiving (Data Link) keepalives from the remote end.
6. 
Which of the following commands displays the configurable parameters and statistics of all interfaces on a router?
A.show running-config
B.show startup-config
C.show interfaces
D.show versions
Answer & Explanation
Answer: Option C
Explanation:
With the show interfaces command, you can view the configurable parameters, get statistics for the interfaces on the router, verify if the interfaces are shut down, and see the IP address of each interface.


7. 
Which of the following commands will configure all the default VTY ports on a router?
A.Router#line vty 0 4
B.Router(config)#line vty 0 4
C.Router(config-if)#line console 0
D.Router(config)#line vty all
Answer & Explanation
Answer: Option B
Explanation:
From global configuration mode, use the line vty 0 4 command to set all five default VTY lines.


8. 
You need to find the broadcast address used on a LAN on your router. What command will you type into the router from user mode to find the broadcast address?
A.show running-config
B.show startup-config
C.show interfaces
D.show protocols
Answer & Explanation
Answer: Option C
Explanation:
The command show ip protocols will actually show you the broadcast address for each interface - too bad it isn't a possible answer. Your best answer is show interfaces, which will provide the IP address and mask for each interface.


9. 
Which command will delete the contents of NVRAM on a router?
A.delete NVRAM
B.delete startup-config
C.erase NVRAM
D.erase start
Answer & Explanation
Answer: Option D
Explanation:
The erase startup-config command erases the contents of NVRAM and will put you in setup mode if the router is restarted.


10. 
What keystroke will terminate setup mode?
A.Ctrl+Z
B.Ctrl+^
C.Ctrl+C
D.Ctrl+Shift+^
Answer & Explanation
Answer: Option C
Explanation:
You can exit setup mode at any time by using the keystroke Ctrl+C.
11. 
What command do you type to save the configuration stored in RAM to NVRAM?
A.Router(config)#copy current to starting
B.Router#copy starting to running
C.Router(config)#copy running-config startup-config
D.Router#copy run startup
Answer & Explanation
Answer: Option D
Explanation:
To copy the running-config to NVRAM so that it will be used if the router is restarted, use the copy running-config startup-config command (copy run start for short).


12. 
You type Router#sh ru and receive an % ambiguous command error. Why did you receive this message?
A.The command requires additional options or parameters.
B.There is more than one show command that starts with the letters ru.
C.There is no show command that starts with ru.
D.The command is being executed from the wrong router mode.
Answer & Explanation
Answer: Option B
Explanation:
The % ambiguous command error means that there is more then one possible command that starts with ru. Use a question mark to find the correct command.


13. 
If you wanted administrators to see a message when logging into the router, which command would you use?
A.message banner motd
B.banner message motd
C.banner motd
D.message motd
Answer & Explanation
Answer: Option C
Explanation:
The typical banner is a message of the day (MOTD) and is set by using the global configuration mode command banner motd.


14. 
How many simultaneous Telnet sessions does a Cisco router support by default?
A.2B.3
C.4D.5
Answer & Explanation
Answer: Option D
Explanation:
Cisco routers, if they do not have the Enterprise edition of the IOS, will default to 5 simultaneous Telnet sessions.


15. 
You set the console password, but when you display the configuration, the password doesn't show up; it looks like this:
[output cut]
Line console 0
Exec-timeout 1 44
Password 7098C0BQR
Login
[output cut]
What cause the password to be stored like this?
A.encrypt password
B.service password-encryption
C.service-password-encryption
D.exec-timeout 1 35
Answer & Explanation
Answer: Option B
Explanation:
The command service password-encryption, from global configuration mode, will encrypt the passwords.
16. 
Which command will show you whether a DTE or a DCE cable is plugged into serial 0?
A.sh int s0
B.sh int serial 0
C.show controllers serial 0
D.show serial 0 controllers
Answer & Explanation
Answer: Option C
Explanation:
The show controllers serial 0 command will show you whether either a DTE or DCE cable is connected to the interface. If it is a DCE connection, you need to add clocking with the clock rate command.


17. 
You want to totally reinitialize the router and replace the current running-config with the current startup-config. What command will you use?
A.replace run start
B.copy run start
C.copy start run
D.reload
Answer & Explanation
Answer: Option D
Explanation:
To completely replace the running-config with the startup-config, you must reload the router. Note : You may have picked option C, which isn't a bad answer. Remember, though, it doesn't replace the configuration, it appends it.


18. 
If you delete the contents of NVRAM and reboot the router, what mode will you be in?
A.Privileged mode
B.Global mode
C.Setup mode
D.NVRAM loaded mode
Answer & Explanation
Answer: Option C
Explanation:
If you delete the startup-config and reload the router, the router will automatically enter setup mode. You can also type setup from privileged mode at any time.


19. 
What is the problem with an interface if you type show interface serial 0 and receive the following message? "Serial0 is administratively down, line protocol is down."
A.The keepalives are different times.
B.The administrator has the interface shut down.
C.The administrator is pinging from the interface.
D.No cable is attached.
Answer & Explanation
Answer: Option B
Explanation:
If an interface is shut down, the show interface command will show the interface as administratively shut down. (It is possible that no cable is attached, but you can't tell that from this message.)

No comments