CCNA 200-301 practice question 14 of 35
A network engineer is configuring a switch so that it is remotely reachable via SSH. The engineer has already configured the host name. Which additional command must the engineer configure before entering the command to generate the RSA key?
Full set: 1,210 questionsFor a Cisco IOS device to generate an RSA key pair, which is essential for enabling SSH, it must have a unique identity. This identity is formed by combining a unique hostname with an IP domain name to create a fully qualified domain name (FQDN). The question states the hostname is already configured. Therefore, the mandatory next step before executing the crypto key generate rsa command is to configure the IP domain name using the ip domain-name command.
B. password password: This command sets various passwords (e.g., for console, VTY lines, or enable secret) but is not a direct prerequisite for RSA key generation.
C. crypto key generate rsa modulus 1024: This is the command used to generate the RSA key itself; it cannot be a prerequisite for its own execution.
D. ip ssh authentication-retries 2: This is an optional command to enhance SSH security by limiting login attempts; it is configured after SSH is enabled, not before key generation.
1. Cisco Systems
Inc.
Cisco IOS Security Configuration Guide
Release 12.4
"Securing User Services." In the "Configuring Secure Shell" section
the configuration steps explicitly list configuring the hostname and IP domain name as prerequisites before generating the RSA key pair. The guide states
"You must configure a host name and a domain name for the router before you can generate an RSA key."
2. Odom
W.
CCNA 200-301 Official Cert Guide
Volume 1
Cisco Press
2019. In Chapter 28
"Implementing Switch Security
" the section "Configuring Secure Shell (SSH) on a Switch" outlines the configuration process. Table 28-3
"SSH Configuration Steps on a Cisco Switch
" lists Step 1 as setting the hostname
Step 2 as setting the IP domain name
and Step 3 as generating the RSA crypto keys
confirming the required order.
3. University of Kentucky
College of Engineering
"Cisco Router Configuration for SSH
" Course Material for CS/ECE 578. The documentation outlines the necessary steps for enabling SSH
specifying that both hostname and ip domain-name commands must be issued before the crypto key generate rsa command.
Keep practicing
Take the free CCNA 200-301 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CCNA 200-301 practice questions
- Question 2What event has occurred if a router sends a notice level message to a syslog server?
- Question 3What is an appropriate use for private IPv4 addressing?
- Question 5What are two functions of a server on a network? (Choose two)
- Question 6What is a function of an endpoint?
- Question 7What is the total number of users permitted to simultaneously browse the controller manag…
- Question 8Which plane is centralized in software-defined networking (SDN)?
