XK0-005 Exam Questions
961 real XK0-005 exam questions with expert-verified answers and explanations. Page 11 of 20.
- Question #615System Management
A Linux administrator logs in to a system and identifies that an important backup has been started. The backup process is consuming a considerable amount of CPU lime but needs to c...
Linux process managementProcess priorityrenice commandSystem optimization - Question #616Troubleshooting
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 NetworkingNetwork Performance TuningsysctlSocket Buffers - Question #618System Management
A systems administrator received a request to change a user's credentials. Which of the following commands will grant the request?
passwd commanduser managementpassword managementsudo - Question #621Security
A systems administrator is working on a security report from the Linux servers. Which of the following commands can the administrator use to display all the firewall rules applied...
Firewall managementLinux commandsNetwork securityfirewalld - Question #624System 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 ManagementGroup ManagementsudoPrivilege Management - Question #625Scripting, Containers, and Automation
A Linux administrator deployed a large-scale application service as a containerized pod. The Linux administrator needs to continually send the application's log file to the company...
ContainersLog ManagementSidecar PatternKubernetes - Question #626Security
A systems administrator is trying to track down a rogue process that has a TCP listener on a network interface for remote command-and-control instructions. Which of the following c...
Network MonitoringProcess IdentificationTCP/IP UtilitiesSystem Security - Question #628System Management
A systems administrator is cloning a system partition /dev/sda1 to /dev/sdc1. Which of the following commands would allow the administrator to accomplish this task most efficiently...
dd commandpartition cloningdisk managementblock devices - Question #631Security
Application code is stored in Gil. Due to security concerns, the DevOps engineer does not want to keep a sensitive configuration file, app.conf, in the repository. Which of the fol...
GitVersion ControlSecurity Best PracticesConfiguration Management - Question #632System Management
An administrator has source code and needs to rebuild a kernel module. Which of the following command sequences is most commonly used to rebuild this type of module?
kernel modulessource compilationbuild processLinux commands - Question #633Troubleshooting
An administrator would like to measure possible packet loss between a workstation and a remote web application that is running on port 443. Which of the following would be the best...
Network TroubleshootingPacket Lossmtr CommandTCP Ports - Question #634System Management
Users in the human resources department are trying to access files in a newly created directory. Which of the following commands will allow the users access to the files?
File PermissionsGroup Managementchgrp commandLinux Commands - Question #635Troubleshooting
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...
Linux TroubleshootingName ResolutionHosts FileNetworking - Question #636Troubleshooting
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 ManagementTroubleshootingLinux Commands - Question #637Scripting, Containers, and Automation
An administrator would like to list all current containers, regardless of their running state. Which of the following commands would allow the administrator to accomplish this task...
DockerContainersContainer managementCLI - Question #638Security
Which of the following should be used to verify the integrity of a file?
File IntegrityHashingsha256sumLinux Commands - Question #639Scripting, Containers, and Automation
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 #641System Management
Which of the following can be used as a secure way to access a remote terminal?
SSHRemote AccessSecure ProtocolsTerminal Access - Question #642Security
A user is attempting to log in to a Linux server that has Kerberos SSO enabled. Which of the following commands should the user run to authenticate and then show the ticket grants?...
KerberosAuthenticationSSOLinux commands - Question #643System Management
A Linux administrator is configuring a two-node cluster and needs to be able to connect the nodes to each other using SSH keys from the root account. Which of the following command...
SSH keysPasswordless authenticationRemote accessLinux administration - Question #644System Management
A systems administrator wants to delete app.conf from a Git repository. Which of the following commands will delete the file?
GitVersion ControlFile ManagementCommand Line - Question #645System Management
An administrator would like to mirror the website files on the primary web server www1, to the backup web server www2. Which of the following commands should the administrator use...
rsyncFile SynchronizationRemote CopyLinux Commands - Question #646Scripting, Containers, and Automation
A cloud engineer wants to delete all unused networks that are not referenced by any container. Which of the following commands will achieve this goal?
DockerContainer NetworkingResource CleanupCLI Commands - Question #647Security
The development team wants to prevent a file from being modified by all users in a Linux system, including the root account. Which of the following commands can be used to accompli...
File attributeschattrFile securityLinux commands - Question #648Security
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...
SELinuxPort ManagementService ConfigurationMandatory Access Control - Question #649Scripting, Containers, and Automation
A Linux administrator needs to rebuild a container with the httpd service in order to change some default parameters. Which of the following should be the first command line in the...
DockerfileDockerContainersBase Image - Question #651System Management
A User on a Linux workstation needs to remotely start an application on a Linux server and then forward the graphical display of that application back to the Linux workstation. Whi...
sshX11 forwardingRemote accessLinux commands - Question #652System Management
A Linux administrator wants to prevent the httpd web service from being started both manually and automatically on a server. Which of the following should the administrator use to...
systemctlservice managementmasking servicesLinux administration - Question #653Security
A non-privileged user is attempting to use commands that require elevated account permissions, but the commands are not successful. Which of the following most likely needs to be u...
SudoElevated PrivilegesAccess ControlSystem Configuration - Question #654Scripting, Containers, and Automation
An application developer received a file with the following content: ##This is a sample Image ## FROM ubuntu:18.04 MAINTAINER [email protected] COPY . /app RUN make /app CMD p...
DockerContainer Imagesdocker build commandImage Tagging - Question #655System Management
A Linux administrator is configuring crontab and needs to schedule a task to run only on Saturday and Sunday at 9:00 a.m. every week of the year. Which of the following should the...
crontabtask schedulingLinux commandssystem utilities - Question #656Troubleshooting
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?
SSHLinux serverTroubleshootingUser accounts - Question #657System Management
A Linux administrator is configuring a new internal web server fleet. The web servers are up and running but can only be reached by users directly via IP address. The administrator...
DNS RecordsNetworking ConfigurationWeb ServersSystem Administration - Question #658Troubleshooting
After connecting to a remote host via SSH, an administrator attempts to run an application but receives the following error: [user@worksration ~]$ ssh admin@srv1 Last login: Tue Ma...
SSHX11 ForwardingRemote DisplayTroubleshooting - Question #659Troubleshooting
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?
SSHNetwork ConnectivityFirewallTroubleshooting - Question #661System Management
Which of the following is the best tool for dynamic tuning of kernel parameters?
Kernel tuningSystem optimizationLinux utilitiesPerformance management - Question #662System Management
A Linux engineer needs to get information from the foo.com domain mail servers. Which of the following network tools should the engineer use?
Linux NetworkingDNSMX Recordsdig command - Question #663System Management
A Linux administrator has defined a systemd script docker-repository.mount to mount a volume for use by the Docker service. The administrator wants to ensure that Docker service do...
systemdservice managementunit dependenciesmount units - Question #664System Management
Which of the following will prevent non-root SSH access to a Linux server?
nologin fileSSH accessUser Access ControlSystem Maintenance - Question #665System Management
A systems administrator downloads the Debian-based software package app.deb. Which of the following will install the software?
Package ManagementdpkgDebianSoftware Installation - Question #666Security
A Linux engineer is removing a previously created firewall rule. Which of the following commands will help the administrator accomplish this task?
Linux FirewallufwFirewall Rule ManagementNetwork Security - Question #667Scripting, Containers, and Automation
A file called testfile has both uppercase and lowercase letters: $ cat testfile ABCDEfgH IJKLmnoPQ abcdefgH ijklLMNopq A Linux administrator is tasked with converting testfile into...
tr utilityText processingI/O RedirectionLinux commands - Question #668Troubleshooting
A Linux administrator is troubleshooting a systemd mount unit file that is not working correctly. The file contains: [root@system] # cat mydocs.mount [Unit] Description=Mount point...
systemdMount UnitsPath EscapingUnit File Syntax - Question #669System Management
A systems administrator needs to remove a disk from a Linux server. The disk size is 500G, and it is the only one that size on that machine. Which of the following commands can the...
Linux commandsDisk managementDevice identificationSystem utilities - Question #670Troubleshooting
A Linux system is having issues. Given the following outputs: Which of the following best describes this issue?
DNSNetwork TroubleshootingName ResolutionLinux Networking - Question #671Troubleshooting
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 managementInodesDisk spacedf command - Question #672Troubleshooting
response. Which of the following files should the administrator check first?
DNS resolutionNetwork configurationLinux file systemTroubleshooting - Question #673Scripting, Containers, and Automation
Which of the following technologies should a Linux administrator use to deploy resources with high availability, portability, and scalability in production?
KubernetesContainer OrchestrationHigh AvailabilityScalability - Question #674Scripting, Containers, and Automation
A technician just fixed a few issues in some code and is ready to deploy the code into production. Which of the following steps should the technician take next?
GitVersion controlCode deploymentPull requests - Question #675Troubleshooting
A Linux administrator is troubleshooting an SSHD issue on a server. Users are receiving error messages stating the connection is refused. Which of the following commands should be...
Linux troubleshootingSSHDnetstatNetwork services