Cisco CCNA mock exam questions sample test – Question 434

.Which Cisco Internetwork Operating System (IOS) command is used to copy the configuration stored in Random Access Memory (RAM) to Non-Volatile Random Access Memory
(NVRAM)?

A. router# copy running-config startup-config
B. router(config)# copy running-config startup-config
C. router# copy startup-config running-config
D. router(config)# copy startup-config running-config

Correct Answer: A

Explanation:
The router# copy running-config startup-config command is used to copy the configuration stored in Random Access Memory (RAM) to Non-Volatile Random Access Memory
(NVRAM). This command is issued in privileged EXEC mode. The syntax of the command is as follows:
router# copy running-config startup-config
The parts of the command are as follows:
running-config is the running configuration stored in RAM.
startup-config is the startup configuration stored in Non-Volatile Random Access Memory (NVRAM).
The router(config)# copy running-config startup-config command is incorrect because the copy run start command (abbreviated) is not issued in global configuration mode. It is
executed in privileged EXEC mode.
The router# copy startup-config running-config command is incorrect because this command is used to copy the configuration stored in NVRAM to RAM.
The router(config)# copy startup-config running-config command is incorrect because neither the copy run start nor the copy start run commands are executed in global configuration
mode. Moreover, the copy startup-config running-config command is used to copy the configuration stored in NVRAM to RAM.
Objective:
Infrastructure Management
Sub-Objective:
Perform device maintenance
References:
Cisco > Support > IOS and Configuration Basics > Saving Configuration Changes