DCOM 142 EXAM STUDY GUIDE 2025 QUESTIONS WITH
ANSWERS RATED A+
✔✔What term refers to the worldwide system of servers that translates between IP
addresses and hostnames? - ✔✔DNS
✔✔Which of the following numbers denotes the root user? - ✔✔0
✔✔What is the effect of the following command, assuming it completes successfully?
$ groupadd ccbc - ✔✔It creates a new group called ccbc
✔✔Which of the following commands is used to switch from one user login to another in
a Linux computer? - ✔✔su
✔✔Which of the following utilities provides an efficient way to give specific users
permission to use specific system commands at the root level of a Linux computer? -
✔✔sudo
✔✔Which of the following commands provides a quick summary of every use logged
into a computer? - ✔✔w
✔✔Which of the following commands can be used to remove a group from a Linux
computer? - ✔✔groupdel
✔✔Which of the following users have ids ranging from 1-499? - ✔✔System users
✔✔Which of the following commands will display the group(s) a user belongs to? - ✔✔id
✔✔What is the effect of the following command?
$ tail /etc/passwd - ✔✔Displays the last ten users accounts information
✔✔What is the effect of the following command?
$ id -g - ✔✔displays primary group id
✔✔What does the permission string -rwxrwx--- mean? - ✔✔the files owner and
members of its group may both read, write, and execute the file. but other users have
no access to it.
✔✔which of the following command sets "owner" and "group" to rwx permissions and
"other" permissions on file to r-x? - ✔✔chmod 775 file
✔✔Which of the following permissions is set as default on the directories? - ✔✔777-
umask
, ✔✔Typing ls -ld wonderjay reveals the following output. which of the following are true?
(choose two)
drwxr-xr-x - ✔✔wonderjay may be read by all users of the system.
wonderjay is a directory.
✔✔Which of the following commands set "other" permissions on file to r-x? - ✔✔chmod
o=rx file
✔✔You have created a new file in your Linux computer. On executing the umask
command, you receive the umask value as 022. Identify the default permission set on
files. - ✔✔644
✔✔The "execute" permission on a file allows you to: - ✔✔Run the file as a script
✔✔John works as a network administrator for CCBC, inc. The company uses a Linux-
server. John wants to give the following file permissions to the file named "makelog"
1. read, write, and execute permissions to the user account that is the owner.
2. read and write permissions to groups.
3. read only permissions to other users.
Which of the following commands will John use to accomplish the task? - ✔✔chmod
764 makelog
✔✔Which of the following permissions would allow all users to add, view, and delete
files in a directory? - ✔✔777
✔✔The user sysadmin will be able to change the permissions of the file because they
own it.
----r--r-- 1 sysadmin group 38270 sep 2 18:49 file - ✔✔True
✔✔The "setuid" permission... - ✔✔...allows a command to be run as the file owner.
✔✔What option causes chown to change ownership on an entire directory tree?
(choose all that apply) - ✔✔-r
--recursive
✔✔Which of the following commands will you use to set the SUID bit on a file? -
✔✔chmod u+s file
✔✔You have found many times that your files get deleted by other users created on you
Linux computer. Which of the following safety measures will you take to protect your
files from being deleted by other users? - ✔✔Execute the chmod o+t filename command
ANSWERS RATED A+
✔✔What term refers to the worldwide system of servers that translates between IP
addresses and hostnames? - ✔✔DNS
✔✔Which of the following numbers denotes the root user? - ✔✔0
✔✔What is the effect of the following command, assuming it completes successfully?
$ groupadd ccbc - ✔✔It creates a new group called ccbc
✔✔Which of the following commands is used to switch from one user login to another in
a Linux computer? - ✔✔su
✔✔Which of the following utilities provides an efficient way to give specific users
permission to use specific system commands at the root level of a Linux computer? -
✔✔sudo
✔✔Which of the following commands provides a quick summary of every use logged
into a computer? - ✔✔w
✔✔Which of the following commands can be used to remove a group from a Linux
computer? - ✔✔groupdel
✔✔Which of the following users have ids ranging from 1-499? - ✔✔System users
✔✔Which of the following commands will display the group(s) a user belongs to? - ✔✔id
✔✔What is the effect of the following command?
$ tail /etc/passwd - ✔✔Displays the last ten users accounts information
✔✔What is the effect of the following command?
$ id -g - ✔✔displays primary group id
✔✔What does the permission string -rwxrwx--- mean? - ✔✔the files owner and
members of its group may both read, write, and execute the file. but other users have
no access to it.
✔✔which of the following command sets "owner" and "group" to rwx permissions and
"other" permissions on file to r-x? - ✔✔chmod 775 file
✔✔Which of the following permissions is set as default on the directories? - ✔✔777-
umask
, ✔✔Typing ls -ld wonderjay reveals the following output. which of the following are true?
(choose two)
drwxr-xr-x - ✔✔wonderjay may be read by all users of the system.
wonderjay is a directory.
✔✔Which of the following commands set "other" permissions on file to r-x? - ✔✔chmod
o=rx file
✔✔You have created a new file in your Linux computer. On executing the umask
command, you receive the umask value as 022. Identify the default permission set on
files. - ✔✔644
✔✔The "execute" permission on a file allows you to: - ✔✔Run the file as a script
✔✔John works as a network administrator for CCBC, inc. The company uses a Linux-
server. John wants to give the following file permissions to the file named "makelog"
1. read, write, and execute permissions to the user account that is the owner.
2. read and write permissions to groups.
3. read only permissions to other users.
Which of the following commands will John use to accomplish the task? - ✔✔chmod
764 makelog
✔✔Which of the following permissions would allow all users to add, view, and delete
files in a directory? - ✔✔777
✔✔The user sysadmin will be able to change the permissions of the file because they
own it.
----r--r-- 1 sysadmin group 38270 sep 2 18:49 file - ✔✔True
✔✔The "setuid" permission... - ✔✔...allows a command to be run as the file owner.
✔✔What option causes chown to change ownership on an entire directory tree?
(choose all that apply) - ✔✔-r
--recursive
✔✔Which of the following commands will you use to set the SUID bit on a file? -
✔✔chmod u+s file
✔✔You have found many times that your files get deleted by other users created on you
Linux computer. Which of the following safety measures will you take to protect your
files from being deleted by other users? - ✔✔Execute the chmod o+t filename command