Question 281 · 300 in bank
A systems administrator is analyzing the data usage on a Linux system. Which of the following commands will display a list of the entire /var contents along with sizes?
Show answer
Answer: C
CompTIA Linux+300 questions across 31 pages are complete and free, with no account or card.
300 questions in this bank
Free access · progress saved on this device
A systems administrator is analyzing the data usage on a Linux system. Which of the following commands will display a list of the entire /var contents along with sizes?
Answer: C
An administrator completes maintenance on a server but cannot remount the logical volume. Given the following output:

Which of the following commands should the administrator execute to resolve the issue?
Answer: A
A server’s IP address has been changed from 10.115.6.5 to 10.116.6.5. Because of this change, the application server needs to be reconfigured. Which of the following commands will allow the systems engineer to change the IP address in the /etc/app.cfg file quickly?
Answer: C
A user receives the following message when attempting to log in to a Linux workstation with the account named "developer": This account is currently not available A Linux administrator, who is working on the issue for the user, runs a few commands and receives the following output: Output 1: # grep -i developer /etc/passwd developer:x:1000:1000:Dev User:/home/developer:/sbin/nologin Output 2: # faillock —-user developer developer: When Type Source Valid - # Output 3: # passwd -S developer developer PS 2022-03-09 0 99999 7 -l (Password set, unknown crypt variant.) Output 4:
Which of the following commands can the administrator use to resolve the login issue for the account named "developer"?
Answer: C
An administrator thinks that the user Joe may be running an unauthorized process on a Linux server. Which of the following commands should the administrator run to confirm this idea?
Answer: B
Before a Linux administrator restarts a system using systemd, the administrator wants to know if any of the server users are currently logged in. Which of the following commands should the administrator use to verify that the server is not being used?
Answer: A
Users connecting to a MySQL database on a Linux system report frequent errors. An administrator reviews the following partial output of the /proc/meminfo and free commands:
Which of the following should the administrator do to ensure that the MySQL service will continue to run even if the system runs out of swap space? (Choose two.)
Answer: CD
A user reports performance degradation on a server that is running their web application. Given the following information about the system:

Which of the following describes the ongoing behavior?
Answer: C
Which of the following Git commands would send committed changes to a remote repository?
Answer: C
A Linux administrator is changing the default system umask. The newly created files should have the -rw-r----- permission, and the newly created directories should have the drwxr----x permission. Which of the following commands should the administrator use?
Answer: B
Keyboard:J Kmove between questionsA–Dselect an answerRshow or hide the answer← →change page
XK0-005 practice, question 281. 300 questions available.
Version 1.0.1. How we source questions
Questions 76, 77, 79, 80 were withdrawn after review. The remaining questions keep their original numbers and links.