XK0-004 Exam Questions
501 real XK0-004 exam questions with expert-verified answers and explanations. Page 2 of 11.
- Question #56Scripting, Containers and Automation
A Linux administrator is testing connectivity to a remote host on a shared terminal. The administrator wants to allow other users to access the terminal while the command is execut...
background processesjob controlterminal sharing& operator - Question #57System Management
A Linux administrator needs to switch from text mode to GUI. Which of the following runlevels will start the GUI by default?
runlevelsSysV initGUI modetext mode - Question #58System Management
A junior systems is configuring localization option environment variables. The administrator is given a checklist of tasks with the following requirements: - View current settings...
localeenvironment variablesLANGLC_ALL - Question #59Scripting, Containers and Automation
An administrator needs to change the IP address on a server remotely. After updating the configuration files, a network restart is needed. However, the administrator fears that whe...
nohupremote administrationnetwork restartprocess persistence - Question #60Security
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 a...
SELinuxhttpd booleansaudit loghttpd_enable_homedirs - Question #61System Management
Which of the following BEST describes the purpose of the X11 system?
X11display servergraphical displaydesktop environment - Question #62Security
Which of the following configuration files should be modified to disable Ctrl+Alt+Del in Linux?
inittabCtrl+Alt+DelSysV initsystem security - Question #63System Management
During a system boot cycle, what program is executed after the BIOS completes its tasks?
boot processBIOSbootloadersystem startup - Question #64System Management
Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)
SysV initrun levelsdefault runlevelinit - Question #65System Management
Which of the following statements is correct when talking about /proc/?
/proc filesystemkernel parametersvirtual filesystemruntime config - Question #66System Management
What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)
udev/dev directorydevice managementtmpfs - Question #67System Management
Which of the following information is stored within the BIOS? (Choose TWO correct answers.)
BIOSfirmwareboot orderhardware configuration - Question #68System Management
Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)
SysV inittelinitshutdown commandreboot - Question #70Scripting, Containers and Automation
Which of the following BEST describes running on a Linux system?
containerscgroupsnamespacesprocess isolation - Question #72Security
An administrator is analyzing a Linux server which was recently hacked. Which of the following will the administrator use to find all unsuccessful login attempts?
pam_tally2failed loginsPAMauthentication auditing - Question #73System Management
A junior administrator needs to unload an older video kernel module. Which of the following commands would BEST accomplish this task?
kernel modulesrmmodmodule managementdriver removal - Question #74Security
An administrator is attempting to block SSH connections to 192.168.10.24 using the Linux firewall. After implementing a rule, a connection refused error is displayed when attemptin...
iptablesfirewall rulesSSH blockingpacket filtering - Question #75System Management
A junior Linux administrator is setting up system-wide configuration settings. The goal is to ensure the PATH environment variable includes the following locations for all users wh...
PATH variable/etc/profileenvironment variablesshell configuration - Question #77Troubleshooting and Diagnostics
A server is almost out of free memory and is becoming unresponsive. Which of the following sets of commands will BEST mitigate the issue?
swap spacememory managementmkswapswapon - Question #78Scripting, Containers and Automation
A Linux administrator is using a public cloud provider to host servers for a company's website. Using the provider's tools, the administrator wrote a JSON file to define how to dep...
infrastructure as codecloud provisioningJSON templatesautomation - Question #79System Management
A Linux system is running normally when the systems administrator receives an alert that one application spawned many processes. The application is consuming a lot of memory, and i...
pkillkillallprocess managementkill signals - Question #80Troubleshooting and Diagnostics
A systems administrator configured a new kernel module, but it stopped working after reboot. Which of the following will allow the systems administrator to check for module problem...
dmesgkernel modulesboot diagnosticssystem logs - Question #81Troubleshooting and Diagnostics
A junior Linux administrator is installing patches using YUM. The administrator issues the following command: yum list installed The output of the command is as follows: Given this...
YUM package managerprocess managementkillalllocked process - Question #82Scripting, Containers and Automation
A systems administrator needs to retrieve specific fields from a csv file. Which of the following tools would accomplish this task?
awkCSV parsingtext processingfield extraction - Question #83Security
Two specific users need access to a directory owned by root where backups are located. Which of the following commands would BEST ensure the specified users can access the backup f...
ACLsetfaclfile permissionsaccess control - Question #84Server Side & Network Concepts
Which of the following is the purpose of the monitoring server role?
monitoring serverserver rolesperformance monitoring - Question #85Server Side & Network Concepts
A junior administrator is migrating a virtual machine from a Type 1 hypervisor to a Type 2 hypervisor. To ensure portability, which of the following formats should the administrato...
virtualizationOVA formathypervisor migrationVM portability - Question #86System Management
A junior systems administrator is upgrading a package that was installed on a Red Hat-based system. The administrator is tasked with the following: - Update and install the new pac...
YUMRPMpackage managementRed Hat - Question #87System Management
Which of the following is the template for the grub.cfg file?
GRUBboot configurationgrub.cfg template - Question #88Troubleshooting and Diagnostics
A Linux administrator implemented a new HTTP server using the default configuration. None of the users on the network can access the server. If there is no problem on the network o...
netstatfirewallHTTP serverport binding - Question #89System Management
A Linux storage administrator wants to create a logical volume group. Which of the following commands is required to start the process?
LVMpvcreatelogical volumephysical volume - Question #90Security
A Linux administrator built a GitLab server. Later that day, a software engineer tried to access the server to upload the repository during the final step of installation. The soft...
iptablesfirewall rulesHTTP/HTTPSconntrack - Question #91Troubleshooting and Diagnostics
While creating a file on a volume, the Linux administrator receives the following message: No space left on device. Running the df -m command, the administrator notes there is stil...
inode exhaustiondf commandfilesystemstorage diagnostics - Question #92Troubleshooting and Diagnostics
A user attempts to use the mount -a command but gets the following error: mount: mount point /mnt/test does not exist Which of the following commands best describes the action the...
mountmkdirmount pointfilesystem - Question #93System Management
Which of the following is modified to reconfigure the boot environment?
GRUBboot environmentgrub.cfgbootloader - Question #94Security
A company wants to ensure that all newly created files can be modified only by their owners and that all new directory content can be changed only by the creator of the directory....
umaskfile permissionsdirectory permissionsdefault permissions - Question #95System Management
A Linux administrator needs to back up the folder /usr/domain, and the output must be a gzip compressed tar. Which of the following commands should be used?
targzipbackupcompression - Question #96Security
A Linux administrator needs every new file created on a directory to maintain the group permissions of the same directory. Which of the following commands would satisfy this requir...
setgidchmodgroup permissionsspecial bits - Question #97Scripting, Containers and Automation
Which of the following statements BEST represents what the term "agentless" means regarding orchestration?
agentlessorchestrationAnsibleinfrastructure automation - Question #98Server Side & Network Concepts
Given that a company's policy states that users cannot install third-party tools on Window servers, which of the following protocols will allow a Linux GUI to connect to a Windows...
RDPremote desktopcross-platformWindows connectivity - Question #99System Management
Ann, a junior Linux administrator, needs to copy software from her local machine to assist in developing a software application on a remote machine with the IP address 192.168.3.22...
scpfile transferSSHremote copy - Question #100System Management
An administrator is tasked with increasing the size of the volume /dev/vg/lv to 20GB. Which of the following BEST illustrates the steps the administrator should take?
LVMlvextendresize2fsvolume resizing - Question #101Troubleshooting and Diagnostics
A systems administrator observes high latency values when reaching a remote web server. Which of the following commands will help determine and isolate issues on the network side?
network latencymtrtraceroutenetwork diagnostics - Question #103System Management
A systems administrator is enabling quotas on the /home directory of a Linux server. The administrator makes the appropriate edits to the /etc/fstab file and attempts to issue the...
disk quotasfstabmount optionsfilesystem - Question #104System Management
A systems administrator needs to install a new piece of hardware that requires a new driver. The driver should be manually installed. Which of the following describes the order of...
kernel modulesmodinfoinsmoddmesg - Question #105Security
A new HTTPS web service is being deployed on a server. Which of the following commands should the Linux administrator use to ensure traffic is able to flow through the system firew...
iptablesfirewall rulesHTTPSport 443 - Question #106System Management
An administrator has modified the configuration file for a service. The service is still running but is not using the new configured values. Which of the following will BEST remedi...
signal handlingSIGHUPservice reloadprocess management - Question #107Security
An administrator needs to see a list of the system user's encrypted passwords. Which of the following Linux files does the administrator need to read?
/etc/shadowpassword fileuser authenticationLinux security - Question #108Server Side & Network Concepts
A Linux administrator is setting up a testing environment and needs to connect to a separate testing server using the production server name. The administrator needs to override th...
/etc/hostsDNS overridehostname resolutiontesting environment - Question #109System Management
A Linux administrator opens a ticket to have an external hard drive mounted. As a security policy, external storage kernel modules are disabled. Which of the following is the BEST...
insmodkernel modulesUSB storagedevice drivers