Free 2021 Linux+ XK0-004 dumps are available on Google Drive shared by Pass4suresVCE
Welcome to download the newest Pass4suresVCE XK0-004 PDF dumps: https://www.pass4suresvce.com/XK0-004-pass4sure-vce-dumps.html ( 266 Q&As)
NEW QUESTION 54
A systems administrator suspects a process with a PID of 2864 is consuming resources at an alarming rate.
The administrator uses the command renice -n -5 -p2864, but it does not solve the issue. Which of the following commands should the administrator execute to correct the issue?
- A. renice -n 10 -p 2864
- B. nice -n -5 -p 2864
- C. nice -n 5 -p 2864
- D. renice -n -10 -p 2864
Answer: A
Explanation:
Explanation/Reference:
NEW QUESTION 55
A Linux administrator recently changed the IP addresses of all the web servers from 10.10.50.x to 10.10.100.x. The administrator needs to update the serverlist.txt file to reflect the change.
The file contains the following:
10:WebSvr01:10.10.50.21:Main
11:WebSvr02:10.10.50.22:Acconting
12:WebSvr03:10.10.50.23:Intranet
20:NFS01:10.10.20.21:FileServer
30:SMTP01:10.10.30.31:Email
Which of the following commands will change the IP addresses and update the files in place?
- A. sed -g 's|.50|.100|a' serverlist.txt
- B. sed -i 's|.50|.100|g' serverlist.txt
- C. sed -i 's|.50|.100|' serverlist.txt
- D. sed 's|.50|.100|g' serverlist.txt
Answer: B
NEW QUESTION 56
A Linux administrator needs to disable the Sendmail service on a Linux server and prevent it from being started manually and during boot.
Which of the following is the BEST command to do this?
- A. systemctl disable sendmail
- B. systemctl reset-failed sendmail
- C. systemctl mask sendmail
- D. systemctl stop sendmail
Answer: D
NEW QUESTION 57
A Linux administrator needs to add some files in a directory to the Git repository but must exclude some local
.tmp files that are occasionally created by the scripts.
Which of the following is the BEST way to accomplish this task?
- A. rm -rf .tmp
- B. git add -x .tmp *
- C. echo .tmp >> .gitignore
- D. git rm .tmp
Answer: C
NEW QUESTION 58
Users in the sales department are unable to create new files in the shared directory /Sales. A junior Linux administrator determines the permissions on the /Sales directory are set to rwxr-----, and sales is the group owner of the directory.
Which of the following is the BEST command for the junior administrator to issue to allow the users to create new files?
- A. chmod 777 /Sales
- B. umask 002
- C. chmod g+s /Sales
- D. chmod 770 /Sales
Answer: D
NEW QUESTION 59
Ann, a Linux administrator, wants to edit a configuration management file. When she opens the file to edit, her text editor reports that the file has been opened in read-only mode. She then tries to edit the file as root by elevating via sudo and is still unable to save any changes. The error message in her text editor says that the read-only option is set on the file. Ann checks the permissions on the file and sees the following:
-rw-rw-r-- 1 root wheel 30 Jun 13 15:38 infrastructure.yml
Which of the following commands is the BEST option to allow her to successfully modify the file?
- A. chattr -i infrastructure.yml
- B. chmod o+w infrastructure.yml
- C. chown root: infrastructure.yml
- D. chmod 600 infrastructure.yml
Answer: B
Explanation:
Explanation/Reference: https://cets.seas.upenn.edu/answers/chmod.html
NEW QUESTION 60
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?
rmmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb-storage.ko
- A. storage.ko
- B. modinfo /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb-
- C. storage.ko
depmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb- - D. storage.ko
insmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb-
Answer: A
Explanation:
Explanation/Reference: https://www.cyberciti.biz/faq/linux-how-to-load-a-kernel-module-automatically-at-boot-time/
NEW QUESTION 61
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
Answer:
Explanation:
See explanation below
Explanation
Solution below.

NEW QUESTION 62
Which of the following will provide a list of all flash, external, internal, and SSD drives?
- A. lsmod
- B. lsblk
- C. lsusb
- D. lspci
Answer: B
Explanation:
Reference:
https://www.linux.com/learn/intro-to-linux/2017/3/how-format-storage-devices-linux
NEW QUESTION 63
An administrator needs to generate a list of services that are listening on TCP and/or UDP ports. Which of the following tools should the administrator use?
- A. portmap
- B. ethtool
- C. netstat
- D. route
Answer: C
Explanation:
Reference:
https://www.tecmint.com/find-open-ports-in-linux/
NEW QUESTION 64
Given that a company's policy states that users cannot install third-party tools on Window servers, which of the following protocols will allow a Linux GUI to connect to a Windows server?
- A. VNC
- B. RDP
- C. X11
- D. NX
Answer: A
NEW QUESTION 65
A Linux administrator tries to ping a hostname in a network but receives the message: hostname not found. The administrator is sure the name exists on the network and wants to verify if the DNS server is correctly configured on the client. Which of the following files should the administrator use to verify this information?
- A. /etc/network
- B. /etc/nsswitch.conf
- C. /etc/named.conf
- D. /etc/resolv.conf
Answer: D
NEW QUESTION 66
Which of the following boot methods can a Linux administrator use to boot a Linux server remotely via a network interface card instead of a local disk?
- A. NTP
- B. NFS
- C. Kickstart
- D. PXE
Answer: D
NEW QUESTION 67
A systems administrator wants to know the current status of a series of ddjobs that were started in the background three hours ago.
Which of the following commands will achieve this task?
- A. sudo killall -HUP dd
- B. sudo killall dd
- C. sudo killall -USR1 dd
- D. sudo killall -TERM dd
Answer: C
Explanation:
Explanation/Reference: https://askubuntu.com/questions/215505/how-do-you-monitor-the-progress-of-dd
NEW QUESTION 68
A systems administrator notices a large number of autoloaded device modules are no longer needed and decides to do a cleanup of them. Which of the following commands will accomplish this task?
- A. insmod -c
- B. depmod -r
- C. rmmod -c
- D. modprobe -r
Answer: D
Explanation:
Reference:
http://ccrma.stanford.edu/planetccrma/man/man8/modprobe.8.html
NEW QUESTION 69
A Linux systems administrator installed a new web server, which failed while attempting to start. The administrator suspects that SELinux is causing an issue and wants to temporarily put the system into permissive mode. Which of the following would allow the administrator to accomplish this?
- A. setenforce 0
- B. sestatus 0
- C. echo SELINUX=PERMISSIVE >> /etc/sysconfig/selinux
- D. chcon httpd_sys_content_t /var/
Answer: A
NEW QUESTION 70
Which of the following statements BEST represents what the term "agentless" means regarding orchestration?
- A. It facilitates version control when using infrastructure as code during orchestration
- B. It automatically removes malware from the remote system during orchestration
- C. A tool can only be accessed remotely to perform orchestration tasks
- D. Installation of a tool is not required on the remote system to perform orchestration tasks
Answer: D
Explanation:
Reference:
https://whatis.techtarget.com/definition/agentless
NEW QUESTION 71
A user wants to use terminal services from a Windows workstation to manage a Linux server. Which of the following should be installed on the Linux server to enable this functionality?
- A. rdesktop
- B. XRDP
- C. VNC
- D. SPICE
Answer: A
Explanation:
Reference:
https://www.netadmintools.com/art237.html
NEW QUESTION 72
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
NEW QUESTION 73
An administrator needs to look at a log for an application on a systemd-based system. There is no log for this application in /var/log. Which of the following is another way to view the application log on this system?
- A. systemctl application.service
- B. journalctl -u application
- C. tail -f /var/log/secure
- D. watch /var/lib/application/
Answer: A
NEW QUESTION 74
......
Tested Material Used To XK0-004: https://www.pass4suresvce.com/XK0-004-pass4sure-vce-dumps.html
Following are some new XK0-004 Real Exam Questions!: https://drive.google.com/open?id=1Z3zLKMNOI8taQyAw7KLZZVScOtGZz2Ss