A Linux system is failing to boot. The following error is displayed in the serial console:
[[1;33mDEPEND[Om] Dependency failed for /data.
[[1;33mDEPEND[Om] Dependency failed for Local File Systems
...
Welcome to emergency mode! After logging in, type "journalctl -xb" to viewsystem logs,
"systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode.
Give root password for maintenance (or type Control-D to continue}
Which of the following files will need to be modified for this server to be able to boot again?
A.
/etc/mtab
B.
/dev/sda
C.
/etc/fstab
D.
/ete/grub.conf
/etc/fstab
A cloud engineer needs to change the secure remote login port from 22 to 49000. Which of the following files should the engineer modify to change the port number to the desired value?
B.
/etc/hostname
C.
/etc/services
D.
/etc/ssh/sshd_config
/etc/ssh/sshd_config
A systems administrator is compiling a report containing information about processes that are listening on the network ports of a Linux server. Which of the following commands will allow the administrator to obtain the needed information?
A.
ss -pint
B.
tcpdump -nL
C.
netstat -pn
D.
lsof -It
netstat -pn
A user is asking the systems administrator for assistance with writing a script to verify whether a file exists. Given the following:
Which of the following commands should replace the <CONDITIONAL> string?
A.
if [ -f "$filename" ]; then
B.
if [ -d "$filename" ]; then
C.
if [ -f "$filename" ] then
D.
if [ -f "$filename" ]; while
if [ -f "$filename" ]; then
A Linux administrator booted up the server and was presented with a non-GUI terminal. The administrator ran the command systemctl isolate graphical.target and rebooted the system by running systemctl reboot, which fixed the issue. However, the next day the administrator was presented again with a non-GUI terminal. Which of the following is the issue?
A.
The administrator did not reboot the server properly.
B.
The administrator did not set the default target to basic.target.
C.
The administrator did not set the default target to graphical.target.
D.
The administrator did not shut down the server properly.
The administrator did not set the default target to graphical.target.
At what point is the Internal Certificate Authority (ICA) created?
A.
During the primary Security Management Server installation process.
B.
Upon creation of a certificate
C.
When an administrator decides to create one
D.
When an administrator initially logs into SmartConsole.
During the primary Security Management Server installation process.
A Linux administrator is trying to remove the ACL from the file /home/user/data. txt but receives the following error message:
Which of the following is causing the error message?
A.
The administrator is not using a highly privileged account
B.
The filesystem is mounted with the wrong options.
C.
SELinux file context is denying the ACL changes
D.
File attributes are preventing file modification
File attributes are preventing file modification
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?
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
ip addr add 10.0.6.5/24 dev enpls0f1
A Linux administrator is tasked with adding users to the system. However, the administrator wants to ensure the users’ access will be disabled once the project is over. The expiration date should be 2021-09-30. Which of the following commands will accomplish this task?
A.
sudo useradd -e 2021-09-30 Project_user
B.
sudo useradd -c 2021-09-30 Project_user
C.
sudo modinfo -F 2021-09-30 Project_uses
D.
sudo useradd -m -d 2021-09-30 Project_user
sudo useradd -e 2021-09-30 Project_user
A Linux administrator was asked to run a container with the httpd server inside. This container should be exposed at port 443 of a Linux host machine while it internally listens on port 8443. Which of the following commands will accomplish this task?
A.
podman run -d -p 443:8443 httpd
B.
podman run -d -p 8443:443 httpd
C.
podman run –d -e 443:8443 httpd
D.
podman exec -p 8443:443 httpd
podman run -d -p 443:8443 httpd
A systems administrator is receiving tickets from users who cannot reach the application app that should be listening on port 9443/tcp on a Linux server. To troubleshoot the issue, the systems administrator runs netstat and receives the following output:
Based on the information above, which of the following is causing the issue?
A.
The IP address 0.0.0.0 is not valid.
B.
The application is listening on the loopback interface.
C.
The application is listening on port 1234.
D.
The application is not running.
The application is listening on the loopback interface.
Explanation: The server is in a "Listen" state on port 9943 using its loopback address. The "1234" is a process-id
A Linux system is failing to start due to issues with several critical system processes. Which of the following options can be used to boot the system into the single user mode? (Choose two.)
A.
Execute the following command from the GRUB rescue shell: mount -o remount,
ro/sysroot.
B.
Interrupt the boot process in the GRUB menu and add systemd.unit=single in the kernel line.
C.
Interrupt the boot process in the GRUB menu and add systemd.unit=rescue.target in the kernel line.
D.
Interrupt the boot process in the GRUB menu and add single=user in the kernel line.
E.
Interrupt the boot process in the GRUB menu and add init=/bin/bash in the kernel line.
F.
Interrupt the boot process in the GRUB menu and add systemd.unit=single.target in the kernel line.
Interrupt the boot process in the GRUB menu and add systemd.unit=rescue.target in the kernel line.
Interrupt the boot process in the GRUB menu and add init=/bin/bash in the kernel line.
Page 9 out of 31 Pages |
Previous |