XK0-005 Exam Questions
961 real XK0-005 exam questions with expert-verified answers and explanations. Page 10 of 20.
- Question #545Troubleshooting
A Linux system fails to start and delivers the following error message: Which of the following commands can be used to address this issue?
Filesystem repairBoot issuesLinux commandsDisk management - Question #546Security
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...
User ManagementGroup ManagementSecurity ConfigurationLinux Configuration Files - Question #549System Management
A systems administrator made some changes in the ~/.bashrc file and added an alias command. When the administrator tried to use the alias command, it did not work. Which of the fol...
Bash ShellShell ConfigurationAliasesCommand Line - Question #551Troubleshooting
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...
Filesystem MountingUUIDServer Cloningfstab - Question #552System Management
A systems administrator installed a new software program on a Linux server. When the systems administrator tries to run the program, the following message appears on the screen. Wh...
Linux commandsSystem informationVirtualization supportHardware capabilities - Question #553System Management
A Linux administrator created the directory /project/access2all. By creating this directory, the administrator is trying to avoid the deletion or modification of files from non-own...
Linux PermissionsSticky BitchmodDirectory Management - Question #555System Management
Due to low disk space, a Linux administrator finding and removing all log files that were modified more than 180 days ago. Which of the following commands will accomplish this task...
find commandFile system managementCommand-line utilitiesLog file cleanup - Question #558Troubleshooting
A junior administrator is trying to set up a passwordless SSH connection to one of the servers. The administrator follows the instructions and puts the key in the authorized_key fi...
SSHKey authenticationFile managementTroubleshooting - Question #559Troubleshooting
A Linux administrator needs to resolve a service that has failed to start. The administrator runs the following command: The following output is returned Which of the following is...
Linux ServicesFile PermissionsTroubleshootingService Management - Question #561System Management
A Linux administrator booted up the server and was presented with a non-GUI terminal. The administrator ran the command systemctl isolate graphical.target and rebooted the system b...
systemdBoot targetsPersistent configurationLinux boot - Question #562Troubleshooting
Users report that connections to a MariaDB service are being closed unexpectedly. A systems administrator troubleshoots the issue and finds the following message in /var/log/messag...
MariaDBFile descriptorsSystem limitsTroubleshooting - Question #563System Management
A developer is trying to install an application remotely that requires a graphical interface for installation. The developer requested assistance to set up the necessary environmen...
SSHX11 forwardingEnvironment variablesRemote administration - Question #564System 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...
systemdservice managementshell scriptingstartup scripts - Question #565System 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--. ?
chmodfile permissionsoctal notationLinux administration - Question #566System Management
After listing the properties of a system account, a systems administrator wants to remove the expiration date of a user account. Which of the following commands will accomplish thi...
User Account Managementchage commandAccount expirationLinux administration - Question #567System Management
A systems administrator wants to be sure the sudo rules just added to /etc/sudoers are valid. Which of the following commands can be used for this task?
sudovisudosystem administrationconfiguration management - Question #569System Management
A Linux administrator created a new file system. Which of the following files must be updated to ensure the filesystem mounts at boot time?
Filesystem managementBoot configurationfstabLinux administration - Question #572Troubleshooting
An administrator transferred a key for SSH authentication to a home directory on a remote server. The key file was moved to .ssh/authorized_keys location in order to establish SSH...
SSHKey-based authenticationFile permissionsTroubleshooting - Question #573Scripting, Containers, and Automation
A cloud engineer needs to remove all dangling images and delete all the images that do not have an associated container. Which of the following commands will help to accomplish thi...
DockerContainer imagesImage cleanupContainer management - Question #574Security
A Linux engineer needs to block an incoming connection from the IP address 2.2.2.2 to a secure shell server and ensure the originating IP address receives a response that a firewal...
iptablesFirewallNetwork SecurityLinux Networking - Question #576System Management
A systems administrator creates a public key for authentication. Which of the following tools is MOST suitable to use when uploading the key to the remote servers?
SSHPublic Key Authenticationssh-copy-idRemote Server Management - Question #578System Management
Following the migration from a disaster recovery site, a systems administrator wants a server to require a user to change credentials at initial login. Which of the following comma...
chage commandPassword AgingUser ManagementLinux Administration - Question #579Security
A systems administrator wants to permit access temporarily to an application running on port 1234/TCP on a Linux server. Which of the following commands will permit this traffic?
Linux firewallfirewall-cmdport managementnetwork access control - Question #582Scripting, Containers, and Automation
A systems administrator wants to check for running containers. Which of the following commands can be used to show this information?
Dockercontainer managementCLI commands - Question #583Troubleshooting
A Linux systems administrator is troubleshooting an I/O latency on a single CPU server. The administrator runs a top command and receives the following output: Which of the followi...
Linux performance monitoringCPU utilizationI/O latencytop command - Question #585Scripting, Containers, and Automation
A user created the following script file: #!/bin/bash # FILENAME: /home/user/script.sh echo "hello world" exit 1 However, when the user tried to run the script file using the comma...
File PermissionschmodScript ExecutionShell Scripting - Question #586Security
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,...
LUKS encryptionDisk encryptionFilesystem managementStorage device administration - Question #587System Management
A developer wants to ensure that all files and folders created inside a shared folder named /Group00DEV inherit the group name of the parent folder. Which of the following commands...
Linux PermissionsSGIDchmodFile System Management - Question #588System Management
Ann, a security administrator, is performing home directory audits on a Linux server. Ann issues the su Joe command and then issues the ls command. The output displays files that r...
User managementLinux commandsShell environmentDirectory navigation - Question #589Scripting, Containers, and Automation
A developer needs to launch an Nginx image container, name it Web00l, and expose port 8080 externally while mapping to port 80 inside the container. Which of the following commands...
DockerContainerizationdocker runPort mapping - Question #591Security
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 PrivilegeAccess ControlGroup Management - Question #593Troubleshooting
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 BottlenecksTroubleshooting VMs - Question #594Troubleshooting
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...
SSHRemote AccessService ConfigurationPort Management - Question #595System Management
A systems administrator needs to extend the logical volume /dev/mapper/linux-root to use all available space in its volume group. The filesystem should be extended as well. Which o...
LVMLogical Volume ManagementFilesystem ManagementDisk Management - Question #596System Management
A systems administrator is gathering information about a file type and the contents of a file. Which of the following commands should the administrator use to accomplish this task?
File managementLinux commandsSystem utilities - Question #597Troubleshooting
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...
journalctlsystemdService TroubleshootingLogging - Question #598Scripting, Containers, and Automation
A DevOps engineer wants to allow the same Kubernetes container configurations to be deployed in development, testing, and production environments. A key requirement is that the con...
KubernetesContainer patternsEnvironment configurationDevOps - Question #600System Management
Which of the following commands should a technician use to create an administrative account for the username Joe?
useraddgroup managementsudo privilegesaccount creation - Question #602Security
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 /...
Linux user managementSudo configurationRoot accessSystem auditing - Question #603System Management
The group named support is unable to make changes to the config file. An administrator is reviewing the permissions and sees the following: $ ls -l config -rw-rw----. 1 root app 46...
File PermissionschmodLinux AdministrationUser & Group Management - Question #604Security
Which of the following actions are considered good security practices when hardening a Linux server? (Choose two.)
Linux SecurityServer HardeningSSH SecurityAttack Surface Reduction - Question #605Troubleshooting
A Linux user is trying to execute commands with sudo but is receiving the following error: $ sudo visudo >>> /etc/sudoers: syntax error near line 28 <<< sudo: parse error in /etc/s...
sudo configurationsystem recoverysingle user modeaccess control - Question #606Troubleshooting
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 TroubleshootingLatencyNetwork InterfaceLinux Networking - Question #607System Management
A Linux administrator needs to create a symlink for /usr/local/bin/app-a, which was installed in /usr/local/share/app-a. Which of the following commands should the administrator us...
Linux commandsSymbolic linksFile system managementln command - Question #608Troubleshooting
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...
SystemdService ManagementTroubleshootingBoot Configuration - Question #609Security
Which of the following specifications is used to perform disk encryption in a Linux system?
Disk encryptionLUKSLinux securityData at rest encryption - Question #610System Management
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:...
Linux administrationUser managementAuthenticationPAMCommand-line tools - Question #611Security
A systems technician is configuring an application server to accept packets from a trusted source with the IP address 192.168.10.22. Which of the following commands will allow comm...
Firewall configurationiptablesNetwork access controlLinux commands - Question #612System Management
An administrator needs to increase the system priority of a process with PID 2274. Which of the following commands should the administrator use to accomplish this task?
Process Managementrenice commandNice ValueSystem Administration - Question #614System Management
An administrator needs to make an application change via a script that must be run only in console mode. Which of the following best represents the sequence the administrator shoul...
systemdsystem targetsrunlevelsconsole mode