Free XK0-005: CompTIA Linux Exam Questions and Answers
CompTIA Linux is exam XK0-005, part of the CompTIA certification programme. CompTIA exam codes carry a family prefix and a version number — SY0- for Security+, N10- for Network+, CS0- for CySA+, 220- for A+ — and most Plus-series exams allow 90 minutes for up to 90 questions, mixing multiple choice with performance-based items in a simulated environment.
Candidates comparing XK0-005 exam dumps, ExamTopics and other XK0-005 practice tests use this page for the answers and explanations behind each question. Download the free XK0-005 PDF, then sit the timed XK0-005 exam simulation before booking with CompTIA.
Last updated: September 26, 2026
- Exam code
- XK0-005
- Provider
- CompTIA
- Questions in our bank
- 1000+
- Free to read
- First 10, with answers
- Official page
- Official Exam website
- Our test mode duration & pass mark
- 130 mins · 70%
Recommended: Switch to Test Mode to start a practice test that simulates the real exam experience.
Question #3
The administrator comptia is not able to perform privileged functions on a newly deployed system. Given the following command outputs: Which of the following is the reason that the administrator is unable to perform the assigned duties?

Correct answer: B
Explanation
The reason that the administrator is unable to perform the assigned duties is because the administrator is not a part of the correct group. This is option B. Based on the image that you sent, I can see that the user comptia has a user ID and a group ID of 1000, and belongs to only one group, which is also comptia. However, the sudoers file, which defines the permissions for users to run commands as root or other users, does not include the comptia group in any of the entries. Therefore, the user comptia cannot use sudo to perform privileged functions on the system. The other options are incorrect because: * A. The administrator needs a password reset. This is not true, because the password aging information for the user comptia shows that the password was last changed on Oct 24, 2023, and it does not expire until Jan 22, 2024. There is no indication that the password is locked or expired. * C. The administrator did not update the sudo database. This is not necessary, because the sudo database is automatically updated whenever the sudoers file is modified. There is no separate command to update the sudo database. * D. The administrator’s credentials need to be more complex. This is not relevant, because the complexity of the credentials does not affect the ability to use sudo. The sudoers file does not specify any password policy for the users or groups that are allowed to use sudo.
Continue with XK0-005: CompTIA Linux
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in XK0-005: CompTIA Linux, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Discussion
Explain your reasoning, not just the letterBrowse the free questions by topic
More XK0-005 questions
- Question 1A Linux administrator intends to start using KVM on a Linux server. Which of the following commands will allow the…
- Question 2A systems administrator wants to back up the directory /data and all its contents to /backup/data on a remote server…
- Question 4The application team has reported latency issues that are causing the application to crash on the Linux server. The…
- Question 5A Linux administrator is troubleshooting a memory-related issue. Based on the output of the commands: Which of the…
- Question 6A cloud engineer is installing packages during VM provisioning. Which of the following should the engineer use to…
Other CompTIA certifications
- SK0-004: CompTIA Server (opens in a new tab)
- SY0-701: CompTIA Security 2023 (opens in a new tab)
- N10-008: CompTIA Network (opens in a new tab)
- CS0-002: CompTIA CySA Certification Exam (CS0-002) (opens in a new tab)
- SY0-601: CompTIA Security 2021 (opens in a new tab)
- N10-009: CompTIA Network+ Exam (opens in a new tab)
Reviews
Write a review★★★★★
Exam Practice is worth every penny. The mock exams are realistic, and the feedback helped me focus on key areas.
Amit SharmaVerified buyer
★★★★★
I highly recommend Exam Practice. The feedback after each test helped me improve significantly, and I passed my exams easily.
Oscar NyströmVerified buyer
★★★★★
This platform is a lifesaver. The practice questions and explanations are so detailed. It’s the best study tool I’ve ever used.
Hannah SmithVerified buyer
FAQ
Learn More: https://www.comptia.org/certifications
- Q1: Is the CompTIA Linux+ XK0-005 exam still available?
- A: No. The English version of XK0-005 retired on 13 January 2026 and the Japanese, Portuguese and Spanish versions retired on 14 April 2026. It was replaced by Linux+ XK0-006, which launched on 15 July 2025.
- Q2: How many questions were on the XK0-005 exam and how long was it?
- A: The real exam had a maximum of 90 multiple-choice and performance-based questions and a 90-minute time limit.
- Q3: What was the passing score for Linux+ XK0-005?
- A: A score of 720 on a scale of 100 to 900 was required to pass.
- Q4: What domains did XK0-005 cover and how were they weighted?
- A: The exam had four domains: System Management 32%, Security 21%, Scripting, Containers and Automation 19%, and Troubleshooting 28%.
- Q5: How much did the XK0-005 exam cost?
- A: CompTIA's published US price was US$369 per exam as of February 2024.
- Q6: What experience was recommended before taking XK0-005?
- A: CompTIA recommended 12 months of hands-on experience working with Linux servers, plus CompTIA A+, Network+ and Server+ or equivalent knowledge. There were no mandatory prerequisites.
- Q7: In which languages was XK0-005 offered and how was it delivered?
- A: The exam launched on 12 July 2022 and was offered in English, Japanese, Portuguese and Spanish at Pearson VUE test centers or through online testing.
- Q8: How does the newer XK0-006 exam differ from XK0-005?
- A: XK0-006 keeps the 90-question, 90-minute format and the 720 passing score but is offered in English only and uses five domains: System Management 23%, Services and User Management 20%, Security 18%, Automation, Orchestration and Scripting 17%, and Troubleshooting 22%.
- Q9: What is the XK0-005: CompTIA Linux exam?
- A: XK0-005: CompTIA Linux is a CompTIA certification exam. Judging by the questions in our bank, it concentrates on commands, linux, accomplish, script and directory.
- Q10: What topics does the XK0-005: CompTIA Linux exam cover?
- A: Questions in our XK0-005: CompTIA Linux bank cluster around commands, linux, accomplish, script, directory, repository, forwarder and engineer. Working through the full set is the quickest way to find which of these you are weakest on.
- Q11: How should I prepare for XK0-005: CompTIA Linux?
- A: Work through the XK0-005: CompTIA Linux practice questions here, checking your answer on each one, then sit the practice test to rehearse the exam under timed conditions before the real thing.
- Q12: Are these real XK0-005: CompTIA Linux exam questions?
- A: They are drawn from officially released past questions and from community members who have sat XK0-005: CompTIA Linux. Answers are verified and updated weekly.
- Q13: Where do I register for the XK0-005: CompTIA Linux exam?
- A: Register through CompTIA directly at https://www.comptia.org/certifications. Exampractice is not affiliated with CompTIA and does not administer the exam.
- Q14: Is there a free XK0-005: CompTIA Linux sample?
- A: Yes. Every XK0-005: CompTIA Linux page shows a free sample of real questions. Upgrading opens the full bank and the practice test.
- Q15: What are CompTIA Certification Exams?
- A: CompTIA Certification Exams validate your expertise in various IT disciplines, including networking, security, cloud computing, and IT support. These certifications demonstrate your proficiency in applying best practices and industry standards to manage and troubleshoot IT environments.
- Q16: Why should I pursue CompTIA Certification?
- A: CompTIA Certification enhances your professional credibility, showcasing your skills and knowledge in essential IT areas. This can lead to better job opportunities, higher salaries, and career advancement in IT support, networking, cybersecurity, and cloud computing fields.
- Q17: What are the benefits of CompTIA Certification?
- A: Benefits include recognition as a certified IT professional, improved job performance, access to exclusive resources, continuing education opportunities, and staying current with the latest IT industry trends and best practices.
- Q18: Who should take CompTIA Certification Exams?
- A: IT professionals, network administrators, cybersecurity experts, cloud engineers, and anyone involved in managing and supporting IT infrastructure should consider these certifications to validate their expertise and advance their careers.
- Q19: What types of CompTIA Certification Exams are available?
- A: CompTIA offers various certification paths, including:
- Q20: How do I prepare for CompTIA Certification Exams?
- A: Preparation can include official CompTIA training courses, study guides, practice exams, online tutorials, and hands-on experience in relevant IT disciplines.
- Q21: Where can I take CompTIA Certification Exams?
- A: CompTIA Certification Exams can be taken at authorized Pearson VUE testing centers worldwide or online, providing flexibility to fit your schedule and location.
- Q22: How do CompTIA Certifications impact my career?
- A: CompTIA Certifications significantly boost your career by demonstrating your expertise to employers, making you a more competitive candidate for advanced roles and promotions in IT support, networking, cybersecurity, and cloud computing.
- Q23: Are there any prerequisites for CompTIA Certification Exams?
- A: Some exams may have prerequisites, such as foundational knowledge or prior certifications. Check the specific requirements for each certification path on the CompTIA website.
- Q24: How often do I need to recertify for CompTIA Certifications?
- A: CompTIA Certifications typically require recertification every three years to ensure that certified professionals stay updated with the latest IT technologies and industry practices.



