CompTIA XK0-004 - CompTIA Linux+ Exam

Page:    1 / 74   
Total 368 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


Answer : A

Reference:
https://www.sfu.ca/computing/about/support/tips/remote-to-linux-with-gui.html

A technical 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. The filesystem is formatted with a 4MB block size.
  • C. the filesystem ran out of inodes.
  • D. The /tmp directory has been set with an immutable attribute.


Answer : C

Reference:
https://www.maketecheasier.com/fix-linux-no-space-left-on-device-error/

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.


Answer : D

SIMULATION -
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.

CentOS Command Prompt -




Answer : See explanation below

Explanation:



DRAG DROP -
The lead Linux admin 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.
Select and Place:




Answer :

Reference:
https://www.rootusers.com/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk/

Page:    1 / 74   
Total 368 questions