XK0-006 Exam Questions
155 real XK0-006 exam questions with expert-verified answers and explanations. Page 1 of 4.
- Question #1
A systems administrator is preparing a Linux system for application setup. The administrator needs to create an environment variable with a persistent value in one of the user acco...
- Question #2
Which of the following describes PEP 8?
- Question #3
While hardening a system, an administrator runs a port scan with Nmap, which returned the following output: Which of the following is the best way to address this security issue?
- Question #4
A DevOps engineer needs to create a local Git repository. Which of the following commands should the engineer use?
- Question #5
A systems administrator needs to enable routing of IP packets between network interfaces. Which of the following kernel parameters should the administrator change?
- Question #6
A Linux user frequently tests shell scripts located in the /home/user/scripts directory. Which of the following commands allows the user to run the program by invoking only the scr...
- Question #7
A systems administrator needs to check the statuses of all the services on a Linux server. Which of the following commands accomplishes this task?
- Question #8
Which of the following cryptographic functions ensures a hard drive is encrypted when not in use?
- Question #9
Which of the following most accurately describes a webhook?
- Question #10
An administrator attempts to install updates on a Linux system but receives error messages regarding a specific repository. Which of the following commands should the administrator...
- Question #11
Which of the following is the main reason for setting up password expiry policies?
- Question #12
A Linux administrator is making changes to local files that are part of a Git repository. The administrator needs to retrieve changes from the remote Git repository. Which of the f...
- Question #13
A systems administrator is creating a backup copy of the /home/ directory. Which of the following commands allows the administrator to archive and compress the directory at the sam...
- Question #14
An administrator receives reports that a web service is not responding. The administrator reviews the following outputs: Which of the following is the reason the web service is not...
- Question #15
Which of the following best describes a use case for playbooks in a Linux system?
- Question #16
An administrator must secure an account for a user who is going on extended leave. Which of the following steps should the administrator take? (Choose two).
- Question #17
A Linux administrator needs to securely erase the contents of a hard disk. Which of the following commands is the best for this task?
- Question #18
Which of the following utilities supports the automation of security compliance and vulnerability management?
- Question #19
Users report that a Linux system is unresponsive and simple commands take too long to complete. The Linux administrator logs in to the system and sees the following: Which of the f...
- Question #20
A systems administrator wants to prevent the current contents of a file from being overwritten and wants to allow new additions at the end of the file. Which of the following comma...
- Question #21
A Linux administrator receives reports about MySQL service availability issues. The administrator observes the following information: Which of the following explains why the server...
- Question #22
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...
- Question #23
Customers are unable to send emails to a company's domain When searching the naming service, they receive the following error message: Which of the following is a valid reason for...
- Question #24
To perform a live migration, which of the following must match on both host servers? (Choose two).
- Question #25
A Linux administrator is updating the group membership by executing the following commands: However, the group membership is not changing. Which of the following explains this issu...
- Question #26
A Linux systems administrator needs to extract the contents of a file named /home/dev/web.bkp to the /var/www/html/ directory. Which of the following commands should the administra...
- Question #27
A Linux administrator needs to create and then connect to the app-01-image container. Which of the following commands accomplishes this task?
- Question #31
Which of the following Ansible components contains a list of hosts and host groups?
- Question #32
Which of the following filesystems contains non-persistent or volatile data?
- Question #33
An administrator needs to verify the user ID, home directory, and assigned shell for the user named "accounting." Which of the following commands should the administrator use to re...
- Question #34
A Linux user needs to download the latest Debian image from a Docker repository. Which of the following commands makes this task possible?
- Question #35
In the echo "profile-$num-$name" line of a shell script, the variable $num seems to not be expanding during execution. Which of the following notations ensures the value is expande...
- Question #36
A systems administrator wants to review the logs from an Apache 2 error.log file in real time and save the information to another file for later review. Which of the following comm...
- Question #37
Which of the following describes the method of consolidating system events to a single location?
- Question #38
A Linux administrator receives reports that an application hosted in a system is not completing tasks in the allocated time. The administrator connects to the system and obtains th...
- Question #39
A systems administrator receives reports about connection issues to a secure web server. Given the following firewall and web server outputs: Which of the following commands best r...
- Question #40
An administrator updates the network configuration on a server but wants to ensure the change will not cause an outage if something goes wrong. Which of the following commands allo...
- Question #41
Which of the following best describes journald?
- Question #42
A Linux administrator wants to add a user to the Docker group without changing their primary group. Which of the following commands should the administrator use to complete this ta...
- Question #43
Which of the following is a reason multiple password changes on the same day are not allowed?
- Question #44
Which of the following commands should an administrator use to convert a KVM disk file to a different format?
- Question #45
Users cannot access a server after it has been restarted. At the server console, the administrator runs the following commands: Which of the following is the cause of the issue?
- Question #46
A Linux software developer wants to use AI to optimize source code used in a commercial product. Which of the following steps should the developer take first?
- Question #47
A DevOps engineer made some changes to files on a local repository. The engineer realizes that the changes broke the application and the changes need to be reverted back. Which of...
- Question #48
An administrator needs to remove the directory /home/user1/data and all of its contents. Which of the following commands should the administrator use?
- Question #49
Users cannot access an application that is running inside containers. The administrator wants to validate whether the containers are running. Which of the following commands should...
- Question #50
A Linux administrator just finished setting up passwordless SSH authentication between two nodes. However, upon test validation, the remote host prompts for a password. Given the f...
- Question #51
Which of the following commands should a Linux administrator use to determine the version of a kernel module?
- Question #52
A Linux user runs the following command: nohup ping comptia.com & Which of the following commands should the user execute to attach the process to the current terminal?
- Question #53
A systems administrator wants to review the amount of time the NetworkManager service took to start. Which of the following commands accomplishes this goal?