Best Way To Study For CompTIA XK0-004 Exam Brilliant XK0-004 Exam Questions PDF [Q14-Q32]

Best Way To Study For CompTIA XK0-004 Exam Brilliant XK0-004 Exam Questions PDF [Q14-Q32]

Rate this post

Best Way To Study For CompTIA XK0-004 Exam Brilliant XK0-004 Exam Questions PDF

Updated Verified Pass XK0-004 Exam – Real Questions and Answers

NO.14 A Linux administrator wants to obtain a list of files and subdirectories in the /etc directory that contain the word “services”. Once the files and subdirectories are discovered, they should be listed alphabetically in the
/var/tmp/foundservices file. Which of the following shell scripts will accomplish this task?

 
 
 
 

NO.15 Given the output below:

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

 
 
 
 
 

NO.16 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?

 
 
 
 

NO.17 Joe, a member of the accounting group on a Linux system, is unable to write a file called “taxes” in the accounting shared directory. The ownership and permissions on the directory and file are as follows:
accounting drwxrw-r– user = ann, group = accounting
taxes -rw-r–r– , user = ann, group = accounting
Which of the following commands would allow Joe to write to the file? (Choose two.)

 
 
 
 
 
 

NO.18 A Linux administrator looks at the /etc/timezone file and determines the need to change the time zone from California to New York temporarily. Which of the following commands will accomplish this?

 
 
 
 

NO.19 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:

Which of the following is the recommended course of action the administrator should take based on this output?

 
 
 
 

NO.20 An administrator needs to download a monitoring agent called node_exporter.0.16.0-Linux.amd64 from the internal web page https://company.local/downloads/. The server does not have graphical interface.
Which of the following commands will accomplish this task?

 
 
 
 

NO.21 A junior systems administrator is creating a cron job. The cron job requirements are as follows:
Run the hello.sh script every hour (24 times in one day).
Run it on Monday only.
Given this scenario, which of the following crontab options should be configured to meet these requirements?

 
 
 
 

NO.22 A junior Linux administrator is setting up system-wide configuration settings. The goal is to ensure the PATH environment variable includes the following locations for all users who log into a Linux system.

The administrator issues the following commands at the terminal:

Respectively, the output of these commands is as follows:

Given this output, which of the following would be the BEST action for the administrator to perform to address this issue?

 
 
 
 

NO.23 Which of the following would be the BEST solution for a systems administrator to access the graphical user environment of a Linux machine remotely?

 
 
 
 

NO.24 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.)

 
 
 
 
 
 

NO.25 Which of the following Linux server roles should be installed to monitor and log local web traffic?

 
 
 
 
 

NO.26 Which of the following is the purpose of the vmlinux file on a Linux system?

 
 
 
 

NO.27 During the final step of staging new Linux hardware, GRUB2 is installed to the system drive. Which of the following BEST describes the role of GRUB2 in a new Linux installation?

 
 
 
 

NO.28 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?

 
 
 
 

NO.29 A user wants to list the lines of a log, adding a correlative number at the beginning of each line separated by a set of dashes from the actual message. Which of the following scripts will complete this task?

 
 
 
 

NO.30 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:

Ann performs some diagnostics to attempt to find the root cause:

Which of the following commands should Ann execute to write content to /etc/yum?

 
 
 
 

NO.31 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?

 
 
 
 

NO.32 A Linux administrator must identify a user with high disk usage. The administrator runs the # du -s /home/* command and gets the following output:

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?

 
 
 
 

Updated PDF (New 2022) Actual CompTIA XK0-004 Exam Questions: https://www.trainingdump.com/CompTIA/XK0-004-practice-exam-dumps.html

Leave a Reply

Your email address will not be published. Required fields are marked *

Enter the text from the image below