What are the differences between hard disk drives and solid state disks? (Choose two.)
A. Hard disks have a motor and moving parts, solid state disks do not.
B. Hard disks can fail due to physical damage, while solid state disks cannot fail.
C. Solid state disks can store many times as much data as hard disk drives.
D. /dev/sda is a hard disk device while /dev/ssda is a solid state disk.
E. Solid state disks provide faster access to stored data than hard disks.
Members of a team already have experience using Red Hat Enterprise Linux. For a small hobby project, the team wants to set up a Linux server without paying for a subscription. Which of the following Linux distributions allows the team members to apply as much of their Red Hat Enterprise Linux knowledge as possible?
A. Ubuntu Linux LTS
B. Raspbian
C. Debian GNU/Linux
D. CentOS
E. openSUSE
Which of the following tar options handle compression? (Choose two.)
A. -bz
B. -z
C. -g
D. -j
E. -z2
Which of the following commands creates an archive file work.tar from the contents of the directory ./ work/?
A. tar --new work.tar ./work/
B. tar -cf work.tar ./work/
C. tar -create work.tgz -content ./work/
D. tar work.tar < ./work/
E. tar work > work.tar
Which of the following directories contains information, documentation and example configuration files for installed software packages?
A. /usr/share/doc/
B. /etc/defaults/
C. /var/info/
D. /doc/
E. /usr/examples/
A new server needs to be installed to host services for a period of several years. Throughout this time, the server should receive important security updates from its Linux distribution.
Which of the following Linux distributions meet these requirements? (Choose two.)
A. Ubuntu Linux LTS
B. Fedora Linux
C. Debian GNU/Linux Unstable
D. Ubuntu Linux non-LTS
E. Red Hat Enterprise Linux
Which command displays file names only and no additional information?
A. ls -a
B. ls -lh
C. ls -l
D. ls -alh
E. ls -nl
Which of the following commands sets the variable USERNAME to the value bob?
A. set USERNAME bob
B. $USERNAME==bob
C. var USERNAME=bob
D. USERNAME<=bob
E. USERNAME=bob
Which of the following examples shows the general structure of a for loop in a shell script?
A. for *.txt as file => echo $file
B. for *.txt ( echo $i )
C. for file in *.txt do
echo $i
done
D. for ls *.txt exec {} \;
E. foreach @{file} { echo $i }
Which operator in a regular expression matches the preceding character either zero or one time?
A. ?
B. *
C. +
D. %
E. $
The file script.sh in the current directory contains the following content:
#!/bin/bash echo $MYVAR
The following commands are used to execute this script:
MYVAR=value ./script.sh
The result is an empty line instead of the content of the variable MYVAR. How should MYVAR be set in order to make script.sh display the content of MYVAR?
A. !MYVAR=value
B. env MYVAR=value
C. MYVAR=value
D. $MYVAR=value
E. export MYVAR=value
Which of the following commands creates the ZIP archive poems.zip containing all files in the current directory whose names end in .txt?
A. zip *.txt > poems.zip
B. zcat *.txt poems.zip
C. zip poems.zip *.txt
D. zip cfz poems.zip *.txt
E. cat *.txt | zip poems.zip
Which of the following programs are web servers? (Choose two.)
A. Apache HTTPD
B. Postfix
C. Curl
D. Dovecot
E. NGINX