Linux+ (v6) Practice Questions
Prepare for XK0-004 with more than an answer.
Unlock the full exam and previous versions
- v1CompTIA Linux+ V8 161 questions Locked
- XK0-004Legacy CompTIA Linux+ (v6) 218 questions Current
- XK0-005Legacy CompTIA Linux+ (v7) 279 questions Locked
- Exam fee
- $358 USD
- Level
- Intermediate
- Valid for
- 3 years
Domains covered on the exam 5
- Hardware and System Configuration21%
- Systems Operation and Maintenance26%
- Security19%
- Linux Troubleshooting and Diagnostics20%
- Automation and Scripting14%
- 1
Which of the following will provide a list ofall flash, external, internal, and SSD drives?
Show answer details
Correct answer: C
- 2
A systems administrator configured a new kernel module, but it stopped working after reboot.
Which of the following will allow the systems administrator to check for module problems during server startup?
Show answer details
Correct answer: C
Reference: https://access.redhat.eom/documentation/en-us/red hat enterprise linux/6/html/deployment guide/sec-displaying information about a module
- 3
A junior Linux administrator needs to access production servers using a secure SSH protocol.
Which of the following files should contain the public key to gain remote access to the server?
Show answer details
Correct answer: D
- 4
Two specific users need access to a directory owned by root where backups are located.
Which of the following commands would BEST ensure the specified users can access the backup files?
Show answer details
Correct answer: D
D
- 5
A Linux administrator needs to schedule a cron job to run at 1:15 p.m. every Friday to reportthe amount offree disk space on the system and to send the output to a file named “freespace.
Which of the following would meet this requirement?
Show answer details
Correct answer: A
A
- 6
The lead Linux admin has added a disk, /dev/sdd, to a VM that is running out of disk space. Place the following steps in the correct order from first (1)to last (4) to add the disk to the existing LVM

Show answer details
Correct answer: A
- 7
Joe, a user, is unable to log in to the server and contracts the systems administrator to look into the issue. The administrator examines the /etc/passwd file and discovers the following entry:joe:x:505:505::/home/joe:/bin/falseWhich of the following commands should the administrator execute to resolve the problem?
Show answer details
Correct answer: A
A
- 8
The development team has automated their software build process so each time a change is submitted to the source code repository, a new software build is compiled. They are requesting that the Linux operations team look into automating the deployment of the software build into the test environment.
Which of the following is the benefit to the development team for implementing deployment automation?
Show answer details
Correct answer: D
D
- 9
A corporate server security policy states, “Ensure password hashes are not readable by non-administrative users. The administrator should check the permissions on which of the following files to ensure the server satisfies this policy?
Show answer details
Correct answer: B
B

