Which of the following commands will provide the correct information?
A Linux administrator wants to find out whether files from the wget package have been altered since they were installed. Which of the following commands will provide the correct information?A . rpm -i wgetB . rpm -qf wgetC . rpm -F wgetD . rpm -V wgetView AnswerAnswer: D Explanation: The...
Which of the following types of DNS records should the Linux administrator request from the DNS team?
A Linux administrator is configuring a new internal web server fleet. The web servers are up and running but can only be reached by users directly via IP address. The administrator is attempting to fix this inconvenience by requesting appropriate records from the DNS team. The details are: Hostname: devel.comptia.org...
Which of the following commands would allow this to happen?
A Linux administrator is providing a new Nginx image from the registry to local cache. Which of the following commands would allow this to happen?A . docker pull nginxB . docker attach nginxC . docker commit nginxD . docker import nginxView AnswerAnswer: A Explanation: The command that would allow this...
Which of the following commands would be BEST to use to accomplish this task?
A Linux engineer has been notified about the possible deletion of logs from the file /opt/app/logs. The engineer needs to ensure the log file can only be written into without removing previous entries. Which of the following commands would be BEST to use to accomplish this task?A . chattr +a...
Which of the following enables administrators to configure and enforce MFA on a Linux system?
Which of the following enables administrators to configure and enforce MFA on a Linux system?A . KerberosB . SELinuxC . PAMD . PKIView AnswerAnswer: C Explanation: The mechanism that enables administrators to configure and enforce MFA on a Linux system is PAM. PAM stands for Pluggable Authentication Modules, which...
Given this scenario, which of the following should the administrator perform to meet these requirements?
A systems administrator is enabling LUKS on a USB storage device with an ext4 filesystem format. The administrator runs dmesg and notices the following output: Given this scenario, which of the following should the administrator perform to meet these requirements? (Select three).A . gpg /dev/sdclB . pvcreate /dev/sdcC . mkfs...
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-initB . BashC . DockerD . SidecarView AnswerAnswer: A Explanation: The cloud engineer should use cloud-init to install packages during VM provisioning. Cloud-init is a tool that allows...
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...
Which of the following processes would accomplish this task?
A Linux engineer needs to create a custom script, cleanup.sh, to run at boot as part of the system services. Which of the following processes would accomplish this task?A . Create a unit file in the /etc/default/ directory. systemctl enable cleanup systemctl is-enabled cleanupB . Create a unit file in...
Which of the following commands would permanently fix the access issue while limiting access to IT and finance department employees?
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?A . chattr +i...