LINUX ESSENTIALS LPI 010-160 REVIEW EXAM
PAPER QUESTIONS AND ANSWERS SURE A+
✔✔What is true about the owner of a file? - ✔✔Each file is owned by exactly one user
and one group.
✔✔Running the command rm Downloads leads to the following error: rm: cannot
remove 'Downloads/': Is a directory Which of the following commands can be used
instead to remove Downloads, assuming Downloads is empty? (Choose two.) - ✔✔rm -r
Downloads
rmdir Downloads
✔✔What information can be displayed by top? - ✔✔Running processes, ordered by
CPU or RAM consumption.
✔✔What happens to a file residing outside the home directory when the file owner's
account is deleted? (Choose two.) - ✔✔The UID of the former owner is shown when
listing the file's details.
Ownership and permissions of the file remain unchanged.
✔✔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.) - ✔✔Ubuntu Linux LTS
Red Hat Enterprise Linux
✔✔The current directory contains the following file: -rw-r—r— 1 root exec 24551 Apr 2
12:36 test.sh The file contains a valid shell script, but executing this file using ./test.sh
leads to this error: bash: ./test.sh: Permission denied What should be done in order to
successfully execute the script? - ✔✔The execute bit should be set in the file's
permissions.
✔✔Which of the following tar options handle compression? (Choose two.) - ✔✔-z
-j
✔✔Reverse DNS assigns hostnames to IP addresses. How is the name of the IP
address 198.51.100.165 stored on a DNS server? - ✔✔In the PTR record for
165.100.51.198.in-addr.arpa.
✔✔How is a new Linux computing instance provisioned in an laaS cloud? - ✔✔The
cloud hosting organization provides a set of pre-prepared images of popular Linux
distributions.
✔✔What is true about a recursive directory listing? - ✔✔It includes the content of sub-
directories.
✔✔Which of the following commands adds the directory /new/dir/ to the PATH
environment variable? - ✔✔export PATH=/new/dir: $PATH
✔✔Which of the following commands can be used to resolve a DNS name to an IP
address? - ✔✔host
✔✔What is the return value of a shell script after successful execution? - ✔✔0
✔✔Which of the following commands extracts the contents of the compressed archive
file1.tar.gz? - ✔✔tar -xzf file1.tar.gz
✔✔Which package management tool is used in Red Hat-based Linux Systems? -
✔✔rpm
✔✔What is true about the su command? - ✔✔It runs a shell or command as another
user.
✔✔What is a Linux distribution? - ✔✔A bundling of the Linux kernel, system utilities and
other software.
PAPER QUESTIONS AND ANSWERS SURE A+
✔✔What is true about the owner of a file? - ✔✔Each file is owned by exactly one user
and one group.
✔✔Running the command rm Downloads leads to the following error: rm: cannot
remove 'Downloads/': Is a directory Which of the following commands can be used
instead to remove Downloads, assuming Downloads is empty? (Choose two.) - ✔✔rm -r
Downloads
rmdir Downloads
✔✔What information can be displayed by top? - ✔✔Running processes, ordered by
CPU or RAM consumption.
✔✔What happens to a file residing outside the home directory when the file owner's
account is deleted? (Choose two.) - ✔✔The UID of the former owner is shown when
listing the file's details.
Ownership and permissions of the file remain unchanged.
✔✔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.) - ✔✔Ubuntu Linux LTS
Red Hat Enterprise Linux
✔✔The current directory contains the following file: -rw-r—r— 1 root exec 24551 Apr 2
12:36 test.sh The file contains a valid shell script, but executing this file using ./test.sh
leads to this error: bash: ./test.sh: Permission denied What should be done in order to
successfully execute the script? - ✔✔The execute bit should be set in the file's
permissions.
✔✔Which of the following tar options handle compression? (Choose two.) - ✔✔-z
-j
✔✔Reverse DNS assigns hostnames to IP addresses. How is the name of the IP
address 198.51.100.165 stored on a DNS server? - ✔✔In the PTR record for
165.100.51.198.in-addr.arpa.
✔✔How is a new Linux computing instance provisioned in an laaS cloud? - ✔✔The
cloud hosting organization provides a set of pre-prepared images of popular Linux
distributions.
✔✔What is true about a recursive directory listing? - ✔✔It includes the content of sub-
directories.
✔✔Which of the following commands adds the directory /new/dir/ to the PATH
environment variable? - ✔✔export PATH=/new/dir: $PATH
✔✔Which of the following commands can be used to resolve a DNS name to an IP
address? - ✔✔host
✔✔What is the return value of a shell script after successful execution? - ✔✔0
✔✔Which of the following commands extracts the contents of the compressed archive
file1.tar.gz? - ✔✔tar -xzf file1.tar.gz
✔✔Which package management tool is used in Red Hat-based Linux Systems? -
✔✔rpm
✔✔What is true about the su command? - ✔✔It runs a shell or command as another
user.
✔✔What is a Linux distribution? - ✔✔A bundling of the Linux kernel, system utilities and
other software.