A Linux administrator modified the SSH configuration file. Which of the following commands should be used to apply the configuration changes?
A.
systemctl stop sshd
B.
systemctl mask sshd
C.
systemctl reload sshd
D.
systemctl start sshd
systemctl reload sshd
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?
A.
ifconfig hw eth1
B.
netstat -r eth1
C.
ss -ti eth1
D.
ip link show eth1
ip link show eth1
A systems administrator is checking the system logs. The administrator wants to look at the last 20 lines of a log. Which of the following will execute the command?
A.
tail -v 20
B.
tail -n 20
C.
tail -c 20
D.
tail -l 20
tail -n 20
A Linux administrator is adding a new configuration file to a Git repository. Which of the following describes the correct order of Git commands to accomplish the task successfully?
A.
pull -> push -> add -> checkout
B.
pull -> add -> commit -> push
C.
checkout -> push -> add -> pull
D.
pull -> add -> push -> commit
pull -> add -> commit -> push
A systems administrator installed a new software program on a Linux server. When the systems administrator tries to run the program, the following message appears on the screen.
Which of the following commands will allow the systems administrator to check whether the system supports virtualization?
A.
dmidecode -s system-version
B.
lscpu
C.
sysctl -a
D.
cat /sys/device/system/cpu/possible
lscpu
A Linux administrator wants to set the SUID of a file named dev_team.text with 744 access rights. Which of the following commands will achieve this goal?
A.
chmod 4744 dev_team.txt
B.
chmod 744 --setuid dev_team.txt
C.
chmod -c 744 dev_team.txt
D.
chmod -v 4744 --suid dev_team.txt
chmod 4744 dev_team.txt
Which of the following is a function of a bootloader?
A.
It initializes all the devices that are required to load the OS.
B.
It mounts the root filesystem that is required to load the OS.
C.
It helps to load the different kernels to initiate the OS startup process.
D.
It triggers the start of all the system services.
It helps to load the different kernels to initiate the OS startup process.
A systems administrator requires that all files that are created by the user named web have read-only permissions by the owner. Which of the following commands will satisfy this requirement?
A.
chown web:web /home/web
B.
chmod -R 400 /home/web
C.
echo "umask 377" >> /home/web/.bashrc
D.
setfacl read /home/web
chmod -R 400 /home/web
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?
A.
pkill -9 -f "upload*.sh"
B.
kill -9 "upload*.sh"
C.
killall -9 -upload*.sh"
D.
skill -9 "upload*.sh"
killall -9 -upload*.sh"
A Linux administrator is troubleshooting an issue in which an application service failed to start on a Linux server. The administrator runs a few commands and gets the following outputs:
Based on the above outputs, which of the following is the MOST likely action the administrator should take to resolve this issue?
A.
Enable the logsearch.service and restart the service.
B.
Increase the TimeoutStartUSec configuration for the logsearch.sevice.
C.
Update the OnCalendar configuration to schedule the start of the logsearch.service.
D.
Update the KillSignal configuration for the logsearch.service to use TERM.
Increase the TimeoutStartUSec configuration for the logsearch.sevice.
An administrator attempts to rename a file on a server but receives the following error.
Which of the following commands should the administrator run NEXT to allow the file to be renamed by any user?
A.
chgrp reet files
B.
chacl -R 644 files
C.
chown users files
D.
chmod -t files
chmod -t files
A newly created container has been unable to start properly, and a Linux administrator is analyzing the cause of the failure. Which of the following will allow the administrator to determine the FIRST command that is executed inside the container right after it starts?
A.
docker export <container_id>
B.
docker info <container_id>
C.
docker start <container_id>
D.
docker inspect <container_id>
docker inspect <container_id>
Page 12 out of 31 Pages |
Previous |