XK0-005 Exam Questions
961 real XK0-005 exam questions with expert-verified answers and explanations. Page 13 of 20.
- Question #748System Management
A Linux systems administrator is updating code. After completing the update, the administrator wants to publish the updated code without including the configuration files. Which of...
GitVersion ControlFile ExclusionConfiguration Management - Question #751System Management
An administrator wants to execute a long running script in the terminal while troubleshooting another issue. Which of the following options will achieve this goal?
Background processesShell commandsJob controlLinux administration - Question #753System Management
A Linux systems administrator needs to compress a file named passwords.txt. The compressed file should be saved as passwords.txt.gz. Which of the following commands should the admi...
Linux commandsFile compressiongzipI/O redirection - Question #754System Management
A Linux administrator was informed that the server time zone is incorrect. Which of the following commands should the administrator use to correct the time zone?
Linux AdministrationTime Zone ManagementtimedatectlSystem Configuration - Question #755Troubleshooting
A systems administrator is receiving complaints about slow performance and system crashes. The administrator suspects memory and CPU issues. Which of the following is the first act...
TroubleshootingPerformance MonitoringResource ManagementLinux Commands - Question #756Scripting, Containers, and Automation
A DevOps engineer wants to work on a snapshot of the infrastructure as code configuration. Which of the following commands should the engineer use to accomplish this task?
GitVersion ControlInfrastructure as CodeDevOps Tools - Question #757System Management
An organization's business office needs to collaborate on quarterly reports and asks the systems administrator to create a finance group. The administrator creates the following di...
Linux PermissionsFile Ownershipsetgid bitDirectory Management - Question #758Troubleshooting
Users report that they cannot access some files located in the /opt /finapp directory after a power outage caused an unexpected server restart. A Linux administrator examines the f...
Filesystem repairXFSLVMTroubleshooting - Question #759Troubleshooting
Users are reporting that a Linux server is responding slowly. A systems administrator troubleshooting the server issue sees the following: Which of the following is most likely the...
Linux performanceI/O bottlenecksTroubleshootingSystem resource monitoring - Question #761System Management
A Linux administrator is creating a directory called CompTIA_doc, and it needs to switch to another location to perform some system-related tasks. Which of the following commands s...
File System CommandsDirectory OperationsCommand ChainingShell Operators - Question #762System Management
An administrator needs to stop a foreground process in between its execution in a terminal. Which of the following should the administrator use?
Terminal commandsProcess managementKeyboard shortcuts - Question #763Troubleshooting
The application team is having issues accessing their data in their /app file system. Give the following outputs: Which of the following is the reason for this issue?
Filesystem TroubleshootingLVMStorage Management - Question #765System Management
A Linux administrator is working on a system and notices that some of the packages are not at the latest version. Which of the following commands should the administrator use to co...
Package managementapt commandSystem updatesLinux administration - Question #766System Management
A Linux administrator changed a systemd configuration. However, the change was not applied after the service was restarted. Which of the following commands is required to apply the...
systemdservice managementLinux configurationdaemon reload - Question #767System Management
A Linux administrator needs to set the permissions on a server. The administrator wants to have the files within the directory set to read-write permissions and the directory set t...
umaskFile PermissionsDirectory PermissionsLinux Administration - Question #768Security
An administrator needs to allow remote administrative access to a Linux server only to employees who are using the authorized private key. Which of the following options should the...
SSHAuthenticationSecurity ConfigurationLinux - Question #769Scripting, Containers, and Automation
Which of the following Git commands would send committed changes to a remote repository?
GitVersion ControlRemote Repositorygit push - Question #772System Management
A systems administrator just downloaded a source code package with the file extension TGZ. Which of the following commands would decompress and unarchive the package?
tar commandfile compressionfile archivingLinux commands - Question #773System Management
A Linux administrator would like to run the cleanup script /home/admin/script.sh at 9:00 p.m. on March 31. Which of the following commands should the administrator use to accomplis...
at commandjob schedulingscript executiontask automation - Question #774Troubleshooting
A Linux administrator attempts to log in to a server over SSH as root, and receives the following error message: Permission denied, please try again. The administrator is able to l...
SSHRoot loginKey-based authenticationSSH configuration - Question #775System Management
A Linux administrator is updating the password for the logcollect account. The administrator issues the following commands: #passwd -l logcollect #passwd logcollect The administrat...
Linux user managementpasswd commandAccount lockingPassword administration - Question #776System Management
An administrator needs to get a list of drives and partition types from existing servers. Which of the following commands should the administrator use to obtain this information?
Storage managementBlock devicesPartitionsLinux commands - Question #777Troubleshooting
An administrator found a suspicious public IP address in a log file. Which of the following commands can be used with the IP address to resolve back to a domain? (Choose two).
DNSReverse DNS lookupNetworking commandsLinux utilities - Question #778System Management
A systems administrator needs to list the contents of archive.tar.xz. Which of the following commands will list the files?
tar commandfile compressionarchive managementcommand line utilities - Question #779Scripting, Containers, and Automation
Which of the following commands should a systems administrator use to remove a container image from a local Linux system?
DockerContainer imagesCLIImage management - Question #780System Management
A systems administrator received a report about issues with a Linux system. Given the following output: Which of the following is the best command to use to fix this issue?
LVMlvextendFilesystem ManagementDisk Space - Question #781Troubleshooting
A Linux systems administrator needs to stop an application and identify which files the application has opened in the /app directory. Which of the following is the best command to...
lsoffile managementprocess managementcommand line utilities - Question #782Troubleshooting
User1 reports "access denied" errors while trying to execute app. Given the following outputs: Which of the following options will remediate this issue?
File PermissionsACLsTroubleshooting - Question #783System Management
A systems administrator needs to stop a running systemd service tor and prevent it from running when the system starts up. Which of the following is the best command for the admini...
systemctlservice managementLinux administrationstartup configuration - Question #784Troubleshooting
A systems administrator receives reports of issues in one of the Linux systems. The following output has been provided: # dig node.mycomptia.org ; <<>> DiG 9.11.36.x.x. <<>> node.m...
DNS ResolutionNetwork Configurationsystemd-resolvedNetworkManager - Question #785System Management
A Linux administrator edits a file that a system uses during the startup process to mount all the required partitions and volumes. The administrator wants to ensure no errors are i...
Linux AdministrationFilesystem ManagementMount Pointsfstab - Question #786System Management
A systems administrator is reconfiguring existing user accounts in a Linux system. Which of the following commands should the administrator use to include "myuser" in the finance g...
User and Group ManagementLinux CommandsSystem Administration - Question #787Troubleshooting
Users are unable to run applications stored on the /app1 mount point. A Linux systems administrator is investigating the issue and obtains the following output from the /etc/fstab...
fstabmount optionsnoexecTroubleshooting - Question #788System Management
A Linux administrator wants to change the default SSH server port. Which of the following files should the administrator edit to accomplish this task?
SSH configurationNetwork servicesSystem filesLinux administration - Question #789System Management
A systems administrator received a request to enable secure web services and SSH at the firewall level. Which of the following should the administrator use to accomplish this task?...
Firewall configurationufwSSHHTTPS - Question #791Security
A systems administrator issued the dm-crypt command with no parameters. Which of the following cryptographic features is the systems administrator trying to use?
dm-cryptLUKSDisk EncryptionCryptography - Question #792Troubleshooting
A Linux administrator is troubleshooting poor CPU performance on a virtual machine. The administrator thinks that the underlying hypervisor may be starved for resources. The admini...
Linux troubleshootingCPU performanceVirtualizationtop command - Question #793System Management
A Linux engineer needs to determine the oom_score value for PID 7991. Which of the following files should the engineer verify to find this value?
Linux processesoom_score/proc filesystemSystem information - Question #794System Management
A web server will not start on a Linux server. A Linux administrator troubleshooting the issue runs a few commands, which produce the following output: Output 1: systemctl units Ou...
systemdService ManagementTroubleshootingWeb Server - Question #795Troubleshooting
An administrator has received multiple tickets relating to a lack of a disk space on a few servers, but the percentage of disk space usage is below the threshold. The following sho...
Linux CommandsFile System UtilitiesInode ManagementDisk Space Diagnostics - Question #796System Management
An application requires a configuration file be placed in each user's home directory when an account is created. In which of the following locations should the administrator place...
User ManagementFile System Hierarchy StandardConfiguration FilesAccount Creation - Question #797System Management
A Linux administrator is removing non-permanent rules from the system firewall. Which of the following commands will allow the administrator to achieve this goal in the safest way...
firewalldfirewall managementnetwork securitycommand-line interface - Question #798System Management
A technician wants to temporarily use a Linux virtual machine as a router for the network segment 10.10.204.0/24. Which of the following commands should the technician issue? (Choo...
Linux NetworkingIP ForwardingiptablesNAT - Question #799Troubleshooting
A Linux administrator is troubleshooting a system with low performance. The administrator runs a few commands and receives the following output: Which of the following is the most...
Linux performanceTroubleshootingCPU utilizationSystem monitoring - Question #800Troubleshooting
A Linux administrator is attempting to create a KVM on a remote Linux server. After failing to create the VM, the administrator runs some commands and reviews the following output:...
KVMVirtualizationNested VirtualizationTroubleshooting - Question #802Security
An administrator needs to restrict a file's permission set in the following ways: - The file needs to be read and write, but it should not be executable to the file owner. - The fi...
File permissionschmod commandLinux access controlOctal permissions - Question #804Troubleshooting
A systems administrator has changed the permissions on the /etc/passwd file. When a user attempts to log in, the following is displayed on the command prompt: The following output...
File Permissionschmod command/etc/passwdUser Account Management - Question #805Security
Which of the following is a simple option to deter attackers who have physical access to a Linux system from performing a root account takeover?
Bootloader securityGRUB passwordPhysical securityRoot access prevention - Question #806System Management
A systems administrator changed the file permissions on the myfile file: $ sudo chmod g+w myfile $ ls -l myfile -rwxrwxr-x 1 admin editors C 2022-10-13 10:45 myfile Then the admini...
User ManagementGroup ManagementFile PermissionsLinux Sessions - Question #807System Management
A systems technician needs to install a third-party software package. Which of the following commands would allow the technician to download this software package from a remote ser...
wgetfile downloadremote serverLinux commands