XK0-005 Exam Questions
961 real XK0-005 exam questions with expert-verified answers and explanations. Page 3 of 20.
- Question #117System Management
An engineer is working on a production application deployment that requires changing a web application property file called that is managed by the Git version control server.proper...
GitVersion ControlDeployment WorkflowRemote Repository - 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...
GitVersion ControlRepository ManagementCommand Line Interface - Question #119Troubleshooting
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...
Network RoutingDefault Gatewayroute commandNetwork Troubleshooting - 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 FilesystemSystem InformationCPU DetailsLinux Administration - 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...
croncrontabschedulingautomation - 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?
SSHPublic Key AuthenticationLinux Securityssh-copy-id - 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...
Deployment AutomationCI/CDSoftware BuildsTest Environment - Question #125System Management
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...
cron jobstask schedulingdf commandI/O redirection - 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?
Linux servicesService managementBoot processchkconfig command - Question #129System Management
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...
sysctlKernel ParametersNetworkingPersistence - Question #131System Management
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...
/etc/fstabFilesystem mountingMount optionsLinux administration - 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...
Shell ScriptingConditional LogicExit CodesDebugging - Question #134Troubleshooting
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?
SFTPFirewalliptablesPort Numbers - Question #137Scripting, Containers, and Automation
An administrator has written the following Bash script: All necessary files exist in the correct locations. However, when the administrator executes the following error is received...
Bash scriptingShebangScript executionTroubleshooting - Question #138Troubleshooting
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 VolumeslvchangeStorage Troubleshooting - 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...
Process Managementrenice commandProcess PriorityLinux Commands - 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.)
File TransferLinux Commandscurlwget - Question #145Troubleshooting
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....
File AttributeschattrTroubleshootingFile Permissions - Question #146Troubleshooting
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...
Linux PermissionschmodFile System AccessUser and Group Management - Question #147System Management
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?
netstatnetwork monitoringlistening portsTCP/UDP - 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...
umaskFile PermissionsSystem Configuration - Question #150Troubleshooting
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...
Ping CommandNetwork TroubleshootingCommand-Line UtilitiesSystem Monitoring - Question #152System Management
An administrator is uncomfortable allowing users to log in as root. Which of the following ensures that root logins are disallowed?
User managementAccount securityLinux commandsusermod - Question #153Troubleshooting
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...
RPMPackage ManagementDatabase RepairTroubleshooting - Question #154Troubleshooting
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...
Linux filesysteminodesdisk space managementtroubleshooting commands - Question #155Troubleshooting
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...
Linux networkingStatic IP configurationNetwork interface filesBoot configuration - Question #156Security
A company wants to provide internal identity verification services for networked devices. Which of the following servers should be installed?
Identity VerificationCertificate AuthorityPKINetwork 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...
File PermissionschmodWeb ServerLinux Security - 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...
LoggingrsyslogSystem ConfigurationLog Management - 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 TransferPermissions ManagementServer Administration - Question #161System Management
Which of the following is true about Type 2 hypervisors?
VirtualizationHypervisorType 2 hypervisorHosted virtualization - Question #162System Management
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 BannersSystem FilesLinux AdministrationSecurity 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 editorText manipulationCommand-line interfaceLinux utilities - Question #164System Management
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 ConfigurationLinux FilesystemsIP AddressingInterface Management - Question #165System Management
A user wants to use terminal services from a Windows workstation to manage a Linux server. Which of the following should be installed on the Linux server to enable this functionali...
Remote AccessXRDPLinux Server ManagementRDP - Question #166System Management
On a UEFI-based system, which of the following invokes GRUB2 from the EFI command prompt?
UEFIGRUB2BootloaderEFI Shell - Question #167System Management
A systems administrator notices a large number of autoloaded device modules are no longer needed and decides to do a cleanup of them. Which of the following commands will accomplis...
Linux kernel modulesmodprobe commandModule managementSystem administration - Question #168System Management
A Linux administrator looks at the /etc/timezone file and determines the need to change the time zone from California to New York temporarily. Which of the following commands will...
Environment variablesTime zone managementLinux commandsShell commands - Question #169Security
A user has been locked out of an account due to too many failed password attempts. Which of the following commands will unlock the user's account?
User account managementPAMSecurity administrationLinux commands - Question #171Security
An administrator is reviewing updates in the master online Git repository and notices a file named . The file contains passwords and should only be in the administrator's local rep...
Git.gitignoreVersion ControlSecurity Best Practices - Question #173System Management
An administrator needs to create a file named hello in the home directory that contains the following text: it's me! Which of the following commands would accomplish this goal?
file creationLinux commandsfilesystem management - Question #174System Management
Which of the following commands will let a Linux user know the PCI devices that are installed in the system?
Linux commandsPCI devicesHardware informationSystem diagnostics - Question #175System Management
A Linux administrator is updating iptables rules and is given the following tasks: - Output a list of iptables rules. - Remove all iptables rules. Which of the following actions sh...
iptablesfirewall managementLinux commandsrule administration - Question #176System Management
A junior Linux administrator is performing version control on a Git repository. The administrator is given a list of tasks to complete: - List the currently installed Git release....
Git CommandsVersion Controlgit cloneCommand Line - Question #177Security
A systems administrator needs to allow the Linux server to receive HTTP connections from Internet hosts. By default, the port for HTTP connections is blocked. Which of the followin...
Firewall managementNetworking portsfirewalldLinux security - Question #178System Management
A Linux administrator attempts to install the package newprogram.x86_64.rpm using a package manager. The administrator receives a warning indicating the command that was run was us...
Package ManagementdnfRPMLinux Administration - Question #179Security
Which of the following would allow remote users to access a corporate server? (Choose two.)
Remote accessVPNSSHNetwork security - Question #180System Management
A junior administrator is configuring local name lookups for fully qualified domain names in an isolated environment. The administrator is given a checklist and must accomplish the...
Local Name Resolutionetc/hostsNetworking FundamentalsHostname Configuration - Question #181System Management
An administrator is reviewing suspicious activity on a server and needs to determine which users logged into the system within the past 24 hours. Which of the following commands sh...
Linux commandsUser activity monitoringSystem auditingSecurity monitoring - Question #182System Management
During the final step of staging new Linux hardware, GRUB2 is installed to the system drive. Which of the following BEST describes the role of GRUB2 in a new Linux installation?
GRUB2BootloaderLinux boot processKernel parameters