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

Viewing page 11 out of 15 pages
Viewing questions 101-110 out of questions
Questions # 101:

A systems technician is working on deploying several microservices to various RPM-based systems, some of which could run up to two hours. Which of the following commands will allow the technician to execute those services and continue deploying other microservices within the same terminal section?

Options:

A.

gedit & disown


B.

kill 9 %1


C.

fg %1


D.

bg %1 job name


Expert Solution
Questions # 102:

While inspecting a recently compromised Linux system, the administrator identified a number of processes that should not have been running:

Which of the following commands should the administrator use to terminate all of the identified processes?

Options:

A.

pkill -9 -f "upload*.sh"


B.

kill -9 "upload*.sh"


C.

killall -9 -upload*.sh"


D.

skill -9 "upload*.sh"


Expert Solution
Questions # 103:

Using AD Query, the security gateway connections to the Active Directory Domain Controllers using what protocol?

Options:

A.

Windows Management Instrumentation (WMI)


B.

Hypertext Transfer Protocol Secure (HTTPS)


C.

Lightweight Directory Access Protocol (LDAP)


D.

Remote Desktop Protocol (RDP)


Expert Solution
Questions # 104:

In order to copy data from another VLAN, a systems administrator wants to temporarily assign IP address 10.0.6 5/24 to the newly added network interface enp1s0f1. Which of the following commands should the administrator run to achieve the goal?

Options:

A.

ip addr add 10.0.6.5/24 dev enpls0f1


B.

echo "IPV4_ADDRESS=10.0.6.5/24" > /etc/sysconfig/network-scripts/ifcfg-enplsOfl


C.

ifconfig 10.0.6.5/24 enpsIs0f1


D.

nmcli conn add lpv4.address-10.0.6.5/24 ifname enpls0f1


Expert Solution
Questions # 105:

A Linux administrator is providing a new Nginx image from the registry to local cache. Which of the following commands would allow this to happen?

Options:

A.

docker pull nginx


B.

docker attach nginx


C.

docker commit nginx


D.

docker import nginx


Expert Solution
Questions # 106:

A systems administrator is investigating an issue in which one of the servers is not booting up properly. The journalctl entries show the following:

Which of the following will allow the administrator to boot the Linux system to normal mode quickly?

Options:

A.

Comment out the /opt/app filesystem in /etc/fstab and reboot.


B.

Reformat the /opt/app filesystem and reboot.


C.

Perform filesystem checks on local filesystems and reboot.


D.

Trigger a filesystem relabel and reboot.


Expert Solution
Questions # 107:

A systems administrator is notified that the mysqld process stopped unexpectedly. The systems administrator issues the following command:

sudo grep –i -r ‘out of memory’ /var/log

The output of the command shows the following:

kernel: Out of memory: Kill process 9112 (mysqld) score 511 or sacrifice child.

Which of the following commands should the systems administrator execute NEXT to troubleshoot this issue? (Select two).

Options:

A.

free -h


B.

nc -v 127.0.0.1 3306


C.

renice -15 $( pidof mysql )


D.

lsblk


E.

killall -15


F.

vmstat -a 1 4


Expert Solution
Questions # 108:

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 # 109:

Due to performance issues on a server, a Linux administrator needs to termi-nate an unresponsive process. Which of the following commands should the

administrator use to terminate the process immediately without waiting for a graceful shutdown?

Options:

A.

kill -SIGKILL 5545


B.

kill -SIGTERM 5545


C.

kill -SIGHUP 5545


D.

kill -SIGINT 5545


Expert Solution
Questions # 110:

A systems administrator checked out the code from the repository, created a new branch, made changes to the code, and then updated the main branch. The systems administrator wants to ensure that the Terraform state files do not appear in the main branch. Which of following should the administrator use to meet this requirement?

Options:

A.

clone


B.

gitxgnore


C.

get


D.

.ssh


Expert Solution
Viewing page 11 out of 15 pages
Viewing questions 101-110 out of questions