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 can be used to remove the package?
After installing some RPM packages, a systems administrator discovers the last package that was installed was not needed. Which of the following commands can be used to remove the package?A . dnf remove packagenameB . apt-get remove packagenameC . rpm -i packagenameD . apt remove packagenameView AnswerAnswer: A Explanation: The...
Which of the following is causing the connection issue?
Users report that connections to a MariaDB service are being closed unexpectedly. A systems administrator troubleshoots the issue and finds the following message in /var/log/messages: Which of the following is causing the connection issue?A . The process mysqld is using too many semaphores.B . The server is running out of...
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 will accomplish this goal?
A Linux administrator created the directory /project/access2all. By creating this directory, the administrator is trying to avoid the deletion or modification of files from non-owners. Which of the following will accomplish this goal?A . chmod +t /project/access2allB . chmod +rws /project/access2allC . chmod 2770 /project/access2allD . chmod ugo+rwx /project/access2allView AnswerAnswer:...
Which of the following commands can be used for this task?
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 -cB . test -f /etc/sudoersC . sudo vi checkD . cat /etc/sudoers | tee testView AnswerAnswer: A Explanation: The command visudo...
Which of the following commands should the administrator use to diagnose the issue?
Several users reported that they were unable to write data to the /oracle1 directory. The following output has been provided: Which of the following commands should the administrator use to diagnose the issue?A . df -i /oracle1B . fdisk -1 /dev/sdb1C . lsblk /dev/sdb1D . du -sh /oracle1View AnswerAnswer: A...
Which of the following commands will satisfy this requirement?
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/webB . chmod -R 400 /home/webC . echo "umask 377" >> /home/web/.bashrcD . setfacl read /home/webView AnswerAnswer:...
Which of the following will execute the command?
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 20B . tail -n 20C . tail -c 20D . tail -l 20View AnswerAnswer: B Explanation: The command...
Based on the above output, which of the following BEST describes the root cause?
An administrator is trying to diagnose a performance issue and is reviewing the following output: System Properties: CPU: 4 vCPU Memory: 40GB Disk maximum IOPS: 690 Disk maximum throughput: 44Mbps | 44000Kbps Based on the above output, which of the following BEST describes the root cause?A . The system has...