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 2 days 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 # 111

Which of the following actions are considered good security practices when hardening a Linux server? (Select two).

Options:

A.  

Renaming the root account to something else

B.  

Removing unnecessary packages

C.  

Changing the default shell to /bin/csh

D.  

Disabling public key authentication

E.  

Disabling the SSH root login possibility

F.  

Changing the permissions on the root filesystem to 600

Discussion 0
Question # 112

A Linux engineer receives reports that files created within a certain group are being modified by users who are not group members. The engineer wants to reconfigure the server so that only file owners and group members can modify new files by default. Which of the following commands would accomplish this task?

Options:

A.  

chmod 775

B.  

umask. 002

C.  

chactr -Rv

D.  

chown -cf

Discussion 0
Question # 113

A Linux administrator has logged in to a server for the first time and needs to know which services are allowed through the firewall. Which of the following options will return the results for which the administrator is looking?

Options:

A.  

firewall-cmd —get-services

B.  

firewall-cmd —check-config

C.  

firewall-cmd —list-services

D.  

systemct1 status firewalld

Discussion 0
Question # 114

A junior administrator updated the PostgreSQL service unit file per the data-base administrator's recommendation. The service has been restarted, but changes have not been applied. Which of the following should the administrator run for the changes to take effect?

Options:

A.  

Systemct1 get—default

B.  

systemct1 daemon—reload

C.  

systemct1 enable postgresq1

D.  

systemct1 mask postgresq1

Discussion 0
Question # 115

A cloud engineer needs to check the link status of a network interface named eth1 in a Linux server. Which of the following commands can help to achieve the goal?

Options:

A.  

ifconfig hw eth1

B.  

netstat -r eth1

C.  

ss -ti eth1

D.  

ip link show eth1

Discussion 0
Question # 116

A DevOps engineer wants to allow the same Kubernetes container configurations to be deployed in development, testing, and production environments. A key requirement is that the containers should be configured so that developers do not have to statically configure custom, environment-specific locations. Which of the following should the engineer use to meet this requirement?

Options:

A.  

Custom scheduler

B.  

Node affinity

C.  

Overlay network

D.  

Ambassador container

Discussion 0
Question # 117

A Linux administrator needs to create a new user named user02. However, user02 must be in a different home directory, which is under /comptia/projects. Which of the following commands will accomplish this task?

Options:

A.  

useradd -d /comptia/projects user02

B.  

useradd -m /comptia/projects user02

C.  

useradd -b /comptia/projects user02

D.  

useradd -s /comptia/projects user02

Discussion 0
Question # 118

User1 is a member of the accounting group. Members of this group need to be able to execute but not make changes to a script maintained by User2. The script should not be accessible to other users or groups. Which of the following will give proper access to the script?

Options:

A.  

chown user2:accounting script.shchmod 750 script.sh

B.  

chown user1:accounting script.shchmod 777 script.sh

C.  

chown accounting:user1 script.shchmod 057 script.sh

D.  

chown user2:accounting script.shchmod u+x script.sh

Discussion 0
Question # 119

Users have been unable to save documents to /home/tmp/temp and have been receiving the following error:

Path not found

A junior technician checks the locations and sees that /home/tmp/tempa was accidentally created instead of /home/tmp/temp. Which of the following commands should the technician use to fix this issue?

Options:

A.  

cp /home/tmp/tempa /home/tmp/temp

B.  

mv /home/tmp/tempa /home/tmp/temp

C.  

cd /temp/tmp/tempa

D.  

ls /home/tmp/tempa

Discussion 0
Question # 120

A systems administrator detected corruption in the /data filesystem. Given the following output:

Which of the following commands can the administrator use to best address this issue?

Options:

A.  

umount /data mkfs . xfs /dev/sclcl mount /data

B.  

umount /data xfs repair /dev/ sdcl mount /data

C.  

umount /data fsck /dev/ sdcl mount / data

D.  

umount /data pvs /dev/sdcl mount /data

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

Free Exams Sample Questions