XK0-005 Exam Questions
961 real XK0-005 exam questions with expert-verified answers and explanations. Page 19 of 20.
- Question #10230System Management
A systems administrator uses a remote execution engine to iterate through each IP address in a network and run a script on remote hosts. The script captures the remote system's hos...
System informationAsset managementRemote executionSystem inventory - Question #10240System Management
Which of the following commands allow an administrator to determine if the current system is a virtual machine?
Linux commandsVirtualization detectionlspciSystem information - Question #10260System Management
An administrator needs to download a monitoring agent called node_exporter.0.16.0- Linux.amd64 from the internal web page https://company.local/downloads/. The server does not have...
curlHTTPScommand-linefile download - Question #10270System Management
Which of the following is the MOST common method used to access Windows systems that are running in a cloud provider from a Linux system?
Remote AccessRDPCloud InfrastructureLinux Clients - Question #10280System Management
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?
NetworkingARPLinux CommandsMAC Address - Question #10310System Management
A systems administrator wants to list all local accounts in which the UID is greater than 500. Which of the following commands will give the correct output?
awk commandUser management/etc/passwdText processing - Question #10320System Management
Based on the given command: find /home/user1 -type f -name "*.txt" -size +100M Which of the following will the command accomplish?
find commandfile searchingcommand-line utilitiesfile system management - Question #10330Security
While inspecting a recently compromised Linux system, the administrator identified a number of processes that should not have been running: Which of the following commands should t...
Process ManagementLinux CommandsCommand LineSecurity Operations - Question #10340Scripting, Containers, and Automation
An administrator is utilizing an automation engine than uses SSH to run commands on remote systems. Which of the following does this describe?
Automation EngineAgentless ArchitectureSSHRemote Execution - Question #10351System Management
A Linux administrator needs to create a new user named user02. However, user02 must be in a different home directory, which is under /comptia/projects. Which of the following comma...
User managementLinux commandsHome directoryuseradd - Question #10360System Management
A database administrator requested the installation of a custom database on one of the servers. Which of the following should the Linux administrator configure so the requested pac...
Linux Package ManagementYUM ConfigurationRepository ManagementSystem Administration - Question #10370System Management
User1 is a member of the accounting group. Members of this group need to be able to execute but not make changes to a script maintained by User2. The script should not be accessibl...
Linux file permissionsFile ownershipchown commandUser and group management - Question #10380System Management
A Linux administrator needs to schedule a backup job to run every Friday at 2:15 a.m. Which of the following lines should the administrator add to the crontab file?
Linux schedulingCronCrontabTask automation - Question #10390System Management
The security team has identified a web service that is running with elevated privileges. A Linux administrator is working to change the systemd service file to meet security compli...
systemdservice configurationprivilege managementsecurity hardening - Question #10410System Management
A Linux systems administrator is configuring a new filesystem that needs the capability to be mounted persistently across reboots. Which of the following commands will accomplish t...
Filesystem managementPersistent storage/etc/fstabmkfs command - Question #10420Troubleshooting
A Linux system is getting an error indicating the root filesystem is full. Which of the following commands should be used by the systems administrator to resolve this issue? (Choos...
LinuxLVMFilesystem ManagementDisk Expansion - Question #10430Troubleshooting
A Linux administrator was notified that a virtual server has an I/O bottleneck. The Linux administrator analyzes the following output: Given there is a single CPU in the sever, whi...
Linux PerformanceCPU UtilizationI/O BottleneckSystem Monitoring - Question #10440Scripting, Containers, and Automation
A new file was added to a main Git repository. An administrator wants to synchronize a local copy with the contents of the main repository. Which of the following commands should t...
GitVersion ControlRepository Synchronization - Question #10451System Management
A new Linux systems administrator just generated a pair of SSH keys that should allow connection to the servers. Which of the following commands can be used to copy a key file to r...
SSHKey managementFile transferLinux commands - Question #10470System Management
A Linux administrator has installed a web server, a database server, and a web application on a server. The web application should be active in order to render the web pages. After...
systemdService ManagementService DependenciesUnit Files - Question #10480Scripting, Containers, and Automation
A Linux administrator needs to ensure that Java 7 and Java 8 are both locally available for developers to use when deploying containers. Currently only Java 8 is available. Which o...
DockerContainer imagesImage pullingContainer deployment - Question #10490Troubleshooting
A Linux engineer set up two local DNS servers (10.10.10.10 and 10.10.10.20) and was testing email connectivity to the local mail server using the mail command on a local machine wh...
DNSdig commandMX recordsNetwork troubleshooting - Question #10510System Management
A Linux engineer is setting the sticky bit on a directory called devops with 755 file permission. Which of the following commands will accomplish this task?
Linux PermissionsSticky BitchmodFile System Management - Question #10520Troubleshooting
A Linux administrator is troubleshooting a memory-related issue. Based on the output of the commands: Which of the following commands would address the issue?
Process ManagementMemory TroubleshootingLinux CommandsSystem Recovery - Question #10530System Management
An engineer needs to insert a character at the end of the current line in the vi text editor. Which of the following will allow the engineer to complete this task?
vi editorText editingCommand-line tools - Question #10540Security
The security team has identified a web service that is running with elevated privileges. A Linux administrator is working to change the systemd service file to meet security compli...
systemdService configurationUser privilegesSecurity hardening - Question #10551System Management
Due to performance issues on a server, a Linux administrator needs to terminate an unresponsive process. Which of the following commands should the administrator use to terminate t...
Linux processesProcess terminationkill commandSignals - Question #10560Security
A junior developer is unable to access an application server and receives the following output: The systems administrator investigates the issue and receives the following output:...
pam_tally2Account LockoutUser Account SecurityLinux Security - Question #10570Scripting, Containers, and Automation
A new application container was built with an incorrect version number. Which of the following commands should be used to rename the image to match the correct version 2.1.2?
DockerContainer ImagesImage TaggingCommand Line - Question #10580System Management
A Linux administrator needs to transfer a local file named accounts.pdf to a remote /tmp directory of a server with the IP address 10.10.10.80. Which of the following commands need...
File TransferSCPRemote AccessLinux Commands - Question #10590Security
During a security scan, the password of an SSH key file appeared to be too weak and was cracked. Which of the following commands would allow a user to choose a stronger password an...
SSH Key ManagementSecurity Best PracticesCommand Line InterfacePassphrase - Question #10610System Management
A systems administrator notices the process list on a mission-critical server has a large number of processes that are in state "Z" and marked as "defunct." Which of the following...
Zombie ProcessesProcess ManagementLinux Processes - Question #10620Troubleshooting
A Linux system is having issues. Given the following outputs: Which of the following best describes this issue?
DNS troubleshootingNetwork servicesPort blockingService availability - Question #10630Troubleshooting
A user (userA) has reported issues while logging in to the system. The following output has been provided: Which of the following describes the issue userA is having?
User managementFile permissionsHome directoryTroubleshooting login - Question #10640Troubleshooting
A user is cleaning up a directory because it has more than 100,000 files that were generated from an experiment. When the user tries to remove the unneeded experiment files, the us...
file managementcommand line utilitiesargument list limitlinux administration - Question #10651Troubleshooting
A systems engineer deploys a new application server, but the server cannot communicate with the back-end database hostname. The engineer confirms that the application server can pi...
DNSHostname ResolutionNetwork TroubleshootingConnectivity - Question #10660Security
A Linux administrator encounters the following error in the Apache log files: SQLSTATE[HY000] [2002] Permission denied Which of the following commands should the administrator run...
SELinuxApacheDatabase ConnectivityPermission Management - Question #10670System Management
A systems administrator is configuring a Linux system so that network traffic from the internal network 172.17.0.0/16 going out through the eth0 interface would appear as if it was...
iptablesNATMasqueradingNetwork Configuration - Question #10680Security
A Linux administrator needs to remove all local firewall rules on a Linux system. Which of the following commands should the administrator run?
iptablesfirewall managementnetwork security - Question #10690Troubleshooting
A diagnostic tool reports a "host seems down" event for a server with an IP address of 192.168.47.44. Which of the following commands should the administrator use to confirm the ho...
Network TroubleshootingNmapHost ReachabilityCommand-line Tools - Question #10710System Management
A new hard drive /dev/sdd was added to a server. Which of the following commands will create a partition table with a single partition /dev/sdd1 that consumes the entire disk?
sfdiskPartitioningDisk ManagementCommand Line - Question #10720Troubleshooting
systems administrator confirms the issue with the following command: The administrator logs in to the company's web server to check its configuration and sees the following output:...
FirewalldNetwork ServicesHTTPS ConfigurationTroubleshooting - Question #10730Troubleshooting
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?
LVMDisk Space ManagementFilesystem ResizingLinux Administration - Question #10740System Management
A Linux systems administrator is preparing to install updates using APT. The administrator notices the version of the packages that will be installed differs from the latest versio...
APTPackage ManagementSystem Updates - Question #10751Security
Which of the following describes how a user's public key is used during SSH authentication?
SSHPublic Key AuthenticationAuthenticationSecurity - Question #10770System Management
A systems administrator needs to validate that the dm_multipath driver was loaded in a Linux system. Which of the following commands should the administrator use?
Linux commandsKernel modulesDriver managementSystem validation - Question #10790System Management
A Linux administrator needs to check the content of a log file that is appending data as the file grows. Which of the following commands should the administrator use to accomplish...
Linux commandsLog file managementFile monitoringtail command - Question #10810Scripting, Containers, and Automation
Which of the following concepts describes the approach of keeping all configurations in a repository?
Infrastructure as CodeConfiguration ManagementVersion ControlAutomation - Question #10820System Management
After making a configuration change to an Apache web server, an administrator needs to reload the service. However, sudo access was only granted to the command. killall Which of th...
Linux SignalsService ManagementApache Configurationkillall - Question #10830System Management
Which of the following commands is used to check and prepare software for compilation?
software compilationconfigure commandsource code installationLinux commands