Demo CompTIA XK0-004 Exam Questions

Demo practice questions for guest users.

Section: Practice Mode 5 Questions
Demo Practice
Question 1

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.

Correct Answer: A
Question 2

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.

Correct Answer: A
Question 3

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


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.

Demo Practice Mode

You are viewing only the questions marked as Demo.

BACK TO EXAM