Vendor: CompTIA
Certifications: CompTIA Linux+
Exam Name: CompTIA Linux+ Certification Exam
Exam Code: XK0-004
Total Questions: 516 Q&As ( View Details)
Exam retired ,new exam code replace: XK0-005
VCE
CompTIA XK0-004 Last Month Results
XK0-004 Q&A's Detail
Exam Code: | XK0-004 |
Total Questions: | 516 |
Single & Multiple Choice | 509 |
Drag Drop | 3 |
Hotspot | 1 |
Simulation Labs | 3 |
CertBus Has the Latest XK0-004 Exam Dumps in Both PDF and VCE Format
XK0-004 Online Practice Questions and Answers
A systems administrator has set up third-party log aggregation agents across several cloud instances. The systems administrator wants to create a dashboard of failed SSH attempts and the usernames used. Which of the following files should be watched by the agents?
A. /var/log/audit/audit.log
B. /var/log/kern.log
C. /var/log/monitor
D. /etc/rsyslog.conf
An administrator needs to ensure the JAVA_HOME variable is set correctly for all users that log in to the server. Which of the following files should be edited to set this variable?
A. /etc/profile
B. /etc/skel/.profile
C. /home/user/.profile
D. /etc/rc.local
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.pub file to the remote system ~/.ssh/authorized_keys location.
B. Add the content of id_rsa file to the remote system ~/.ssh/authorized_keys location.
C. Add the content of id_rsa file to the remote system ~/.ssh/known_hosts location.
D. Add the content of id_rsa.pub file to the remote system ~/.ssh/known_hosts location.
A Linux user wants to give read-only permissions to a directory and its contents. Which of the following commands will allow the user to accomplish this task?
A. chmod -R 400 /new_directory/
B. chmod -R 600 /new_directory/
C. chmod 400 /new_directory/
D. chmod 600 /new_directory/
The following represents a partial listing of a user's .bashrc file:
HISTSIZE=800 HISTFILESIZE=1000 umask 2002 HISTCONTROL=ignoreboth
When the user opens a terminal, an error message appears:
Octal number out of range
Which of the following lines in the partial .bashrc should be modified to prevent the error from occurring?
A. HISTSIZE=800
B. HISTFILESIZE=1000
C. umask 2002
D. HISTCONTROL=ignoreboth
Add Comments
I passed my exam this morning. I prepared with this dump two weeks ago. This dump is very valid. All the questions were in my exam. I still got 2 new questions but luckily they are easy for me. Thanks for your help. I will recommend you to everyone I know.