Download Programming in C#.testkings.XK0-004.2020-04-14.1e.56q.vcex

Download Exam

File Info

Exam CompTIA Linux+
Number XK0-004
File Name Programming in C#.testkings.XK0-004.2020-04-14.1e.56q.vcex
Size 403 Kb
Posted April 14, 2020
Downloads 2

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 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 2
A systems administrator needs to append output of ls –lha /opt command to the contents of a test.txt file. Which of the following commands will accomplish this? 

  • A: ls –lha /opt > test.txt
  • B: ls –lha /opt < test.txt
  • C: ls –lha /opt >> test.txt
  • D: ls –lha /opt << test.txt

Question 3
Which of the following BEST describes containers running on a Linux system?

  • A: Containers only need the namespaces functionality to run on a Linux system available since kernel 2.6.
  • B: Containers need a hypervisor to run on a Linux system. Cgroups namespaces are functionalities used for the kernel but not for running containers.
  • C: Containers only need the cgroups functionality for running on a Linux system. Namespaces is not a Linux kernel functionality needed for creating and managing containers.
  • D: Containers use the cgroups and namespaces functionalities to isolate processes and assign hardware resources to each of those isolated processes.

Question 4
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 5
A junior systems administrator 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

Question 6
A Linux administrator is testing a new web application on a local laptop and consistently shows the following 403 errors in the laptop’s logs:


The web server starts properly, but an error is generated in the audit log. Which of the following settings should be enabled to prevent this audit message? 

  • A: httpd_can_network_connect = 1
  • B: httpd_enable_scripting = 1
  • C: httpd_enable_homedirs = 1
  • D: httpd_enable_cgi = 1

Question 7
Which of the following BEST describes the purpose of the X11 system?

  • A: X11 provides graphical display capabilities 
  • B: X11 provides command line capabilities
  • C: X11 provides networking capabilities
  • D: X11 provides telephony capabilities.

Question 8
A junior administrator needs to unload an older video kernel module. 
Which of the following commands would BEST accomplish this task? 

  • A: modprobe
  • B: insmod
  • C: rmmod
  • D: chmod
  • E: depmod

Question 9
A Linux administrator needs to set permissions on an application with the following parameters:
The owner of the application should be able to read, write, and execute the application. 
Members of the group should be able to read and execute the application. 
Everyone else should not have access to the application. 
Which of the following commands would BEST accomplish these tasks? 

  • A: chmod 710 <application name>
  • B: chmod 730 <application name>
  • C: chmod 750 <application name>
  • D: chmod 760 <application name>

Question 10
A junior Linux administrator is trying to verify connectivity to the remote host host1 and display round-trip statistics for ten ICMP requests. 
Which of the following commands should the administrator execute? 

  • A: ping –c 10 host1
  • B: traceroute –c 10 host1
  • C: netstat host1
  • D: pathping –c 10 host1



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