CompTIA certification preparation

XK0-006 Practice Questions

Practice exam-style questions, check your answers, and review explanations and source references where they are available.

Exam
XK0-006
Provider
CompTIA
Full set
149 questions
Last Update Check
A DevOps engineer needs to create a local Git repository. Which of the following commands should the engineer use?
Answer options
Which of the following is the main reason for setting up password expiry policies?
Answer options
A Linux administrator needs to securely erase the contents of a hard disk. Which of the following commands is the best for this task?
Answer options
Which of the following best describes the role of initrd?
Answer options
Which of the following is a characteristic of Python 3?
Answer options
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?
Answer options
A systems administrator needs to enable routing of IP packets between network interfaces. Which of the following kernel parameters should the administrator change?
Answer options
Which of the following commands should an administrator use to see a full hardware inventory of a Linux system?
Answer options
A Linux administrator updates the DNS record for the company using: cat /etc/bind/db.abc.com The revised partial zone file is as follows: ns1 IN A 192.168.40.251 ns2 IN A 192.168.40.252 www IN A 192.168.30.30 When the administrator attempts to resolve www.abc.com to its IP address, the domain name still points to its old IP mapping: nslookup www.abc.com Server: 192.168.40.251 Address: 192.168.40.251#53 Non-authoritative

A new drive was recently added to a Linux system. Using the environment and tokens provided, complete the following tasks: • Create an appropriate device label. • Format and create an ext4 file system on the new partition. The current working directory is /.

Drag and drop answer
Question 1 of 10

Source context

How this practice set is maintained

Maintained by the CertMage content team, this page loads questions from the exam dataset connected to its preparation resource. When an answer includes a supporting reference, it is shown with that answer so you can review the underlying vendor documentation.

Certification objectives, interfaces, and vendor services can change. Verify important details against the provider's current exam guide and documentation before your exam.

Scroll to Top