Georgia Stath asked: After you study your text books it is important to test your newly acquired knowledge and see just how well you have absorbed the material. Practice exams….
* Reinforces what you learnt – fill in the gaps of what you missed
* Gets you used to answering questions to build confidence and familiarity
Here are 10 Multiple choice exams questions for you to practice on:
______________________________
Question 1# – You are attempting to troubleshoot a problem involving a user who is unable to establish an FTP connection to the server. You are about to have the user try to start an FTP session. Which command will allow you to view any error messages that are produced as they happen?
A. more –s /var/log/xferlog
B. /var/log/xferlog
C. cat /var/log/xferlog
D. tail –f /var/log/xferlog
_____________________
Question 2# – What is the first step in troubleshooting a system problem?
A. Collect information.
B. Test a possible solution.
C. Make a hypothesis about a solution.
D. Try to modify the configuration files.
_____________________
Question 3# – If you want to see files in a given directory, you type $ ls / directory in the shell prompt?
A. True
B. false
_____________________
Question 4# – The output of ‘netstat –r’ is the same as the output of which command?
A. ifconfig -a
B. route
C. nbtstat
D. ntsysv
_____________________
Question 5# – A client has downloaded the latest Linux kernel source and wants to compile and install it on a home machine. The downloaded file is named “linux-2.4.3.tar.gz”. What command should be issued first?
A. tar xvf linux-2.4.3.tar.gz
B. tar xzvf linux-2.4.3.tar.gz
C. gzip –q linux-2.4.3.tar.gz; tar xvf linux-2.4.3.tar
D. gzip –c linux-2.4.3.tar.gz; tar cvf linux-2.4.3.tar
_____________________
Question 6# – The vastg majority of linux systems support which shells?
A. Bash
B. Tcsh
C. Zsh
D. Csh
E. Ash
F. All the above
_____________________
Question 7# – the ifconfig command will display detailed information about an interface.
A. True
B. false
_____________________
Question 8# – Which are some of the linux web servers?
A. Apache
B. Zeus
C. Roxen
D. Thttpd
E. all of the above
_____________________
Question 9# – You run a port scan on your production web server to check for open ports. Which of the following ports should raise warning flags if they are found open?
A. 22
B. 23
C. 80
D. 315
E. 443
_____________________
Questions 10# – You cannot mount /dev/hdb1 and suspect that the superblock is bad. How do you fix this?
A. Use the mkfs command.
B. Use the fsck command with the –f option.
C. Use the e2fsck to replace the superblock with a copy saved to another location on your disk.
D. Restore the superblock from your tape backup.
_____________________
ANSWERS
Question 1 – Correct Answers: D
Question 2 – Correct Answers: A
Question 3 – Correct Answers: A
Question 4 – Correct Answers: B
Question 5 – Correct Answers: B
Question 6 – Correct Answers: F
Question 7 – Correct Answers: A
Question 8 – Correct Answers: E
Question 9 – Correct Answers: B
Questions 10 – Correct Answers: C