Sunday, November 29, 2009

Linux+ Quesions

1. customer wants internal office information to be accessible by employees through a Web browser. Which of the following Linux services should be used?

A. Squid
B. MySQL
C. Apache
D. sendmail

Ans : C

2 : Which of the following should be done before installing Linux on a home computer?

A. Upgrade the computer's memory to at least 64 MB
B. Create ext2 and swap partitions on the hard drive
C. Verify the hardware on the Linux hardware compatibility list
D. Defragment the drive using the computer's current operating system

Ans : C

3. Which of the following packages is usually more important for a "workstation" installation than a "server" installation?

A. DNS Server
B. DHCP Server
C. Proxy Server
D. XFree86 Server

Ans : D


4. A new employee having a problem with account login has the following entry in the /etc/passwd file:
user1:*:51:501:John Doe:/home/user1:/bin/bash
What is wrong with this entry in the /etc/passwd file?

A. The UID is not valid.
B. The account is locked.
C. The UID and GID must match.
D. Spaces are not permitted between the first and last name.

Ans : B

5. After having worked for several months, a PC fails to boot and indicates that the HDD has bad sectors. Which is the first action to take?

A. Reboot the system to remove the message.
B. Run the manufacturer's Diagnostic Utility.
C. Replace the defective HDD and reload the system.
D. Run Scandisk and Defrag to repair the damaged sectors.

Ans: B


6. A customer wants to determine which TCP ports are in use on his Linux server. Which of the following commands should be used?

A. tftp
B. lsport
C. minicom
D. netstat

Ans : D


7. A Linux superuser is unable to delete a file. The user is also unable to change permission for the file. What is the problem?

A. The file is actually a hard link.
B. The file has the immutable flag set.
C. The file has been fragmented across directories.
D. The superuser does not have permission to access the file.

Ans : B


8. Which of the following commands can be used to save and resume editing the file in the vi editor?

A. :w
B. :x
C. :v
D. :s!

Ans : A

9. A system technician needs to determine which hardware modules are loaded on a particular Linux server. Which of the following commands will perform this task?

A. lsmod
B. modules
C. insmod -list
D. modprobe -list

Ans : lsmod

10. 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

Ans : A

1 comment:

  1. Hi Mali,


    I’ve often thought about this Linux+ Questions. Nice to have it laid out so clearly. Great eye opener.
    The time to recover an ext3 file system after an unclean system shutdown does not depend on the size of the file system or the number of files; rather, it depends on the size of the journal used to maintain consistency. The default journal size takes about a second to recover, depending on the speed of the hardware.

    installed Linux mint (mate) what antivirus would you guys recommend I use, just to be really safe?
    Please keep providing such valuable information.

    Many Thanks,
    Kevin

    ReplyDelete