Go Back on XK0-005 Exam
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99

XK0-005 Practice Test


Page 15 out of 73 Pages

A user generated a pair of private-public keys on a workstation. Which of the following commands will allow the user to upload the public key to a remote server and enable passwordless login?


A.

scp ~/.ssh/id_rsa user@server:~/


B.

rsync ~ /.ssh/ user@server:~/


C.

ssh-add user server


D.

ssh-copy-id user@server





D.
  

ssh-copy-id user@server



A Linux administrator has set up a new DNS forwarder and is configuring all internal servers to use the new forwarder to look up external DNS requests. The administrator needs to modify the firewall on the server for the DNS forwarder to allow the internal servers to communicate to it and make the changes persistent between server reboots. Which of the following commands should be run on the DNS forwarder server to accomplish this task?


A.

ufw allow out dns


B.

systemctl reload firewalld


C.

iptables -A OUTPUT -p udp -ra udp -dport 53 -j ACCEPT


D.

flrewall-cmd --zone-public --add-port-53/udp --permanent





D.
  

flrewall-cmd --zone-public --add-port-53/udp --permanent



A junior Linux administrator is tasked with installing an application. The installation guide states the application should only be installed in a run level 5 environment.

Which of the following commands would ensure the server is set to runlevel 5?


A.

systemctl isolate multi-user.target


B.

systemctl isolate graphical.target


C.

systemctl isolate network.target


D.

systemctl isolate basic.target





B.
  

systemctl isolate graphical.target



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).


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





A.
  

free -h



C.
  

renice -15 $( pidof mysql )



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





C.
  

gzip




Page 15 out of 73 Pages
Previous