XK0-005 Exam Questions
961 real XK0-005 exam questions with expert-verified answers and explanations. Page 15 of 20.
- Question #864System Management
A systems administrator needs to check the size of the filesystem on the current application servers and ensure that the following filesystems are mounted: /var /var/log/audit /tmp...
Filesystem managementDisk spaceLinux commandsSystem monitoring - Question #865System Management
A systems administrator needs to create a new service unit file. This new unit file is required to start when all services are running with the command-line interface only. Which o...
systemdservice managementboot targetsunit files - Question #866System Management
A Linux administrator is changing the default system umask. The newly created files should have the -rw-r----- permission, and the newly created directories should have the drwxr--...
umaskFile PermissionsOctal PermissionsAccess Control - Question #868System Management
When trying to connect from the bastion host to the remote server, a Linux user always forgets to add some required options in the SSH command line. Which of the following is the b...
SSHClient ConfigurationRemote AccessBest Practices - Question #869System Management
A web application that uses a database for managing logins needs to be set up so that the database is running before the web server starts. A Linux administrator, who is troublesho...
systemdservice managementunit filesservice dependencies - Question #872System Management
Which of the following best explains why the SUID permission is set on the file? /bin/passwd
Linux PermissionsSUIDFile System SecuritySystem Utilities - Question #873System Management
A systems administrator is analyzing the data usage on a Linux system. Which of the following commands will display a list of the entire /var contents along with sizes?
Disk UsageLinux CommandsFile System Managementdu command - Question #874System Management
A Linux administrator needs to replace all lowercase words with uppercase words and save the changes in a text file. Which of the following commands will help the administrator acc...
Linux CommandsText Processingtr commandShell Redirection - Question #875System Management
A server's IP address has been changed from 10.115.6.5 to 10.116.6.5. Because of this change, the application server needs to be reconfigured. Which of the following commands will...
sedtext manipulationconfiguration filescommand line - Question #876Troubleshooting
A user receives the following message when attempting to log in to a Linux workstation with the account named "developer": This account is currently not available A Linux administr...
Linux troubleshootingUser managementAccount configurationLogin shell - Question #877System Management
A Linux administrator is investigating the reason a system timer is not running every night at midnight. The administrator reviews the following unit file: Which of the following m...
systemdtimersschedulingLinux administration - Question #878Scripting, Containers, and Automation
Which of the following best describes YAML?
YAMLData SerializationConfiguration Files - Question #879System Management
Before a Linux administrator restarts a system using systemd, the administrator wants to know if any of the server users are currently logged in. Which of the following commands sh...
Linux administrationUser session managementsystemdCommand-line utilities - Question #881System Management
An administrator is securely mirroring the working development directory to the staging server. Which of the following should the administrator use to accomplish this task?
rsyncFile SynchronizationRemote CopyCommand Line Tools - Question #882Troubleshooting
A user reports performance degradation on a server that is running their web application. Given the following information about the system: Which of the following describes the ong...
Performance troubleshootingMemory managementSwap utilizationResource exhaustion - Question #883System Management
Due to some errors, a Linux administrator needs to permanently disable SELinux on one of the development machines for the time of testing. Which of the following should the adminis...
SELinuxLinux administrationSystem configurationPersistent settings - Question #884System Management
A systems administrator wants to execute /usr/local/bin/script.sh from the user1 account. Which of the following commands will accomplish this task?
su commandUser managementCommand executionLinux shell - Question #885System Management
A Linux administrator needs to schedule a system backup script /usr/local/bin/backup.sh to run every night at 1:30 a.m. Which of the following entries should the administrator add...
CronJob SchedulingLinux CommandsSystem Administration - Question #886Troubleshooting
An administrator set up a new user account called "test". However, the user is unable to change their password. Given the following output: Which of the following is the most likel...
SUID bitFile permissionsPassword managementUser accounts - Question #887Scripting, Containers, and Automation
A systems administrator is building a database container. The container should perform different tasks based on the parameters that are provided during startup (for example, init,...
DockerfileDocker ENTRYPOINTContainer startupParameter passing - Question #888System Management
A systems administrator needs to integrate a new storage array into the company's existing storage pool. The administrator wants to ensure that the server is able to detect the new...
Storage ManagementLinux CommandsSCSI/SATAHardware Detection - Question #889System Management
A Linux administrator tries to install Ansible in a Linux environment. One of the steps is to change the owner and the group of the directory /opt/Ansible and its contents. Which o...
chown commandFile ownershipLinux permissionsSystem administration - Question #890Troubleshooting
An administrator is investigating the reason a Linux workstation is not resolving the website output: Which of the following is the most likely cause?
Name resolutionHosts fileDNSNetworking - Question #891Security
A security technician receives a report of a suspected phishing email with an attachment named payroll.csv. The technician downloads and saves the attachment but wants to verify th...
Linux commandsFile type identificationSecurity best practices`file` command - Question #892Troubleshooting
A user test has set up SSH keys for passwordless authentication, but the server is still prompting for a password. Given the following output: Which of the following is the cause o...
SSHKey-based authenticationTroubleshootingauthorized_keys - Question #893System Management
A systems administrator needs to determine the largest file in a given directory. Which of the following commands should the administrator use? df /home/CFO A.
Disk UsageFile System ManagementLinux CommandsSystem Administration - Question #894Troubleshooting
An administrator runs the following command while troubleshooting server authentication issues: Based on the command output, which of the following is the cause of the authenticati...
LDAPAuthenticationService ManagementTroubleshooting - Question #895Scripting, Containers, and Automation
A Linux administrator needs to rebuild a container with httpd service in order to change some default parameters. Which of the following should be the first command line in the Doc...
DockerfileDockerContainers - Question #1124Troubleshooting
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 ConfigurationPort BindingNetworking Issues - Question #1126System 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...
fstabmount optionsfilesystem managementtroubleshooting mounts - Question #1128Scripting, 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 StatementsComparison OperatorsScript Debugging - Question #1129Troubleshooting
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?
SFTPiptablesFirewall RulesNetwork Troubleshooting - Question #1130System Management
A Linux systems administrator installed a new web server, which failed while attempting to start. The administrator suspects that SELinux is causing an issue and wants to temporari...
SELinuxLinux CommandsSystem ConfigurationSecurity Management - Question #1131System Management
A configuration management tool running every minute is enforcing the service HTTPd to be started. To perform maintenance, which of the following series of commands can be used to...
systemdservice managementlinux commandsconfiguration management - Question #1132Troubleshooting
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 executionError diagnosis - Question #1133Troubleshooting
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...
LVMFilesystem MountingTroubleshootingDisk Management - Question #1134System Management
A four-drive Linux NAS has been improperly configured. Each drive has a capacity of 6TB, for a total storage capacity of 24TB. To reconfigure this unit to be not pluggable for driv...
RAID levelsStorage configurationData storage capacityLinux system administration - Question #1139System Management
An administrator is logged into a server remotely and wants to determine if the system is a VM. Which of the following commands would assist with this?
Virtualizationdmesg commandSystem identificationLinux administration - Question #1144Troubleshooting
A Linux engineer is troubleshooting a newly added SCSI device for a Linux server that needed more disk space without rebooting. The engineer discovers that the new device is not vi...
Linux StorageSCSI Device ManagementsysfsOnline Rescan - Question #1146System Management
A systems administrator wants to mount an ISO to access its content. Using /mnt as a mount point, which of the following is the correct syntax?
mount commandISO imageloop devicefilesystem management - Question #1148Troubleshooting
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 ManagementTroubleshootingDatabase Corruption - Question #1186Security
A corporate server security policy states, "Ensure password hashes are not readable by non- administrative users." The administrator should check the permissions on which of the fo...
Linux securityFile permissionsPassword management/etc/shadow file - Question #1192System Management
A junior administrator is installing kernel modules. The administrator is given a checklist that outlines the following tasks to be completed: - Display currently installed module...
Kernel ModulesSystem InformationLinux CommandsBoot Process - Question #1195System Management
A systems administrator received a request to change the hostname to a new name. Which of the following file configurations should be changed to fix the hostname in the server?
Hostname ManagementLinux ConfigurationSystem Files - Question #1200Troubleshooting
Users are unable to connect to a server using HTTPS. The administrator runs the following command on the remote system: Then, the administrator runs the following command from a lo...
HTTPSFirewallNetwork ConnectivityTroubleshooting - Question #1204System Management
A raw VM image is being compressed with bzip2 and copied to a flash drive at /dev/hdb for off- site use by the marketing department. Which of the following command lines accomplish...
bzip2ddPipingDevice management - Question #1209System Management
A Linux user wants to give read-only permissions to a directory and its contents. Which of the following commands will allow the user to accomplish this task?
File Permissionschmod commandOctal PermissionsRecursive Operations - Question #1214System Management
An administrator needs to change the DNS domain search order of a single Linux host to localize it better. Which of the following files should the administrator edit?
Hostname ResolutionDNS Configuration/etc/nsswitch.confLinux System Administration - Question #1218System Management
An organization wants to consolidate its entire user information in centralized storage using an X.500- based protocol. Which of the following protocols should be used for this imp...
LDAPDirectory ServicesUser Management - Question #1227Troubleshooting
A Linux administrator receives a call from the network operations team that one of the database applications is down on a Linux server. The Linux server is configured with RAID 1 f...
RAID Managementmdadm utilityDisk Failure Recovery