Pass the CompTIA Linux+ XK0-005 Questions and answers with CertsForce

Viewing page 14 out of 15 pages
Viewing questions 131-140 out of questions
Questions # 131:

A systems administrator has been unable to terminate a process. Which of the following should the administrator use to forcibly stop the process?

Options:

A.

kill -1


B.

kill -3


C.

kill -15


D.

kill -HUP


E.

kill -TERM


Expert Solution
Questions # 132:

Which of the following tools is BEST suited to orchestrate a large number of containers across many different servers?

Options:

A.

Kubernetes


B.

Ansible


C.

Podman


D.

Terraform


Expert Solution
Questions # 133:

A junior developer is unable to access an application server and receives the following output:

Question # 133

The systems administrator investigates the issue and receives the following output:

Which of the following commands will help unlock the account?

Options:

A.

Pam_tally2 --user=dev2 —-quiet


B.

pam_ tally2 --user=dev2


C.

pam_tally2 -–user+dev2 —-quiet


D.

pam_tally2 --user=dev2 —-reset


Expert Solution
Questions # 134:

A Linux engineer needs to download a ZIP file and wants to set the nice of value to -10 for this new process. Which of the following commands will help to accomplish the task?

Options:

A.

$ nice -v -10 wget https://foo.com/installation.zip


B.

$ renice -v -10 wget https://foo.com/installation.2ip


C.

$ renice -10 wget https://foo.com/installation.zip


D.

$ nice -10 wget https://foo.com/installation.zip


Expert Solution
Questions # 135:

A systems administrator created a new Docker image called test. After building the image, the administrator forgot to version the release. Which of the following will allow the administrator to assign the v1 version to the image?

Options:

A.

docker image save test test:v1


B.

docker image build test:vl


C.

docker image tag test test:vl


D.

docker image version test:v1


Expert Solution
Questions # 136:

A Linux administrator rebooted a server. Users then reported some of their files were missing. After doing some troubleshooting, the administrator found one of the filesystems was missing. The filesystem was not listed in /etc/f stab and might have been mounted manually by someone prior to reboot. Which of the following would prevent this issue from reoccurring in the future?

Options:

A.

Sync the mount units.


B.

Mount the filesystem manually.


C.

Create a mount unit and enable it to be started at boot.


D.

Remount all the missing filesystems


Expert Solution
Questions # 137:

Employees in the finance department are having trouble accessing the file /opt/work/file. All IT employees can read and write the file. Systems administrator reviews the following output:

Which of the following commands would permanently fix the access issue while limiting access to IT and finance department employees?

Options:

A.

chattr +i file


B.

chown it:finance file


C.

chmod 666 file


D.

setfacl -m g:finance:rw file


Expert Solution
Questions # 138:

A user reported issues when trying to log in to a Linux server. The following outputs were received:

Given the outputs above. which of the following is the reason the user is una-ble to log in to the server?

Options:

A.

User1 needs to set a long password.


B.

User1 is in the incorrect group.


C.

The user1 shell assignment incorrect.


D.

The user1 password is expired.


Expert Solution
Questions # 139:

A Linux administrator copied a Git repository locally, created a feature branch, and committed some changes to the feature branch. Which of the following Git actions should the Linux administrator use to publish the changes to the main branch of the remote repository?

Options:

A.

rebase


B.

tag


C.

commit


D.

push


Expert Solution
Questions # 140:

User1 is a member of the accounting group. Members of this group need to be able to execute but not make changes to a script maintained by User2. The script should not be accessible to other users or groups. Which of the following will give proper access to the script?

Options:

A.

chown user2:accounting script.shchmod 750 script.sh


B.

chown user1:accounting script.shchmod 777 script.sh


C.

chown accounting:user1 script.shchmod 057 script.sh


D.

chown user2:accounting script.shchmod u+x script.sh


Expert Solution
Viewing page 14 out of 15 pages
Viewing questions 131-140 out of questions