XK0-005 Exam Questions
961 real XK0-005 exam questions with expert-verified answers and explanations. Page 1 of 20.
- Question #1System Management
A Linux administrator must identify a user with high disk usage. The administrator runs the # du - s /home/* command and gets the following output: Based on the output, User3 has t...
Disk UsageLinux Commandsdu commandFile System Management - Question #2Troubleshooting
A Linux server has multiple IPs. A Linux administrator needs to verify if the HTTP server port is bound to the correct IP. Which of the following commands would BEST accomplish thi...
Linux networkingNetwork troubleshootingPort bindingnetstat command - Question #3Scripting, Containers, and Automation
A systems administrator needs to append output of command to the contents of ls -lha /opt a test.txt file. Which of the following commands will accomplish this?
Command Line InterfaceFile RedirectionShell OperatorsLinux Commands - Question #4Scripting, Containers, and Automation
A Linux systems administrator needs to provision multiple web servers into separate regional datacenters. The systems architect has instructed the administrator to define the serve...
Infrastructure as CodeAutomationServer Provisioning - Question #5System Management
A Linux systems administrator needs to set permissions on an application with the following parameters: - The owner of the application should be able to read, write, and execute th...
Linux permissionschmod commandOctal notationFile access control - Question #6Troubleshooting
A junior Linux administrator is trying to verify connectivity to the remote host host1 and display round-trip statistics for ten ICMP. Which of the following commands should the ad...
Network diagnosticsping commandConnectivity testingICMP - Question #7System Management
A junior Linux administrator is updating local name resolution to support IPv6. The administrator issues the command cat /etc/hosts and receives the following output: 127.0.0.1 loc...
Linux network configurationIPv6Local name resolution/etc/hosts - Question #8System Management
A Linux systems administrator needs to copy the contents of a directory named "working" on the local working system to a folder /var/www/html on a server named "corporate-web". Whi...
scpRemote File TransferLinux CommandsFile Management - Question #11Scripting, Containers, and Automation
A systems administration team has decided to their systems as immutable instances. They keep the desired state of each of their systems in version control and apply automation when...
Infrastructure as CodeImmutable InfrastructureAutomationVersion Control - Question #12Scripting, Containers, and Automation
A systems administrator wants to deploy several applications to the same server quickly. Each application should be abstracted from the host with its own dependencies and libraries...
ContainersApplication DeploymentResource IsolationVirtualization - Question #13Security
An operator finds a user is having issues with opening certain files. Which of the following commands would allow the security administrator to list and check the SELinux context?...
SELinuxFile Contextls commandLinux Security - Question #14System Management
A new corporate policy states that Bluetooth should be disabled on all company laptops. Which of the following commands would disable the use of Bluetooth?
Linux ModulesKernel Module BlacklistingDevice ManagementSystem Configuration - Question #15System Management
A junior Linux administrator is installing a new application with CPU architecture requirements that have the following specifications: - x64 bit - 3.0GHz speed - Minimum quad core...
System InformationHardware IdentificationApplication RequirementsCPU Architecture - Question #16Security
A Linux systems administrator wants the ability to access systems remotely over SSH using RSA authentication. to which of the following files should the RSA token be added to allow...
SSHKey-based authenticationRemote accessLinux file system - Question #17System Management
A Linux server needs to be accessed, but the root password is not available. Which of the following would BEST allow an administrator to regain access and set a new known password...
Linux password resetSingle-user modeRoot access recoverySystem administration - Question #18Scripting, Containers, and Automation
A Linux administrator wants to fetch a Git repository from a remote Git server. Which of the following is the BEST command to perform this task?
GitVersion Control SystemRepository CloningRemote Repositories - Question #19System Management
An administrator needs to create a shared directory in which all users are able, write, and execute its content but none of the regular users are able to delete any content. Which...
File PermissionsSticky BitAccess ControlShared Directories - Question #21System Management
Which of the following will provide a list of all flash, external, internal, and SSD drives?
Linux commandsDisk managementBlock devices - Question #22Scripting, Containers, and Automation
Which of the following configuration management tools is considered agentless?
Configuration ManagementAgentless ArchitectureAnsibleAutomation Tools - Question #23Scripting, Containers, and Automation
An administrator reviews the following configuration file provided by a DevOps engineer: Which of the following would the application parsing this file MOST likely have to support?
YAMLConfiguration filesDevOps practicesData serialization - Question #24Scripting, Containers, and Automation
Which of the following is a difference between YAML and JSON?
YAMLJSONData SerializationConfiguration Files - Question #25Troubleshooting
A junior administrator of a physical server receives log messages indicating the out-of-memory killer has been active. All memory slots are in use on the motherboard, but additiona...
Linux Memory ManagementSwap File ConfigurationOut-of-Memory KillerCommand-line Tools - Question #26System Management
A junior Linux administrator is optimizing a system in which an application needs to take priority 0 when running the process. The administrator runs the ps command and receives th...
Process ManagementProcess Priorityrenice command - Question #28Scripting, Containers, and Automation
A system administrator has deployed a Linux server based on an Anaconda process with all packages and custom configurations necessary to install a web server role. Which of the fol...
Linux InstallationKickstartServer DeploymentAnaconda - Question #29System Management
A Linux administration is using a Linux system as a router. During the tests, the administrator discovers that IP packets are not being sent between the configured interfaces. Whic...
Linux NetworkingIP ForwardingKernel ParametersRouter Configuration - Question #31System Management
A Linux administrator needs the "tech" account to have the option to run elevated commands as root. Which of the following commands would BEST meet this goal?
User ManagementLinux GroupssudoPrivilege Escalation - Question #32System Management
Which of the following is the purpose of the vmlinux file on a Linux system?
Linux kernelvmlinuxSystem bootSystem files - Question #33Troubleshooting
Ann, a junior systems administrator, is required to add a line to the /etc/yum.conf file. However, she receives the following error message when she tries to add the line: Ann perf...
File attributes`chattr` commandFilesystem managementTroubleshooting file permissions - Question #34System Management
A Linux administrator needs to take stock of USB devices attached to the system. Which of the following commands would be BEST to complete this task?
Linux commandsUSB devicesHardware inventoryDevice listing - Question #35System Management
Given the output below: Which of the following commands can be used to remove MyPhoto.jpg from the current directory?
file managementcommand linefile deletionlinux commands - Question #36System Management
Which of the following server roles would assign a host IP address?
DHCPIP addressingNetwork servicesServer roles - Question #37System Management
Which of the following commands would show the default printer on a Linux system?
Linux commandsPrintinglpq commandSystem utilities - Question #38Security
A system administrator has set up third-party log aggregation agents across several cloud instances. The systems administrator wants to create a dashboard of failed SSH attempts an...
Linux loggingauditdSSH securitylog aggregation - Question #39System Management
A systems administrator must clean up all application files in the directory /var/log/app. However, the company's security policy requires the files to be kept on the backup server...
tar commandfile compressionbzip2system administration - Question #41System Management
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
Linux init systemssystemdUpstartSysV init - Question #42System Management
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
lspciHardware InformationPCI BusSystem Utilities - Question #43Security
Which of the following settings for umask ensures that new files have the default permissions -rw- r----- ?
umaskFile PermissionsAccess ControlLinux Security - Question #44System Management
Which of the following is the device file name for the second partition on the only SCSI drive?
Linux device filesBlock devicesPartition namingSCSI drives - Question #45System Management
Which of the following would be the BEST solution for a systems administrator to access the graphical user environment of a Linux machine remotely?
Remote GUI AccessVNCLinux Administration - Question #46Troubleshooting
A technical support engineer receives a ticket from a user who is trying to create a 1KB file in the /tmp directory and is getting the following error No space left on device. The...
FilesystemInodesTroubleshootingDisk Space - Question #47System Management
Which of the following is the BEST reason for not storing database files in the /var directory?
Linux FHSDisk ManagementDatabase AdministrationSystem Best Practices - Question #51System Management
Which of the following can be used to boot a DVD from a remote device to initialize a Linux system setup on bare metal hardware as if it is a local DVD?
UEFIBare Metal InstallationRemote BootVirtual Media - Question #52Troubleshooting
After starting a long-running script, a systems administrator needs to verify the frequency of what is filling up the /var partition and kill it because it is consuming too much sp...
Process ManagementTerminal ControlTroubleshootingLinux Fundamentals - Question #53System Management
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)
SysV initRunlevelsinit commandSystem maintenance - Question #54System Management
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?
Linux boot processSysV initInit system/sbin/init - Question #55System Management
What does the command mount -a do?
mount commandfstabFile Systems - Question #56System Management
A Linux administrator is testing connectivity to a remote host on a shared terminal. The administrator wants to allow other users to access the terminal while the command is execut...
Linux shellJob controlBackground processes - Question #57System Management
A Linux administrator needs to switch from text mode to GUI. Which of the following runlevels will start the GUI by default?
Linux runlevelsSystem initializationGUI environment - Question #58System Management
A junior systems is configuring localization option environment variables. The administrator is given a checklist of tasks with the following requirements: - View current settings...
Environment VariablesLocalizationShell CommandsLinux Administration - Question #59System Management
An administrator needs to change the IP address on a server remotely. After updating the configuration files, a network restart is needed. However, the administrator fears that whe...
nohup commandRemote administrationNetwork configurationProcess management