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 packagename B. apt-get remove packagename C. rpm -i packagename D. apt remove packagenameView AnswerAnswer: A
Which of the following commands will allow the user to upload the public key to a remote server and enable passwordless login?
A user generated a pair of private-public keys on a workstation. Which of the following commands will allow the user to upload the public key to a remote server and enable passwordless login?A . scp ~/.ssh/id_rsa user@server:~/ B. rsync ~ /.ssh/ user@server:~/ C. ssh-add user server D. ssh-copy-id user@serverView AnswerAnswer:...
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.conf B. /etc/hostname C. /etc/services D. /etc/ssh/sshd_configView AnswerAnswer: D
Which of the following RPM options should be used?
A Linux administrator needs to remove software from the server. Which of the following RPM options should be used?A . rpm -s B. rm -d C. rpm -q D. rpm -eView AnswerAnswer: D
Which of the following commands should be used to accomplish this task?
A Linux administrator needs to create an image named sda.img from the sda disk and store it in the /tmp directory. Which of the following commands should be used to accomplish this task?A . dd of=/dev/sda if=/tmp/sda.img B. dd if=/dev/sda of=/tmp/sda.img C. dd --if=/dev/sda --of=/tmp/sda.img D. dd --of=/dev/sda --if=/tmp/sda.imgView AnswerAnswer:...
Which of the following commands will accomplish this task?
A Linux administrator needs to create a new user named user02. However, user02 must be in a different home directory, which is under /comptia/projects. Which of the following commands will accomplish this task?A . useradd -d /comptia/projects user02 B. useradd -m /comptia/projects user02 C. useradd -b /comptia/projects user02 D. useradd...
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...
Which of the following should the engineer use to accomplish this task?
A cloud engineer is installing packages during VM provisioning . Which of the following should the engineer use to accomplish this task?A . Cloud-init B. Bash C. Docker D. SidecarView AnswerAnswer: A
Which of the following commands will help to accomplish this task?
A cloud engineer needs to remove all dangling images and delete all the images that do not have an associated container . Which of the following commands will help to accomplish this task?A . docker images prune -a B. docker push images -a C. docker rmi -a images D. docker...
Which of the following Git actions should the Linux administrator use to publish the changes to the main branch of the remote repository?
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?A . rebase B. tag C. commit...