Which of the following commands could the engineer use to query the DNS server to get mail server information?
A Linux engineer set up two local DNS servers (10.10.10.10 and 10.10.10.20) and was testing email connectivity to the local mail server using the mail command on a local machine when the following error appeared: The local machine DNS settings are: Which of the following commands could the engineer use...
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 commands will accomplish this task?
Due to low disk space, a Linux administrator finding and removing all log files that were modified more than 180 days ago. Which of the following commands will accomplish this task?A . find /var/log -type d -mtime +180 -print -exec rm {} ;B . find /var/log -type f -modified +180...
Which of the following technologies is the administrator using?
A systems administrator is deploying three identical, cloud-based servers. The administrator is using the following code to complete the task: Which of the following technologies is the administrator using?A . AnsibleB . PuppetC . ChefD . TerraformView AnswerAnswer: D Explanation: The code snippet is written in Terraform language, which is...
Which of the following commands can be used to address this issue?
A Linux system fails to start and delivers the following error message: Which of the following commands can be used to address this issue?A . fsck.ext4 /dev/sda1B . partprobe /dev/sda1C . fdisk /dev/sda1D . mkfs.ext4 /dev/sda1View AnswerAnswer: A Explanation: The command fsck.ext4 /dev/sda1 can be used to address the issue....
Which of the following commands can help to accomplish this task?
A Linux administrator needs to create a new cloud.cpio archive containing all the files from the current directory. Which of the following commands can help to accomplish this task?A . ls | cpio -iv > cloud.epioB . ls | cpio -iv < cloud.epioC . ls | cpio -ov > cloud.cpioD...
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...
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...
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...
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...