Which of the following commands will accomplish this task?

A Linux engineer is setting the sticky bit on a directory called devops with 755 file permission. Which of the following commands will accomplish this task?A . chown -s 755 devopsB . chown 1755 devopsC . chmod -s 755 devopsD . chmod 1755 devopsView AnswerAnswer: D Explanation: The command that...

February 3, 2025 No Comments READ MORE +

Which of the following should be executed FIRST?

A systems administrator made some changes in the ~/.bashrc file and added an alias command. When the administrator tried to use the alias command, it did not work. Which of the following should be executed FIRST?A . source ~/.bashrcB . read ~/.bashrcC . touch ~/.bashrcD . echo ~/.bashrcView AnswerAnswer: A...

February 3, 2025 No Comments READ MORE +

Which of the following commands will accomplish this task?

A systems administrator wants to test the route between IP address 10.0.2.15 and IP address 192.168.1.40. Which of the following commands will accomplish this task?A . route -e get to 192.168.1.40 from 10.0.2.15B . ip route get 192.163.1.40 from 10.0.2.15C . ip route 192.169.1.40 to 10.0.2.15D . route -n 192.168.1.40...

February 2, 2025 No Comments READ MORE +

Which of the following should the administrator do to address this issue?

A systems administrator is implementing a new service task with systems at startup and needs to execute a script entitled test.sh with the following content: The administrator tries to run the script after making it executable with chmod +x; however, the script will not run. Which of the following should...

February 1, 2025 No Comments READ MORE +

Which of the following technologies did the systems administrator use to complete this task?

A systems administrator is tasked with creating a cloud-based server with a public IP address. Which of the following technologies did the systems administrator use to complete this task?A . PuppetB . GitC . AnsibleD . TerraformView AnswerAnswer: D Explanation: The systems administrator used Terraform to create a cloud-based server...

February 1, 2025 No Comments READ MORE +

Which of the following PAM modules will accomplish this task?

A systems administrator is tasked with preventing logins from accounts other than root, while the file /etc/nologin exists. Which of the following PAM modules will accomplish this task?A . pam_login.soB . pam_access.soC . pam_logindef.soD . pam_nologin.soView AnswerAnswer: D Explanation: The PAM module pam_nologin.so will prevent logins from accounts other than...

January 31, 2025 No Comments READ MORE +

Which of the following files holds the system configuration for journal when running systemd?

Which of the following files holds the system configuration for journal when running systemd?A . /etc/systemd/journald.confB . /etc/systemd/systemd-journalctl.confC . /usr/lib/systemd/journalctl.confD . /etc/systemd/systemd-journald.confView AnswerAnswer: A Explanation: The file that holds the system configuration for journal when running systemd is /etc/systemd/journald.conf. This file contains various settings that control the behavior of the...

January 31, 2025 No Comments READ MORE +

Which of the following is a function of a bootloader?

Which of the following is a function of a bootloader?A . It initializes all the devices that are required to load the OS.B . It mounts the root filesystem that is required to load the OS.C . It helps to load the different kernels to initiate the OS startup process.D...

January 30, 2025 No Comments READ MORE +

Which of the following commands will extract the files?

A Linux administrator recently downloaded a software package that is currently in a compressed file. Which of the following commands will extract the files?A . unzip -vB . bzip2 -zC . gzipD . funzipView AnswerAnswer: C Explanation: The command gzip can extract files that are compressed with the gzip format,...

January 28, 2025 No Comments READ MORE +

Which of the following commands will achieve the desired effect?

A systems administrator wants to back up the directory /data and all its contents to /backup/data on a remote server named remote. Which of the following commands will achieve the desired effect?A . scp -p /data remote:/backup/dataB . ssh -i /remote:/backup/ /dataC . rsync -a /data remote:/backup/D . cp -r...

January 28, 2025 No Comments READ MORE +