Act now and download your CompTIA XK0-004 test today! Do not waste time for the worthless CompTIA XK0-004 tutorials. Download Renew CompTIA CompTIA Linux+ Certification Exam exam with real questions and answers and begin to learn CompTIA XK0-004 with a classic professional.
Check XK0-004 free dumps before getting the full version:
NEW QUESTION 1
A systems administrator must clean up all application files in the directory /var/log/app. However, the company’s security policy requires the files to be kept on the backup server for one year. The Linux server has only the tar and bzip2 packages installed.
Which of the following commands will package and compress the files?
- A. tar –zcvf applicationfiles.tar.bz2 /var/log/app/*
- B. tar –jcvf applicationfiles.tar.bz2 /var/log/app/*
- C. tar –cvf applicationfiles.tar.bz2 /var/log/app/*
- D. tar –xvf applicationfiles.tar.bz2 /var/log/app/*
Answer: C
NEW QUESTION 2
Two specific users need access to a directory owned by root where backups are located. Which of the following commands would BEST ensure the specified users can access the backup files?
- A. umask
- B. chcon
- C. chmod
- D. setfacl
Answer: D
NEW QUESTION 3
Which of the following statements BEST represents what the term “agentless” means regarding orchestration?
- A. Installation of a tool is not required on the remote system to perform orchestration tasks
- B. It facilitates version control when using infrastructure as code during orchestration
- C. It automatically removes malware from the remote system during orchestration
- D. A tool can only be accessed remotely to perform orchestration tasks
Answer: A
NEW QUESTION 4
A Linux administrator opens a ticket to have an external hard drive mounted. As a security policy, external storage kernel modules are disabled.
Which of the following is the BEST command for adding the proper kernel module to enable external storage modules?
- A. rmmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb-storage.ko
- B. modinfo /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb-storage.ko
- C. depmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb-storage.ko
- D. insmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb-storage.ko
Answer: D
NEW QUESTION 5
An administrator is troubleshooting an application that has failed to start after the server was rebooted. Noticing the data volume is not mounted, the administrator attempts to mount it and receives this error:
Upon checking the logical volume status, the administrator receives this information:
Which of the following can be said about the data logical volume, and how can this problem be resolved?
- A. The logical volume is not activ
- B. The administrator should make it active with lvchange -ay /dev/ datavg/datalv and then mount it.
- C. The logical volume file system has become corrupte
- D. The administrator should repair it with xfs_repair/dev/datavg/datalv and then mount it.
- E. The logical volume is OK but the /dev special files are missin
- F. The administrator should recreate them by running /dev/MAKEDEV.
- G. The file system is read-onl
- H. The administrator should remount it as read-write with the command mount - o remount.rw /data.
Answer: A
NEW QUESTION 6
All users are reporting that they cannot connect to the SFTP server. The administrator runs a scan:
Which of the following would allow the administrator to fix the problem?
- A. Allow SFTP connections on port 22 using /etc/sysconfig/iptables.
- B. Allow SFTP connections on port 20 and 21 using /etc/sysconfig/iptables.
- C. Allow SFTP connections on port 25 using /etc/sysconfig/iptables.
- D. Allow SFTP connections on port 1456 using /etc/sysconfig/iptables.
Answer: A
NEW QUESTION 7
A Linux administrator needs to take stock of USB devices attached to the system. Which of the following commands would be BEST to complete this task?
- A. lspci
- B. lsusb
- C. cat /proc/USB
- D. modprobe -–usb
Answer: B
NEW 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
Answer: C
NEW QUESTION 9
An administrator needs to see the type of CPU that a server is running. Which of the following files contains this information?
- A. /proc/cpuinfo
- B. /etc/devices/info.conf
- C. /dev/proc/cpu
- D. /sys/dev/cpuinfo
Answer: A
NEW QUESTION 10
Which of the following configuration files should be modified to disable Ctrl-Alt-Del in Linux?
- A. /etc/inittab
- B. ~/.bash_profile
- C. /etc/securetty
- D. /etc/security/limits.conf
Answer: A
NEW QUESTION 11
A junior administrator is migrating a virtual machine from a Type 1 hypervisor to a Type 2 hypervisor. To ensure portability, which of the following formats should the administrator export from the Type 1 hypervisor to ensure compatibility?
- A. OWASP
- B. VDI
- C. VMDK
- D. OVA
Answer: D
NEW QUESTION 12
A Linux administrator wants to obtain a list of files and subdirectories in the /etc directory that contain the word “services”. Once the files and subdirectories are discovered, they should be listed alphabetically in the /var/tmp/foundservices file. Which of the following shell scripts will accomplish this task?
- A. #/bin/bashfind /etc –name services | sort > /var/tmp/foundservices
- B. #/bin/bashlocate /etc –sort –name services > /var/tmp/foundservices
- C. #/bin/bashfind –name services –sort </var/tmp/foundservices
- D. #/bin/bashfind /etc –name services –sort > /var/tmp/foundservices
Answer: B
NEW QUESTION 13
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
Answer: A
NEW QUESTION 14
A systems administrator has received reports of intermittent network connectivity to a particular website. Which of the following is the BEST command to use to characterize the location and type of failure over the course of several minutes?
- A. mtr www.comptia.org
- B. tracert www.comptia.org
- C. ping www.comptia.org
- D. netstat www.comptia.org
Answer: B
NEW QUESTION 15
An administrator needs to deploy 100 identical CentOS workstations via PXE boot. Which of the following should the administrator use to minimize the amount of interaction with the consoles needed?
- A. Kickstart script
- B. Ghost image on a distribution server
- C. Hard disk duplicator
- D. Hard disk duplicator
- E. Ubiquity script
Answer: A
NEW QUESTION 16
A technician wants to secure a sensitive workstation by ensuring network traffic is kept within the local subnet. To accomplish this task, the technician executes the following command:
echo 0 > /proc/sys/net/ipv4/ip_default_ttl
Which of the following commands can the technician use to confirm the expected results? (Choose two.)
- A. tcpdump
- B. traceroute
- C. route
- D. iperf
- E. ip
- F. arp
Answer: CF
NEW QUESTION 17
An administrator needs to see a list of the system user’s encrypted passwords. Which of the following Linux files does the administrator need to read?
- A. /etc/shadow
- B. /etc/skel
- C. /etc/passwd
- D. /etc/pw
Answer: C
NEW QUESTION 18
An administrator needs to mount the shared NFS file system testhost:/testvolume to mount point /mnt/testvol and make the mount persistent after reboot.
Which of the following BEST demonstrates the commands necessary to accomplish this task?
- A.

- B.

- C.

- D.

Answer: C
NEW QUESTION 19
......
Recommend!! Get the Full XK0-004 dumps in VCE and PDF From Dumpscollection.com, Welcome to Download: https://www.dumpscollection.net/dumps/XK0-004/ (New 267 Q&As Version)