2022 Realistic XK0-004 Dumps are Available for Instant Access [Q216-Q231]

Share

2022 Realistic XK0-004 Dumps are Available for Instant Access

Download Exam XK0-004 Practice Test Questions with 100% Verified Answers


CompTIA Linux+ XK0-004 Exam

CompTIA Linux+ XK0-004 Exam which is related to CompTIA Linux+ Certification. This exam validates the Candidate ability to configure, monitor, and support servers running the Linux operating system. It also deals with the knowledge and skills of security, kernel modules, storage and visualization, device management at an enterprise level, git and automation, networking and firewalls, server side and command line, server (vs. client-based) coverage, troubleshooting and SELinux.

 

NEW QUESTION 216
A junior Linux administrator is optimizing a system in which an application needs to take priority 0 when running the process. The administrator runs the ps command and receives the following output:

Given this scenario, which of the following steps will address this issue?

  • A. Issue the command renice -p 0 -n 8481
  • B. Issue the command renice -p 8481
  • C. Issue the command renice -n 0 -p 8481
  • D. Issue the command renice -n 8481

Answer: C

 

NEW QUESTION 217
An administrator receives the following message on a remote server: Cannot open display. Which of the following should the administrator have used to log in to the server?

  • A. xvnc server.company.com
  • B. rdesktop server.company.com
  • C. xrdp -h server.company.com
  • D. ssh -X server.company.com

Answer: D

 

NEW QUESTION 218
A systems administrator downloads an application's source files, compiles the application, and installs it per the application's installation instructions. When trying to run the application, the system states:
$ occmd
bash: occmd: command not found...
Running the locatecommand shows it does exist in the following location:
/opt/occmd/bin/occmd
Which of the following should the administrator do to allow the command to run properly? (Choose two.)

  • A. sudo ln -s /opt/occmd/bin/occmd /usr/local/bin/occmd
  • B. mv /opt/occmd ~/ && ln -s ~/occmd/bin/occmd ./occmd
  • C. echo "#!/bin/bash \n ${which occmd}" > /usr/bin/occmd.sh
  • D. sudo mv /opt/occmd/bin/occmd /etc/bin/
  • E. echo "export PATH=$PATH:/opt/occmd/bin" >> ~/.bashrc
  • F. cd /opt/occmd/bin && chmod +x ./occmd && restorecon -rv *

Answer: D,F

Explanation:
Explanation

 

NEW QUESTION 219
Which of the following can be used to boot a DVD from a remote device to initialize a Linux system setup on bare metal hardware as if it is a local DVD?

  • A. PXE
  • B. GRUB
  • C. UEFI
  • D. NFS

Answer: C

 

NEW QUESTION 220
Given the output below:

Which of the following commands can be used to remove MyPhoto.jpg from the current directory?

  • A. ln -rm ./Pictures/photo.jpg
  • B. rm -rf ./Pictures
  • C. rm -f MyPhoto.jpg
  • D. unlink ./MyPhoto.jpg
  • E. del Pictures/photo.jpg

Answer: A

 

NEW QUESTION 221
A systems administrator clones copies of a Linux VM every time a new Linux server is needed. The administrator notices the command prompt always states localhost.localdomain.
Which of the following should the administrator run to have the command prompt consistently labeled as Server1 rather than localhost.localdomain?

  • A. echo "127.0.0.1 Server1 Server1.localdomain" >> /etc/hosts
  • B. hostnamectl set-hostname "Server1" --pretty
  • C. hostnamectl set-hostname Server1 --transient
  • D. host Server1
  • E. hostnamectl set-hostname Server1.localdomain --static

Answer: B

 

NEW QUESTION 222
An administrator is installing a new kernel but is getting an error indicating the filesystem is out of space. A disk
usage check shows / has plenty of space.
Which of the following BEST represents where the administrator should check next?

  • A. /var
  • B. /proc
  • C. /etc
  • D. /boot

Answer: B

 

NEW QUESTION 223
A Linux engineer is troubleshooting a newly added SCSI device for a Linux server that needed more disk space without rebooting. The engineer discovers that the new device is not visible by the Linux kernel in fdisk -l output. Which of the following commands should be used to rescan the entire SCSI bus?

  • A. echo "- - -" > /sys/class/scsi_host/host0/scan
  • B. echo ' ' > /sys/class/scsi_host/host0/scan
  • C. echo "scan" > /sys/class/scsi_host/host0/scan
  • D. echo "- - -" > /sys/scsi/scsi_host/host0/scan

Answer: A

Explanation:
Reference:
https://geekpeek.net/rescan-scsi-bus-on-linux-system/

 

NEW QUESTION 224
An administrator is analyzing a Linux server which was recently hacked.
Which of the following will the administrator use to find all unsuccessful login attempts?

  • A. pam_tally2
  • B. faillock
  • C. nsswitch
  • D. passwd

Answer: A

 

NEW QUESTION 225
Which of the following is the purpose of the monitoring server role?

  • A. To provide real-time analysis of potential threats to the organization
  • B. To collect status and performance information about the servers in an environment
  • C. To aggregate web traffic to watch which websites employees are visiting
  • D. To provide user authentication services to a network

Answer: B

Explanation:
Explanation/Reference:

 

NEW QUESTION 226
A junior systems administrator has generated a PKI certificate for SSH sessions. The administrator would like to configure authentication without passwords to remote systems. Which of the following should the administrator perform?

  • A. Add the content of id_rsa.pubfile to the remote system ~/.ssh/known_hostslocation.
  • B. Add the content of id_rsafile to the remote system ~/.ssh/known_hostslocation.
  • C. Add the content of id_rsafile to the remote system ~/.ssh/authorized_keyslocation.
  • D. Add the content of id_rsa.pubfile to the remote system ~/.ssh/authorized_keyslocation.

Answer: D

Explanation:
Explanation/Reference: https://kb.iu.edu/d/aews

 

NEW QUESTION 227
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. route
  • B. netstat
  • C. ethtool
  • D. portmap

Answer: B

Explanation:
Reference:
https://www.tecmint.com/find-open-ports-in-linux/

 

NEW QUESTION 228
A Linux server hosts Kerberos and LDAP, which of the following is the MOST likely role of this server?

  • A. Authentication
  • B. Database
  • C. Clustering
  • D. Certificate authority

Answer: A

 

NEW QUESTION 229
A systems administrator installs a simple package, but the Linux system returns the following error: rpmdb open fails. To verify if there is a problem in the RPM database, the systems administrator runs the following command:

Which of the following commands should the systems administrator run NEXT to resolve this issue?

  • A. cd/var/lib/rpm; rpm --rebuilddb ; rm -f _db*; yum clean all
  • B. cd/var/lib/rpm; rpm -qa; rm -f _db*; yum clean all
  • C. cd/var/lib/rpm; rpm -qd; rpm --rebuilddb; yum clean all
  • D. cd/var/lib/rpm; rm -f _db*; rpm --rebuilddb; yum clean all

Answer: B

 

NEW QUESTION 230
A junior Linux administrator is installing patches using YUM. The administrator issues the following command:
yum list installed
The output of the command is as follows:

Given this scenario and the output, which of the following should the administrator do to address this issue?

  • A. renice -n 9 -p 5180
  • B. ps -ef | grep yum
  • C. killall yum
  • D. top | grep yum

Answer: B

 

NEW QUESTION 231
......

Positive Aspects of Valid Dumps XK0-004 Exam Dumps! : https://www.prep4away.com/CompTIA-certification/braindumps.XK0-004.ete.file.html