CompTIA XK0-005 CompTIA Linux+ Exam Online Training
CompTIA XK0-005 Online Training
The questions for XK0-005 were last updated at Nov 22,2024.
- Exam Code: XK0-005
- Exam Name: CompTIA Linux+ Exam
- Certification Provider: CompTIA
- Latest update: Nov 22,2024
A systems administrator wants to back up the directory /data and all its contents to /backup/data on a remote server named remote.
Which of the following commands will achieve the desired effect?
- A . scp -p /data remote:/backup/data
- B . ssh -i /remote:/backup/ /data
- C . rsync -a /data remote:/backup/
- D . cp -r /data /remote/backup/
An administrator needs to make some changes in the IaC declaration templates.
Which of the following commands would maintain version control?
- A . git clone https://github.com/comptia/linux+-.git git push origin
- B . git clone https://qithub.com/comptia/linux+-.git git fetch New-Branch
- C . git clone https://github.com/comptia/linux+-.git git status
- D . git clone https://github.com/comptia/linuxt+-.git git checkout -b <new-branch>
An administrator attempts to rename a file on a server but receives the following error.
The administrator then runs a few commands and obtains the following output:
Which of the following commands should the administrator run NEXT to allow the file to be renamed by any user?
- A . chgrp reet files
- B . chacl -R 644 files
- C . chown users files
- D . chmod -t files
Which of the following commands will display the operating system?
- A . uname -n
- B . uname -s
- C . uname -o
- D . uname -m
A systems engineer is adding a new 1GB XFS filesystem that should be temporarily mounted under /ops/app.
Which of the following is the correct list of commands to achieve this goal?
A)
B)
C)
D)
- A . Option A
- B . Option B
- C . Option C
- D . Option D
A Linux administrator recently downloaded a software package that is currently in a compressed file.
Which of the following commands will extract the files?
- A . unzip -v
- B . bzip2 -z
- C . gzip
- D . funzip
A Linux administrator is troubleshooting SSH connection issues from one of the workstations.
When users attempt to log in from the workstation to a server with the IP address 104.21.75.76, they receive the following message:
The administrator reviews the information below:
Which of the following is causing the connectivity issue?
- A . The workstation has the wrong IP settings.
- B . The sshd service is disabled.
- C . The server’s firewall is preventing connections from being made.
- D . The server has an incorrect default gateway configuration.
Which of the following files holds the system configuration for journal when running systemd?
- A . /etc/systemd/journald.conf
- B . /etc/systemd/systemd-journalctl.conf
- C . /usr/lib/systemd/journalctl.conf
- D . /etc/systemd/systemd-journald.conf
A Linux administrator is tasked with creating resources using containerization. When deciding how to create this type of deployment, the administrator identifies some key features, including portability, high availability, and scalability in production.
Which of the following should the Linux administrator choose for the new design?
- A . Docker
- B . On-premises systems
- C . Cloud-based systems
- D . Kubernetes
Which of the following tools is commonly used for creating CI/CD pipelines?
- A . Chef
- B . Puppet
- C . Jenkins
- D . Ansible