[September-2023]New Braindump2go XK0-005 PDF and XK0-005 VCE Dumps(663-680)
1.2023 Latest Braindump2go XK0-005 Exam Dumps (PDF & VCE) Free Share: https://www.braindump2go.com/xk0-005.html 2.2023 Latest Braindump2go XK0-005 PDF and XK0-005 VCE Dumps Free Share: https://drive.google.com/drive/folders/1q1jymF5pi8QZx3TIC3Kkbn5tV-tArljN?usp=sharing Free Resources from Braindump2go,We Devoted to Helping You 100% Pass All Exams!
1.2023 Latest Braindump2go XK0-005 Exam Dumps (PDF & VCE) Free Share:
https://www.braindump2go.com/xk0-005.html
2.2023 Latest Braindump2go XK0-005 PDF and XK0-005 VCE Dumps Free Share:
https://drive.google.com/drive/folders/1q1jymF5pi8QZx3TIC3Kkbn5tV-tArljN?usp=sharing
Free Resources from Braindump2go,We Devoted to Helping You 100% Pass All Exams!
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Braindump2go</strong> Guarantee All Exams 100% Pass<br />
‣ Vendor: CompTIA<br />
One Time!<br />
‣ Exam Code: <strong>XK0</strong>-<strong>005</strong><br />
‣ Exam Name: CompTIA Linux+ <strong>XK0</strong>-<strong>005</strong> Certification Exam<br />
‣ <strong>New</strong> Updated Questions from <strong>Braindump2go</strong><br />
‣ (Updated in <strong>September</strong>/<strong>2023</strong>)<br />
Visit <strong>Braindump2go</strong> <strong>and</strong> Download Full Version <strong>XK0</strong>-<strong>005</strong> Exam <strong>Dumps</strong><br />
QUESTION <strong>663</strong><br />
As part of the requirements for installing a new application, the swappiness parameter needs to be changed to 0. This<br />
change needs to persist across reboots <strong>and</strong> be applied immediately. A Linux systems administrator is performing this<br />
change. Which of the following steps should the administrator complete to accomplish this task?<br />
A. echo "vm.swappiness=0" >> /etc/sysctl.conf && sysctl -p<br />
B. echo "vm.swappiness=0" >> /proc/meminfo && sysctl -a<br />
C. sysctl -v >> /proc/meminfo && echo "vm.swapiness=0"<br />
D. sysctl -h "vm.swapiness=0" && echo /etc/vmswapiness<br />
Answer: A<br />
Explanation:<br />
To persist the parameter value indefinitely -- that is, until the user wants to change it again – they must manually update<br />
the sysctl.conf file.<br />
The comm<strong>and</strong> calls the nano text editor, which lets the user edit the file directly in the terminal. When the file opens, the<br />
user scrolls to the end of the text <strong>and</strong> adds the following setting.<br />
"vm.swappiness=0"<br />
>> append /etc/sysctl.conf && sysctl -p<br />
sysctl -p ( ( allows you to load the settings from a configuration file )<br />
QUESTION 664<br />
A systems administrator wants to list all local accounts in which the UID is greater than 500. Which of the following<br />
comm<strong>and</strong>s will give the correct output?<br />
A. find /etc/passwd -size +500<br />
B. cut -d: -f1 /etc/passwd > 500<br />
C. awk -F: '$3 > 500 {print $1}' /etc/passwd<br />
D. sed '/UID/' /etc/passwd < 500<br />
Answer: C<br />
QUESTION 665<br />
A systems administrator is tasked with changing the default shell of a system account in order to disable iterative<br />
logins. Which of the following is the BEST option for the administrator to use as the new shell?<br />
A. /sbin/nologin<br />
B. /bin/sh<br />
C. /sbin/setenforce<br />
<strong>XK0</strong>-<strong>005</strong> Exam <strong>Dumps</strong> <strong>XK0</strong>-<strong>005</strong> Exam Questions <strong>XK0</strong>-<strong>005</strong> <strong>PDF</strong> <strong>Dumps</strong> <strong>XK0</strong>-<strong>005</strong> <strong>VCE</strong> <strong>Dumps</strong><br />
https://www.braindump2go.com/xk0-<strong>005</strong>.html
<strong>Braindump2go</strong> Guarantee All Exams 100% Pass One Time!<br />
D. /bin/bash<br />
Answer: A<br />
Explanation:<br />
In order to limit the login we can add /bin/false to the end of the string (in the file /etc/passwd ), thus we will have a<br />
return code = 1 (when the user tries to open the terminal it will close immediately ).<br />
Another method, in the same way, we add /sbin/nologin (in this case I will have the message "This account is currently<br />
not available" )<br />
QUESTION 666<br />
A junior systems administrator recently installed an HBA card in one of the servers that is deployed for a production<br />
environment. Which of the following comm<strong>and</strong>s can the administrator use to confirm on which server the card was<br />
installed?<br />
A. lspci | egrep 'hba|fibr'<br />
B. lspci | zgrep 'hba|fibr'<br />
C. lspci | pgrep 'hba|fibr'<br />
D. lspci | 'hba|fibr'<br />
Answer: A<br />
Explanation:<br />
Egrep is a shortcut to the grep -E comm<strong>and</strong>. The -E option allows the use of regular expressions for text filtering. For<br />
example: +, |, () etc.<br />
QUESTION 667<br />
A new disk was presented to a server as /dev/sdd. The systems administrator needs to check if a partition table is on<br />
that disk. Which of the following comm<strong>and</strong>s can show this information?<br />
A. lsscsi<br />
B. fdisk<br />
C. blkid<br />
D. partprobe<br />
Answer: B<br />
QUESTION 668<br />
A systems administrator wants to upgrade /bin/someapp to a new version, but the administrator does not know the<br />
package name. Which of the following will show the RPM package name that provides that binary file?<br />
A. rpm -qf /bin/someapp<br />
B. rpm -Vv /bin/someapp<br />
C. rpm -p /bin/someapp<br />
D. rpm -i /bin/someapp<br />
Answer: A<br />
Explanation:<br />
Use the comm<strong>and</strong> 'rpm -qf' or 'yum whatprovides' to get the package name from a binary file or library file on the<br />
server.<br />
QUESTION 669<br />
A systems administrator is installing various software packages using a package manager. Which of the following<br />
comm<strong>and</strong>s would the administrator use on the Linux server to install the package?<br />
A. winget<br />
B. softwareupdate<br />
C. yum-config<br />
<strong>XK0</strong>-<strong>005</strong> Exam <strong>Dumps</strong> <strong>XK0</strong>-<strong>005</strong> Exam Questions <strong>XK0</strong>-<strong>005</strong> <strong>PDF</strong> <strong>Dumps</strong> <strong>XK0</strong>-<strong>005</strong> <strong>VCE</strong> <strong>Dumps</strong><br />
https://www.braindump2go.com/xk0-<strong>005</strong>.html
<strong>Braindump2go</strong> Guarantee All Exams 100% Pass One Time!<br />
D. apt<br />
Answer: D<br />
QUESTION 670<br />
Users are unable to create new files on the company's FTP server, <strong>and</strong> an administrator is troubleshooting the issue.<br />
The administrator runs the following comm<strong>and</strong>s:<br />
Which of the following is the cause of the issue based on the output above?<br />
A. The users do not have the correct permissions to create files on the FTP server.<br />
B. The ftpusers filesystem does not have enough space.<br />
C. The inodes is at full capacity <strong>and</strong> would affect file creation for users.<br />
D. ftpusers is mounted as read only.<br />
Answer: C<br />
QUESTION 671<br />
An administrator started a long-running process in the foreground that needs to continue without interruption. Which of<br />
the following keystrokes should the administrator use to continue running the process in the background?<br />
A. bg<br />
B. bg<br />
C. jobs -1<br />
D. bg &<br />
Answer: A<br />
Explanation:<br />
bg - run jobs in the background<br />
& ampers<strong>and</strong> single ampers<strong>and</strong> & causes the comm<strong>and</strong> to execute in the background.<br />
QUESTION 672<br />
A Linux administrator has physically added a new RAID adapter to a system. Which of the following comm<strong>and</strong>s should<br />
the Linux administrator run to confirm that the device has been recognized? (Choose two.)<br />
A. rmmod<br />
B. ls -ll /etc<br />
C. lshw -class disk<br />
D. pvdisplay<br />
E. rmdir /dev<br />
F. dmesg<br />
Answer: CF<br />
<strong>XK0</strong>-<strong>005</strong> Exam <strong>Dumps</strong> <strong>XK0</strong>-<strong>005</strong> Exam Questions <strong>XK0</strong>-<strong>005</strong> <strong>PDF</strong> <strong>Dumps</strong> <strong>XK0</strong>-<strong>005</strong> <strong>VCE</strong> <strong>Dumps</strong><br />
https://www.braindump2go.com/xk0-<strong>005</strong>.html
<strong>Braindump2go</strong> Guarantee All Exams 100% Pass One Time!<br />
QUESTION 673<br />
Based on the given comm<strong>and</strong>:<br />
find /home/user1 -type f -name "*.txt" -size +100M<br />
Which of the following will the comm<strong>and</strong> accomplish?<br />
A. It finds all the files ending with .txt with a size less than 100MB in /home/user1 directory.<br />
B. It finds all the files ending with .txt with a size of 100MB in /home/user1 directory.<br />
C. It finds all the directories with .txt files with a size of 100MB in /home folder.<br />
D. It finds all the files ending with .txt with a size of over 100MB in /home/user1 directory.<br />
Answer: D<br />
QUESTION 674<br />
While inspecting a recently compromised Linux system, the administrator identified a number of processes that should<br />
not have been running:<br />
Which of the following comm<strong>and</strong>s should the administrator use to terminate all of the identified processes?<br />
A. pkill -9 -f "upload*.sh"<br />
B. kill -9 "upload*.sh"<br />
C. killall -9 "upload*.sh"<br />
D. skill -9 "upload*.sh"<br />
Answer: A<br />
QUESTION 675<br />
A senior Linux administrator has created several scripts that will be used to install common system applications. These<br />
scripts are published to a repository to share with the systems team. A junior Linux administrator needs to retrieve the<br />
scripts <strong>and</strong> make them available on a local workstation. Which of the following Git comm<strong>and</strong>s should the junior Linux<br />
administrator use to accomplish this task?<br />
A. fetch<br />
B. checkout<br />
C. clone<br />
D. branch<br />
Answer: C<br />
QUESTION 676<br />
Users are reporting that writes on a system configured with SSD drives have been taking longer than expected, but<br />
reads do not seem to be affected. A Linux systems administrator is investigating this issue <strong>and</strong> working on a solution.<br />
Which of the following should the administrator do to help solve the issue?<br />
A. Run the corresponding comm<strong>and</strong> to trim the SSD drives.<br />
B. Use fsck on the filesystem hosted on the SSD drives.<br />
C. Migrate to high-density SSD drives for increased performance.<br />
D. Reduce the amount of files on the SSD drives.<br />
Answer: A<br />
Explanation:<br />
TRIM is the function that allows you to improve the long-lasting performance of SSDs by better managing the various<br />
<strong>XK0</strong>-<strong>005</strong> Exam <strong>Dumps</strong> <strong>XK0</strong>-<strong>005</strong> Exam Questions <strong>XK0</strong>-<strong>005</strong> <strong>PDF</strong> <strong>Dumps</strong> <strong>XK0</strong>-<strong>005</strong> <strong>VCE</strong> <strong>Dumps</strong><br />
https://www.braindump2go.com/xk0-<strong>005</strong>.html
<strong>Braindump2go</strong> Guarantee All Exams 100% Pass One Time!<br />
reads <strong>and</strong> writes of the cells, so you will not only increase the life of the SSD but also speed up the read <strong>and</strong> write<br />
operations.<br />
SSD TRIM is an Advanced Technology Attachment (ATA) comm<strong>and</strong> that enables an operating system to inform a<br />
NAND flash solid-state drive (SSD) which data blocks it can erase because they are no longer in use. The use of TRIM<br />
can improve the performance of writing data to SSDs <strong>and</strong> contribute to longer SSD life<br />
QUESTION 677<br />
A Linux engineer needs to block an incoming connection from the IP address 2.2.2.2 to a secure shell server <strong>and</strong><br />
ensure the originating IP address receives a response that a firewall is blocking the connection. Which of the following<br />
comm<strong>and</strong>s can be used to accomplish this task?<br />
A. iptables -A INPUT -p tcp --dport ssh -s 2.2.2.2 -j DROP<br />
B. iptables -A INPUT -p tcp --dport ssh -s 2.2.2.2 -j RETURN<br />
C. iptables -A INPUT -p tcp --dport ssh -s 2.2.2.2 -j REJECT<br />
D. iptables -A INPUT -p tcp --dport ssh -s 2.2.2.2 -j QUEUE<br />
Answer: C<br />
Explanation:<br />
In general, use REJECT if you want the other side to know that the port is unreachable, <strong>and</strong> DROP for connections to<br />
hosts you don't want to see.<br />
QUESTION 678<br />
A systems administrator detected corruption in the /data file system. Given the following output:<br />
Which of the following comm<strong>and</strong>s can the administrator use to BEST address this issue?<br />
A.<br />
B.<br />
C.<br />
D.<br />
<strong>XK0</strong>-<strong>005</strong> Exam <strong>Dumps</strong> <strong>XK0</strong>-<strong>005</strong> Exam Questions <strong>XK0</strong>-<strong>005</strong> <strong>PDF</strong> <strong>Dumps</strong> <strong>XK0</strong>-<strong>005</strong> <strong>VCE</strong> <strong>Dumps</strong><br />
https://www.braindump2go.com/xk0-<strong>005</strong>.html
<strong>Braindump2go</strong> Guarantee All Exams 100% Pass One Time!<br />
Answer: C<br />
QUESTION 679<br />
A user reported issues when trying to log into a Linux server. The following outputs were received:<br />
Given the outputs above, which of the following is the reason the user is unable to log in to the server?<br />
A. User1 needs to set a long password.<br />
B. User1 is in the incorrect group.<br />
C. The user1 shell assignment is incorrect.<br />
D. The user1 password is expired.<br />
Answer: B<br />
QUESTION <strong>680</strong><br />
A junior administrator updated the PostgreSQL service unit file per the database administrator's recommendation. The<br />
service has been restarted, but changes have not been applied. Which of the following should the administrator run for<br />
the changes to take effect?<br />
A. systemctl get-default<br />
B. systemctl daemon-reload<br />
C. systemctl enable postgresql<br />
D. systemctl mask postgresql<br />
Answer: B<br />
<strong>XK0</strong>-<strong>005</strong> Exam <strong>Dumps</strong> <strong>XK0</strong>-<strong>005</strong> Exam Questions <strong>XK0</strong>-<strong>005</strong> <strong>PDF</strong> <strong>Dumps</strong> <strong>XK0</strong>-<strong>005</strong> <strong>VCE</strong> <strong>Dumps</strong><br />
https://www.braindump2go.com/xk0-<strong>005</strong>.html