A systems administrator is investigating why one of the servers has stopped connecting to the internet.
Which of the following is causing the issue?
A.
The DNS address has been commented out in the configuration file.
B.
The search entry in the /etc/resolv.conf file is incorrect.
C.
Wired connection 1 is offline.
D.
No default route is defined.
The DNS address has been commented out in the configuration file.
A systems administrator pressed Ctrl+Z after starting a program using the command line, and the shell prompt was presented. In order to go back to the program, which of the following commands can the administrator use?
A.
fg
B.
su
C.
bg
D.
ed
fg
Explanation: Ctrl+Z suspended the process, and "fg" will bring it back into the foreground of the shell
Based on an organization’s new cybersecurity policies, an administrator has been instructed to ensure that, by default, all new users and groups that are created fall within the specified values below.
To which of the following configuration files will the required changes need to be made?
A.
/etc/login.defs
B.
/etc/security/limits.conf
C.
/etc/default/useradd
D.
/etc/profile
/etc/login.defs
A Linux administrator needs to obtain a list of all volumes that are part of a volume group. Which of the following commands should the administrator use to accomplish this task?
A.
vgs
B.
lvs
C.
fdisk -1
D.
pvs
pvs
Which of the following commands is used to configure the default permissions for new files?
A.
setenforce
B.
sudo
C.
umask
D.
chmod
umask
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?
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.
Comment out the /opt/app filesystem in /etc/fstab and reboot.
A systems administrator wants to be sure the sudo rules just added to /etc/sudoers are valid. Which of the following commands can be used for this task?
A.
visudo -c
B.
test -f /etc/sudoers
C.
sudo vi check
D.
cat /etc/sudoers | tee test
visudo -c
A Linux administrator found many containers in an exited state. Which of the following commands will allow the administrator to clean up the containers in an exited state?
A.
docker rm --all
B.
docker rm $(docker ps -aq)
C.
docker images prune *
D.
docker rm --state exited
docker rm --state exited
In which of the following filesystems are system logs commonly stored?
A.
/var
B.
/tmp
C.
/etc
D.
/opt
/var
A Linux system is failing to boot with the following error:
Which of the following actions will resolve this issue? (Choose two.)
A.
Execute grub-install --root-directory=/mnt and reboot.
B.
Execute grub-install /dev/sdX and reboot.
C.
Interrupt the boot process in the GRUB menu and add rescue to the kernel line.
D.
Fix the partition modifying /etc/default/grub and reboot.
E.
Interrupt the boot process in the GRUB menu and add single to the kernel line.
F.
Boot the system on a LiveCD/ISO.
Execute grub-install /dev/sdX and reboot.
Fix the partition modifying /etc/default/grub and reboot.
Page 7 out of 37 Pages |
Previous |