Filters
Question type

Study Flashcards

Which of the following files is used to store user passwords on a Linux system that has been configured to use local authentication?


A) /etc/sales
B) /etc/shadow
C) /etc/passwd
D) /etc/local/accounts

E) C) and D)
F) B) and C)

Correct Answer

verifed

verified

Which of the following is the default document root used by the Apache2 Web server?


A) /tmp
B) /srv/www/htdocs
C) /home/httpd
D) /var/lib/httpd/htdocs

E) A) and D)
F) B) and D)

Correct Answer

verifed

verified

B

Which of the following files can you use to add commands that you want to be executed every time the system boots?


A) rc
B) rc.systinit
C) boot
D) rc.local

E) B) and D)
F) A) and C)

Correct Answer

verifed

verified

Jack has three hard drives in his Linux system available for a RAID array. Which of the following RAID levels can he configure with these drives?


A) RAID 0+1
B) RAID 1+0
C) RAID 5
D) RAID 5+1

E) A) and D)
F) All of the above

Correct Answer

verifed

verified

Which of the following utilities should you use to configure X Windows on a Fedora Linux system?


A) xf86config
B) YaST
C) system-config-display
D) xf86cfg

E) A) and C)
F) A) and D)

Correct Answer

verifed

verified

Which of the following files can be used to enable routing on a Linux system?


A) /proc/sys/net/ipv4/ip_forward
B) /proc/sys/net/ipv4/ip_routing
C) /etc/sysconfig/network/routes
D) /etc/ip-forwarding

E) B) and C)
F) C) and D)

Correct Answer

verifed

verified

You are using vi to edit a file in insert mode. You try to use the BACKSPACE key to delete a word. The editor does not respond. Which of the following could be the cause?


A) You need to switch to normal mode.
B) You need to switch to replace mode.
C) You need to switch to command mode.
D) The BACKSPACE key does not work in the vi editor.

E) A) and D)
F) C) and D)

Correct Answer

verifed

verified

Which of the following utilities provides a shell prompt on a remote system?


A) rsh
B) rcp
C) rlogin
D) rshell

E) C) and D)
F) B) and D)

Correct Answer

verifed

verified

By default, which of the following modes does the vi editor open in?


A) Normal mode
B) Command mode
C) Insert mode
D) Replace mode

E) A) and D)
F) B) and C)

Correct Answer

verifed

verified

A

Which of the following partitions is used for virtual memory in a Linux system?


A) pagefile
B) /boot
C) /tmp
D) swap

E) C) and D)
F) None of the above

Correct Answer

verifed

verified

Which of the following shell commands should you use if you want to install GRUB into the first partition on your first SCSI hard disk drive?


A) grub /dev/sda1
B) grub-install /dev/sda
C) grub-install /dev/sda1
D) grub /dev/hda1

E) C) and D)
F) B) and D)

Correct Answer

verifed

verified

Your system is configured to boot to runlevel 3 by default. You use the startx command to start your graphical environment. Which file should you edit in your home directory to specify your default window manager?


A) .Xsession
B) .Xdefaults
C) .xinitrc
D) .Xclients

E) None of the above
F) A) and B)

Correct Answer

verifed

verified

Which of the following desktop environments uses gedit as the default graphical text editor?


A) Sawfish
B) KDE
C) GNOME
D) ICE

E) C) and D)
F) B) and D)

Correct Answer

verifed

verified

What of the following IP ports does the Apache 2 Web servers listen to by default?


A) 80
B) 25
C) 21
D) 631

E) All of the above
F) B) and C)

Correct Answer

verifed

verified

You have a terminal window open and the current directory is /tmp. Which command should you use to open a file named ofc in the /etc/xinetd.d directory?


A) vi ofc
B) vi /tmp/ofc
C) vi /etc/xinetd.d/ofc
D) vi /etc/xinetd.d

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

C

Your Linux system uses two SCSI hard disk drives. The first drive is assigned SCSI ID 0 and the second drive is assigned SCSI ID 1. Which of the following is the first partition on the second SCSI drive in the system?


A) /dev/sda1
B) /dev/sdc1
C) /dev/sdb1
D) /dev/sdd1

E) None of the above
F) A) and C)

Correct Answer

verifed

verified

Which of the following commands should you use to add a user named alice to the smbpasswd file?


A) smbuseradd alice
B) smbpasswd alice
C) smbpasswd -a alice
D) useradd -a alice

E) C) and D)
F) B) and D)

Correct Answer

verifed

verified

You have installed a quota package on your Linux system. Which of the following parameters can you use to set quotas for the file system?


A) Permissions
B) Inodes
C) Number of Users
D) Number of Groups

E) C) and D)
F) All of the above

Correct Answer

verifed

verified

Jack wants to use a command at the shell prompt to scan his Linux system to determine what services are currently running on it. The IP address of the system is 192.168.10.10. Which of the following commands should he use?


A) scan 192.168.10.10 -TCP
B) scan 192.168.10.10 -UDP
C) nmap 192.168.10.10 -scan
D) nmap -sT 192.168.10.10

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

You have installed an RPM package file named evolution-2.6.0-41.i586.rpm on your Linux system. Which of the following commands should you use to uninstall this package?


A) rpm -U evolution
B) rpm -U -remove evolution
C) rpm -e evolution
D) rpm -i -remove evolution

E) C) and D)
F) A) and B)

Correct Answer

verifed

verified

Showing 1 - 20 of 106

Related Exams

Show Answer