Which of the following should the administrator add to the HTTP server .service file to accomplish this task?
A Linux administrator has installed a web server, a database server, and a web application on a server. The web application should be active in order to render the web pages. After the administrator restarts the server, the website displays the following message in the browser: Error establishing a database...
Which of the following commands should the administrator run to achieve this goal?
Developers have requested implementation of a persistent, static route on the application server. Packets sent over the interface eth0 to 10.0.213.5/32 should be routed via 10.0.5.1. Which of the following commands should the administrator run to achieve this goal?A . route -i etho -p add 10.0.213.5 10.0.5.1B . route modify...
Which of the following commands should be used to set filename.log permissions to -rwxr―r--. ?
A Linux administrator needs to correct the permissions of a log file on the server. Which of the following commands should be used to set filename.log permissions to -rwxr―r--. ?A . chmod 755 filename.logB . chmod 640 filename.logC . chmod 740 filename.logD . chmod 744 filename.logView AnswerAnswer: A Explanation: The...
Based on the above outputs, which of the following is the MOST likely action the administrator should take to resolve this issue?
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...
Which of the following commands should the administrator run to ensure both versions are available?
A Linux administrator needs to ensure that Java 7 and Java 8 are both locally available for developers to use when deploying containers. Currently only Java 8 is available. Which of the following commands should the administrator run to ensure both versions are available?A . docker image load java:7B ....
Which of the following commands will BEST resolve this issue?
A Linux systems administrator is setting up a new web server and getting 404 - NOT FOUND errors while trying to access the web server pages from the browser. While working on the diagnosis of this issue, the Linux systems administrator executes the following commands: Which of the following commands...
Which of the following commands allows the Linux administrator to enter the running container and analyze the logs that are stored inside?
A Linux administrator needs to analyze a failing application that is running inside a container. Which of the following commands allows the Linux administrator to enter the running container and analyze the logs that are stored inside?A . docker run -ti app /bin/shB . podman exec -ti app /bin/shC ....
Which of the following environment variables must be set in remote shell in order to launch the graphical interface?
A developer is trying to install an application remotely that requires a graphical interface for installation. The developer requested assistance to set up the necessary environment variables along with X11 forwarding in SSH. Which of the following environment variables must be set in remote shell in order to launch the...
Which of the following should the administrator do?
To harden one of the servers, an administrator needs to remove the possibility of remote administrative login via the SSH service. Which of the following should the administrator do?A . Add the line DenyUsers root to the /etc/hosts.deny file.B . Set PermitRootLogin to no in the /etc/ssh/sshd_config file.C . Add...
Which of the following commands will show this information?
A systems administrator needs to check if the service systemd-resolved.service is running without any errors. Which of the following commands will show this information?A . systemct1 status systemd-resolved.serviceB . systemct1 enable systemd-resolved.serviceC . systemct1 mask systemd-resolved.serviceD . systemct1 show systemd-resolved.serviceView AnswerAnswer: A Explanation: The command systemct1 status systemd-resolved.service will show...