Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 4 fuera de 130 páginas
Examen

CompTIA Linux+ XK0-004 Actual Exam Questions and Answers 2026 Guide

Document preview thumbnail
Vista previa 4 fuera de 130 páginas

CompTIA Linux+ XK0-004 Actual Exam Questions and Answers 2026 Guide

Vista previa del contenido

CompTIA Linux+ XK0-004 Actual Exam
Questions and Answers 2026 Guide
1. A server is almost out of free memory and is becom- A
ing unresponsive. Which of the following sets of com-
mands will BEST mitigate the issue?

A) fdisk, mkswap, swapon -a
B) Isof, Ivcreate, mdadm
C) free, fack, partprobe
D) df, du, rmmod

2. A Linux administrator retrieved a repository of files D
from a Git server using git clone. The administra-
tor wants to see if a configuration file was added to
the repository. Which of the following Git arguments
should be used to see the recent modifications?

A) pull
B) init
C) fetch
D) log

3. An administrator is tasked with increasing the size of C
the volume /dev/vg/lv to 20GB. Which of the following
BEST illustrates the steps the administrator should
take?

A) vgextend ""L20G /dev/vg/lv; resizelv /dev/vg/lv
B) mkfs ""L20G /dev/vg/lv; tune2fs /dev/vg/lv
C) Ivextend ""L20G /dev/vg/lv; resize2fs /dev/vg/lv
D) parted ""L20G /dev/vg/lv; remount /dev/vg/lv

4. A storage administrator in a virtualized environment C
has been told by a user that there is no space left
on the volume to which the user can write. However,


, CompTIA Linux+ XK0-004 Actual Exam
Questions and Answers 2026 Guide
a check reveals that there is 20GB of unused space.
Which of the following explains the discrepancy?

A) The drive space is overallocated
B) The drive is thick provision eager zeroed
C) The drive is thin provisioned
D) The drive is not formatted

5. An operator finds a user is having issues with opening B
certain files.
Which of the following commands would allow the
security administrator to list and check the SELinux
context?

A) ls -1
B) ls ""Z
C) ls ""D

6. In which of the following Linux GUI environments A
would the Konsole application MOST likely be found?

A) KDE
B) Cinnamon
C) MATE
D) Gnome
E) Unity

7. All users are reporting that they cannot connect to the C
SFTP server. The administrator runs a scan:

starting nmap 4.11 at 2018-06-16 EST
not shown: 1456 closed ports




, CompTIA Linux+ XK0-004 Actual Exam
Questions and Answers 2026 Guide
PORT STATE SERVICE
53/tcp open dns
80/tcp open http
957/tcp open unknown

MAC Address 08:00:00:00:00:00 ( computer systems )
nmap finished = 1 ip address ( 1 host up ) scanned in
1.497 seconds
You have mail in /var/spool/mail/root

Which of the following would allow the administrator
to fix the problem?

A) Allow SFTP connections on port 20 and 21 using
/etc/sysconfig/iptables.
B) Allow SFTP connections on port 25 using
/etc/sysconfig/iptables
C) Allow SFTP connections on port 22 using
/etc/sysconfig/iptables.
D) Allow SFTP connections on port 1456 using
/etc/sysconfig/iptables.

8. A junior administrator is configuring local name B
lookups for fully qualified domain names in an isolat-
ed environment. The administrator is given a checklist
and must accomplish the following tasks:

- Add localhost with loopback address.
- Add 192.168.192.12/24 to resolve to data-
base01.comptia.org

Given this scenario, which of the following steps
should the administrator perform to accomplish these


, CompTIA Linux+ XK0-004 Actual Exam
Questions and Answers 2026 Guide
tasks?

A) Open the /etc/nsswitch.conf file with a file edi-
tor and add the following lines: 127.0.0.1 localhost
192.168.192.12 database01.comptia.org
B) Open the /etc/hosts file with a file editor and add
the following lines: 127.0.0.1 localhost 192.168.192.12
database01.comptia.org
C) Open the /etc/network file with a file editor and add
the following lines: 127.0.0.1 localhost 192.168.192.12
database01.comptia.org
D) Open the /etc/dhcpd.conf file with a file edi-
tor and add the following lines: 127.0.0.1 localhost
192.168.192.12 database01.comptia.org

9. The development team has automated their software C
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 opera-
tions 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?

A) To ensure the build commits are also deployed to
the test environment
B) To enable notifications when builds are deployed to
the test environment
C) To streamline the deployment process for deploy-
ing builds into test environments
D) To ensure software builds in test are not accidental-
ly deployed to production

Información del documento

Subido en
15 de mayo de 2026
Número de páginas
130
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$19.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Schopenhauer
4.7
(9)
Vendido
37
Seguidores
0
Artículos
3501
Última venta
1 semana hace


Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes