Download CompTIA Linux+.NetworkArmy.XK0-004.2021-07-19.1e.218q.vcex

Download Exam

File Info

Exam CompTIA Linux+
Number XK0-004
File Name CompTIA Linux+.NetworkArmy.XK0-004.2021-07-19.1e.218q.vcex
Size 5.75 Mb
Posted July 19, 2021
Downloads 3
Download CompTIA Linux+.NetworkArmy.XK0-004.2021-07-19.1e.218q.vcex

How to open VCEX & EXAM Files?

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

Purchase

Coupon: MASTEREXAM
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

Correct Answer: A

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




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. 
CentOS Command Prompt 

    

  • A: See explanation below

Correct Answer: A

    

    




Question 3

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. 
 

Correct Answer: Exam simulator is required

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




Question 4

An administrator receives a warning about a filesystem filling up, and then identifies a large file located at / tmp/largelogfile. The administrator deletes the file, but no space is recovered on the filesystem. 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

Correct Answer: A

Reference: https://access.redhat.com/solutions/2316




Question 5

Which of the following can be used to boot a DVD from a remote device to initialize a Linux system setup on bare metal hardware as if it is a local DVD? 

  • A: UEFI
  • B: PXE
  • C: NFS
  • D: GRUB

Correct Answer: A

Reference: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/installation_guide/ch-boot-x86




Question 6

A Linux administrator must identify a user with high disk usage. The administrator runs the # du –s / home/* command and gets the following output:

    

Based on the output, User3 has the largest amount of disk space used. To clean up the file space, the administrator needs to find out more information about the specific files that are using the most disk space. 
Which of the following commands will accomplish this task? 

  • A: df –k /home/User3/files.txt
  • B: du –a /home/User3/*
  • C: du –sh /home/User/
  • D: find . –name /home/User3 -print

Correct Answer: C

Reference: https://unix.stackexchange.com/questions/37221/finding-files-that-use-the-most-disk-space




Question 7

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

Correct Answer: D

Reference: https://www.tecmint.com/find-listening-ports-linux/




Question 8

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

Correct Answer: C

Reference: https://www.cyberciti.biz/faq/linux-append-text-to-end-of-file/




Question 9

A Linux administrator needs to remotely update the contents of the www.comptia.org/contacts URL. 
Which of the following commands would allow the administrator to download the current contents of the URL before updating? 

  • A: curl www.comptia.org/contacts
  • B: dig www.comptia.org/contacts
  • C: apt-get www.comptia.org/contacts
  • D: yum list www.comptia.org/contacts

Correct Answer: A

Reference: https://www.thegeekstuff.com/2012/04/curl-examples/




Question 10

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.

Correct Answer: D

Reference: https://www.linuxjournal.com/content/everything-you-need-know-about-linux-containers-part-ii-working-linux-containers-lxc










CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files