Download CompTIA Linux+.realtests.XK0-004.2019-10-11.1e.37q.vcex

Download Exam

File Info

Exam CompTIA Linux+
Number XK0-004
File Name CompTIA Linux+.realtests.XK0-004.2019-10-11.1e.37q.vcex
Size 351 Kb
Posted October 11, 2019
Downloads 37

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.


With discount: 20%


Demo Questions

Question 1
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

Question 2
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.

Question 3
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.

Question 4
An administrator receives a warning about a file system filling up, and then identifies a large file located at /tmp/largelogfile. The administrator deletes the file, but no space is recovered on the file system. 
Which of the following commands would BEST assists the administrator in identifying the problem? 

  • A: lsof  | grep largelogfile
  • B: pkill /tmp/largelogfile
  • C: pgrep largelogfile
  • D: ps –ef  | grep largelogfile

Question 5
After starting a long-running script, a systems administrator needs to verify the frequency of what is filling up the /var partition and kill it because it is consuming too much space. 
Which of the following is the correct sequence given only a terminal is available? 

  • A: 1. CTRL-C
    2. bg
    3. watch df /var
    4. CTRL-C
    5. fg
    6. CTRL-Z
  • B: 1. CTRL-C
    2. fg
    3. watch df /var
    4. CTRL-Z
    5. bg
    6. CTRL-Z
  • C: 1. CTRL-Z
    2. bg
    3. watch df /var
    4. CTRL-C
    5. fg
    6. CTRL-C
  • D: 1. CTRL-Z
    2. bg
    3. watch df /var
    4. CTRL-Z
    5. fg
    6. CTRL-C

Question 6
A Linux server has multiple IPs. A Linux administrator needs to verify if the HTTP server port is bound to the correct IP.  
Which of the following commands would BEST accomplish this task? 

  • A: route
  • B: host
  • C: nslookup
  • D: netstat
  • E: ip

Question 7
A Linux administrator needs to remotely update the contents of the URL. 
Which of the following commands would allow the administrator to download the current contents of the URL before updating? 

  • A: curl
  • B: dig
  • C: apt-get
  • D: yum list

Question 8
A networked has been crashing intermittently. A Linux administrator would like to write a shell script that will attempt to ping the server and email an alert if the server fails to respond. The script will later be scheduled via cron job. 
Which of the following scripts would BEST accomplish this task?

  • A:
  • B:
  • C:
  • D:
  • E:

Question 9
A Linux administrator needs to switch from text mode to GUI. Which of the following runlevels will start the GUI by default?

  • A: Runlevel 3
  • B: Runlevel 4
  • C: Runlevel 5
  • D: Runlevel 6

Question 10
A junior systems is configuring localization option environment variables. The administrator is given a checklist of tasks with the following requirements:
View current settings of the LC_ALL environment variable only. 
Modify the LANG environment variable to US English Unicode. 
Given this scenario, which of the following should be performed to meet these requirements? (Choose two.) 

  • A: echo $LC_ALL
  • B: locale
  • C: cat $LC_ALL
  • D: export LANG = en_US.UTF-8
  • E: export $LANG = en_US.UTF
  • F: stty



You can buy ProfExam with a 20% discount..

Get Now!


Use ProfExam Simulator to open VCEX and EXAM files
ProfExam Screen


Use VCE Exam Simulator to open VCE files