XK0-004 Exam Questions
501 real XK0-004 exam questions with expert-verified answers and explanations. Page 3 of 11.
- Question #110System Management
Which of the following are Linux desktop managers? (Choose two.)
desktop managersKDEGNOMELinux GUI - Question #111System Management
A systems administrator is configuring options on a newly installed Linux VM that will be deployed to the Pacific time zone. Which of the following sets of commands should the admi...
timezone configurationsystem timetimedatectlLinux VM setup - Question #112Troubleshooting and Diagnostics
A user has connected a Bluetooth mouse to a computer, but it is not working properly. Which of the following commands should the systems administrator use to fix the issue?
insmodBluetoothkernel modulesdevice drivers - Question #113System Management
An administrator notices that a long-running script, /home/user/script.sh, is taking up a large number of system resources. The administrator does not know the script's function. W...
reniceprocess prioritysystem resourcesnice value - Question #114Scripting, Containers and Automation
An administrator needs to deploy 100 identical CentOS workstations via PXE boot. Which of the following should the administrator use to minimize the amount of interaction with the...
PXE bootKickstartautomated deploymentCentOS - Question #115Security
A user, jsmith, needs access to database files located on a server. Which of the following will add jsmith to the "dba" group and preserve existing group memberships?
usermodgroup membershipuser managementLinux permissions - Question #116System Management
A Linux administrator installed a new network adapter and temporarily disabled the network service from starting on boot. The partial output of is as follows: chkconfig Which of th...
chkconfigrunlevelsservice startupSysVinit - Question #117Scripting, Containers and Automation
An engineer is working on a production application deployment that requires changing a web application property file called server.property that is managed by the Git version contr...
git addgit commitversion controlGit workflow - Question #118Scripting, Containers and Automation
A Linux administrator retrieved a repository of files from a Git server using git clone. The administrator wants to see if a configuration file was added to the repository. Which o...
git logrepository historyGit commandsversion control - Question #119Troubleshooting and Diagnostics
A systems administrator is unable to reach other devices on the network and the Internet. The server is configured with the IP address 192.169.1.50/24 on eth0. The server's router...
route commanddefault gatewayIP misconfigurationnetwork routing - Question #120Security
A junior Linux administrator needs to access production servers using a secure SSH protocol. Which of the following files should contain the public key to gain remote access to the...
SSHauthorized_keyspublic key authenticationremote access - Question #121System Management
An administrator needs to see the type of CPU that a server is running. Which of the following files contains this information?
proc filesystem/proc/cpuinfohardware infosystem files - Question #122Scripting, Containers and Automation
A junior systems administrator is creating a cron job. The cron job requirements are as follows: - Run the hello.sh script every hour (24 times in one day). - Run it on Monday only...
croncrontab syntaxjob schedulingautomation - Question #123Security
A Linux systems administrator is setting up SSH access with PKI for several using their newly created RSA keys. Which of the following MOST securely achieves this task?
SSHPKIssh-copy-idpublic key authentication - Question #124Scripting, Containers and Automation
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 request...
CI/CDdeployment automationDevOpscontinuous deployment - Question #125Scripting, Containers and Automation
A Linux administrator needs to schedule a cron job to run at 1:15 p.m. every Friday to report the amount of free disk space on the system and to send the output to a file named "fr...
croncrontab syntaxdisk spacedf command - Question #127System Management
A junior Linux administrator needs to ensure a service will start on system boot. Which of the following commands should be used to accomplish this task?
systemdservice managementboot startupchkconfig - Question #129Troubleshooting and Diagnostics
A Linux administrator has installed a web application firewall in front of a web server running on HTTP port 8080 and successfully started the HTTP server. However, after opening t...
ip_forwardsysctliptableskernel parameters - Question #130Security
A member of the production group issues the following command: echo "Monday through Friday" > /production_docs/days The command fails to execute, so the user obtains the following...
file permissionschmodchowndirectory ownership - Question #131Troubleshooting and Diagnostics
A junior systems administrator created a new filesystem /dev/sda1 with mountpoint /data and added it to the /etc/fstab for auto-mounting. When the systems administrator tries to mo...
fstabmount optionsfilesystem mounting/etc/fstab - Question #133Scripting, Containers and Automation
An analyst is trying to determine which public IP addresses are managed by Company A, but the script is not working correctly. Which of the following explains what is wrong with th...
bash scriptingconditional logiccomparison operatorsscript debugging - Question #134Security
All users are reporting that they cannot connect to the SFTP server. The administrator runs a scan: Which of the following would allow the administrator to fix the problem?
SFTPport 22iptablesfirewall rules - Question #135Security
A Linux systems administrator installed a new web server, which failed while attempting to start. The administrator suspects that SELinux is causing an issue and wants to temporari...
SELinuxsetenforcepermissive modesecurity policy - Question #136System Management
A configuration management tool running every minute is enforcing the service HTTPd to be started. To perform maintenance, which of the following series of commands can be used to...
systemctlservice maskinghttpdconfiguration management - Question #137Troubleshooting and Diagnostics
An administrator has written the following Bash script: All necessary files exist in the correct locations. However, when the administrator executes /home/user/test.sh the followin...
bash shebangscript executionfile encodinginterpreter path - Question #138Troubleshooting and Diagnostics
An administrator is troubleshooting an application that has failed to start after the server was rebooted. Noticing the data volume is not mounted, the administrator attempts to mo...
LVMlogical volumeslvchangevolume activation - Question #139Server Side & Network Concepts
A four-drive Linux NAS has been improperly configured. Each drive has a capacity of 6TB, for a total storage capacity of 24TB. To reconfigure this unit to be not pluggable for driv...
RAID 10RAID levelsNAS configurationstorage capacity - Question #140System Management
A systems administrator suspects a process with a PID of 2864 is consuming resources at an alarming rate. The administrator uses the command renice -n -5 -p2864, but it does not so...
reniceprocess prioritynice valueresource management - Question #143System Management
A systems administrator wants to download a package from a remote server. Which of the following are the BEST commands to use for this task? (Choose two.)
curlwgetfile downloadremote transfer - Question #144Troubleshooting and Diagnostics
An administrator is logged into a server remotely and wants to determine if the system is a VM. Which of the following commands would assist with this?
dmesgvirtualization detectionkernel messagesVM identification - Question #145Security
Ann, a Linux administrator, wants to edit a configuration management file. When she opens the file to edit, her text editor reports that the file has been opened in read-only mode....
chattrimmutable flagfile attributesextended attributes - Question #146Security
Joe, a member of the accounting group on a Linux system, is unable to write a file called "taxes" in the accounting shared directory. The ownership and permissions on the directory...
chmodgroup permissionsdirectory execute bitfile write access - Question #147Server Side & Network Concepts
An administrator needs to generate a list of services that are listening on TCP and/or UDP ports. Which of the following tools should the administrator use?
netstatlistening portsTCP/UDPnetwork services - Question #148System Management
Ann, a user, has created a new directory and noticed that permissions on the new directory are as follows: drwx------. 1 ann ann 0 Jun 11 08:20 work Which of the following should t...
umaskdefault permissions/etc/profiledirectory creation - Question #149Troubleshooting and Diagnostics
A Linux engineer is troubleshooting a newly added SCSI device for a Linux server that needed more disk space without rebooting. The engineer discovers that the new device is not vi...
SCSI rescansysfshot-plug storagedevice management - Question #150Troubleshooting and Diagnostics
A systems administrator is troubleshooting an intermittent network connection at the IP address 192.168.1.23. The administrator wishes to monitor the connection at five-minute inte...
pingnetwork monitoringinterval flagpacket count - Question #151System Management
A systems administrator wants to mount an ISO to access its content. Using /mnt as a mount point, which of the following is the correct syntax?
mountISOloop devicefilesystem - Question #152Security
An administrator is uncomfortable allowing users to log in as root. Which of the following ensures that root logins are disallowed?
usermodaccount lockoutroot securitylogin restriction - Question #153Troubleshooting and Diagnostics
A systems administrator installs a simple package, but the Linux system returns the following error: rpmdb . To verify if there is a problem in the RPM database, the systems admini...
RPM databaserpmdb rebuildpackage managementyum - Question #154Troubleshooting and Diagnostics
Joe, a user, reports that he is no longer able to write files to his home directory. Upon inspection, the Linux administrator discovers that attempting to create a new file gives t...
inodesdf -iinode exhaustionfilesystem troubleshooting - Question #155Server Side & Network Concepts
A Linux administrator is adding a static IP address to a network interface on a Linux system. The administrator modifies the ifcfg- eth0 configuration file with the following setti...
ifcfgstatic IPBOOTPROTOONBOOT - Question #156Security
A company wants to provide internal identity verification services for networked devices. Which of the following servers should be installed?
Certificate AuthorityPKIidentity verificationnetwork security - Question #157Security
An administrator notices a directory on a web server named /var/www/html/old_reports that should no longer be accessible on the web. Which of the following commands will accomplish...
chmodweb serverdirectory permissionsaccess control - Question #158System Management
A Linux administrator wants to configure log messages of critical or higher severity levels from the cron utility to be logged to the console. Which of the following will accomplis...
rsyslogsyslog configurationlog severitycron logging - Question #159System Management
A file server is sharing a directory called /share between team members inside a company. The fileshare needs to be moved from serverA to /newshare located on serverB with all perm...
rsyncfile migrationACL preservationextended attributes - Question #160Troubleshooting and Diagnostics
An administrator needs to look at a log for an application on a systemd-based system. There is no log for this application in /var/log. Which of the following is another way to vie...
journalctlsystemdapplication logslog management - Question #161Server Side & Network Concepts
Which of the following is true about Type 2 hypervisors?
Type 2 hypervisorhosted hypervisorvirtualizationbare-metal vs hosted - Question #162Security
A security administrator wants to display a warning banner before a user logs in. Which of the following files must be edited to make this happen?
login banner/etc/issuepre-login messagesecurity configuration - Question #163System Management
Using which of the following control mode commands is the correct way to substitute all occurrences of /dev/sdc with /dev/sdd while editing a file in vi?
vi editorregex substitutionglobal replacespecial character escaping - Question #164Server Side & Network Concepts
A user needs to modify the IP address of a laptop. Which of the following files can be used to configure the network interface named eth0?
network interfaceifcfgeth0network configuration files