XK0-005 Exam Questions
961 real XK0-005 exam questions with expert-verified answers and explanations. Page 17 of 20.
- Question #1533System Management
A Linux administrator is scheduling a system job that runs a script to check available disk space every hour. The Linux administrator does not want users to be able to start the jo...
systemdtimersunit configurationjob scheduling - Question #1536System Management
A Linux engineer has been notified about the possible deletion of logs from the file /opt/app/logs. The engineer needs to ensure the log file can only be written into without remov...
chattr commandFile attributesLog file protectionLinux security - Question #1540Troubleshooting
A Linux system fails to start and delivers the following error message: Which of the following commands can be used to address this issue?
Linux Boot ProcessFilesystem RepairCommand Line ToolsTroubleshooting - Question #1541System Management
Based on an organization's new cybersecurity policies, an administrator has been instructed to ensure that, by default, all new users and groups that are created fall within the sp...
Linux User ManagementConfiguration FilesSystem AdministrationUser Defaults - Question #1542Troubleshooting
A Linux administrator is trying to remove the ACL from the file /home/user/data. txt but receives the following error message: Given the following analysis: Which of the following...
ACLsFile AttributesTroubleshootingPermissions - Question #1543System Management
A Linux administrator needs to create a new cloud.cpio archive containing all the files from the current directory. Which of the following commands can help to accomplish this task...
Linux commandsFile archivingcpio utilityPiping and Redirection - Question #1546Troubleshooting
A Linux administrator cloned an existing Linux server and built a new server from that clone. The administrator encountered the following error after booting the cloned server: The...
Linux AdministrationFilesystem MountingUUIDServer Cloning - Question #1549System Management
A Linux systems administrator needs to persistently enable IPv4 forwarding in one of the Linux systems. Which of the following commands can be used together to accomplish this task...
sysctlKernel ParametersPersistent ConfigurationLinux Networking - Question #1559System Management
A systems administrator is implementing a new service task with systems at startup and needs to execute a script entitled test.sh with the following content: The administrator trie...
Shell ScriptingScript ExecutionsystemdService Management - Question #1560System Management
A Linux administrator needs to correct the permissions of a log file on the server. Which of the following commands should be used to set filename.log permissions to -rwxr--r--. ?
Linux permissionschmod commandOctal notationFile system management - Question #1563System Management
A user generated a pair of private-public keys on a workstation. Which of the following commands will allow the user to upload the public key to a remote server and enable password...
SSHKey managementAuthenticationRemote access - Question #1566System Management
A systems administrator made some unapproved changes prior to leaving the company. The newly hired administrator has been tasked with revealing the system to a compliant state. Whi...
dnfpackage managementsystem administrationtransaction history - Question #1570System Management
A systems administrator intends to use a UUID to mount a new partition permanently on a Linux system. Which of the following commands can the administrator run to obtain informatio...
Linux CommandsDisk ManagementUUIDStorage - Question #1572Scripting, Containers, and Automation
A systems administrator checked out the code from the repository, created a new branch, made changes to the code, and then updated the main branch. The systems administrator wants...
GitVersion Control.gitignoreRepository Management - Question #1576Scripting, Containers, and Automation
A systems administrator is adding a Linux-based server and removing a Windows-based server from a cloud-based environment. The changes need to be validated before they are applied...
Infrastructure as CodeTerraformCloud ManagementChange Validation - Question #1579System Management
An administrator needs to get network information from a group of statically assigned workstations before they are reconnected to the network. Which of the following should the adm...
network configurationifconfig commandstatic IP configurationnetwork information - Question #1581System Management
A systems administrator is enabling LUKS on a USB storage device with an ext4 filesystem format. The administrator runs dmesg and notices the following output: Given this scenario,...
LUKSDisk EncryptionFilesystem ManagementStorage Administration - Question #1586System Management
A Linux administrator provisioned a new web server with custom administrative permissions for certain users. The administrator receives a report that user1 is unable to restart the...
sudoers configurationLeast privilegeLinux permissionsService management - Question #1587System Management
Which of the following would significantly help to reduce data loss if more than one drive fails at the same time?
RAIDData RedundancyFault ToleranceDisk Management - Question #1588Troubleshooting
A systems administrator receives reports that several virtual machines in a host are responding slower than expected. Upon further investigation, the administrator obtains the foll...
Virtual Machine PerformanceCPU Resource ManagementPerformance TroubleshootingResource Contention - Question #1589Troubleshooting
A user is unable to remotely log on to a server using the server name server1 and port 22. The Linux engineer troubleshoots the issue and gathers the following information: Which o...
SSHTroubleshootingNetworkingLinux Services - Question #1592Troubleshooting
A systems administrator is investigating a service that is not starting up. Given the following information: Which of the following systemd commands should the administrator use in...
systemdService ManagementTroubleshootingLogging - Question #1594Troubleshooting
After starting an Apache web server, the administrator receives the following error: Which of the following commands should the administrator use to further troubleshoot this issue...
TroubleshootingNetworkingss commandWeb server management - Question #1597Security
A Linux administrator generated a list of users who have root-level command-line access to the Linux server to meet an audit requirement. The administrator analyzes the following /...
sudoersUser Management/etc/passwdLinux Security - Question #1601Troubleshooting
Users are experiencing high latency when accessing a web application served by a Linux machine. A systems administrator checks the network interface counters and sees the following...
Network TroubleshootingNetwork Interface CountersLinux NetworkingNetwork Latency - Question #1603Troubleshooting
The applications team is reporting issues when trying to access the web service hosted in a Linux system. The Linux systems administrator is reviewing the following outputs: Output...
systemctlService ManagementApache Web ServerTroubleshooting - Question #1608System Management
A Linux administrator is creating a new sudo profile for the accounting user. Which of the following should be added by the administrator to the sudo configuration file so that the...
sudosudoersLinux permissionsUser management - Question #1611System Management
The application team has reported latency issues that are causing the application to crash on the Linux server. The Linux administrator starts troubleshooting and receives the foll...
Linux networkingKernel tuningPerformance optimizationsysctl - Question #1612System Management
An administrator recently updated the BIND software package and would like to review the default configuration that shipped with this version. Which of the following files should t...
Package ManagementRPMConfiguration FilesBIND - Question #1614Troubleshooting
A user is unable to log on to a Linux workstation. The systems administrator executes the following command: The command results in the following output: Which of the following sho...
Linux User ManagementAccount Lockingpasswd commandLogin Troubleshooting - Question #1617System Management
A Linux administrator intends to start using KVM on a Linux server. Which of the following commands will allow the administrator to load the KVM module as well as any related depen...
Kernel ModulesmodprobeKVMSystem Commands - Question #1618System Management
The group owner of the /home/test directory would like to preserve all group permissions on files created in the directory. Which of the following commands should the group owner e...
Linux permissionschmod commandsetgid bitfilesystem management - Question #1619System Management
The administrator comptia is not able to perform privileged functions on a newly deployed system. Given the following command outputs: Which of the following is the reason that the...
User and Group ManagementPrivilege EscalationsudoPermissions - Question #1622Security
A Linux engineer finds multiple failed login entries in the security log file for application users. The Linux engineer performs a security audit and discovers a security issue. Gi...
User ManagementSecurity HardeningShellsSystem Accounts - Question #1624Security
An administrator would like to securely connect to a server and forward port 8080 on a local machine to port 80 on the server. Which of the following commands should the administra...
SSHPort ForwardingSecure CommunicationLinux Commands - Question #1630Troubleshooting
A Linux administrator is troubleshooting an issue in which users are not able to access https://portal.comptia.org from a specific workstation. The administrator runs a few command...
DNS resolutionhosts fileNetwork troubleshootingLinux system administration - Question #1631System Management
A Linux administrator is trying to start the database service on a Linux server but is not able to run it. The administrator executes a few commands and receives the following outp...
systemdservice managementmasking servicesLinux administration - Question #1634System Management
An administrator created an initial Git repository and uploaded the first files. The administrator sees the following when listing the repository: The administrator notices the fil...
GitVersion Control.gitignoreFile Management - Question #1643Security
An administrator added the port 2222 for the SSH server on myhost and restarted the SSH server. The administrator noticed issues during the startup of the service. Given the follow...
SELinuxSSHPort ConfigurationSystem Security - Question #1651Troubleshooting
A developer is unable to access a Linux server via SSH. Given the following output: Which of the following explains why the developer is unable to log in to the server?
SSHAccount LockoutUser AuthenticationLinux Troubleshooting - Question #1654Troubleshooting
An administrator attempts to connect to a remote server by running the following command: Which of the following can be said about the remote server?
SSHFirewallNetwork ConnectivityTroubleshooting - Question #1666Troubleshooting
A Linux engineer receives the following notification from a system: cp: cannot create regular file '/app/appdata.tar': No space left on device The engineer obtains the following ou...
Filesystem managementInodesError diagnosisDisk space - Question #1671System Management
A Linux administrator is tasked with moving files in a database server. The administrator must not overwrite any existing files. Which of the following commands would indicate that...
Linux CommandsFile Managementmv commandCommand Options - Question #1672System Management
A Linux administrator needs to determine if prerequisites are met. One of the application requirements is to install Perl on a system. Which of the following commands would accompl...
Package ManagementRPMLinux CommandsSoftware Installation - Question #1673System Management
A systems administrator is reviewing the following output on the text editor that is being used to update the company's internal database records: Which of the following extensions...
JSONData FormatsFile ExtensionsSystem Administration - Question #1674Troubleshooting
An administrator is provisioning an Apache web server. When the administrator visits the server website, the browser displays a message indicating the website cannot be reached. Wh...
systemctlservice managementApachetroubleshooting - Question #1679Troubleshooting
The users of a Linux system are unable to use one of the application filesystems. The following outputs have been provided: Output 1: $ cd /app $ touch file touch: cannot touch 'fi...
Filesystem ManagementTroubleshootingLinux CommandsDisk I/O Errors - Question #1681Troubleshooting
A systems administrator receives the following errors via email from the system log: XFS (lcop0): Metadata CRC error detected at xfs_agi_read_verify+0xcb/Oxfe XFS (loop0): First 12...
Filesystem CorruptionTroubleshootingService ManagementApache HTTP Server - Question #1687System Management
A systems administrator is customizing a new Linux server. Which of the following settings for would ensure that new files have the default permissions: -rw-r-----? umask
Linux PermissionsumaskFile PermissionsSystem Configuration - Question #1692System Management
A systems administrator identifies multiple processes in a zombie state. Which of the following signals would be best for the administrator to send to the PPID?
Process managementLinux signalsZombie processes