XK0-006 Exam Questions
156 real XK0-006 exam questions with expert-verified answers and explanations. Page 2 of 4.
- Question #53Troubleshooting and Diagnostics
A systems administrator wants to review the amount of time the NetworkManager service took to start. Which of the following commands accomplishes this goal?
systemd-analyzeboot performanceservice startupsystemd - Question #54Security
A systems administrator needs to open the DNS TCP port on a Linux system from network 10.0.0.0/24. Which of the following commands should the administrator use for this task?
ufwfirewall rulesDNSport management - Question #55System Configuration and Management
Which of the following best describes the role of initrd?
initrdboot processkernel modulesinitramfs - Question #56System Configuration and Management
A Linux systems administrator is running an important maintenance task that consumes a large amount of CPU, causing other applications to slow. Which of the following actions shoul...
reniceprocess priorityCPU managementnice - Question #57Networking and Cloud Concepts
Which of the following is a protocol for accessing distributed directory services containing a hierarchy of users, groups, machines, and organization units?
LDAPdirectory servicesauthenticationnetwork protocols - Question #58Troubleshooting
A systems administrator attempts to edit a file as root, but receives the following error: Which of the following commands allows the administrator to edit the file?
chattrimmutable filefile attributesfile permissions - Question #59Troubleshooting
A systems administrator is having issues with a third-party API endpoint. The administrator receives the following output: Which of the following actions should the administrator t...
DNSresolv.confAPI connectivitynetwork troubleshooting - Question #60System Configuration and Management
Which of the following commands should an administrator use to see a full hardware inventory of a Linux system?
dmidecodehardware inventorysystem informationDMI - Question #61Security
A Linux administrator needs to analyze a compromised disk for traces of malware. To complete the analysis, the administrator wants to make an exact, block-level copy of the disk. W...
dd commanddisk imagingforensicsblock-level copy - Question #62Troubleshooting
A user on a Linux VM is running /work/test.sh Bash script and receives the following error: bash: /work/test.sh: Permission denied After further investigation, the user receives th...
mount optionsnoexecfilesystem permissionsscript execution - Question #63Networking and Cloud Concepts
A systems administrator needs to set the IP address of a new DNS server. Which of the following files should the administrator modify to complete this task?
resolv.confDNS configurationnameservernetwork files - Question #64Troubleshooting
Following the completion of monthly server patching, a Linux administrator receives reports that a critical application is not functioning. Which of the following commands should h...
dnf historypackage managementpatchingRPM - Question #65Automation, Orchestration, and Scripting
A Linux administrator wants to make the ENABLE_AUTH variable set to 1 and available to the environment of subsequently executed commands. Which of the following should the administ...
exportenvironment variablesbashshell - Question #66Automation, Orchestration, and Scripting
Which of the following is a characteristic of Python 3?
Python 3modulesscripting languageextensibility - Question #67System Management
A systems administrator manages multiple Linux servers and needs to set up a reliable and secure way to handle the complexity of managing event records on the OS and application le...
log aggregationcentralized loggingsyslogobservability - Question #68Automation, Orchestration, and Scripting
A Linux administrator wants to use AI to deploy infrastructure as code. Which of the following is a best practice regarding the use of AI for this task?
AI-generated codelintinginfrastructure as codebest practices - Question #69Security Best Practices
Which of the following passwords is the most complex?
password complexityspecial characterssecurity policyauthentication - Question #70Automation, Orchestration, and Scripting
A systems administrator needs to write a script that counts the number of times "FAIL" appears in a log file. If "FAIL" appears zero times, then the administrator would like to pri...
bash scriptingcomparison operatorsconditional logic-eq - Question #71Troubleshooting
An administrator receives the following output while attempting to unmount a filesystem: umount /data1: target is busy. Which of the following commands should the administrator run...
lsoffilesystem busyopen filesumount - Question #72Services and User Management
A systems administrator changed the file permissions on the myfile file: $ sudo chmod g+w myfile $ ls -l myfile -rwxrwxr-x 1 admin editors C 2022-10-13 10:45 myfile Then the admini...
group membershipusermodfile permissionssession refresh - Question #73System Management
A systems technician needs to install a third-party software package. Which of the following commands would allow the technician to download this software package from a remote ser...
wgetfile downloadremote serverpackage installation - Question #74Troubleshooting
An administrator completes maintenance on a server but cannot remount the logical volume. Given the following output: Which of the following commands should the administrator execu...
LVMvgchangevolume group activationlogical volume - Question #75Networking and Cloud Concepts
An average of one out of three users in a company cannot reach the company website. A Linux administrator determines that one of the three website servers is down. The administrato...
DNS round-robinload balancingA recordsDNS resolution - Question #76Troubleshooting
An administrator has generated an RSA SSH key pair to log in to a remote server. After copying the public key and attempting to log in, the administrator sees the following message...
SSH key pairECDSAmutual signature algorithmRSA compatibility - Question #77Networking and Cloud Concepts
A Linux administrator is attempting to capture all network traffic coming to the server from the 10.0.6.5 IP address. Which of the following commands should the administrator run o...
tcpdumppacket capturehost filternetwork traffic - Question #78System Management
A systems administrator wants to check if the ntpd service is configured to start on startup. Which of the following commands will show that information when run?
systemctlis-enabledservice startupsystemd - Question #79Security
A systems administrator is working on an SFTP server configuration. Which of the following commands will best enable the connectivity to that service from the 10.10.0.0/24 network?
ufwfirewall rulesSFTPnetwork access control - Question #80Security
A newly hired Linux administrator needs to grant access to the Linux servers by generating a password-protected RSA key of 4096 bytes. Which of the following commands will accompli...
ssh-keygenRSA keykey generation4096-bit - Question #81Security
A user sends a request to access a virtual server via SSH. Which of the following commands is used to open the SSH standard port?
firewalldSSHport managementfirewall rules - Question #82Services and User Management
A Linux systems administrator is resolving a privileged access issue for users who are members of an admin group. Which of the following configuration files should the administrato...
sudoersprivilege escalationadmin groupaccess control - Question #83Troubleshooting and Diagnostics
An administrator thinks that the user Joe may be running an unauthorized process on a Linux server. Which of the following commands should the administrator run to confirm this ide...
process monitoringtop commanduser processesunauthorized processes - Question #84System Configuration and Management
After system startup, the X Window System GUI login interface is not displaying. Which of the following commands ensures that the GUI is started during the system startup process?
systemctlgraphical targetdefault boot targetsystemd - Question #85Automation, Orchestration, and Scripting
A systems administrator is deploying a web server using the following code: Which of the following technologies is the administrator using to create this web server?
Chefconfiguration managementinfrastructure as codeautomation tools - Question #86System 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?
lsmodkernel modulesdm_multipathdriver verification - Question #87Troubleshooting
Users connecting to a MySQL database on a Linux system report frequent errors. An administrator reviews the following partial output of the /proc/meminfo and free commands: Which o...
swap spacememory managementdd commandmkswap - Question #88Security Best Practices
Which of the following actions is required to establish passwordless SSH authentication?
SSH key authenticationpublic keypasswordless SSHkey distribution - Question #89Automation, Orchestration, and Scripting
Which of the following best describes JSON?
JSONdata interchange formatfile formatdata serialization - Question #90Troubleshooting
A Linux server is not starting up because files in the /boot/ partition are corrupt. After the initial GRUB screen, the following message is displayed: Probing EDD (edd=off to disa...
boot recoveryGRUBrescue mediakernel reinstallation - Question #91System Configuration and Management
Which of the following is the location for built-in Linux executable files and utilities?
filesystem hierarchy/binLinux executablesFHS - Question #92Security
A systems administrator is deploying a new secure web server but is having issues starting it. The administrator reviews the following outputs: Which of the following commands fixe...
SELinuxsemanageport contextweb server - Question #93Troubleshooting and Diagnostics
After receiving a monitoring call, an administrator checks the Linux server for processes that have completed execution but have not been removed yet from the process table. Which...
zombie processprocess statesprocess tableps output - Question #94Security Best Practices
Which of the following utilities can securely delete a Linux directory from a filesystem and ensure it cannot be recovered?
secure deletionshreddata recovery preventionfile security - Question #95Troubleshooting and Diagnostics
A systems administrator troubleshoots a connectivity issue and needs to determine whether port 449 is open. Which of the following commands should the administrator use?
ss commandport checkingnetwork diagnosticssocket statistics - Question #96Automation and Scripting
A systems administrator is working on configuration changes and needs to replace a hostname in a specific file. Which of the following commands should the administrator use to comp...
sedtext substitutionin-place editingconfiguration files - Question #97Automation, Orchestration, and Scripting
A Linux administrator needs to add an instruction into a Dockerfile so that the process /sbin/app-01 is executed when a new container starts. Which of the following accomplishes th...
DockerfileENTRYPOINTcontainer startupDocker - Question #98Automation and Scripting
Which of the following best describes a benefit of using a Python virtual environment?
Python virtual environmentpackage isolationdependency managementvirtualenv - Question #99Security
Which of the following technologies is used to authenticate users on a Linux server when working in a Windows domain?
KerberosWindows domainauthenticationActive Directory - Question #100Security Best Practices
Which of the following can be implemented with PAM to detect and block dictionary attacks?
PAMpam_tally2dictionary attacksbrute force protection - Question #101Automation, Orchestration, and Scripting
Which of the following statements best describes Ansible?
Ansibleautomation toolsYAMLplaybooks - Question #102System Configuration and Management
A Linux administrator needs to change the execution frequency of a systemd timer. Which of the following commands should the administrator use after editing the timer file to make...
systemd timerdaemon-reloadsystemctlservice configuration