XK0-006 Exam Questions
156 real XK0-006 exam questions with expert-verified answers and explanations. Page 3 of 4.
- Question #103Security Best Practices
Which of the following commands sets all the directories' permissions recursively in the user's home directory and as accessible only to the user?
find commandchmodrecursive permissionsdirectory permissions - Question #104System Configuration and Management
Due to application compatibility issues, the Python 3 OpenSSL library should not be upgraded. Which of the following commands should the systems administrator use to ensure the pac...
apt-markpackage holdpackage managementdpkg - Question #105System Configuration and Management
A Linux administrator needs to compare two files and provide the output in the following format: 2,3d1 < Line 2 < Line 3 4a3 > Line 5 Which of the following commands should the adm...
difffile comparisoncommand line toolstext output - Question #106Troubleshooting
A systems administrator receives reports from users who are having issues while trying to modify newly created files in a shared directory. The administrator sees the following out...
setgidshared directoryspecial permissionsfile ownership - Question #107Automation and Scripting
An administrator needs to append the output of a Linux command to an existing file for later analysis. Which of the following command-line strings should the administrator use?
I/O redirectionappend operatorshelloutput redirection - Question #108Troubleshooting
A systems administrator is troubleshooting a network error on a Linux server. Given the following: Which of the following is the reason for the error?
DNS resolvername resolutionnetwork troubleshootingnetwork error - Question #109System Management
Which of the following describes the primary purpose of monitoring thresholds?
monitoring thresholdsalertssystem monitoringperformance - Question #110Security Best Practices
A Linux administrator needs to add a new HTTP service on the server. Which of the following commands allows other systems to communicate with the service after the system is restar...
firewalldfirewall-cmdpersistent rulesHTTP service - Question #111Security Best Practices
Which of the following is the term used to describe reviewing processes and file operations on a Linux system?
auditingprocess monitoringfile operationssystem audit - Question #112Security Best Practices
A systems administrator is configuring new Linux systems and needs to enable passwordless authentication between two of the servers. Which of the following commands should the admi...
SSH key authenticationssh-keygenssh-copy-idpasswordless login - Question #113Automation and Scripting
Which of the following allows modules to be used in Python scripts?
Pythonimport statementmodulesscripting - Question #114Troubleshooting and Diagnostics
Which of the following commands would a Linux administrator use to determine the temperature of a motherboard?
lm_sensorshardware monitoringtemperaturesystem diagnostics - Question #115Security Best Practices
Which of the following references is recognized and used for guiding the configuration of operating systems and applications to ensure compliance with security best practices on Li...
CIS Benchmarkssecurity complianceOS hardeningbest practices - Question #116Troubleshooting and Diagnostics
A user reports issues when trying to connect to one of the Linux servers. The server administrator reviews the following outputs: Which of the following statements describes the ca...
hardware diagnosticskernel messageshardware failureserver troubleshooting - Question #117Automation, Orchestration, and Scripting
A Linux engineer needs to record new changes completed on a Git repository. Which of the following commands should the engineer use?
git commitversion controlGitrepository management - Question #118Troubleshooting
A Linux administrator observes a low network throughput on a Linux system. The Linux administrator gathers the following output: Which of the following is the cause of a low networ...
MTU mismatchnetwork throughputnetwork performanceEthernet - Question #119System Configuration and Management
A systems administrator is decommissioning a service. Which of the following commands should the administrator use to make sure users cannot start the service again?
systemctl maskservice managementsystemdservice decommission - Question #120Networking and Cloud Concepts
A systems administrator is experiencing local network connectivity issues. The administrator gathers the following outputs: Which of the following conclusions can the systems admin...
ICMPpingnetwork connectivityfirewall rules - Question #121Security Best Practices
Which of the following is an example of responsible use of publicly available generative AI by a systems administrator?
generative AIdata privacyresponsible AI usesystems administration - Question #122Troubleshooting and Diagnostics
Which of the following does dmesg display?
dmesgkernel ring bufferhardware eventsUSB - Question #123Services and User Management
A systems administrator needs to report the IP addresses of the users currently connected to the server. Which of the following commands should the administrator use to find the re...
w commandlogged-in usersIP addressessession monitoring - Question #124Security
A systems administrator is helping to secure a new web application. During the tests, the administrator obtains the following output to validate the application: Which of the follo...
TLS certificatescertificate authoritySSL validationweb security - Question #125Automation and Scripting
A Linux administrator prepares a backup script named testBack.sh. The backup script must be executed at 3:00 p.m. every Sunday. Which of the following crontab configurations will s...
croncrontabjob schedulingautomation - Question #126Automation and Scripting
A systems administrator is developing a script to copy a file if it exists and return an error if it does not. Given the following incomplete script: Which of the following stateme...
bash scriptingconditional logicif-elsefile existence check - Question #127Security Best Practices
The security manager at a company notifies a systems administrator of open vulnerabilities on the Linux system. The administrator receives the following information while logged in...
patch managementsystem updatesvulnerability remediationsecurity audit - Question #128Automation and Scripting
Which of the following best describes PEP 8?
PEP 8Pythoncoding conventionsstyle guide - Question #129Troubleshooting and Diagnostics
A Linux administrator notices that an application is having trouble connecting to an external database. Which of the following commands should the administrator use to validate the...
netcatport connectivitydatabase connectionnetwork troubleshooting - Question #130Security
Users are having issues running applications. A systems administrator thinks it is an SELinux issue. Which of the following commands should the administrator use to determine wheth...
SELinuxgetenforcesecurity enforcementaccess control - Question #131Automation and Scripting
A Linux administrator needs to create accounts for a list of new users. The user account names have been defined in the user LIST variable by executing the following: USER_LIST="al...
bash scriptingfor loopuseradduser provisioning - Question #132System Configuration and Management
A Linux administrator is creating a symbolic link /home/docs leading to the /usr/share/documents/ directory. Which of the following commands allows the administrator to achieve thi...
symbolic linksln -sfilesystemsoft link - Question #133Networking and Cloud Concepts
Which of the following network types allows a VM to use the physical network connection independent of the host machine?
VM networkingbridged networkingvirtualizationnetwork modes - Question #134System Configuration and Management
A Linux systems administrator is creating a new file, /var/tmp/myfile. This file needs to point to /usr/local/myfile. Both files reside on different filesystems. Which of the follo...
symbolic linkscross-filesystemln -ssoft link - Question #135Troubleshooting and Diagnostics
A Linux administrator has been informed that user alpha is able to successfully access the /project2/data/ directory, but user beta is not. The administrator observes the following...
ACLfile permissionsgroup membershipaccess control - Question #136Security Best Practices
A systems administrator is patching servers that are vulnerable to the regreSSHion bug. Which of the following commands allows the administrator to patch the servers?
dnfCVE patchingregreSSHionOpenSSH vulnerability - Question #137Troubleshooting and Diagnostics
Users report that after about a week, an application hosted in a system stops responding, requiring the system to be restarted to recover. A systems administrator connects to the s...
memory leakapplication troubleshootingsystem resourcesmemory consumption - Question #138Troubleshooting and Diagnostics
A systems administrator is having issues installing packages in a Linux system. The administrator receives the following outputs: Which of the following is the best command to fix...
SELinuxrestoreconfile contextPKI certificates - Question #139Automation, Orchestration, and Scripting
Which of the following formats is used to write an Ansible playbook?
AnsibleYAMLplaybookconfiguration management - Question #140Services and User Management
A systems administrator must provide privileged access to a specific user in a Linux system. Which of the following commands should the administrator use?
sudoprivilege escalationusermodaccess control - Question #141Networking and Cloud Concepts
An administrator adds new DNS servers to the network environment. Which of the following files should the administrator modify?
DNS configurationresolv.confname resolutionnetwork files - Question #142Troubleshooting
An administrator is testing whether an application on a server is available remotely under the IP address 192.168.88.188 on port 5000. Which of the following commands should the ad...
netcatport testingremote connectivitync command - Question #144Troubleshooting
Users are unable to ping hosts on the same network segment using their hostname: # ping host1 ping: host1: Temporary failure in name resolution Users are only able to reach the hos...
DNS search domainname resolutionresolv.confFQDN - Question #145Networking and Cloud Concepts
Which of the following commands is used to verify whether a port is open on a remote host?
netcatport scanningremote hostnetwork connectivity - Question #146Automation, Orchestration, and Scripting
Which of the following describes what Ansible is used for in the context of IT Infrastructure?
Ansibleconfiguration managementIT automationinfrastructure tools - Question #147Services and User Management
A Linux user needs to authenticate to a Windows Active Directory domain. Which of the following configuration files contains the domain configuration details?
SSSDActive DirectoryLinux authenticationdomain configuration - Question #148Networking and Cloud Concepts
Which of the following protocols is used to monitor network devices?
SNMPnetwork monitoringnetwork protocolsdevice management - Question #149Automation, Orchestration, and Scripting
Which of the following is the first step when starting a new Python project on a Linux system?
Python venvvirtual environmentPython project setupdependency isolation - Question #150System Configuration and Management
Which of the following Linux directories contains documentation for installed software packages and shareable system files?
Linux filesystem/usr directoryFHSpackage documentation - Question #151Automation, Orchestration, and Scripting
A systems administrator wants to update and apply changes in an existing file in a remote Git repository. Which of the following is the last Git command the administrator should ex...
Gitversion controlgit pushremote repository workflow - Question #153Troubleshooting
A Linux administrator attempts to unmount the local filesystem /data in order to mount a new volume. However, the administrator receives the following error message: umount: /data:...
filesystem unmountfusertarget busyprocess blocking - Question #154Security Best Practices
While reviewing local accounts on a server, a Linux administrator discovers that multiple users have not changed their passwords in more than a year. Which of the following command...
password agingchageaccount compliancesecurity policy