XK0-004 Practice Questions
512 real XK0-004 exam questions with expert-verified answers and explanations. Page 1 of 11.
- Question #1
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 t...
- Question #2
A Linux server has multiple IPs. A Linux administrator needs to verify if the HTTP server port is bound to the correct IP. Which of the following commands would BEST accomplish thi...
- Question #3
A systems administrator needs to append output of command to the contents of ls -lha /opt a test.txt file. Which of the following commands will accomplish this?
- Question #4
A Linux systems administrator needs to provision multiple web servers into separate regional datacenters. The systems architect has instructed the administrator to define the serve...
- Question #5
A Linux systems administrator needs to set permissions on an application with the following parameters: - The owner of the application should be able to read, write, and execute th...
- Question #6
A junior Linux administrator is trying to verify connectivity to the remote host host1 and display round-trip statistics for ten ICMP. Which of the following commands should the ad...
- Question #7
A junior Linux administrator is updating local name resolution to support IPv6. The administrator issues the command cat /etc/hosts and receives the following output: 127.0.0.1 loc...
- Question #8
A Linux systems administrator needs to copy the contents of a directory named "working" on the local working system to a folder /var/www/html on a server named "corporate-web". Whi...
- Question #10
A Linux administrator has configured a Linux system to be used as a router. The administrator confirms that two network adapters are properly installed and functioning correctly. I...
- Question #11
A systems administration team has decided to their systems as immutable instances. They keep the desired state of each of their systems in version control and apply automation when...
- Question #12
A systems administrator wants to deploy several applications to the same server quickly. Each application should be abstracted from the host with its own dependencies and libraries...
- Question #13
An operator finds a user is having issues with opening certain files. Which of the following commands would allow the security administrator to list and check the SELinux context?
- Question #14
A new corporate policy states that Bluetooth should be disabled on all company laptops. Which of the following commands would disable the use of Bluetooth?
- Question #15
A junior Linux administrator is installing a new application with CPU architecture requirements that have the following specifications: - x64 bit - 3.0GHz speed - Minimum quad core...
- Question #16
A Linux systems administrator wants the ability to access systems remotely over SSH using RSA authentication. to which of the following files should the RSA token be added to allow...
- Question #17
A Linux server needs to be accessed, but the root password is not available. Which of the following would BEST allow an administrator to regain access and set a new known password...
- Question #18
A Linux administrator wants to fetch a Git repository from a remote Git server. Which of the following is the BEST command to perform this task?
- Question #19
An administrator needs to create a shared directory in which all users are able, write, and execute its content but none of the regular users are able to delete any content. Which...
- Question #20
A systems administrator has finished building a new feature for the monitoring software in a separate Git branch. Which of the following is the BEST method for adding the new featu...
- Question #21
Which of the following will provide a list of all flash, external, internal, and SSD drives?
- Question #22
Which of the following configuration management tools is considered agentless?
- Question #23
An administrator reviews the following configuration file provided by a DevOps engineer: Which of the following would the application parsing this file MOST likely have to support?
- Question #24
Which of the following is a difference between YAML and JSON?
- Question #25
A junior administrator of a physical server receives log messages indicating the out-of-memory killer has been active. All memory slots are in use on the motherboard, but additiona...
- Question #26
A junior Linux administrator is optimizing a system in which an application needs to take priority 0 when running the process. The administrator runs the ps command and receives th...
- Question #28
A system administrator has deployed a Linux server based on an Anaconda process with all packages and custom configurations necessary to install a web server role. Which of the fol...
- Question #29
A Linux administration is using a Linux system as a router. During the tests, the administrator discovers that IP packets are not being sent between the configured interfaces. Whic...
- Question #30
A systems administrator wants to know the current status of a series of dd jobs that were started in the background three hours ago. Which of the following commands will achieve th...
- Question #31
A Linux administrator needs the "tech" account to have the option to run elevated commands as root. Which of the following commands would BEST meet this goal?
- Question #32
Which of the following is the purpose of the vmlinux file on a Linux system?
- Question #33
Ann, a junior systems administrator, is required to add a line to the /etc/yum.conf file. However, she receives the following error message when she tries to add the line: Ann perf...
- Question #34
A Linux administrator needs to take stock of USB devices attached to the system. Which of the following commands would be BEST to complete this task?
- Question #35
Given the output below: Which of the following commands can be used to remove MyPhoto.jpg from the current directory?
- Question #36
Which of the following server roles would assign a host IP address?
- Question #37
Which of the following commands would show the default printer on a Linux system?
- Question #38
A system 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 an...
- Question #39
A systems administrator must clean up all application files in the directory /var/log/app. However, the company's security policy requires the files to be kept on the backup server...
- Question #40
In order to comply with new security policies, an administrator needs to prevent the SSH server from using insecure algorithms. Which of the following files should be edited to acc...
- Question #41
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
- Question #42
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
- Question #43
Which of the following settings for umask ensures that new files have the default permissions -rw- r----- ?
- Question #44
Which of the following is the device file name for the second partition on the only SCSI drive?
- Question #45
Which of the following would be the BEST solution for a systems administrator to access the graphical user environment of a Linux machine remotely?
- Question #46
A technical support engineer receives a ticket from a user who is trying to create a 1KB file in the /tmp directory and is getting the following error No space left on device. The...
- Question #47
Which of the following is the BEST reason for not storing database files in the /var directory?
- Question #50
An administrator receives a warning about a file system filling up, and then identifies a large file located at /tmp/largelogfile. The administrator deletes the file, but no space...
- Question #51
Which of the following can be used to boot a DVD from a remote device to initialize a Linux system setup on bare metal hardware as if it is a local DVD?
- Question #52
After starting a long-running script, a systems administrator needs to verify the frequency of what is filling up the /var partition and kill it because it is consuming too much sp...
- Question #53
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)
- Question #54
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?