Up To The Minute XK0-004 Testing Material 2021

Master the XK0-004 CompTIA Linux+ Certification Exam content and be ready for exam day success quickly with this Examcollection XK0-004 free draindumps. 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 CompTIA XK0-004 free dumps demo Below:

NEW QUESTION 1
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 will BEST remediate this issue?

  • A. kill -HUP
  • B. init 0
  • C. service start
  • D. renice -10

Answer: A

NEW QUESTION 2
A Linux server needs to be accessed, but the root password is not available.
Which of the following would BEST allow an administrator to regain access and set a new known password at the same time?

  • A. Boot into a single-user mode and reset the password via the passwd command.
  • B. Boot into a single-user mode and reset the password by editing the /etc/passwd file.
  • C. Boot into a single-user mode and reset the password by editing the /etc/shadow file.
  • D. Boot into a single-user mode and reset the password via the chage command.

Answer: A

NEW QUESTION 3
A junior systems administrator is upgrading a package that was installed on a Red Hat-based system. The administrator is tasked with the following:
Update and install the new package.
Verify the new package version is installed.
Which of the following should be done to BEST accomplish these task? (Choose two.)

  • A. yum install <package name>
  • B. yum upgrade
  • C. rpm –e <package name>
  • D. rpm –qa
  • E. apt-get <package name>
  • F. apt-get upgrade

Answer: AD

NEW QUESTION 4
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 /etcln –s /usr/share/zoneinfo/US/Pacific localtime
  • B. cd /usr/localln –s /usr/share/zoneinfo/US/Pacific zoneinfo
  • C. cd /etc/localln –s /usr/share/zoneinfo/US/Pacific localtime
  • D. cd /usr/share/localln –s /usr/share/zoneinfo/US/Pacific localectl

Answer: A

NEW QUESTION 5
A company wants to ensure that all newly created files can be modified only by their owners and that all new directory content can be changed only by the creator of the directory. Which of the following commands will help achieve this task?

  • A. umask 0022
  • B. umask 0012
  • C. chmod –R 0644 /
  • D. chmod –R 0755 /

Answer: A

NEW QUESTION 6
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 7
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/*

Answer: C

NEW QUESTION 8
A configuration management tool running every minute is enforcing the service HTTPd to be started. To perform maintenance, which of the following series of commands can be used to prevent the service from being started?

  • A. systemctl stop httpd && systemctl mask httpd
  • B. systemctl disable httpd && systemctl mask httpd
  • C. systemctl stop httpd && systemctl hide httpd
  • D. systemctl disable httpd && systemctl hide httpd

Answer: A

NEW QUESTION 9
A Linux systems administrator wants the ability to access systems remotely over SSH using RSA authentication. to which of the following files should the RSA token be added to allow this access?

  • A. authorized_keys
  • B. ~/.ssh/ssh_config
  • C. id_rsa.pub
  • D. known_hosts

Answer: C

NEW QUESTION 10
Which of the following statements BEST represents what the term “agentless” means regarding orchestration?

  • A. Installation of a tool is not required on the remote system to perform orchestration tasks
  • B. It facilitates version control when using infrastructure as code during orchestration
  • C. It automatically removes malware from the remote system during orchestration
  • D. A tool can only be accessed remotely to perform orchestration tasks

Answer: A

NEW QUESTION 11
A junior Linux administrator is installing a new application with CPU architecture requirements that have the following specifications:
x64 bit 3.0GHz speed
Minimum quad core
The administrator wants to leverage existing equipment but is unsure whether the requirements of these systems are adequate. The administrator issues the following command cat/proc/cpuinfo. The output of the command is as follows:
XK0-004 dumps exhibit
Which of the following is the recommended course of action the administrator should take based on this output?

  • A. Install the application, as the system meets the application requirements
  • B. Procure new equipment that matches the recommended specifications
  • C. Recompile the Linux kernel to support the installation.
  • D. Reconfigure lib modules to support the new application.

Answer: A

NEW QUESTION 12
After installing a new web server, you are unable to browse to the default web page. INSTRUCTIONS
Review all the command output and select the command needed to remediate the issue.
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 13
An administrator needs to change the IP address on a server remotely. After updating the configuration files, a network restart is needed. However, the administrator fears that when the network connection drops, the network restart script will be killed before the new IP address has been set.
Which of the following commands would prevent the script from being killed?

  • A. nohup service network restart
  • B. service network restart &
  • C. echo “service network restart” | at now
  • D. dg service network restart

Answer: A

NEW QUESTION 14
A user, jsmith, needs access to database files located on a server. Which of the following will add jsmith to the “dba” group and preserve existing group memberships?

  • A. usermod –a –G dba jsmith
  • B. usermod –g dba jsmith
  • C. useradd –g dba jsmith
  • D. groupmod dba –u jsmith

Answer: AC

Explanation:
According to the reference given below. Both AC is correct.

NEW QUESTION 15
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 16
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 17
Which of the following BEST describes the purpose of the X11 system?

  • A. X11 provides graphical display capabilities
  • B. X11 provides command line capabilities
  • C. X11 provides networking capabilities
  • D. X11 provides telephony capabilities.

Answer: A

NEW QUESTION 18
Which of the following is the template for the grub.cfg file?

  • A. /etc/default/grub
  • B. /etc/grub2.cfg
  • C. /etc/sysct1.conf
  • D. /boot/efi

Answer: A

NEW QUESTION 19
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 20
A Linux administrator needs to schedule a cron job to run at 1:15 p.m. every Friday to report the amount of free disk space on the system and to send the output to a file named “freespace”. Which of the following would meet this requirement?

  • A. 13 15 * * 5 df > /freespace
  • B. 15 13 * * 5 df > /freespace
  • C. 15 1 * * 6 df > /freespace
  • D. 15 13 6 * * df > /freespace

Answer: A

NEW QUESTION 21
......

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