Practice Test with 80 Correctly Answered
Questions // D281 Practice Exam 2026
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
AE
Which of the following directories must be mounted with read and write access if
it resides on its own dedicated file system?
A. /opt
B. /lib
C. /etc
D. /var
E. /usr
D
The ownership of the file doku.odt should be changed. The new owner is named
tux. Which command accomplishes this change?
A. chmod u=tux doku.odt
B. newuser doku.odt tux
C. chown tux doku.odt
D. transfer tux: doku.odt
E. passwd doku.odt:tux
C
pg. 1
,What happens to a file residing outside the home directory when the file owner's
account is deleted? (Choose two.)
A. During a file system check, the file is moved to /lost +found.
B. The file is removed from the file system.
C. The UID of the former owner is shown when listing the file's details.
D. The user root is set as the new owner of the file.
E. Ownership and permissions of the file remain unchanged.
CE
Which statements about the directory /etc/skel are correct? (Choose two.)
A. The personal user settings of root are stored in this directory.
B. The files from the directory are copied to the home directory of the new user
when starting the system.
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.
E. The directory contains the global settings for the Linux system.
CD
What is true about links in a Linux file system?
A. A symbolic link can only point to a file and not to a directory.
B. A hard link can only point to a directory and never to a file.
C. When the target of the symbolic link is moved, the link is automatically
updated.
D. A symbolic link can point to a file on another file system.
E. Only the root user can create hard links.
D
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)
A. /etc/id
B. /etc/passwd
C. /etc/group
D. /home/index
E. /var/db/users
pg. 2
, BC
Which of the following tasks can the command passwd accomplish? (Choose two.)
A. Change a user's username.
B. Change a user's password.
C. Create a new user account.
D. Create a new user group.
E. Lock a user account.
BE
What is true about the su command?
A. It is the default shell of the root account.
B. It can only be used by the user root.
C. It runs a shell or command as another user.
D. It changes the name of the main administrator account.
E. It locks the root account in specific time frames.
C
FILL BLANK -What parameter of ls prints a recursive listing of a directory's
content? (Specify ONLY the option name without any values or parameters.)
-R
Most commands on Linux can display information on their usage. How can this
information typically be displayed?
A. By running the command with the option /? or /??.
B. By running the command with the option ?! or ?=!.
C. By running the command with the option /doc or /documentation.
D. By running the command with the option -h or --help.
E. By running the command with the option -m or --manpage.
D
Which of the following commands shows the absolute path to the current working
directory?
A. who
B. cd ..
C. pwd
D. ls -l
E. cd ~/home
pg. 3