DCOM 142 COMPREHENSIVE EXAM 2025/2026
QUESTIONS AND ANSWERS GUARANTEE A+
✔✔what does the permission string -rwxrwx--- mean? - ✔✔The file's owner and
members of its group may both read, write, and execute the file, but other users have
no access to it.
✔✔what option causes chown command to change ownership on an entire directory
tree? - ✔✔-r & --recursive
✔✔which of the following users have ids ranging from 1-499? - ✔✔system users
✔✔which of the following commands will display the groups a user belongs to? - ✔✔id
✔✔what command is used to change the owner, group, or both for a file or a directory?
- ✔✔chown
✔✔The root user utilizes the chgrp command to give ownership of a file to another user.
What must the root user do to regain ownership of the file? - ✔✔run chgrp again listing
the root user as the new owner
✔✔Which of the following commands can be used to remove a group from a Linux
computer? - ✔✔groupdel
✔✔Which of the following commands will change the user ownership and group
ownership of file1 to user1 and group1, respectively? - ✔✔chown user1:group1 file1
✔✔what are the three standard linux permissions - ✔✔execute, read, write
✔✔what command will set the following permissions on the file hobbit.pdf?
User: Read, Write, Execute
Group: Read, Execute
Other: Read - ✔✔chmod 764 hobbit.pdf
✔✔The apt command comes with several subcommands for managing packages.
which of these are subcommands for the apt command? - ✔✔remove [package]
upgrade [package]
purge [package]
✔✔.... repeat questions.... - ✔✔
, ✔✔what do you call the storage locations for available software packages? -
✔✔repositories
✔✔A Linux system administrator working for a web application provider that manages
file and directory permissions with Access Control Lists wants to view metadata about a
file object, such as its owner, group, any SUID/SGID/sticky bit flags set, the standard
permissions associated with the object, and individual permission entries for users and
groups. Recommend a command that will allow the administrator to view this metadata.
- ✔✔getacl
✔✔which of the following attributes can be given to a file using the chattr command in
order to prevent the file from being modified in any way (even by the root user)? -
✔✔immutable
✔✔what is the preferred method of package management in Red Hat Linux distribution?
- ✔✔Dandified YUM (DNF)
✔✔An organization has asked a Linux system administrator to validate that a newly built
Linux host server has all the needed software packages installed. What DNF command
would produce an output that would allow the system administrator to validate all the
currently present packages on the system? - ✔✔dnf list installed
✔✔What are the three kinds of repositories? (Select three) - ✔✔Local & Centralized
internal & vendor
✔✔What are the two types of utilities that can manage and archive and compress files
in Linux? (Select two) - ✔✔tar & gzip
✔✔A security engineer implements file integrity monitoring and comes across a
developer who is compiling custom code on their machines that has many header files.
The engineer is viewing what file type? - ✔✔gcc
✔✔An intern working with a small team responsible for software package management
is learning about the various package management utilities for Linux. Given that the
team only manages Debian systems, what common package managers would the
intern leverage for package management? (Choose two.) - ✔✔dpkg & apt
✔✔An administrator receives a package of files in a .tar extension on a Linux system.
The files are compressed and zipped. Which parameter should the administrator use to
extract the files from the archive, assuming the archive has already been
decompressed? - ✔✔-x
QUESTIONS AND ANSWERS GUARANTEE A+
✔✔what does the permission string -rwxrwx--- mean? - ✔✔The file's owner and
members of its group may both read, write, and execute the file, but other users have
no access to it.
✔✔what option causes chown command to change ownership on an entire directory
tree? - ✔✔-r & --recursive
✔✔which of the following users have ids ranging from 1-499? - ✔✔system users
✔✔which of the following commands will display the groups a user belongs to? - ✔✔id
✔✔what command is used to change the owner, group, or both for a file or a directory?
- ✔✔chown
✔✔The root user utilizes the chgrp command to give ownership of a file to another user.
What must the root user do to regain ownership of the file? - ✔✔run chgrp again listing
the root user as the new owner
✔✔Which of the following commands can be used to remove a group from a Linux
computer? - ✔✔groupdel
✔✔Which of the following commands will change the user ownership and group
ownership of file1 to user1 and group1, respectively? - ✔✔chown user1:group1 file1
✔✔what are the three standard linux permissions - ✔✔execute, read, write
✔✔what command will set the following permissions on the file hobbit.pdf?
User: Read, Write, Execute
Group: Read, Execute
Other: Read - ✔✔chmod 764 hobbit.pdf
✔✔The apt command comes with several subcommands for managing packages.
which of these are subcommands for the apt command? - ✔✔remove [package]
upgrade [package]
purge [package]
✔✔.... repeat questions.... - ✔✔
, ✔✔what do you call the storage locations for available software packages? -
✔✔repositories
✔✔A Linux system administrator working for a web application provider that manages
file and directory permissions with Access Control Lists wants to view metadata about a
file object, such as its owner, group, any SUID/SGID/sticky bit flags set, the standard
permissions associated with the object, and individual permission entries for users and
groups. Recommend a command that will allow the administrator to view this metadata.
- ✔✔getacl
✔✔which of the following attributes can be given to a file using the chattr command in
order to prevent the file from being modified in any way (even by the root user)? -
✔✔immutable
✔✔what is the preferred method of package management in Red Hat Linux distribution?
- ✔✔Dandified YUM (DNF)
✔✔An organization has asked a Linux system administrator to validate that a newly built
Linux host server has all the needed software packages installed. What DNF command
would produce an output that would allow the system administrator to validate all the
currently present packages on the system? - ✔✔dnf list installed
✔✔What are the three kinds of repositories? (Select three) - ✔✔Local & Centralized
internal & vendor
✔✔What are the two types of utilities that can manage and archive and compress files
in Linux? (Select two) - ✔✔tar & gzip
✔✔A security engineer implements file integrity monitoring and comes across a
developer who is compiling custom code on their machines that has many header files.
The engineer is viewing what file type? - ✔✔gcc
✔✔An intern working with a small team responsible for software package management
is learning about the various package management utilities for Linux. Given that the
team only manages Debian systems, what common package managers would the
intern leverage for package management? (Choose two.) - ✔✔dpkg & apt
✔✔An administrator receives a package of files in a .tar extension on a Linux system.
The files are compressed and zipped. Which parameter should the administrator use to
extract the files from the archive, assuming the archive has already been
decompressed? - ✔✔-x