XK0-004 Exam Questions
501 real XK0-004 exam questions with expert-verified answers and explanations. Page 10 of 11.
- Question #484System Management
A systems administrator is creating a new volume opt _ app in a volume group app_vg. The new volume should utilize all the available disk space from the newly added disk device /de...
LVMphysical volumevolume grouplogical volume - Question #486System Management
A developer has contacted a systems administrator because an application is not receiving a response from the client. The application must purge the message queue before terminatin...
signalskill commandSIGTERMprocess management - Question #487System Management
Which of the following are Linux desktop environments? (Choose two.)
desktop environmentsMATEKDEGUI - Question #488Server Side & Network Concepts
A technician's laptop is configured with wired and wireless interfaces. Both interfaces have obtained the appropriate IP address from the organization's DHCP server. Which of the f...
dhclientIP addresswireless interfacenetwork configuration - Question #489Security
A Linux administrator's account has the following privileges: The administrator tried to install the vim package and received the following output: Which of the following is the BE...
sudoersNOEXECprivilege escalationsudo configuration - Question #490Security
A senior administrator keeps an important server turned off most of the time for security reasons. The server is booted for one specific function, then turned off again. Which of t...
certificate authorityserver securityPKIair-gapped server - Question #491Security
Joe, a Linux administrator implemented an IP blocking solution to secure a server, but he is now unable to connect to the server from the office. Which of the following should Joe...
hosts.denyIP blockingfirewallaccess control - Question #492System Management
A systems administrator discovers httpd is running and preventing another application service from listening on the default web port. The administrator stops and disables the httpd...
systemctl maskservice managementboot persistencesystemd - Question #493Server Side & Network Concepts
A server administrator is attempting to reserve the IP address of 10.0.0.51 for a Linux workstation named PC-10021 using a Windows DHCP service. However, after several reboots, the...
DHCP reservationdhclient.confMAC addressNetworkManager - Question #494Scripting, Containers and Automation
A Linux administrator needs to copy the log files and all the subdirectories in /var/log/archive to the /log/backups/ directory on a remote server at backup.example.com. The admini...
scpremote copySSHfile transfer - Question #495Scripting, Containers and Automation
When a developer commits to a product's master branch, it has a tool that checks code syntax compiles the software, performs unit tests, and outputs an RPM file as an artifact. Whi...
CI/CDbuild automationRPMpipeline - Question #496Server Side & Network Concepts
A network administrator requested a change in workstation routing to a new access point. Which of the following will display the current settings for wlan0 and set the new access p...
iwconfigwirelessESSIDWLAN configuration - Question #497System Management
Which of the following should a systems administrator use to run the uptime command every ten seconds?
watch commanduptimecommand schedulingmonitoring - Question #498Security
A user needs to access the GUI of an application on a remote console using encrypted x- forwarding. Which of the following BEST accomplishes this?
SSH X forwardingremote GUIX11encrypted tunnel - Question #499System Management
A technician wants to archive and compress all files and folders contained within the /home/user directory. Which of the following commands should the technician execute?
tarcompressionarchivinggzip - Question #500Troubleshooting and Diagnostics
A system shows high utilization of swap space but low utilization of physical memory. Which of the following commands should an administrator run to free up usable swap space?
swap spaceswapoffswaponmemory management - Question #501Troubleshooting and Diagnostics
A company's httpd server has stopped working and restarting the service does not fix the issue. A junior systems administrator is investigating log files for clues. Which of the fo...
journalctlsystemd logshttpdservice troubleshooting - Question #502Troubleshooting and Diagnostics
A systems administrator is investigating degraded server performance. The administrator executes diagnostic commands that result in the following output: Which of the following is...
IO waitdisk I/Operformance monitoringload average - Question #503Security
A technician wants to implement a firewall ACL to block external access to the company's SSH server. Which of the following should the technician implement to configure the firewal...
iptablesREJECT vs DROPfirewall ACLSSH access control - Question #504System Management
A junior Linux administrator receives a request to add a user, Ann, to the secondary group `cashiers`. Ann is also a member of the secondary group, `managers`. The administrator is...
usermodsecondary groupsgroup membershipuser management - Question #505Scripting, Containers and Automation
A Linux administrator needs to update a script that is stored in the team's Git repository. After the administrator clones the repository, which of the following is the BEST method...
Git branchingversion controlmerge conflictscollaboration workflow - Question #506System Management
A systems administrator wants to change the system locale to test a custom script. Which of the following commands should the administrator execute?
localeLC_ALLenvironment variablesinternationalization - Question #507System Management
A Linux administrator is migrating a physical server to a virtual instance. Which of the following commands would allow the administrator to create a new initial RAM disk to use in...
mkinitrdinitrdboot processRAM disk - Question #508Security
A technician wants to update the contents of the /etc/hosts.allow file. The technician reviews the following output: According to best practice, which of the following commands sho...
setfaclACLhosts.allowleast privilege - Question #509Troubleshooting and Diagnostics
After restoring a user's files from backup, a technician begins troubleshooting the following error message: Which of the following is MOST likely fix this issue?
chownfile ownershipSSH restorehome directory permissions - Question #510Troubleshooting and Diagnostics
An administrator finds a text file that is using too much disk space. The administrator runs lsof | grep bigfile.txt and gets the following return: Which of the following should th...
lsofopen file handlesprocess managementdisk space recovery - Question #511Server Side & Network Concepts
A customer needs to spin-up 20 new VMs on a web cluster. Which of the following would help the customer use small amounts of storage per VM on a private cloud when creating each ne...
thin provisioningVM storageprivate cloudvirtualization - Question #512Security
A user creates a key pair to configure RSA authentication on a Linux server. Which of the following should the user do NEXT?
SSH key pairRSA authenticationpublic key distributionauthorized_keys - Question #513Server Side & Network Concepts
Which of the following allows communication over port 3389 to access GUI services?
XRDPRDPport 3389remote GUI access - Question #514System Management
A junior administrator needs to display information for an RPM package that contains software from an external provider. Which of the following commands will display the package in...
RPMpackage managementrpm flagspackage query - Question #515System Management
A storage administrator added a new primary partition to a drive and wants to create a filesystem without rebooting. Which of the following commands will allow this to happen?
partprobepartition tablekernel rescandisk management - Question #516Troubleshooting and Diagnostics
A Linux administrator is installing an NGINX-based proxy service on the same server that hosts the Apache-based HTTP services When the administrator launches the proxy service, the...
port conflictNGINXApachesocket binding - Question #517Troubleshooting and Diagnostics
A systems engineer was configuring a small, single-board device running Linux when the device lost power during an outage. The device was running an SSH server and was set up to ob...
ARPnetwork discoveryDHCPdevice enumeration - Question #518Security
A Linux administrator is troubleshooting an issue with a shell script. Users in the accounting department are unable to run the script, but users in the sales department are not ha...
chmodexecute permissionsgroup permissionsfile access control - Question #519System Management
An administrator needs to ensure the JAVA_HOME variable is set correctly for all users that log in to the server. Which of the following files should be edited to set this variable...
/etc/profileJAVA_HOMEsystem-wide environment variableslogin scripts - Question #520Troubleshooting and Diagnostics
A user sent the following log to the help desk: Which of the following should the help desk technician do to resolve this issue?
SSH permissionschmodhome directorylog analysis - Question #521Server Side & Network Concepts
Which of the following commands would a junior systems administrator run to monitor network traffic actively?
tcpdumppacket capturenetwork monitoringtraffic analysis - Question #522Security
A Linux administrator needs to generate SSH keys for remote users. The company security policy requires at least 4096-bit encryption on all public/private key pairs. Which of the f...
ssh-keygenSSH key generationkey bit lengthpublic/private key pair - Question #523Troubleshooting and Diagnostics
After connecting a USB drive, the system is unable to detect it. There is no entry in /dev, and there is no information in the message log. Which of the following is the issue?
USB detectionkernel modules/dev filesystemdevice drivers - Question #524Server Side & Network Concepts
A Linux user wants to know the type A records for the domain foo.com. Which of the following commands will accomplish this task?
DNSdig commandA recordsnslookup - Question #525System Management
In a Linux system the first stage of the boot process is a hardware test using the BIOS. Once the hardware test is completed, control is passed to UEFI to begin the first-stage Lin...
UEFIboot processfirmwareBIOS - Question #526Scripting, Containers and Automation
An administrator has been able to run the uptime command on several Linux servers at once. The orchestration software that issues the command is installed on the administrator's wo...
agentless orchestrationSSH daemonremote automationconfiguration management - Question #527System Management
A senior systems administrator wants to standardize the commands used in the department and update documentation for junior Linux administrators for using systemd. Which of the fol...
systemdsystemctlservice managementinit system migration - Question #528Security
A security administrator must use a password and a token to log in to the server. Which of the following processes does this describe?
multifactor authenticationMFAauthentication factorstokens - Question #529System Management
An administrator was updating several systems and received the following warning for each one: No support Locale en_US.UTF-8. Which of the following should the administrator run to...
locale settingsUTF-8locale-gensystem configuration - Question #530Server Side & Network Concepts
An administrator needs to copy files from a Samba share where the server name is accounting. local, the share is reports, and the username is admin. Assuming local directories exis...
SambasmbclientSMB sharesfile sharing - Question #531System Management
Which of the following would be used to check a sensor input to a Linux system?
GPIOhardware sensorsdevice interfacesLinux hardware - Question #532System Management
A Linux administrator is optimizing a system in which an application needs to change the priority to one for the running process: 9014. Which of the following commands will achieve...
process priorityrenicenice valuesprocess management - Question #533Troubleshooting and Diagnostics
A user deleted a log file because the disk was running out of space on a system running a mission- critical application. Even though the log file was large, the available disk spac...
file descriptorsdisk space recoverylsofdeleted open files - Question #534Troubleshooting and Diagnostics
A newly deployed application is not able to reach the database that is running on a Linux server. The connection should occur at port 1521/tcp from appsrv 192.168.1.11 to dbsrv 192...
firewall rulesnetwork connectivityiptablesport filtering