XK0-004 Free Sample Questions

Linux+ Practice Test
9/218 questions · Unlock full access
Q1

The lead Linux admin has added a disk, /dev/sdd, to a VM that is running out of disk space. Place the following steps in the correct order from first (1)to last (4) to add the disk to the existing LVM

Question image
Q2

Joe, a user, is unable to log in to the server and contracts the systems administrator to look into the issue. The administrator examines the /etc/passwd file and discovers the following entry:joe:x:505:505::/home/joe:/bin/falseWhich of the following commands should the administrator execute to resolve the problem?

Q3

The development team has automated their software build process so each time a change is submitted to the source code repository, a new software build is compiled. They are requesting that the Linux operations team look into automating the deployment of the software build into the test environment. Which of the following is the benefit to the development team for implementing deployment automation?

Q4

A corporate server security policy states, “Ensure password hashes are not readable by non-administrative users. The administrator should check the permissions on which of the following files to ensure the server satisfies this policy?

Q5

Which of the following statements BEST represents what the term “agentless means regarding orchestration?

Q6

A Linux administrator is testing a new web application on a local laptop and consistently shows the following 403 errors in the laptop’s logs: The web server starts properly, but an error is generated in the audit log. Which of the following settings should be enabled to prevent this audit message?

Question image
Q7

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?

Question image
Q8

A systems administrator has scheduled a system update for a server. The update includes a resynchronization of the package database and updates to the current packages and the system distribution packages. Which of the following commands contains the proper order ofthis update?

Q9

A Linux administrator is restoring the SELinux contexts on an entire system. Which of the following commands is the BEST option to complete this task?