CompTIA Linux+ Certification - (XK0-005) Logo
CompTIA Logo

CompTIA Linux+ Certification - (XK0-005) Exam Questions

1669

Total Questions

SEP
2025

Last Updated

1st

1st Try Guaranteed

Expert Verified

Experts Verified

Question 11 Single Choice

Bandile is a network administrator who wants to test network response by sending two pings via IPv6. Which command should he use?

Question 12 Multiple Choice

Yosef wants to see a list of all running processes on his Linux system, not just those associated with his current shell session. Which options can he use with the `ps` command to do this? (Choose two.)

Question 13 Single Choice

The value of `umask` on the Linux system is set to `0023`. Arran creates a new file named `carparts.odt`. What is this file’s permission after he creates it?

Question 14 Single Choice

Sofia is a Linux administrator who manages user accounts for an organization that employs summer interns. Several users who are students have recently returned to college and their accounts need to be disabled. Which command should she use to lock their accounts?

Question 15 Single Choice

Janine is a Linux administrator tasked with updating the password expiration dates in the `/etc/shadow` file. Which command can she run to accomplish this?

Question 16 Single Choice

Skye is a Linux administrator working with Mandatory Access Control. She wants to determine if her Linux system is using MAC. Which command lets her know if MAC is enabled?

Question 17 Multiple Choice

You have created the function `readinput` as a local shell on the command line. What must you do to have the same function available in child processes (shells) created by the current user? (Choose two.)

Question 18 Multiple Choice

To change all password aging parameters for a user, which of the following commands could you use? (Choose two.)

Question 19 Single Choice

To create a user quota database for the filesystem pointed to by `/home`, you must first create the file `aquota.user` in the top directory of the filesystem. What set of file permissions is required for the file `aquota.user`?

Question 20 Multiple Choice

`user1` is a member of the group that owns `filea`. The current permissions on `filea` are `600`. Which of the following commands allow `user1` to copy `filea`? (Do not add or make any other permission modifications than those necessary to apply read permissions for `user1`.) (Choose two.)
Page: 2 / 167