Cisco CCNA mock exam questions sample test – Question 181

.Which Cisco Internetwork Operating System (IOS) command is used to make the running configuration in Random Access Memory (RAM) to the configuration the router will use at
startup?

A. copy running-config startup-config
B. copy flash running-config
C. copy tftp flash
D. copy running-config flash memory
E. copy startup-config tftp
F. copy tftp running-config
G. copy running-config tftp


Correct Answer: A

Explanation:
The copy running-config startup-config command is used to make the running configuration in Random Access Memory (RAM) the configuration the router will use at startup. It saves
the running configuration in RAM to the router’s NVRAM. This command should always follow changes to the configuration; otherwise, the changes will be lost at the next router
restart. The startup configuration loads into memory from NVRAM at boot and resides in memory. When the router restarts, memory information is lost.
The copy flash running-config command is incorrect because this would copy a configuration from the router’s flash memory to the running configuration, causing it to be the active
configuration. While this can be done, it is not a common practice. Configuration files are normally stored in NVRAM.
The copy tftp flash command is incorrect because this command is used to replace the IOS image with a backup IOS image stored on a TFTP server to the target router. A router can
also act as a TFTP server for another router. When you execute this command, you will be prompted for the IP address or hostname of the TFTP server. This prompt will display as in
this example:
router#enable
router#copy tftp flash
Address or name of remote host []? 192.168.1.5.2
Before performing an upgrade of the IOS version from a TFTP server, you should verify that the upgrade is necessary by verifying the current IOS version number. The IOS version
number can be found in the output of the following commands:
show running-config
show version
show flash
The copy running-config flash memory command is incorrect because this command would copy the running configuration to the router’s flash memory. It is the opposite of the copy
flash-running config command. While this can be done, it is not a common practice. Flash is typically used to store the Cisco IOS or operating system. Configuration files are normally
stored in NVRAM.
The copy startup-config tftp command is incorrect because this command would be used to copy the current configuration stored in NVRAM to a TFTP server. When you execute this
command, you will be prompted for the IP address or hostname of the TFTP server. This prompt will display as below:
router#copy start tftp
Address or name of remote host []? 192.168.1.5
Destination filename [router-confg]?
The address 192.168.1.5 is the address of the TFTP server. If no file name is given, it will save the file as router-config.
The copy tftp running-config is incorrect. This command is used to merge a backup configuration located on a TFTP server with the configuration in RAM.
The copy running-config tftp command in incorrect. It is used to make a backup copy of the configuration residing in RAM to a TFTP server.
Objective:
Infrastructure Management
Sub-Objective:
Perform device maintenance
References:
Cisco > Tech Notes > How To Copy a System Image from One Device to Another > Document ID: 15092
Cisco Documentation > Cisco IOS Release 12.4 Command References > Using Cisco IOS Software for Release 12.4 > Understanding Command Modes