XK0-004 Exam Questions
501 real XK0-004 exam questions with expert-verified answers and explanations. Page 8 of 11.
- Question #379System Management
A Linux amdinisrator is adding a user's local Linux account to the accounting group. The user is also a member of the finance group. Which of the following is the BEST way to add t...
usermod -aGgroup membershipuser administrationsupplementary groups - Question #380Troubleshooting and Diagnostics
An administrator is setting UP a NAT gateway. Two interfaces have been configured: The firewall configuration has been completed: The IP forwarding configuration parameter is: When...
NATiptables MASQUERADEIPv4 forwardingnetwork troubleshooting - Question #381Troubleshooting and Diagnostics
A Linux administrator is getting an error message indicating a device does not have any space left on it. However, the administrator runs the following commands and receives the ou...
inode exhaustiondisk spacefilesystemdf vs du - Question #382System Management
A system administrator has discovered a drive is malfunctioning and needs to be replaced in a server. The administrator lists properties of the exiting storage before attempting th...
partition tablesfdiskdisk cloningfdisk - Question #383Scripting, Containers and Automation
A Linux administrator is running a script that runs a Java application but receives the following error: Error: Java_Home is not set Java is installed on the Linux server and java...
environment variablesJAVA_HOMEshell scriptingexport - Question #384Security
A Linux administrator is configuring a web server that connects to an external SQL database. However, after starting the web application, the logs are show an error message: Which...
SELinuxsetseboolhttpd booleansnetwork connect - Question #385System Management
A Linux administrator needs to change the permission on a script so that the owner has permission to execute. Which of the following BEST accomplishes this task?
chmodfile permissionsexecute bituser permissions - Question #387Server Side & Network Concepts
An administrator recently installed a second NIC in a server to interact with machines in an isolated enclave. However, the networking on the server has not worked since it was ins...
default routemultiple NICsrouting tableNetworkManager - Question #388Scripting, Containers and Automation
Which of the following a a fie that can define how to build deploy and mstaf various components for a Linux application hosted m a cloud environment?
YAMLcloud deploymentinfrastructure as codeautomation - Question #389Server Side & Network Concepts
A Linux administrator wants to resolve a remote server name locally. When of the following files should the administrator modify?
/etc/hostslocal name resolutionhostname mappingDNS - Question #390Scripting, Containers and Automation
An administrator is utilizing an automation engine than uses SSH to run commands on remote systems. Which of the following does this describe?
agentless architectureSSH automationAnsibleremote execution - Question #391System Management
Which of the following commands adds a bootioader that will allow an administrator lo boot to a specific kernel version?
bootloaderGRUBkernel versiongrub2-install - Question #392Troubleshooting and Diagnostics
An administrator attempted to save large files in a directory but was unsuccessful. Which of the following is the NEXT step to nvesbgate the issue?
df commanddisk spacefilesystem utilizationstorage diagnostics - Question #393Troubleshooting and Diagnostics
A user submitted a ticket stating that the development environment is reporong the device does not have any space left. The user's application creates a lot of small files and does...
inode exhaustionfilesystem inodessmall filesdisk space - Question #394Server Side & Network Concepts
A technician wants to configure a Unix server as a gateway firewall. The technician has implemented the proper ACLs and port address translation policies, but network traffic is no...
IP forwardinggateway firewallip_forwardpacket routing - Question #395Scripting, Containers and Automation
A systems administrator needs to write a script that performs unattended package upgrades. Which of the following flags should be used with either yum or apt to meet this goal?
yumaptunattended upgradespackage management - Question #396Security
A systems administrator a retting an HTTPO server on a Linux server and configuring as a proxy server. The administrator runs the following commands to venfy that the service is ru...
SELinuxhttpd_can_network_connectproxy serversetsebool - Question #397System Management
A user does not want Bluetooth to start up every time the system starts. Which of the following commands should the user execute to accomplish this task?
systemctl disableservice managementboot persistencesystemd - Question #398Scripting, Containers and Automation
Which Of the following is a file that can define how to build, deploy, and install various components for a Linux application hosted in a cloud environment?
YAMLcloud deploymentinfrastructure as codeautomation - Question #399System Management
A Linux administrator added storage to an XFS-formatted filesystem at /dev/mapper/vgSlash- lvLog device using the LVM tools. However the additional space does not show up when the...
XFS filesystemLVMxfs_growfsfilesystem resize - Question #400System Management
A Linux administrator needs to give user2 full permissions to the /opt/share/test directory. Permission for user1 and group2 must remain the same. The administrator runs the Is-Id...
ACLsetfaclgranular permissionsaccess control list - Question #401System Management
Which of the following command should an administrator use to prevent users from starting the httpd service on a system-based Linux system?
systemctl maskservice preventionsystemdhttpd - Question #402Security
An administrator installs a popular virtualization hypervisor on a Linux workstation. The software runs but generates a lot of AVC errors in the var/log/audit/audit .log file. Rath...
SELinuxAVC errorsgetseboolsetsebool - Question #403Security
A Linux administrator is configuring a group directory in which all members in the Admins group can share and edit files and create subdirectories with the same attributes. The adm...
file permissionssetgid bitchmodgroup directory - Question #404System Management
A remote server reverts to the incorrect time when it is restarted. Which of the following will save the correct time to the BIOS clock once the time and date have been set on the...
system clockhwclockBIOS clocktime synchronization - Question #405Security
Which of the following is commonly implemented in external devices to provide unique event- based two-factor authentication credentials when a system is already implementing userna...
two-factor authenticationHOTPOTP tokensauthentication methods - Question #406System Management
An administrator is provisioning and attaching a secondary disk to a Linux server as a data drive. Which Of the following commands the administrator use to find the UUID Of the dis...
disk UUIDblkiddisk mountingfstab - Question #407Scripting, Containers and Automation
A systems administrator wants to check the log of changes made to a Git repository. Which of the following commands can be used for this task?
gitversion controlgit reflogcommit history - Question #408System Management
Joe is no longer employed by a company, and Ann is taking over his projects. Several team members work out of the directory, including Ann. The administrator needs to assign owners...
chownfile ownershiprecursive ownershipuser management - Question #409Troubleshooting and Diagnostics
A systems administrator copied the latest archive of the corporate application, corpapp.tar.gz, to a new server. The backup software lists the following entry in the log file: Whic...
file integritychecksum verificationtar archivedata validation - Question #410Troubleshooting and Diagnostics
A user created a report.sh script in the home directory. When executing /home/user/report.sh the user receives the following error message: The user executes the following diagnost...
SELinuxscript executionnoexec mountpermission denied - Question #411Server Side & Network Concepts
An administrator wants to use a Linux server's GUI remotely but is limited by security to using TCP ports 5900--5999. Which Of the following is the BEST choice for installation on...
VNCremote desktopGUI accessTCP port 5900 - Question #412Troubleshooting and Diagnostics
While booting an Intel 64-bit Debian UEFI desktop from power up, the prompt ts0> was displayed, indicating the bootloader failed. Which of the following will complete the boot proc...
GRUB2UEFI bootEFI shellbootloader recovery - Question #413Security
A systems administrator is required to allow only SSH access to the Linux servers from the 192.168.1.0/24 network. Which of the following iptables rules would accomplish this requi...
iptablesfirewall rulesSSH access controlnetwork filtering - Question #414Troubleshooting and Diagnostics
A Linux administrator added storage to an XFS-formatted filesystem at /dev/mapper/vgslash- lvLog device using the LVM tools. However, the additional space does not show up when the...
XFS filesystemLVM storage expansionxfs_growfslogical volumes - Question #415Troubleshooting and Diagnostics
A systems administrator is installing an HTTPD server on a Linux server and configuring it as a proxy server. The administrator runs the following commands to verify that the servi...
Apache HTTPDreverse proxySELinux boolean503 error - Question #416Scripting, Containers and Automation
An administrator wants to run a script on the second Monday of every month. The script should be executed at 7:00 a.m. and 1:00 p.m. Which of the following entries to the crontab w...
crontabtask schedulingcron syntaxsecond Monday - Question #417System Management
A technician reviews me following output: Which of the following commands should the technician execute to ensure the system has the appropriate paging? (Select TWO).
swap spacemkswapswaponvirtual memory - Question #418Troubleshooting and Diagnostics
A Linux administrator configured several network interfaces to be used for backup. The administrator entered the following commands: After the last command, a new interlace appeare...
NetworkManagernetwork interfaceautoconnectpersistent configuration - Question #419Scripting, Containers and Automation
An administrator needs to examine two text files and select identical lines from the files. Which of the following commands wooW BEST accomplish this task?
text processinguniqsortduplicate line detection - Question #420Troubleshooting and Diagnostics
An administrator needs to run the rescript. sh script stored on the /nr.t/disk Wesystem. but permission is denied; The system options are: The script properties are: Which of the f...
mount optionsnoexecremountfilesystem permissions - Question #421System Management
An administrator added a disk to a virtual machine. The administrator attempts to mount the first partition with the following command: Mount/devsda1/mount_point The administrator...
mountmkdirmount pointdisk management - Question #422Server Side & Network Concepts
A Linux administrator rs creating a VM to install a third-party tool for scanning me network. The vendor hat provided an OVA file for installing the software. Which of the foiowing...
OVA formatVM imagevirtualizationappliance deployment - Question #423System Management
A Linux systems administrator wants to see the current processes that are being run by each individual user who is logged on to the server. Which of the following is the BEST way t...
user sessionsprocess monitoringwho commandw command - Question #424Scripting, Containers and Automation
An administrator uses a tool to perform roiling deployments when the production application needs to be updated. The tool temporarily removes 10% of the systems from the load balan...
rolling deploymentsinfrastructure as codeload balancerconfiguration management - Question #425System Management
A Linux administrator is confirming information on a system. The administrator issues a series of commands and gets the following output: Which of the following did the administrat...
lsmodkernel modulesmodule listingsystem commands - Question #426System Management
A systems administrator is attempting to use the locate command to find recently downloaded files. Which of the following commands must be run before locate will return results?
locate commandupdatedbfile searchmlocate database - Question #427Scripting, Containers and Automation
An administrator wrote the following script, but it failed: Which of the following is MOST likely the error in the script?
bash scriptingshebang linescript syntaxshell errors - Question #428Troubleshooting and Diagnostics
A user cannot reach the internet from a workstation. A systems administrator performs diagnostics with the following results: Which of the following is the cause for lack of intern...
network troubleshootingsubnet maskIP configurationinternet connectivity - Question #429Security
An administrator tries to log m to a Linux host with the root account but receives the following error: permission denied. A colleague confirms the password being used is correct....
SSH configurationPermitRootLoginsshd_configroot access