[Jul 28, 2021] New 2021 CompTIA XK0-004 Exam Dumps with PDF from DumpsTorrent (Updated 266 Questions) [Q109-Q130]

Share

New 2021 XK0-004 exam questions Welcome to download the newest DumpsTorrent XK0-004 PDF dumps (266  Q&As)

P.S. Free 2021 Linux+ XK0-004  dumps are available on Google Drive shared by DumpsTorrent

NEW QUESTION 109
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. modprobe --usb
  • B. cat /proc/USB
  • C. lsusb
  • D. lspci

Answer: C

 

NEW QUESTION 110
Find the file named core and remove it from the system.
INSTRUCTIONS
Type "help" to display a list of available commands.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

  • A. See below.
    Solution as
  • B. See below.
    Solution as

Answer: B

Explanation:
Reference:
https://www.cyberciti.biz/faq/linux-unix-how-to-find-and-remove-files/

 

NEW QUESTION 111
Due to security policies, a restriction was implemented that forbids direct access to the database server. The junior administrator needs to connect using SSH tunneling. Which of the following commands allows the junior administrator to connect from a desktop?

Answer: A

Explanation:
Explanation

 

NEW QUESTION 112
After installing a new web server, you are unable to browse to the default web page.
INSTRUCTIONS
Review all the command output and select the command needed to remediate the issue.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

Answer:

Explanation:

 

NEW QUESTION 113
A user is reporting unusual slowness when trying to transfer a large file to an NFS server from a workstation.
The administrator runs tracepathand gets the following output:

Which of the following BEST describes the issue and a possible solution?

  • A. There is latency on an intermediate router. Increase the path MTU to compensate.
  • B. There is latency at the storage device. Work with the storage team to correct the issue.
  • C. There are dropped packets at an intermediate router. Work with the network team to correct the issue.
  • D. The path MTU is lower than the source MTU. Reduce the source MTU setting.

Answer: D

 

NEW QUESTION 114
A server is almost out of free memory and is becoming unresponsive. Which of the following sets of commands will BEST mitigate the issue?

  • A. df, du, rmmod
  • B. lsof, lvcreate, mdadm
  • C. free, fack, partprobe
  • D. fdisk, mkswap, swapon -a

Answer: D

 

NEW QUESTION 115
A junior systems administrator is diagnosing an issue with latency. The administrator issues the command mtr www.comptia.org at a terminal and receives the following output:

Given this scenario and the output, which of the following should be reported to the network team for investigation? (Choose two.)

  • A. Host 2 is experiencing low bandwidth, indicating the ISP is blocking traffic.
  • B. Host 1 is set to filter ICMP reply packets.
  • C. Host 2 is experiencing high packet loss, indicating the link is overloaded.
  • D. Host 1 is set to filter ICMP echo packets.
  • E. Host 3 is set to filter ICMP reply packets.
  • F. Host 3 is set to filter ICMP echo packets.

Answer: C,F

 

NEW QUESTION 116
Which of the following BEST describes running on a Linux system?

  • A. 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.
  • B. Containers use the cgroups and namespaces functionalities to isolate processes and assign hardware resources to each of those isolated processes.
  • C. Containers need a hypervisor to run a Linux system. Cgroups namespaces are functionalities used for the kernel but not for running containers.
  • D. Containers only need the namespaces functionally to run on a Linux system available since kernel 2.6.

Answer: B

 

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

  • A. netstat host1
  • B. pathping -c 10 host1
  • C. traceroute -c 10 host1
  • D. ping -c 10 host1

Answer: D

Explanation:
Reference:
https://shapeshed.com/unix-ping/

 

NEW QUESTION 118
A systems administrator has finished building a new feature for the monitoring software in a separate Git branch.
Which of the following is the BEST method for adding the new feature to the software's master branch?

  • A. Pull the changes from the feature branch into the master branch.
  • B. Merge the changes from the feature branch to the master branch.
  • C. Clone the feature branch into the master branch.
  • D. Save the changes to the master branch automatically with each Git commit.

Answer: B

 

NEW QUESTION 119
While creating a file on a volume, the Linux administrator receives the following message: No space left on device. Running the df -m command, the administrator notes there is still 50% of usage left. Which of the following is the NEXT step the administrator should take to analyze the issue without losing data?

  • A. Run the df -B command and notice the block size
  • B. Run the df -k command and notice the storage exhaustion
  • C. Run the df -h command and notice the space exhaustion
  • D. Run the df -i command and notice the inode exhaustion

Answer: D

 

NEW QUESTION 120
A Linux storage administrator wants to create a logical volume group. Which of the following commands is required to start the process?

  • A. vgcreate
  • B. mkfs.xfs
  • C. pvcreate
  • D. lvcreate

Answer: A

Explanation:
Explanation/Reference: https://www.thegeekstuff.com/2010/08/how-to-create-lvm/

 

NEW QUESTION 121
Which of the following commands would show the default printer on a Linux system?

  • A. lpstat
  • B. lpr
  • C. lpq
  • D. lspci

Answer: C

 

NEW QUESTION 122
A Linux user needs to create a file named newfile in the home directory that mirrors the contents of the / etc/resolv.conf file.
Which of the following commands would accomplish this task?

  • A. cat /etc/resolv.conf > /home/user/newfile
  • B. printf /etc/resolv.conf > /home/user/newfile
  • C. grep /etc/resolv.conf < /home/user/newfile
  • D. echo /etc/resolv.conf > /home/user/newfile

Answer: A

 

NEW QUESTION 123
A systems administrator is unable to reach other devices on the network and the Internet. The server is configured with the IP address 192.169.1.50/24 on eth0. The server's router is 192.168.1.1. The administrator reviews the output of route -n:

Which of the following commands should the administrator run to correct the issue?

  • A. route del default gw 192.168.2.1 eth0; route add default gw 192.168.1.1 eth0
  • B. route host gw 192.168.1.1 eth0
  • C. route add -net 192.168.10.0 netmask 255.255.255.0 gw 192.168.2.1 eth0
  • D. route add 192.168.1.1 default 192.168.1.50 eth0

Answer: C

 

NEW QUESTION 124
The lead Linux 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.

Answer:

Explanation:

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

 

NEW QUESTION 125
Joe, a user, creates a short shell script, shortscript.sh, and saves it in his home directory with default permissions and paths. He then attempts to run the script by typing ./shortscript.sh, but the command fails to execute.
Which of the following commands would have allowed the script to run?

  • A. source ./shortscript.sh
  • B. chmod 155 ~/shortscript.sh
  • C. chgrp shortscript.sh Joe
  • D. chmod u+x shortscript.sh

Answer: D

 

NEW QUESTION 126
A systems administration team has decided to treat their systems as immutable instances. They keep the desired state of each of their systems in version control and apply automation whenever they provision a new instance. If there is an issue with one of their servers, instead of troubleshooting the issue, they terminate the instance and rebuild it using automation.
Which of the following is this an example of?

  • A. Infrastructure as code
  • B. Orchestration
  • C. Agentless deployment
  • D. Inventory

Answer: A

 

NEW QUESTION 127
A junior systems administrator is creating a cron job. The cron job requirements are as follows:
Run the hello.sh script every hour (24 times in one day).
Run it on Monday only.
Given this scenario, which of the following crontab options should be configured to meet these requirements?

  • A. 1 *** 0 hello.sh
  • B. 0 *** 1 hello.sh
  • C. 0 24 ** Monday hello.sh
  • D. 24 *** Monday hello.sh

Answer: D

Explanation:
Reference:
https://www.debian.org/doc/manuals/system-administrator/ch-sysadmin-time.html

 

NEW QUESTION 128
An administrator needs to mount the shared NFS file system testhost:/testvolumeto mount point /mnt/ testvoland 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 129
An administrator is attempting to block SSH connections to 192.168.10.24 using the Linux firewall. After implementing a rule, a connection refused error is displayed when attempting to SSH to 192.168.10.24.
Which of the following rules was MOST likely implemented?

  • A. iptables -A -p tcp -d 192.168.10.24 -dropt 22 -j REJECT
  • B. iptables -A -p tcp -d 192.168.10.24 -dropt 22 -j REFUSE
  • C. iptables -A -p tcp -d 192.168.10.24 -dropt 22 -j DROP
  • D. iptables -A -p tcp -d 192.168.10.24 -dropt 22 -j FORWARD

Answer: A

Explanation:
Explanation/Reference: https://www.golinuxhub.com/2014/03/how-to-allowblock-ssh-connection-from.html

 

NEW QUESTION 130
......

XK0-004 exam questions from DumpsTorrent dumps: https://www.dumpstorrent.com/XK0-004-exam-dumps-torrent.html (266  Q&As)

Free 2021 Linux+ XK0-004 dumps are available on Google Drive shared by DumpsTorrent: https://drive.google.com/open?id=1vbTcKS4GGg75H-fJb1Bg5gYa5hrul3Sf