Win IT Exam with Last Dumps 2023


CompTIA XK0-004 Exam

Page 10/18
Viewing Questions 91 100 out of 180 Questions
55.56%

Question 91
A systems administrator needs to install a new piece of hardware that requires a new driver. The driver should be manually installed. Which of the following describes the order of commands required to obtain module information, install the module, and check the log for any errors during module installation?
A. lsmod, modprobe, modinfo
B. modinfo, insmod, modprobe
C. modinfo, insmod, dmesg
D. lsmod, insmod, dmesg

Question 92
A new HTTPS web service is being deployed on a server. Which of the following commands should the Linux administrator use to ensure traffic is able to flow through the system firewall to the new service?
A. iptables -I OUTPUT -p tcp --sport 443 -j ACCEPT
B. iptables -A INPUT -p tcp --dport 443 -j ACCEPT
C. iptables -I INPUT --dport 443 -j ACCEPT
D. iptables -A OUTPUT -p tcp --dport 443 -j ACCEPT

Question 93
An administrator has modified the configuration file for a service. The service is still running but is not using the new configured values. Which of the following willBEST remediate this issue?
A. kill -HUP
B. init 0
C. service start
D. renice -10

Question 94
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

Question 95
A Linux administrator is setting up a testing environment and needs to connect to a separate testing server using the production server name. The administrator needs to override the hostname that the DNS is returning in order to use the test environment. Which of the following commands should be run on each of the testing systems to BEST meet this goal?
A. # hostnamectl set-hostname "192.168.1.100 production.company.com"
B. # grep -i IP "${ip addr show} production.company.com" > /etc/resolv.conf
C. # ip addr add 192.168.1.100/24 dev eth0 && rndc reload production.company.com
D. # echo "192.168.1.100 production.company.com" >> /etc/hosts

Question 96
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

Question 97
Which of the following are Linux desktop managers? (Choose two.)
A. KDE
B. GNOME
C. GUI
D. VNC
E. X11
F. SPICE

Question 98
A systems administrator is configuring options on a newly installed Linux VM that will be deployed to the Pacific time zone. Which of the following sets of commands should the administrator execute to accurately configure the correct time settings?
A. cd /etc ln -s /usr/share/zoneinfo/US/Pacific localtime
B. cd /usr/local ln -s /usr/share/zoneinfo/US/Pacific zoneinfo
C. cd /etc/local ln -s /usr/share/zoneinfo/US/Pacific localtime
D. cd /usr/share/local ln -s /usr/share/zoneinfo/US/Pacific localectl

Question 99
A user has connected a Bluetooth mouse to a computer, but it is not working properly. Which of the following commands should the systems administrator use to fix the issue?
A. lsmod -i bluetooth
B. insmod bluetooth
C. modprobe -r bluetooth
D. depmod -i bluetooth

Question 100
An administrator notices that a long-running script, /home/user/script.
sh, is taking up a large number of system resources. The administrator does not know the script's function. Which of the following commands should the administrator use to minimize the script's impact on system resources?
A. renice
B. kill
C. bg
D. nohup