LINUX
Which file is used to automatically mount file systems when the system initiially boots?
A. /etc/mtab B. /proc/mounts C. /etc/inittab D. /etc/fstab
In which directory can you find your kernel modules?
A. /lib/modules/version/kernel/drivers B. /lib/modules/version/drivers C. /boot/ D. /usr/modules/version/drivers/kernel
Which port does the SSHD daemon listen on by default for incoming SSH connections?
A. 20 B. 22 C. 389 D. 631 E. 80 F. 443
Consider the following IPv4 address that uses CIDR notation: 10.0.0.5/12. Which of the following subnet masks corresponds to the CIDR prefix used in this address?
A. 255.0.0.0 B. 255.240.0.0 C. 255.224.0.0 D. 255.252.0.0
Consider the following use of the seq command: seq 3 9. What sequence of numbers will this command generate?
A. 3, 4, 5, 6, 7, 8, 9 B. 3, 6, 9 C. 1, 4, 7, 10, 13, 16, 19, 22, 25 D. 9, 18, 27
Which of the following are true of symmetric encryption?
A. It uses a public/private key pair B. Both the sender and recipient mist have a copy of the same key C. RSA is a form of symmetric encryption D. Blowfish is a form of symmetric encryption E. The private key is sent to the recipient to decrypt information encrypted with the public key
Which component is used in the e-mail process to create or read an e-mail message?
A. MTA B. MDA C. MUA D. Message Store
Which permission, when applied to a directory in the file system, will allow a user to enter the directory?
A. Read B. Write C. Execute D. Access Control
Which fstab mount option causes pending disk writes to be committed immediately?
A. async B. sync C. rw D. auto E. exec
Which process would be the grandparent of all processes running on a Linux system? (choose two)
A. bash B. init C. sh D. ps E. systemd
Which utility can you use to view your /var/log/lastlog file?
A. cat B. last C. grep D. lastlog
You need to change the permissions of a file named schedule.odt so that the file owner can edit the file users who are members of the group that owns the file can edit it, and users who are not owners and don't belong to the owning group can view it but not modify it. Which command will do this?
A. chmodd 664 schedule.odt B. chmod 555 schedule.odt C. chmod 777 schedule.odt D. chmod 644 schedule.odt
You need to change the owner of a file named /var/opt/runme from mireland, who is a member of the users group, to dnelson, who is a member of the editors group. Assuming you want to change both user and group owners, which command will do this?
A. chown mireland dnelson /var/opt/runme B. chown -u "dnelson" -g "editors" /var/opt/runme C. chown dnelson /var/opt/runme D. chown dnelson.editors /var/opt/runme
You need to use fdisk to create an MBR partition for the fourth SATA hard drive in your system. Which is the correct command to do this?
A. fdisk /dev/hdd B. fdisk /dev/sdd C. fdisk /dev/sda4 D. fdisk /dev/sdb2
An associate has just sent you a GPG-encrypted file, and you need to decrypt it. Assuming you've already imported this associate's GPG public key into your keyring, which command can you use to decrypt the file?
A. gpg --output output_filename --symmetric encrypted_filename B. gpg --export encrypted_filename > output_filename
You need to configure your Linux firewall to allow all network traffic addressed to the DNS service on the local system. Which command will do this?
A. iptables -t filter -A INPUT -s 0/0 -p tcp -dport 53 -j DROP B. iptables -t filter -A OUTPUT -s 0/0 -p tcp -dport 53 -j ACCEPT C. iptables -t filter -A INPUT -s 0/0 -p tcp -dport 80 -j DROP D. iptables -t filter -A INPUT -s 0/0 -p tcp -dport 53 -j ACCEPT
You need to kill a hung process. You know its process name, but you don't know its PID. Which utilities could you use? (Choose two)
A. killall B. kill C. hangup D. SIGKILL E. pkill
You need to format the first partition on the fourth SATA hard disk using the ext3 file system. Which is the correct command to do this?
A. mkext3fs /dev/sdd1 B. mkfs -t ext3 /dev/sdd1 C. mkfs -t ext3 /dev/sda4 D. mkreiserfs -t ext3 /dev/sdd1
You want to load the myapp program from the shell prompt and run it in the background. Which command will do this?
A. myapp -b B. myapp C. myapp -bg D. load myapp into background
Which command is used to create quota files for the file system where quotas have been enabled.
A. quotacheck -amvug B. quotaon -av C. repquota -av D. edquota -u
Which of the following commands can be used to switch to the root user account and load root's environment variables?
A. su - B. su root C. su root -e D. su -env
Which command can be used to print columns or fields that you specify from a file to the standard output using the tab character as a delimiter?
Cut
Which of the following can be used to secure users' workstations?
Screensaver Password; Session Lock
Which ps option can be used to display all currently running processes?
a) -c b) -e c) -f d) -l
Which of the following are valid IP addresses that can be assigned to a network host? (Choose two)
a) 192.168.254.1 b) 11.0.0.0 c) 257.0.0.1 d) 192.345.2.1 e) 10.200.0.200
Which of the following is a strong password?
a) Bob3 b) TuxP3nguin c) penguin d) Castle
You've just installed a network board in your Linux system. The kernel did not automatically detect the new device. How can you load a driver for this network board? (Choose two.)
a. Load the appropriate driver from the BIOS. b. Insert the appropriate kernel module. c. Recompile the kernel and configure it to support the board. d. Load a Windows driver for the board using emulation mode. e. Embed the driver within a ROM chip on the board itself.
Which option in your eth0 network interface configuration file should you use to configure the NIC to get its IP address information dynamically from a DHCP server?
a. STARTMODE b. BOOTPROTO c. IPADDR d. DHCP
An associate has just sent you a GPG-encrypted file, and you need to decrypt it. Assuming you've already imported this associate's GPG key into your keyring, which command can you use to decrypt the file?
a. gpg --output output_filename --symmetric encrypted_filename b. gpg --export encrypted_filename > output_filename c. gpg --output output_filename --decrypt encrypted_filename d. gpg --import encrypted_filename output_filename
Your Linux system has an IP address of 192.168.1.20. What URL should you use in a browser to access the CUPS web-based administration utility?
http://192.168.1.20:163
You need to format the first partition on the fourth SATA hard disk using the ext3 file system. Which is the correct command to do this?
mkext3fs /dev/sdd1