XK0-004 Exam Questions
501 real XK0-004 exam questions with expert-verified answers and explanations. Page 4 of 11.
- Question #165Server Side & Network Concepts
A user wants to use terminal services from a Windows workstation to manage a Linux server. Which of the following should be installed on the Linux server to enable this functionali...
XRDPremote desktopRDPWindows-Linux remote access - Question #166System Management
On a UEFI-based system, which of the following invokes GRUB2 from the EFI command prompt?
UEFIGRUB2EFIboot loader path - Question #167System Management
A systems administrator notices a large number of autoloaded device modules are no longer needed and decides to do a cleanup of them. Which of the following commands will accomplis...
modprobekernel modulesmodule removaldevice drivers - Question #168System Management
A Linux administrator looks at the /etc/timezone file and determines the need to change the time zone from California to New York temporarily. Which of the following commands will...
timezoneTZ environment variableexporttemporary configuration - Question #169Security
A user has been locked out of an account due to too many failed password attempts. Which of the following commands will unlock the user's account?
pam_tally2account lockoutPAMfailed login reset - Question #170System Management
A systems administrator receives a report that the web server is not running after a planned system reboot. After starting the web server manually, which of the following commands...
systemctlservice managementboot persistencesystemd - Question #171Scripting, Containers and Automation
An administrator is reviewing updates in the master online Git repository and notices a file named . The file contains passwords and should only be in the administrator's local rep...
.gitignoreGitsensitive file exclusionversion control - Question #173System Management
An administrator needs to create a file named hello in the home directory that contains the following text: it's me! Which of the following commands would accomplish this goal?
touchfile creationhome directorybasic file commands - Question #174Troubleshooting and Diagnostics
Which of the following commands will let a Linux user know the PCI devices that are installed in the system?
lspciPCI deviceshardware inventorysystem information - Question #175Security
A Linux administrator is updating iptables rules and is given the following tasks: - Output a list of iptables rules. - Remove all iptables rules. Which of the following actions sh...
iptablesfirewall rulesflushlist rules - Question #176Scripting, Containers and Automation
A junior Linux administrator is performing version control on a Git repository. The administrator is given a list of tasks to complete: - List the currently installed Git release....
git --versiongit clone --progressGit commandsversion control - Question #177Security
A systems administrator needs to allow the Linux server to receive HTTP connections from Internet hosts. By default, the port for HTTP connections is blocked. Which of the followin...
firewall-cmdHTTPport 80firewall zones - Question #178System Management
A Linux administrator attempts to install the package newprogram.x86_64.rpm using a package manager. The administrator receives a warning indicating the command that was run was us...
dnfRPMpackage managementdeprecated package managers - Question #179Server Side & Network Concepts
Which of the following would allow remote users to access a corporate server? (Choose two.)
VPNSSHremote accessnetwork services - Question #180Server Side & Network Concepts
A junior administrator is configuring local name lookups for fully qualified domain names in an isolated environment. The administrator is given a checklist and must accomplish the...
/etc/hostslocal name resolutionFQDNDNS - Question #181Troubleshooting and Diagnostics
An administrator is reviewing suspicious activity on a server and needs to determine which users logged into the system within the past 24 hours. Which of the following commands sh...
last commandlogin historyuser auditsecurity investigation - Question #182System Management
During the final step of staging new Linux hardware, GRUB2 is installed to the system drive. Which of the following BEST describes the role of GRUB2 in a new Linux installation?
GRUB2bootloaderkernel parametersboot process - Question #183Scripting, Containers and Automation
A site reliability engineer updated the latest configuration management scripts and committed them to a workstream called either test or patch. A Linux administrator wants to ensur...
Gitgit pullgit fetchversion control - Question #184System Management
A systems administrator wants to disable the Linux Kernel WatchDog Timer Driver for security purposes. Which of the following will accomplish this task?
kernel modulesmodprobe blacklistmodule managementsecurity hardening - Question #185System Management
In which of the following Linux GUI environments would the Konsole application MOST likely be found?
KDEdesktop environmentterminal emulatorGUI - Question #186System Management
A new user has been added to a Linux machine. Which of the following directories would contain the user's default files?
user management/etc/skeluser creationdefault files - Question #187Scripting, Containers and Automation
An issue was discovered on a testing branch of a Git repository. A file was inadvertently modified and needs to be reverted to the master branch version. Which of the following is...
Gitgit checkoutbranch managementfile revert - Question #188Security
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...
SSHPKIpublic key authenticationauthorized_keys - Question #189System Management
A junior systems administrator is scanning archive.tar files with an antivirus scanner. The administrator is given the following tasks: - List all files that are in the archive.tar...
tararchive managementfile extractioncommand flags - Question #191Security
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 fo...
/etc/shadowpassword securityfile permissionsaccess control - Question #192Scripting, Containers and Automation
A Linux systems administrator is implementing Source Code Management for the web application server configuration files located in /etc/httpd/. Which of the following steps should...
Gitgit initrepository initializationsource code management - Question #193Security
A junior systems administrator is tasked with providing the network_administrators group the ability to perform sudo without prompting for a password. Which of the following steps...
sudosudoersNOPASSWDprivilege management - Question #194Server Side & Network Concepts
A storage administrator in a virtualized environment has been told by a user that there is no space left on the volume to which the user can write. However, a check reveals that th...
thin provisioningvirtualizationstorage allocationdisk space - Question #195System Management
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 syst...
apt-getpackage managementsystem updatesdist-upgrade - Question #196Troubleshooting and Diagnostics
An administrator receives the following message on a remote server: Cannot open display. Which of the following should the administrator have used to log in to the server? xrdp -h...
SSHX11 forwardingremote displaydisplay error - Question #197System Management
A junior administrator is installing kernel modules. The administrator is given a checklist that outlines the following tasks to be completed: - Display currently installed module...
kernel moduleslsmoddmesgmodule information - Question #198System Management
An administrator wants to know the amount of memory installed on a Linux server. Which of the following commands can be used to accomplish this task?
/proc/meminfomemory informationproc filesystemsystem resources - Question #199Troubleshooting and Diagnostics
A Linux administrator is helping the security team troubleshoot an SELinux policy violation incident. Which of the following would be the BEST utility command to display SELinux vi...
SELinuxAVC denialsealertaudit log - Question #200System Management
A systems administrator received a request to change the hostname to a new name. Which of the following file configurations should be changed to fix the hostname in the server?
hostname/etc/sysconfig/networksystem configurationnetwork settings - Question #201Scripting, Containers and Automation
An administrator notices the HISTSIZE variable is 50, using the commands below: HISTSIZE=50 export HISTSIZE The administrator rechecks the HISTSIZE value using echo HISTSIZE but ge...
environment variablesHISTSIZEprintenvbash shell - Question #202Server Side & Network Concepts
Users in the payroll department are not configured to use DNS due to security concerns. The users ask the junior Linux administrator to configure their workstations to access the p...
/etc/hostshostname resolutionDNS bypassstatic host mapping - Question #203System Management
A systems administrator downloads an application's source files, compiles the application, and installs it per the application's installation instructions. When trying to run the a...
PATH variablesymlinkshell configurationbinary path - Question #204Server Side & Network Concepts
A Linux administrator tries to ping a hostname in a network but receives the message: hostname not . The administrator is sure the name exists on the network and wants to verify if...
/etc/resolv.confDNS client configurationname resolution - Question #205Troubleshooting and Diagnostics
Users are unable to connect to a server using HTTPS. The administrator runs the following command on the remote system: Then, the administrator runs the following command from a lo...
firewall rulesport 443HTTPSnetwork connectivity - Question #206Security
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?
SELinuxfile contextsautorelabelsecurity policy - Question #207Scripting, Containers and Automation
An administrator has a CSV file named hosts.csv. The contents of hosts.csv include the following: 192.168.2.57,lnx1prd.example.com,Linux,Production 192.168.2.58,lnx2prd.example.com...
bash scriptinggrepcutCSV processing - Question #208Server Side & Network Concepts
An administrator is installing a Linux VM on a personal hypervisor. The administrator wants to have the VM's IP address on the same network as the hypervisor host so the VM has the...
bridged networkingVM networkinghypervisornetwork modes - Question #209System Management
A raw VM image is being compressed with bzip2 and copied to a flash drive at /dev/hdb for off- site use by the marketing department. Which of the following command lines accomplish...
bzip2ddpipedisk imaging - Question #210System Management
A systems administrator wants to install a new application that requires the newmod kernel module. Which of the following commands should the systems administrator use?
modprobekernel modulesmodule management - Question #211System Management
A server, which is used to collect data about the network and datacenter environment via SNMP, is running out of space. Which of the following should the server administrator imple...
logrotatelog managementdisk utilizationSNMP - Question #212System Management
In which of the following directories is the vmlinuz file located?
vmlinuz/boot directorykernel imagefilesystem hierarchy - Question #213System Management
A systems administrator is implementing disk quotas on /home. During the process, the administrator receives the following error: Cannot find filesystem to check or filesystem not...
disk quotas/etc/fstabquota configurationfilesystem - Question #214Security
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?
chmodfile permissionsrecursive permissionsaccess control - Question #215Troubleshooting and Diagnostics
A Linux administrator needs to remove a USB drive from a system. The unmount command fails, stating the device is busy. Which of the following commands will show the reason for thi...
lsofbusy deviceUSB unmountopen files - Question #216Troubleshooting and Diagnostics
A Linux systems administrator is troubleshooting an issue with the /home directory running out of space. The administrator needs to determine which /home directories are using the...
dudisk usagedirectory sizestorage troubleshooting