CNIT 340 EXAM 1 PRACTICE EXAM WITH Q&A WITH
CCCCCC
CORRECT ANSWERS GUARANTEED PASS
(2025
CF
Why would someone want to use "-9" after a "kill" command?
a) They don't want to fully end the process.
b) They want to be able to go back to the process running if they
mess up.
c) They want to definitely end the program with prejudice.
d) They want to execute kill with more privileges.
e) None of the above. - ANSWER ->C
Which license does Linux use?
a) MIT
b) GNU
c) LAB
D) RTU - ANSWER ->B
When creating file system partitions, which of the following
partitions must be included:
a. / and /usr
,b. /var and swap
c. / and swap
d. /home and /var
e. None of the above - ANSWER ->C
A file "test.txt" is owned by the user "admin" and the group
"finance". Currently, its permissions are set to 750. By changing
these instead to 070, who is losing what access? Note: The
user, "Admin" is not in the "finance" group
a) The "finance" group can no longer execute the file
b) The user, "Admin" lost read and write permissions
c) The "finance" group lost read, write, and execute
permissions.
d) The user, "Admin" lost read, write, and execute permissions.
- ANSWER ->D
The command for modifying file or directory ownership is the
command.
a) chgrp
b) chown
c) chmod
d) chdir - ANSWER ->B
In UNIX everything is managed as a .
A) Folder
, B) Directory
C) File
D) A & B
E) None of the above - ANSWER ->C
How would one give a GROUP permissions to read and execute
a file, but not write to it?
A) chmod g+rx filename
B) chmod g=rx filename
C) chmod 050 filename
D) chmod u=rx filename
E) chmod 750 filename - ANSWER ->B
The Group memberships granted at login time consists of which
file(s)?
a. /etc/group
b. /etc/passwd
c. /etc/ hosts
d. Both A and C
e. Both A and B - ANSWER ->B
What would the permission bits be for a permission set of: 764
a. rwxr-xr--
b. rwxr-xrw-
c. r-xrw-r--
CCCCCC
CORRECT ANSWERS GUARANTEED PASS
(2025
CF
Why would someone want to use "-9" after a "kill" command?
a) They don't want to fully end the process.
b) They want to be able to go back to the process running if they
mess up.
c) They want to definitely end the program with prejudice.
d) They want to execute kill with more privileges.
e) None of the above. - ANSWER ->C
Which license does Linux use?
a) MIT
b) GNU
c) LAB
D) RTU - ANSWER ->B
When creating file system partitions, which of the following
partitions must be included:
a. / and /usr
,b. /var and swap
c. / and swap
d. /home and /var
e. None of the above - ANSWER ->C
A file "test.txt" is owned by the user "admin" and the group
"finance". Currently, its permissions are set to 750. By changing
these instead to 070, who is losing what access? Note: The
user, "Admin" is not in the "finance" group
a) The "finance" group can no longer execute the file
b) The user, "Admin" lost read and write permissions
c) The "finance" group lost read, write, and execute
permissions.
d) The user, "Admin" lost read, write, and execute permissions.
- ANSWER ->D
The command for modifying file or directory ownership is the
command.
a) chgrp
b) chown
c) chmod
d) chdir - ANSWER ->B
In UNIX everything is managed as a .
A) Folder
, B) Directory
C) File
D) A & B
E) None of the above - ANSWER ->C
How would one give a GROUP permissions to read and execute
a file, but not write to it?
A) chmod g+rx filename
B) chmod g=rx filename
C) chmod 050 filename
D) chmod u=rx filename
E) chmod 750 filename - ANSWER ->B
The Group memberships granted at login time consists of which
file(s)?
a. /etc/group
b. /etc/passwd
c. /etc/ hosts
d. Both A and C
e. Both A and B - ANSWER ->B
What would the permission bits be for a permission set of: 764
a. rwxr-xr--
b. rwxr-xrw-
c. r-xrw-r--