CompTIA XK0-005 Exam (page: 4)
CompTIA Linux+
Updated on: 25-Dec-2025

Viewing Page 4 of 61

A Linux administrator recently downloaded a software package that is currently in a compressed file. Which of the following commands will extract the files?

  1. unzip -v
  2. bzip2 -z
  3. gzip
  4. funzip

Answer(s): D



A Linux administrator is troubleshooting SSH connection issues from one of the workstations.

When users attempt to log in from the workstation to a server with the IP address 104.21.75.76, they receive the following message:



The administrator reviews the information below:





Which of the following is causing the connectivity issue?

  1. The workstation has the wrong IP settings.
  2. The sshd service is disabled.
  3. The server's firewall is preventing connections from being made.
  4. The server has an incorrect default gateway configuration.

Answer(s): C



Which of the following files holds the system configuration for journal when running systemd?

  1. /etc/systemd/journald.conf
  2. /etc/systemd/systemd-journalctl.conf
  3. /usr/lib/systemd/journalctl.conf
  4. /etc/systemd/systemd-journald.conf

Answer(s): A



A Linux administrator is tasked with creating resources using containerization. When deciding how to create this type of deployment, the administrator identifies some key features, including portability, high availability, and scalability in production. Which of the following should the Linux administrator choose for the new design?

  1. Docker
  2. On-premises systems
  3. Cloud-based systems
  4. Kubernetes

Answer(s): D



Which of the following tools is commonly used for creating CI/CD pipelines?

  1. Chef
  2. Puppet
  3. Jenkins
  4. Ansible

Answer(s): C



A systems administrator requires that all files that are created by the user named web have read-only permissions by the owner. Which of the following commands will satisfy this requirement?

  1. chown web:web /home/web
  2. chmod -R 400 /home/web
  3. echo "umask 377" >> /home/web/.bashrc
  4. setfacl read /home/web

Answer(s): C



A systems administrator is tasked with preventing logins from accounts other than root, while the file /etc/ nologin exists. Which of the following PAM modules will accomplish this task?

  1. pam_login.so
  2. pam_access.so
  3. pam_logindef.so
  4. pam_nologin.so

Answer(s): D



A systems administrator has been tasked with disabling the nginx service from the environment to prevent it from being automatically and manually started. Which of the following commands will accomplish this task?

  1. systemctl cancel nginx
  2. systemctl disable nginx
  3. systemctl mask nginx
  4. systemctl stop nginx

Answer(s): C



Viewing Page 4 of 61



Share your comments for CompTIA XK0-005 exam with other users:

soheib 7/24/2023 7:05:00 PM

question: 78 the right answer i think is d not a
Anonymous