C Certs Club
Home
Oracle SAP Microsoft Cisco CompTIA Fortinet Salesforce Nutanix Linux Foundation Amazon View All Vendors →
Login Register

CompTIA XK0-004 - CompTIA Linux+ (Plus) Certification Exam

Download Exam View Entire Exam
Page: 1 / 1
Question #1 (Topic: demo questions)

DRAG DROP
The lead Linux 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.

A.


Correct Answer: A
Explanation not available for this question.
Question #2 (Topic: demo questions)

A junior system administrator had trouble installing and running an Apache web server on a Linux
server. You have been tasked with installing the Apache web server on the Linux server and
resolving the issue that prevented the junior administrator from running Apache.
INSTRUCTIONS
Install Apache and start the service. Verify that the Apache service is running with the defaults.
Typing “help” in the terminal will show a list of relevant commands.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All
button.

A.


Correct Answer: A
Explanation not available for this question.
Question #3 (Topic: demo questions)

Which of the following is the BEST reason for not storing database files in the /var directory?


A.
The /var filesystem is not fast enough for database files.


B.
The number of files in /var is limited by the available inodes.


C.
Files in /var do not have strict file permissions.

D.
If log files fill up /var, it might corrupt the database.
Correct Answer: D
Explanation:
The best answer is D. If log files fill up /var, it might corrupt the database. The /var directory is used for variable data such as log files, cache files, and application data, which can grow unexpectedly over time. If log files consume all available space in the /var filesystem, a database stored there may be unable to write new data or complete transactions properly. This can lead to database errors, service interruptions, or even data corruption. Therefore, databases are often placed on a separate filesystem or partition to protect them from space-related issues caused by other applications.
Question #4 (Topic: demo questions)

Atechnical support engineer receives a ticket from a user who is trying to create a 1KB file in the
/tmp directory and is getting the following error No space left on device. The support engineer
checks the /tmp directory, and it has 20GB of free space.
Which of the following BEST describes a possible cause for this error?


A.
The /tmp directory is not mounted.


B.
B. The filesystem is formatted with a 4MB block size.


C.
the files ystem ran out of inodes.


D.
The /tmp directory has been set with an immutable attribute.
Correct Answer: C
Explanation:
Even though the /tmp directory has 20GB of free disk space, creating a new file also requires a free inode, which stores metadata about files. If all available inodes have been used, the system cannot create any additional files and will return the error "No space left on device" despite having plenty of free storage space. This situation commonly occurs when a filesystem contains a very large number of small files. Therefore, the most likely cause of the error is that the filesystem has exhausted its available inodes, making Option C the best answer.
Question #5 (Topic: demo questions)

Which of the following would be the BEST solution for a systems administrator to access the
graphical user environment of a Linux machine remotely?


A.
VNC
B.
KDE
C.
X11

D.
RPC
Correct Answer: A
Explanation:

The correct answer is A. VNC. Virtual Network Computing (VNC) is a remote desktop protocol that allows a systems administrator to access and control the graphical user interface (GUI) of a Linux machine from another computer over a network. It transmits keyboard, mouse, and screen data, enabling full remote administration as if the administrator were physically present at the machine. KDE is a desktop environment, not a remote access solution; X11 is a windowing system that provides graphical capabilities but is not primarily designed for complete remote desktop access; and RPC (Remote Procedure Call) is a protocol for executing functions on remote systems rather than accessing a graphical desktop. Therefore, VNC is the best solution for remotely accessing a Linux GUI environment.
Download Exam
Page: 1 / 1
Next Page