The security team has identified a web service that is running with elevated privileges A Linux administrator is working to change the systemd service file to meet security compliance standards. Given the following output:
Which of the following remediation steps will prevent the web service from running as a privileged user?
A.
Removing the ExecStarWusr/sbin/webserver -D SOPTIONS from the service file
B.
Updating the Environment File line in the [Service] section to/home/webservice/config
C.
Adding the User-webservice to the [Service] section of the service file
D.
Changing the:nulti-user.target in the [Install] section to basic.target
Removing the ExecStarWusr/sbin/webserver -D SOPTIONS from the service file
Which of the following commands will display the operating system?
A.
uname -n
B.
uname -s
C.
uname -o
D.
uname -m
uname -o
An administrator accidentally deleted the /boot/vmlinuz file and must resolve the issue before the server is rebooted. Which of the following commands should the administrator use to identify the correct version of this file?
A.
rpm -qa | grep kernel; uname -a
B.
yum -y update; shutdown -r now
C.
cat /etc/centos-release; rpm -Uvh --nodeps
D.
telinit 1; restorecon -Rv /boot
rpm -qa | grep kernel; uname -a
A systems administrator created a new Docker image called test. After building the image, the administrator forgot to version the release. Which of the following will allow the administrator to assign the v1 version to the image?
A.
docker image save test test:v1
B.
docker image build test:vl
C.
docker image tag test test:vl
D.
docker image version test:v1
docker image tag test test:vl
Users have been unable to reach www.comptia.org from a Linux server. A systems administrator is troubleshooting the issue and does the following:
Based on the information above, which of the following is causing the issue?
A.
The name www.comptia.org does not point to a valid IP address.
B.
The server 192.168.168.53 is unreachable.
C.
No default route is set on the server.
D.
The network interface eth0 is disconnected.
No default route is set on the server.
Page 2 out of 73 Pages |
Previous |