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...

May 8, 2025 No Comments READ MORE +

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...

May 6, 2025 No Comments READ MORE +

Which of the following commands will accomplish this task?

A Linux administrator was tasked with deleting all files and directories with names that are contained in the sobelete.txt file. Which of the following commands will accomplish this task?A . xargs -f cat toDelete.txt -rmB . rm -d -r -f toDelete.txtC . cat toDelete.txt | rm -frdD . cat toDelete.txt...

May 4, 2025 No Comments READ MORE +

Which of the following commands will accomplish this task?

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 httpdB...

May 4, 2025 No Comments READ MORE +

Which of the following files will be moved to the remote servers?

A junior systems administrator has just generated public and private authentication keys for passwordless login. Which of the following files will be moved to the remote servers?A . id_dsa.pemB . id_rsaC . id_ecdsaD . id_rsa.pubView AnswerAnswer: D Explanation: The file id_rsa.pub will be moved to the remote servers for passwordless...

May 2, 2025 No Comments READ MORE +

Which of the following files should the engineer modify to change the port number to the desired value?

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?A . /etc/host.confB . /etc/hostnameC . /etc/servicesD . /etc/ssh/sshd_configView AnswerAnswer: D Explanation: The file /etc/ssh/sshd_config contains the configuration...

May 2, 2025 No Comments READ MORE +

Which of the following commands should the administrator run NEXT to allow the file to be renamed by any user?

An administrator attempts to rename a file on a server but receives the following error. The administrator then runs a few commands and obtains the following output: Which of the following commands should the administrator run NEXT to allow the file to be renamed by any user?A . chgrp reet...

May 1, 2025 No Comments READ MORE +

Which of the following commands would resolve the issue and allow an SSH connection to be established without a password?

A junior administrator is trying to set up a passwordless SSH connection to one of the servers. The administrator follows the instructions and puts the key in the authorized_key file at the server, but the administrator is still asked to provide a password during the connection. Given the following output:...

May 1, 2025 No Comments READ MORE +

Which of the following is MOST likely the issue?

A Linux administrator needs to resolve a service that has failed to start. The administrator runs the following command: The following output is returned Which of the following is MOST likely the issue?A . The service does not have permissions to read write the startupfile.B . The service startupfile size...

April 30, 2025 No Comments READ MORE +

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:...

April 30, 2025 No Comments READ MORE +