Pre-Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 65pass65

XK0-005 CompTIA Linux+ Exam is now Stable and With Pass Result | Test Your Knowledge for Free

Exams4sure Dumps

XK0-005 Practice Questions

CompTIA Linux+ Exam

Last Update 7 hours ago
Total Questions : 487

Dive into our fully updated and stable XK0-005 practice test platform, featuring all the latest Linux+ exam questions added this week. Our preparation tool is more than just a CompTIA study aid; it's a strategic advantage.

Our free Linux+ practice questions crafted to reflect the domains and difficulty of the actual exam. The detailed rationales explain the 'why' behind each answer, reinforcing key concepts about XK0-005. Use this test to pinpoint which areas you need to focus your study on.

XK0-005 PDF

XK0-005 PDF (Printable)
$43.75
$124.99

XK0-005 Testing Engine

XK0-005 PDF (Printable)
$50.75
$144.99

XK0-005 PDF + Testing Engine

XK0-005 PDF (Printable)
$63.7
$181.99
Question # 11

A junior systems administrator recently installed an HBA card in one of the servers that is deployed for a production environment. Which of the following

commands can the administrator use to confirm on which server the card was installed?

Options:

A.  

lspci | egrep 'hba| fibr'

B.  

lspci | zgrep 'hba | fibr'

C.  

lspci | pgrep 'hba| fibr'

D.  

lspci | 'hba | fibr'

Discussion 0
Question # 12

Application code is stored in Git. Due to security concerns, the DevOps engineer does not want to keep a sensitive configuration file, app . conf, in the

repository. Which of the following should the engineer do to prevent the file from being uploaded to the repository?

Options:

A.  

Run git exclude app. conf.

B.  

Run git stash app. conf.

C.  

Add app . conf to . exclude.

D.  

Add app . conf to . gitignore.

Discussion 0
Question # 13

An administrator wants to reorganize the /etc/sudoers configuration file by department groups. Which of the following actions should the administrator take?

Options:

A.  

Configure includedir /etc/sudoers.d directive inside /etc/sudoers file.

B.  

Create a symlink in each user's home directory to /etc/sudoers.

C.  

Copy /etc/sudoers and name each group with incremental numbers (/etc/sudoers1, /etc/sudoers2).

D.  

Execute setfacl commands on /etc/sudoers and add permissions for each group.

Discussion 0
Question # 14

A systems administrator created a new directory with specific permissions. Given the following output:

arduino

$ ls -ld /comptia

drwxr-x--- 2 root root 4096 Oct 20 20:13 /comptia

$ getfacl /comptia

# file: /comptia

# owner: root

# group: root

user::rwx

group::r-x

other::---

default:user::rwx

default:group::r-x

default:group:wheel:rwx

default:mask::rwx

default:other::---

Which of the following permissions are enforced on /comptia?

Options:

A.  

Members of the wheel group can read files in /comptia.

B.  

Newly created files in /comptia will have the sticky bit set.

C.  

Other users can create files in /comptia.

D.  

Only root can create files in /comptia.

Discussion 0
Question # 15

An administrator made a change to a system’s network configuration. Which of the following best represents what the administrator should do to have the new configuration take effect?

Options:

A.  

systemctl restart networkd

B.  

systemctl enable networkd

C.  

systemctl status networkd

D.  

systemctl isolate networkd

Discussion 0
Question # 16

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?

Options:

A.  

systemctl is-active ntpd.service

B.  

systemctl stop ntpd.service

C.  

systemctl is-enabled ntpd.service

D.  

systemctl start ntpd.service

Discussion 0
Question # 17

An administrator is running a web server in a container named WEB, but none of the error output is showing. Which of the following should the administrator use to generate the errors on the container?

Options:

A.  

docker-compose inspect WEB

B.  

docker logs WEB

C.  

docker run --name WEB --volume /dev/stdout:/var/log/nginx/error.log

D.  

docker ps WEB -f

Discussion 0
Question # 18

A Linux administrator is testing a web application on a laboratory service and needs to temporarily allow DNS and HTTP/HTTPS traffic from the internal network. Which of the following commands will accomplish this task?

Options:

A.  

firewalld -- add-service=dns, http,https -- zone=internal

B.  

iptables -- enable-service='dns|http|https' -- zone=internal

C.  

firewall-cmd --add-service={dns, http, https} --zone=internal

D.  

systemctl mask firewalld --for={dns, http, https} --zone=internal

Discussion 0
Question # 19

A Linux administrator intends to start using KVM on a Linux server. Which of the following commands will allow the administrator to load the KVM module as

well as any related dependencies?

Options:

A.  

modprobe kvm

B.  

insmod kvm

C.  

depmod kvm

D.  

hotplug kvm

Discussion 0
Question # 20

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 administrator update so the users in the admin group will have root privileged access to the Linux system?

Options:

A.  

/etc/sudoers

B.  

/etc/login.defs

C.  

/etc/group

D.  

/etc/shadow

Discussion 0
Get XK0-005 dumps and pass your exam in 24 hours!

Free Exams Sample Questions