Which of the following commands would show the default printer on a Linux system?
Which of the following commands would show the default printer on a Linux system?A . lpr B. lpq C. lpstat D. lspciView AnswerAnswer: C Explanation: https://staff.eecis.udel.edu/docs/printing/linux/#:~:text=To%20find%20the%20default%20printer,want%20Asto%20make%20the%20default. https://www.computerhope.com/unix/ulpstat.htm
Which of the following commands best describes the action the Linux administrator should take NEXT?
A user attempts to use the mount -a command but gets the following error: mount: mount point /mnt/test does not exist Which of the following commands best describes the action the Linux administrator should take NEXT?A . mount Ca /mnt/test B. mkdir Cp /mnt/test C. mdadm Cp /mnt/test D. mkfs...
Which of the following is the NEXT step the administrator should take to analyze the issue without losing data?
While creating a file on a volume, the Linux administrator receives the following message: No space left on device. Running the df Cm command, the administrator notes there is still 50% of usage left. Which of the following is the NEXT step the administrator should take to analyze the issue...
A Linux systems administrator wants the ability to access systems remotely over SSH using RSA authentication. to which of the following files should the RSA token be added to allow this access?
A Linux systems administrator wants the ability to access systems remotely over SSH using RSA authentication. to which of the following files should the RSA token be added to allow this access?A . authorized_keys B. ~/.ssh/ssh_config C. id_rsa.pub D. known_hostsView AnswerAnswer: C Explanation: Reference: https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server
Which of the following is the BEST command to perform this task?
A Linux administrator wants to fetch a Git repository from a remote Git server. Which of the following is the BEST command to perform this task?A . git checkout B. git clone C. git merge D. git configView AnswerAnswer: B Explanation: Reference: https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes
Which of the following are the BEST commands to use for this task?
A systems administrator wants to download a package from a remote server. Which of the following are the BEST commands to use for this task? (Choose two.)A . curl B. wget C. make D. tar E. zip F. ncView AnswerAnswer: B,F Explanation: Reference: https://www.linuxtechi.com/nc-ncat-command-examples-linux-systems/ https://www.unifiedremote.com/tutorials/how-to-install-unified-remote-server-deb-via-terminal
Which of the following BEST illustrates the steps the administrator should take?
An administrator is tasked with increasing the size of the volume /dev/vg/lv to 20GB. Which of the following BEST illustrates the steps the administrator should take?A . vgextend CL20G /dev/vg/lv; resizelv /dev/vg/lv B. parted CL20G /dev/vg/lv; remount /dev/vg/lv C. mkfs CL20G /dev/vg/lv; tune2fs /dev/vg/lv D. lvextend CL20G /dev/vg/lv; resize2fs /dev/vg/lvView...
Which of the following would the application parsing this file MOST likely have to support?
An administrator reviews the following configuration file provided by a DevOps engineer: Which of the following would the application parsing this file MOST likely have to support?A . YAML B. AJAX C. JSON D. SOAPView AnswerAnswer: C
Which of the following commands would allow the administrator to download the current contents of the URL before updating?
A Linux administrator needs to remotely update the contents of the www.comptia.org/contacts URL. Which of the following commands would allow the administrator to download the current contents of the URL before updating?A . curl www.comptia.org/contacts B. dig www.comptia.org/contacts C. apt-get www.comptia.org/contacts D. yum list www.comptia.org/contactsView AnswerAnswer: A Explanation: Reference: https://www.thegeekstuff.com/2012/04/curl-examples/
Which of the following commands will accomplish this task?
An administrator notices a directory on a web server named /var/www/html/old_reports that should no longer be accessible on the web. Which of the following commands will accomplish this task?A . chmod 000 /var/www/html/old_reports B. chgrp root /var/www/html/old_reports C. chown apache /var/www/html/old_reports D. setenforce apache /var/www/html/old_reportsView AnswerAnswer: D