CompTIA Linux+ XK0-005 Certification |\ |\ |\ |\
Practice Exam with answers |\ |\ |\
Which hwclock option sets the system time to the current
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
hardware clock time? - CORRECT ANSWERS ✔✔hwclock -s
|\ |\ |\ |\ |\ |\ |\
Which of the following are the MOST effective tasks you
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
can perform when trying to resolve a file access issues?
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
(Select two.) - CORRECT ANSWERS ✔✔Check the standard
|\ |\ |\ |\ |\ |\ |\
permission system
|\ |\
Check the ACL list for the file|\ |\ |\ |\ |\ |\
Which of the following statements BEST describes the nl -
|\ |\ |\ |\ |\ |\ |\ |\ |\
s ": " myfile command? - CORRECT ANSWERS ✔✔nl adds
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
the number, a colon, and a space to the front of each line
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
in the file.
|\ |\
Which of the following commands finds all of the files on
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
the system that have either blue or gold in their names? -
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
CORRECT ANSWERS ✔✔find / -name '*blue*' -o -name
|\ |\ |\ |\ |\ |\ |\
'*gold*'
|\
,The following are the permissions currently assigned to
|\ |\ |\ |\ |\ |\ |\ |\
the customer_list file:
|\ |\
-rwxr-xr-x 1 mfoote finance 8045 July 24 2022
|\ |\ |\ |\ |\ |\ |\ |\
customer_list
You want to add the write permission for the finance
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
group and remove all permissions for others.
|\ |\ |\ |\ |\ |\
Which of the following commands would accomplish this
|\ |\ |\ |\ |\ |\ |\ |\
task? - CORRECT ANSWERS ✔✔chmod g+w,o-r,o-x
|\ |\ |\ |\ |\ |\
customer_list
You've recently discovered that your Linux operating
|\ |\ |\ |\ |\ |\ |\
system cannot find your hardware RAID array.
|\ |\ |\ |\ |\ |\
You've tried installing the latest driver for the RAID board,
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
but the operating system still cannot find the RAID array.
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
You decide that the issue is caused by a failed RAID
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
controller board. |\
From the list below, drag and drop the steps (in order) for
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
fixing the failed RAID controller board. - CORRECT
|\ |\ |\ |\ |\ |\ |\ |\
ANSWERS ✔✔Install a new RAID controller board |\ |\ |\ |\ |\ |\
, Rebuild the array |\ |\
Restore the data from backup |\ |\ |\ |\
You need to block all users from logging in to the Linux
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
system while you resolve a serious issue. You first need to
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
force all active users to log out.
|\ |\ |\ |\ |\ |\ |\
Which command should you enter to display a list of all
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
active users? - CORRECT ANSWERS ✔✔w
|\ |\ |\ |\ |\
Which of the following is a reference for publicly known
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
security vulnerabilities maintained by the US
|\ |\ |\ |\ |\ |\
government? - CORRECT ANSWERS ✔✔CVE |\ |\ |\ |\
You want to rename the /home/kcole/documents directory
|\ |\ |\ |\ |\ |\
to /home/kcole/personal.
|\ |\
What command would you enter to perform this task? -
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
CORRECT ANSWERS ✔✔mv /home/kcole/documents |\ |\ |\
/home/kcole/personal
|\
The unit section of a systemd unit file contains directives
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
that provide an overview of the unit.
|\ |\ |\ |\ |\ |\
Practice Exam with answers |\ |\ |\
Which hwclock option sets the system time to the current
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
hardware clock time? - CORRECT ANSWERS ✔✔hwclock -s
|\ |\ |\ |\ |\ |\ |\
Which of the following are the MOST effective tasks you
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
can perform when trying to resolve a file access issues?
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
(Select two.) - CORRECT ANSWERS ✔✔Check the standard
|\ |\ |\ |\ |\ |\ |\
permission system
|\ |\
Check the ACL list for the file|\ |\ |\ |\ |\ |\
Which of the following statements BEST describes the nl -
|\ |\ |\ |\ |\ |\ |\ |\ |\
s ": " myfile command? - CORRECT ANSWERS ✔✔nl adds
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
the number, a colon, and a space to the front of each line
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
in the file.
|\ |\
Which of the following commands finds all of the files on
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
the system that have either blue or gold in their names? -
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
CORRECT ANSWERS ✔✔find / -name '*blue*' -o -name
|\ |\ |\ |\ |\ |\ |\
'*gold*'
|\
,The following are the permissions currently assigned to
|\ |\ |\ |\ |\ |\ |\ |\
the customer_list file:
|\ |\
-rwxr-xr-x 1 mfoote finance 8045 July 24 2022
|\ |\ |\ |\ |\ |\ |\ |\
customer_list
You want to add the write permission for the finance
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
group and remove all permissions for others.
|\ |\ |\ |\ |\ |\
Which of the following commands would accomplish this
|\ |\ |\ |\ |\ |\ |\ |\
task? - CORRECT ANSWERS ✔✔chmod g+w,o-r,o-x
|\ |\ |\ |\ |\ |\
customer_list
You've recently discovered that your Linux operating
|\ |\ |\ |\ |\ |\ |\
system cannot find your hardware RAID array.
|\ |\ |\ |\ |\ |\
You've tried installing the latest driver for the RAID board,
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
but the operating system still cannot find the RAID array.
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
You decide that the issue is caused by a failed RAID
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
controller board. |\
From the list below, drag and drop the steps (in order) for
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
fixing the failed RAID controller board. - CORRECT
|\ |\ |\ |\ |\ |\ |\ |\
ANSWERS ✔✔Install a new RAID controller board |\ |\ |\ |\ |\ |\
, Rebuild the array |\ |\
Restore the data from backup |\ |\ |\ |\
You need to block all users from logging in to the Linux
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
system while you resolve a serious issue. You first need to
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
force all active users to log out.
|\ |\ |\ |\ |\ |\ |\
Which command should you enter to display a list of all
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
active users? - CORRECT ANSWERS ✔✔w
|\ |\ |\ |\ |\
Which of the following is a reference for publicly known
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
security vulnerabilities maintained by the US
|\ |\ |\ |\ |\ |\
government? - CORRECT ANSWERS ✔✔CVE |\ |\ |\ |\
You want to rename the /home/kcole/documents directory
|\ |\ |\ |\ |\ |\
to /home/kcole/personal.
|\ |\
What command would you enter to perform this task? -
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
CORRECT ANSWERS ✔✔mv /home/kcole/documents |\ |\ |\
/home/kcole/personal
|\
The unit section of a systemd unit file contains directives
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
that provide an overview of the unit.
|\ |\ |\ |\ |\ |\