Win IT Exam with Last Dumps 2024

CompTIA XK0-004 Exam

Page 6/18
Viewing Questions 51 60 out of 180 Questions

Question 51
A systems administrator wants to know the current status of a series of dd jobs 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 -TERM dd
D. sudo killall -USR1 dd

Question 52
A Linux administrator needs the `tech` account to have the option to run elevated commands as root.
Which of the following commands would BEST meet this goal?
A. $ su - tech -c "/bin/bash"
B. # usermod -aG wheel tech
C. # sudo -i tech
D. # groupadd -u tech -g root

Question 53
Which of the following is the purpose of the vmlinux file on a Linux system?
A. To prevent a Linux kernel panic
B. To start a Linux virtual machine
C. To provide the executable kernel for the system
D. To enable resource access to the network

Question 54
Ann, a junior systems administrator, is required to add a line to the /etc/yum.conf file. However, she receives the following error message when she tries to add the line:
Image XK0-004_54Q.png related to the CompTIA XK0-004 Exam
A. chmod 755 /etc/yum.conf
B. setfacl -m m:rw /etc/yum.conf
C. chattr -i /etc/yum.conf
D. setenforce 0

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

Question 56
Which of the following commands can be used to remove MyPhoto.jpg from the current directory?
Image XK0-004_56Q.png related to the CompTIA XK0-004 Exam
A. unlink ./MyPhoto.jpg
B. del Pictures/photo.jpg
C. rm -rf ./Pictures
D. rm -f MyPhoto.jpg
E. ln -rm ./Pictures/photo.jpg

Question 57
Which of the following server roles would assign a host IP address?

Question 58
Which of the following commands would show the default printer on a Linux system?
A. lpr
B. lpq
C. lpstat
D. lspci

Question 59
A systems 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

Question 60
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/*