XK0-004 Exam Questions
501 real XK0-004 exam questions with expert-verified answers and explanations. Page 7 of 11.
- Question #322Security
A systems administrator has retrieved the latest copy of the system backup files, which had been stored offsite at a third-party vendor. The systems administrator wants to validate...
data integrityMD5 hashbackup verificationchecksums - Question #323System Management
A user wants to configure the application "myapp" to start on runlevels 2, 3, 4, and 5 every time the system starts. Which of the following commands will accomplish this task?
chkconfigrunlevelsservice managementsystem startup - Question #324Server Side & Network Concepts
An administrator is trying to optimize a connection to an off-site NFS server. Which of the following commands would BEST display the problems with packet sizes between hops on the...
tracepathMTU discoverynetwork diagnosticspacket size - Question #327Server Side & Network Concepts
A systems administrator needs to install software packages on a server from an Internet-based repository. The server does not have Internet connectivity. Which of the following can...
SSH port forwardingtunnelingproxy connectivitynetwork access - Question #328Security
A security team informs the Linux administrator that a specific server is acting as an open relay. To which of the following is the security team referring?
open relaySMTP securitymail serveremail misconfiguration - Question #329Troubleshooting and Diagnostics
A systems administrator is investigating low performance a server. After executing some diagnostic commands, the administrator analyzes the data: Which of the following is the caus...
disk I/O performancesystem diagnosticsiostatperformance analysis - Question #330Server Side & Network Concepts
A Linux administrator needs to know the MAC address of the server's gateway. Which of the following commands should the administrator run to obtain this information?
ARPMAC addressgatewayarp command - Question #331Server Side & Network Concepts
Which of the following will boot from a network-hosted ISO image at power on?
PXE bootnetwork bootprovisioningISO image - Question #332System Management
A systems administrator is editing a service file for the web server. In order to continue testing, all web server processes must be shut down. The administrator accomplishes this...
SIGTERMkill signalprocess managementparent child processes - Question #333Security
An administrator received a request from a security officer to eliminate a blacklisting set called internal-blocked the company is using in the iptables firewall. Which of the foll...
ipsetiptablesfirewall blacklistset management - Question #334Server Side & Network Concepts
An administrator wants to use a Linux server's GUI remotely but is limited by security to using TCP port 22. Which of the following is the BEST choice for installation on the Linux...
remote GUIVNCSSH tunnelingX11 forwarding - Question #335Troubleshooting and Diagnostics
A technician recently installed Linux on a desktop computer. The desktop has two graphics cards from two different vendors. One of the graphics cards works, but the other does not....
lsmodkernel modulesgraphics drivershardware troubleshooting - Question #337System Management
A Linux administrator wants to include a standard, hash_profile file whenever a new local user is created on Linux server. Which of the following is the BEST location to place the...
/etc/skeluser creationdefault profileuser management - Question #338Server Side & Network Concepts
Which of the following files would a junior systems administrator check to verify DNS server settings?
/etc/resolv.confDNS configurationnameservernetwork settings - Question #339System Management
Which of the following directories will help an administrator identify the specifications of a Linux server in term of resources?
/proc filesystemsystem resourceshardware specificationsvirtual filesystem - Question #340Scripting, Containers and Automation
The following error is encountered when running a script: Which of the following is the cause of this error?
shell scriptingbash errorsscript debuggingfile permissions - Question #342System Management
Which of the following directories contains information related to various runtime processes, such as hardware and system memory?
Linux filesystem/proc directoryruntime processessystem memory - Question #343System Management
A system administrator is setting up a cron job that will copy thousands files from a remote directory on a scheduled basic. The file contents should retain their original permissi...
rsynccron jobsfile transferpermissions preservation - Question #344Troubleshooting and Diagnostics
A Linux administrator has configured a local named caching server to reduce the amount of time to resolve common DNS addresses. The server resolves using the external server, howev...
DNSnamed cachingresolv.confforwarding - Question #345System Management
An administrator is adding an existing user named `'buddy'' to the Apache group. Which of the following should the administrator perform to accomplish this task?
usermodgroup membershipuser managementLinux users - Question #346Scripting, Containers and Automation
An administrator clones a Git repository onto a local laptop. While inspecting the code, the administrator notices a bug and wants to fix it. Which of the following is the BEST com...
Gitbranchingversion controlpatch testing - Question #347Troubleshooting and Diagnostics
A Linux administrator is investigating an issue with an internal Linux server that is unable to resolve the following internal addresses: The administrator runs the following comma...
DNSresolv.confinternal DNSname resolution - Question #348Scripting, Containers and Automation
A system administrator needs to bootstrap a series of Ubuntu images for a public provider. The administrator must ensure at the images contain the exact same updates, custom. Confi...
cloud-initimage provisioningautomationcloud images - Question #349System Management
Which of the following commands will result in the HOGEST compression level when using gzig to compress a file name file, txt?
gzipcompression levelsfile archivingcommand flags - Question #351Scripting, Containers and Automation
Which of the following is considered best practices when using definition files for the provisioning of Linus servers to the cloud?
infrastructure as codecloud provisioningdefinition filesautomation best practices - Question #352System Management
A Linux administrator is testing a configuration script and wants to change the hostname of a workstation temporarily, but it must return to its assigned workstation name after reb...
hostnamectltransient hostnamesystem configurationhostname management - Question #354Security
A network administrator installed a web server on a Linux host and added a firewalld command to open port 80/tcp. The web server worked without error until an updated and patched k...
firewalldpermanent rulesport 80firewall persistence - Question #355Scripting, Containers and Automation
Ann, a Linux administrator, is storing scripts in a private Git repository. Which of the following commands should Ann use to avoid entering the login and password every time Ann c...
Git credentialscredential cacheauthenticationgit config - Question #356System Management
An administrator is configuring a new Linux server and wants to boot the system to a file that was previously downloaded to locally install removable media. Which of the following...
boot optionsISO bootremovable mediasystem installation - Question #357Scripting, Containers and Automation
A lab virtual image is always named pc21.local and in variety of testing situation. The administrator wants to use the IP address pc21.local in a script but is concerned it may cha...
digDNS lookupshell scriptingIP resolution - Question #358Security
A Linux server hosts Kerberos and LDAP, which of the following is the MOST likely role of this server?
KerberosLDAPauthentication serverserver roles - Question #359System Management
A technician reviews the following output: Which of the following commands should the technical execute to ensure the system has the appropriate paging? (Select TWO.)
swap spacemkswapswaponpaging - Question #360Troubleshooting and Diagnostics
Users are receiving permission-denied messages when trying to access a spreadsheet file within the company's file system. A Linux administrator receives a ticket and begin to inves...
lsoffile permissionsopen filesprocess diagnostics - Question #361Server Side & Network Concepts
A Linux administrator needs to run a few virtual machines and containers on the physical machines with a single network interface. Which of the following networking would allow the...
network bridgingvirtual machinescontainerssingle NIC networking - Question #362System Management
An administrator is logged on as an unprivileged user and needs to compile and installed an application from source. Which of the following BEST represents how to complete this tas...
sudomakesource compilationprivilege escalation - Question #363Troubleshooting and Diagnostics
A system administrator is investigating why user3 cannot log in using SSH to one of the servers. An attempt to log in results in the following: Which of the following commands shou...
SSH login failureSELinuxrestoreconrssh - Question #364Security
An administrator wants to be able to access a remote server. After creating an SSH key pair, which of the following describes where the public key should be placed to allow for key...
SSH key authenticationauthorized_keyspublic keykey-based login - Question #365System Management
Joe, a system administrator, realizes that the time zone on a system is different than his local time zone. Joe runs the command export Tz-America .Chicago to resolve this. However...
environment variablesbash_profiletimezoneshell persistence - Question #367System Management
A Linux administrator issues the following command with root or sudo privileges: Rmp -1 installpackage.rpm -nodeps Which of the following should the administrator expect to see in...
RPMpackage management--nodepsdependency checking - Question #368Scripting, Containers and Automation
A Linux administrator execute the following steps in this order: 1. Changes some software code 2. Commits the changes to the Git repository 3. Triggers a job to compile 4. Execute...
CI/CD pipelinebuild automationorchestrationsoftware delivery - Question #369Scripting, Containers and Automation
A system administrator is troubleshooting a web server that runs in a container. After the log is retained, the container occasionally stops logging to a log file. Fortunately, the...
containersprocess signalsHUP signallog rotation - Question #370Security
A junior administrator issues the following commands on a Linux server: The next day, the junior administrator is unable to edit the file. Which of the following would resolve this...
chmodfile permissionsoctal permissionsaccess control - Question #371System Management
An administrator wants to add a user named comptia to the system administrators group. Which of the following commands will accomplish this task?
usermodgroup managementwheel groupuser administration - Question #372Security
Which of the following commands should a system administrator use to configure a passwordless login to remote system? (Select TWO.)
SSHpasswordless authenticationssh-copy-idssh-agent - Question #373System Management
A new packages repository named repo10 has been installed on mirror site. A Linux administrator wants to use this new repository for local package installations. In which of the fo...
YUMrepository configuration/etc/yum.repos.dpackage management - Question #374Troubleshooting and Diagnostics
Which of the following can cause a kernel panic message after a system reboot?
kernel panicdrive failuresystem boothardware failure - Question #375Server Side & Network Concepts
A security team informs the Linux administrator that a specific sever is acting as a n pen relay. To which of the following is the security team referring?
open relaySMTPemail servermail security - Question #376Server Side & Network Concepts
Which of the following server roles would MOST likely be found in a PXE boot environment?
PXE bootDHCPnetwork bootserver roles - Question #377Server Side & Network Concepts
Which of the following should a company use to reduce the latency of application that are deployed on a virtual private cloud?
load balancerVPCcloud networkinglatency optimization - Question #378Scripting, Containers and Automation
A Linux administrator needs to run a command in the background of a terminal, Which of the following commands will BEST accomplish this task?
background processesjob controlbash shellprocess management