1.
How many spare server processes are required by Apache for the typical, low-to- moderate volume website?
2.
What are reverse DNS entries used for?
3.
You decide to use xinetd instead of inetd. What must be done in order to properly configure xinetd?
4.
To avoid spammers using your mail server to relay their messages, you need to _______.
5.
What command will tell you which groups you belong to? Correct Answer: Answer: groups Section: (none) Explanation Explanation/Reference:The correct crontab entry in the minutes column to create a command in cron that runs every two minutes would be _____. Correct Answer: Answer: */2 Section: (none) Explanation Explanation/Reference:What is a filesystem type the dump utility can work with? Correct Answer: Answer: ext2 Section: (none) Explanation Explanation/Reference: What one filesystem should you never restore (and therefore not backup): _______. Correct Answer: Answer: swap Section: (none) Explanation Explanation/Reference:You use the public NTP server time.nist.gov to make sure your system clock is accurate before using it to adjust your hardware clock. Complete the following command to accomplish this: ______ time.nist.gov Correct Answer: Answer: ntpdate Section: (none) Explanation Explanation/Reference: With the command ntpdate time.nist.gov you can set your clock.To slave your NTP daemon to an external source, you need to modify the ______ variable in your /etc/ntp.conf file. Correct Answer: Answer: server Section: (none) Explanation Explanation/Reference:NTP is used to synchronize the system ____ with a central system resource. Correct Answer: Answer: clock Section: (none) Explanation Explanation/Reference: What is the command most often used for configuring network interfaces? Correct Answer: Answer: ifconfig Section: (none) Explanation Explanation/Reference: updated answerYou build and configured a bastion host to act as a router between two internal networks. Both eth0 and eth1 can see hosts on their respective networks, but the hosts on each network cannot see any hosts on the other network. After verifying that the hosts have the correct gateway route, you decide the bastion host does not have IP forwarding turned on. To check this cat the file /proc/sys/net/ipv4/ _______ to ensure it has a 1. Correct Answer: Answer: ip_forward Section: (none) Explanation Explanation/Reference:What file contains a list of directories for an NFS daemon to server to other systems? (Provide the complete answer) Correct Answer: Answer: /etc/exports Section: (none) Explanation Explanation/Reference:After modifying LILO's configuration file, which of the following commands should be run for the changes to take effect?
6.
Which of the following sed commands will replace all instances of the string foo with the string foobar changing the file file1.txt in place?
7.
Which of the following keys should an administrator press to switch to normal mode in vi?
8.
Which of the following commands will print line numbers before each line in a file?
9.
An administrator wishes to kill a process with a PID of 123. Which of the following commands will allow the process to "clean up" before exiting?
10.
Which of the following is the purpose of the Bash built-in export command?