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
Following the completion of monthly server patching, a Linux administrator receives reports that a critical application is not functioning. Which of the following commands should help the administrator determine which packages were installed?
Options
A dnf info
B dnf history
C dnf search
D dnf list
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
A systems administrator troubleshoots a connectivity issue and needs to determine whether port 449 is open locally. Which of the following commands should the administrator use?
Options
A ss -an | grep 449
B dig localhost:449
C tracepath localhost 449
D ip link 449
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
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!

4
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!

5
Question
A systems administrator is decommissioning a service. Which of the following commands should the administrator use to make sure users cannot start the service again?
Options
A systemctl disable service
B systemctl kill service
C systemctl isolate service
D systemctl mask service
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.