Which of the following commands will accomplish this task?

A Linux administrator is tasked with adding users to the system. However, the administrator wants to ensure the users’ access will be disabled once the project is over. The expiration date should be 2021-09-30. Which of the following commands will accomplish this task?A . sudo useradd -e 2021-09-30 Project_userB ....

March 22, 2024 No Comments READ MORE +

Which of the following commands will display the operating system?

Which of the following commands will display the operating system?A . uname -nB . uname -sC . uname -oD . uname -mView AnswerAnswer: C Explanation: The command that will display the operating system is uname -o. This command uses the uname tool, which is used to print system information such...

March 22, 2024 No Comments READ MORE +

Which of the following can the administrator use to verify the root directory has this file?

A systems administrator needs to verify whether the built container has the app.go file in its root directory. Which of the following can the administrator use to verify the root directory has this file?A . docker image inspectB . docker container inspectC . docker exec <container_name> lsD . docker ps...

March 22, 2024 No Comments READ MORE +

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

March 21, 2024 No Comments READ MORE +

Which of the following commands should the administrator use for this task?

A new file was added to a main Git repository. An administrator wants to synchronize a local copy with the contents of the main repository. Which of the following commands should the administrator use for this task?A . git reflogB . git pullC . git statusD . git pushView AnswerAnswer:...

March 21, 2024 No Comments READ MORE +

Which of the follow-ing should the user execute in order for the script to run properly?

A user created the following script file: # ! /bin/bash # FILENAME: /home/user/ script . sh echo "hello world" exit 1 However, when the user tried to run the script file using the command "script . sh, an error returned indicating permission was denied. Which of the follow-ing should the...

March 21, 2024 No Comments READ MORE +

Which of the following tools should be used to meet this requirement?

A systems administrator is adding a Linux-based server and removing a Windows-based server from a cloud-based environment. The changes need to be validated before they are applied to the cloud-based environment. Which of the following tools should be used to meet this requirement?A . AnsibleB . git cloneC . git...

March 21, 2024 No Comments READ MORE +

Which of the following commands would accomplish this task?

A Linux engineer receives reports that files created within a certain group are being modified by users who are not group members. The engineer wants to reconfigure the server so that only file owners and group members can modify new files by default. Which of the following commands would accomplish...

March 21, 2024 No Comments READ MORE +

Which of the following commands will resolve this issue?

A Linux user reported the following error after trying to connect to the system remotely: ssh: connect to host 10.0.1.10 port 22: Resource temporarily unavailable The Linux systems administrator executed the following commands in the Linux system while trying to diagnose this issue: Which of the following commands will resolve...

March 21, 2024 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...

March 20, 2024 No Comments READ MORE +