New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Pass the CompTIA Linux+ XK0-005 Questions and answers with CertsForce

Viewing page 5 out of 15 pages
Viewing questions 41-50 out of questions
Questions # 41:

Joe, a user, is unable to log in to the Linux system. Given the following output:

Which of the following commands would resolve the issue?

Options:

A.

usermod -s /bin/bash joe


B.

pam_tally2 -u joe -r


C.

passwd -u joe


D.

chage -E 90 joe


Expert Solution
Questions # 42:

A systems administrator frequently connects to a remote host via SSH and a non-standard port. The systems administrator would like to avoid passing the port parameter on the command line every time. Which of the following files can be used to set a different port value for that host?

Options:

A.

/etc/ssh/sshd_config


B.

/etc/ssh/moduli


C.

~/.ssh/config


D.

~/.ssh/authorized_keys


Expert Solution
Questions # 43:

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


Expert Solution
Questions # 44:

A systems administrator is troubleshooting a connectivity issue pertaining to access to a system named db.example.com. The system IP address should be 192.168.20.88. The administrator issues the dig command and receives the following output:

The administrator runs grep db.example.com /etc/hosts and receives the following output:

Given this scenario, which of the following should the administrator do to address this issue?

Options:

A.

Modify the /etc/hosts file and change the db.example.com entry to 192.168.20.89.


B.

Modify the /etc/network file and change the db.example.com entry to 192.168.20.88.


C.

Modify the /etc/network file and change the db.example.com entry to 192.168.20.89.


D.

Modify the /etc/hosts file and change the db.example.com entry to 192.168.20.88.


Expert Solution
Questions # 45:

A cloud engineer needs to launch a container named web-01 in background mode. Which of the following commands will accomplish this task''

Options:

A.

docker builder -f —name web-01 httpd


B.

docker load --name web-01 httpd


C.

docker ps -a --name web-01 httpd


D.

docker run -d --name web-01 httpd


Expert Solution
Questions # 46:

A cloud engineer needs to block the IP address 192.168.10.50 from accessing a Linux server. Which of the following commands will achieve this goal?

Options:

A.

iptables -F INPUT -j 192.168.10.50 -m DROP


B.

iptables -A INPUT -s 192.168.10.30 -j DROP


C.

iptables -i INPUT --ipv4 192.168.10.50 -z DROP


D.

iptables -j INPUT 192.168.10.50 -p DROP


Expert Solution
Questions # 47:

A systems administrator has been unable to terminate a process. Which of the following should the administrator use to forcibly stop the process?

Options:

A.

kill -1


B.

kill -3


C.

kill -15


D.

kill -HUP


E.

kill -TERM


Expert Solution
Questions # 48:

A Linux systems administrator receives a notification that one of the server’s filesystems is full. Which of the following commands would help the administrator to identify this filesystem?

Options:

A.

lsblk


B.

fdisk


C.

df -h


D.

du -ah


Expert Solution
Questions # 49:

Which of the following enables administrators to configure and enforce MFA on a Linux system?

Options:

A.

Kerberos


B.

SELinux


C.

PAM


D.

PKI


Expert Solution
Questions # 50:

A Linux administrator is alerted to a storage capacity issue on a server without a specific mount point or directory. Which of the following commands would be MOST helpful for troubleshooting? (Choose two.)

Options:

A.

parted


B.

df


C.

mount


D.

du


E.

fdisk


F.

dd


G.

ls


Expert Solution
Viewing page 5 out of 15 pages
Viewing questions 41-50 out of questions