Official Bank 0/149

CompTIA Linux+ v8 (XK0-006) - CompTIA Exam Questions

Last updated on June 20, 2026

97% Exam Compliance
149 Total Questions
1
Question
Which of the following commands can be used to display real-time running processes on a Linux system?
Options
A ps
B top
C df
D free
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
After receiving a monitoring call, an administrator checks the Linux server for processes that have completed execution but have not been removed yet from the process table. Which of the following represents the process state for which the administrator should search?
Options
A S
B T
C D
D Z
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
A systems administrator is restoring data from a backup. While analyzing the file format, the administrator sees the following output: data: 7-zip archive data, version 0.4

Which of the following commands should the administrator use to help extract the data?
Options
A zcat -S 7 data
B tar x --lzip --format=v7 data
C unzip -np 7 data
D 7za e data
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
A systems administrator is having issues with a third-party API endpoint. The administrator receives

Exhibit

Which of the following actions should the administrator take to resolve the issue? the following output:
Options
A Review and fix the DNS client configuration file.
B Open a secure port in the server's firewall.
C Enable internet connectivity on the host.
D Request a new API endpoint from a third party.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
An administrator receives a report that a user is unable to execute the runreports utility. The administrator logs in as the user, runs the following commands, and receives the following output:
$ runreports
runreports: command not found
$ ls -l /usr/local/bin

-rwxr-xr-x 1 root root 29 May 10 11:31 runreports
$ echo $PATH
/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

Which of the following best describes the issue and how to resolve it?
Options
A The user does not have the correct SELinux context. The administrator should modify the SELinux template.
B The runreports utility is not in the user's path. The administrator should modify the .bash_profile file.
C The runreports utility does not have execute permissions. The administrator should add execute permissions.
D The runreports utility is a shell script but not owned by the user. The administrator should use chown.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.