XK0-004 | Realistic XK0-004 Testing Engine 2021

Master the XK0-004 CompTIA Linux+ Certification Exam content and be ready for exam day success quickly with this Exambible XK0-004 question. We guarantee it!We make it a reality and give you real XK0-004 questions in our CompTIA XK0-004 braindumps.Latest 100% VALID CompTIA XK0-004 Exam Questions Dumps at below page. You can use our CompTIA XK0-004 braindumps and pass your exam.

Online XK0-004 free questions and answers of New Version:

NEW QUESTION 1
A Linux administrator must identify a user with high disk usage. The administrator runs the # du –s /home/* command and gets the following output:
XK0-004 dumps exhibit
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/User/files.txt
  • B. du –a /home/User3/*
  • C. du –sh /home/User/
  • D. find . –name /home/User3 -print

Answer: C

NEW QUESTION 2
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.
XK0-004 dumps exhibit

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
XK0-004 dumps exhibit

NEW QUESTION 3
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. free, fack, partprobe
  • B. lsof, lvcreate, mdadm
  • C. df, du, rmmod
  • D. fdisk, mkswap, swapon -a

Answer: A

NEW QUESTION 4
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. Merge the changes from the feature branch to the master branch.
  • B. Save the changes to the master branch automatically with each Git commit.
  • C. Clone the feature branch into the master branch.
  • D. Pull the changes from the feature branch into the master branch.

Answer: A

NEW QUESTION 5
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

Answer: D

NEW QUESTION 6
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 7
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 DROP
  • C. iptables –A –p tcp –d 192.168.10.24 –dropt 22 –j FORWARD
  • D. iptables –A –p tcp –d 192.168.10.24 –dropt 22 –j REFUSE

Answer: A

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

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

Answer: B

NEW QUESTION 9
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

Answer: BD

NEW QUESTION 10
Which of the following is modified to reconfigure the boot environment?

  • A. grub-mkconfig
  • B. grub.cfg
  • C. update-grub
  • D. grub2-mkconfig

Answer: C

NEW QUESTION 11
A Linux administrator implemented a new HTTP server using the default configuration. None of the users on the network can access the server. If there is no problem on the network or with the users’ workstations, which of the following steps will BEST analyze and resolve the issue?

  • A. Run netstat to ensure the port is correctly bound, and configure the firewall to allow access on ports 80 and 443
  • B. Run route to ensure the port is correctly bound, and configure the firewall to allow access on ports 80 and 443
  • C. Run netcat to ensure the port is correctly bound, and configure a static route to the web to allow access on ports 80 and 443
  • D. Run route to ensure the port is correctly bound, and configure SELinux to allow access on ports 80 and 443

Answer: C

NEW QUESTION 12
A Linux administrator needs to back up the folder /usr/domain, and the output must be a gzip compressed tar. Which of the following commands should be used?

  • A. tar –cv domain.tar.gz /usr/domain
  • B. tar –cvf /usr/domain domain.tar.gz
  • C. tar –czvf domain.tar.gz /usr/domain
  • D. tar –cxzv /usr/domain domain.tar.gz

Answer: C

NEW QUESTION 13
A Linux administration is using a Linux system as a router. During the tests, the administrator discovers that IP packets are not being sent between the configured interfaces.
Which of the following commands enables this feature for IPv4 networks?

  • A. cat /proc/sys/net/ipv4/ip_route > 1
  • B. echo “1” > /proc/sys/net/ipv4/ip_forward
  • C. echo “1” > /proc/sys/net/ipv4/ip_route
  • D. echo “1” > /proc/sys/net/ipv4/ip_net

Answer: B

NEW QUESTION 14
As a Systems Administrator, to reduce disk space, you were tasked to create a shell script that does the following:
Add relevant content to /tmp/script.sh, so that it finds and compresses rotated files in /var/log without recursion.
INSTRUCTIONS
Fill the blanks to build a script that performs the actual compression of rotated log files.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.
XK0-004 dumps exhibit

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
XK0-004 dumps exhibit

NEW QUESTION 15
An engineer is working on a production application deployment that requires changing a web application property file called server.property that is managed by the Git version control system. A cloned copy of the remote repository in which the server.property file exists is on the local desktop computer. The engineer makes appropriate changes to the files, saves it as server.property, and executes git commit –m “changed the property file” server.property. Which of the following commands did the engineer fail to perform?

  • A. git init server.property
  • B. git merge server.property
  • C. git add server.property
  • D. git push server.property

Answer: D

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

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

Answer: D

NEW QUESTION 17
A system administrator has set up third-party log aggregation agents across several cloud instances. The systems administrator wants to create a dashboard of failed SSH attempts and the usernames used.
Which of the following files should be watched by the agents?

  • A. /var/log/audit/audit.log
  • B. /var/log/kern.log
  • C. /var/log/monitor
  • D. /etc/rsyslog.conf

Answer: D

NEW QUESTION 18
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. ping –c 10 host1
  • B. traceroute –c 10 host1
  • C. netstat host1
  • D. pathping –c 10 host1

Answer: A

NEW QUESTION 19
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 20
A Linux administrator has installed a web application firewall in front of a web server running on HTTP port 8080 and successfully started the HTTP server. However, after opening the application URL in an Internet browser, the administrator discovered that the application does not work. The administrator performed the following diagnostic steps:
Output of sysctl -a command:
XK0-004 dumps exhibit
Output of iptables -L command:
XK0-004 dumps exhibit
Output of netstat –nltop | grep "8080":
XK0-004 dumps exhibit
Which of the following is the NEXT step the administrator should perform to permanently fix the issue at the kernel level?

  • A. sysctl -w net.ipv4.ip_forward=1 then run sysctl -w /etc/sysctl.conf to enable the change
  • B. Edit /etc/sysctl.conf file and add net.ipv4.ip_forward = 1 then run sysctl -p /etc/ sysctl.conf to enable the change
  • C. Add iptables rule iptables -A INPUT -m state --state NEW -p tcp --dport 8080 -j then restart httpd daemon
  • D. Add iptables rule iptables -A FORWARD-m state --state NEW -p tcp --dport 8080 –j ACCEPT then restart httpd daemon

Answer: D

NEW QUESTION 21
......

P.S. Certstest now are offering 100% pass ensure XK0-004 dumps! All XK0-004 exam questions have been updated with correct answers: https://www.certstest.com/dumps/XK0-004/ (115 New Questions)