Multiple Choice
A Linux administrator is setting up a testing environment and needs to connect to a separate testing server using the production server name. The administrator needs to override the hostname that the DNS is returning in order to use the test environment. Which of the following commands should be run on each of the testing systems to BEST meet this goal?
A) # hostnamectl set-hostname "192.168.1.100 production.company.com"
B) # grep -i IP "${ip addr show} production.company.com" > /etc/resolv.conf
C) # ip addr add 192.168.1.100/24 dev eth0 && rndc reload production.company.com
D) # echo "192.168.1.100 production.company.com" >> /etc/hosts
Correct Answer:

Verified
Correct Answer:
Verified
Q207: A Linux systems administrator needs to copy
Q208: Which of the following is used in
Q209: A Linux administrator needs to set permissions
Q210: An administrator needs to look at a
Q211: Joe, a user, reports that he is
Q213: A security administrator wants to display a
Q214: A Linux user uses a VPN to
Q215: An administrator notices a website hosted on
Q216: Which of the following is modified to
Q217: Joe, a user, is unable to log