LINUX ESSENTIALS LPI 010-160 FINAL EXAM
ACTUAL QUESTIONS AND ANSWERS SURE A+
✔✔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
E. Red Hat Enterprise Linux
✔✔Which of the following directories must be mounted with read and write access if it
resides on its own dedicated file system? - ✔✔/var
✔✔The ownership of the file doku.odt should be changed. The new owner is named tux.
Which command
accomplishes this change? - ✔✔chown tux doku.odt
✔✔What happens to a file residing outside the home directory when the file owner's
account is deleted? (Choose
two.) - ✔✔C. The UID of the former owner is shown when listing the file's details.
E. Ownership and permissions of the file remain unchanged.
, ✔✔Which statements about the directory /etc/skel are correct? (Choose two.) - ✔✔C.
The files from the directory are copied to the home directory of a new user when the
account is created.
D. The directory contains a default set of configuration files used by the useradd
command.
✔✔What is true about links in a Linux file system? - ✔✔D. A symbolic link can point to a
file on another file system.
✔✔Which files are the source of the information in the following output? (Choose two.)
uid=1000 (bob) gid=1000 (bob) groups=1000 (bob), 10 (wheel), 150 (wireshark), 989
(docker), 1001 (libvirt) - ✔✔B. /etc/passwd
C. /etc/group
✔✔Which of the following tasks can the command passwd accomplish? (Choose two.) -
✔✔C. Create a new user account.
E. Lock a user account.
✔✔What is true about the su command? - ✔✔It runs a shell or command as another
user.
✔✔What parameter of ls prints a recursive listing of a directory's content? (Specify
ONLY the option name
without any values or parameters.) - ✔✔ls -R
✔✔Most commands on Linux can display information on their usage. How can this
information typically be
displayed? - ✔✔By running the command with the option -m or --manpage.
✔✔Which of the following commands shows the absolute path to the current working
directory? - ✔✔pwd
✔✔Which of the following commands output the content of the file Texts 2.txt? (Choose
two.) - ✔✔A. cat 'Texts 2.txt'
B. cat -- Texts 2.txt
✔✔Which command displays file names only and no additional information? - ✔✔ls -a
✔✔What is the purpose of the PATH environment variable? - ✔✔It allows the execution
of commands without the need to know the location of the executable.
✔✔Which of the following commands sets the variable USERNAME to the value bob? -
✔✔USERNAME=bob
ACTUAL QUESTIONS AND ANSWERS SURE A+
✔✔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
E. Red Hat Enterprise Linux
✔✔Which of the following directories must be mounted with read and write access if it
resides on its own dedicated file system? - ✔✔/var
✔✔The ownership of the file doku.odt should be changed. The new owner is named tux.
Which command
accomplishes this change? - ✔✔chown tux doku.odt
✔✔What happens to a file residing outside the home directory when the file owner's
account is deleted? (Choose
two.) - ✔✔C. The UID of the former owner is shown when listing the file's details.
E. Ownership and permissions of the file remain unchanged.
, ✔✔Which statements about the directory /etc/skel are correct? (Choose two.) - ✔✔C.
The files from the directory are copied to the home directory of a new user when the
account is created.
D. The directory contains a default set of configuration files used by the useradd
command.
✔✔What is true about links in a Linux file system? - ✔✔D. A symbolic link can point to a
file on another file system.
✔✔Which files are the source of the information in the following output? (Choose two.)
uid=1000 (bob) gid=1000 (bob) groups=1000 (bob), 10 (wheel), 150 (wireshark), 989
(docker), 1001 (libvirt) - ✔✔B. /etc/passwd
C. /etc/group
✔✔Which of the following tasks can the command passwd accomplish? (Choose two.) -
✔✔C. Create a new user account.
E. Lock a user account.
✔✔What is true about the su command? - ✔✔It runs a shell or command as another
user.
✔✔What parameter of ls prints a recursive listing of a directory's content? (Specify
ONLY the option name
without any values or parameters.) - ✔✔ls -R
✔✔Most commands on Linux can display information on their usage. How can this
information typically be
displayed? - ✔✔By running the command with the option -m or --manpage.
✔✔Which of the following commands shows the absolute path to the current working
directory? - ✔✔pwd
✔✔Which of the following commands output the content of the file Texts 2.txt? (Choose
two.) - ✔✔A. cat 'Texts 2.txt'
B. cat -- Texts 2.txt
✔✔Which command displays file names only and no additional information? - ✔✔ls -a
✔✔What is the purpose of the PATH environment variable? - ✔✔It allows the execution
of commands without the need to know the location of the executable.
✔✔Which of the following commands sets the variable USERNAME to the value bob? -
✔✔USERNAME=bob