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
A systems administrator wants to review the amount of time the NetworkManager service took to start. Which of the following commands accomplishes this goal?
Options
A resolvectl
B journalctl
C systemctl daemon-reload
D systemd-analyze blame
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
A systems administrator needs to check the statuses of all the services on a Linux server. Which of the following commands accomplishes this task?
Options
A systemctl is-enabled --services
B systemctl list-units --type=services
C systemctl list-sockets --type=services
D systemctl is-active --services
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
To perform a live migration, which of the following must match on both host servers? (Choose two)
Select 2
Options
A Available swap
B Available memory
C Disk storage path
D CPU architecture
E Network speed
F USB ports
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
A Linux administrator is making changes to local files that are part of a Git repository. The administrator needs to retrieve changes from the remote Git repository. Which of the following commands should the administrator use to save the local modifications for later review?
Options
A git merge
B git stash
C git fetch
D git pull
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.