XK0-005 Dumps

XK0-005 Free Practice Test

CompTIA XK0-005: CompTIA Linux+ Certification Exam

QUESTION 1

Which of the following commands is used to configure the default permissions for new files?

Correct Answer: C

QUESTION 2

An administrator installed an application from source into /opt/operations1/ and has received numerous reports that users are not able to access the application without having to use the full path /opt/operations1/bin/*. Which of the following commands should be used to resolve this issue?

Correct Answer: A
It would be better to put the directory before $PATH, so that way the directory is searched before the rest of the pathing options in $PATH.

QUESTION 3

A Linux administrator reviews a set of log output files and needs to identify files that contain any occurrence of the word denied. All log files containing entries in uppercase or lowercase letters should be included in the list. Which of the following commands should the administrator use to accomplish this task?

Correct Answer: A

QUESTION 4

A Linux administrator needs to create a new user named user02. However, user02 must be in a different home directory, which is under /comptia/projects. Which of the following commands will accomplish this task?

Correct Answer: A

QUESTION 5

A systems administrator needs to check if the service systemd-resolved.service is running without any errors. Which of the following commands will show this information?

Correct Answer: A