Showing posts with label CompTIA. Show all posts
Showing posts with label CompTIA. Show all posts

An administrator wants to create a script that installs NewFonts.rpm on several desktop computers. The script should check if the RPM is already installed. Which of the following commands would determine if NewFonts.rpm is already installed?

An administrator wants to create a script that installs NewFonts.rpm on several desktop computers. The script should check if the RPM is already installed. Which of the following commands would determine if NewFonts.rpm is already installed? 







A. rpm -a NewFonts
B. rpm -q NewFonts
C. rpm --list NewFonts
D. rpm --checksig NewFonts







Answer: B

Users are unable to print to a remote printer on a Linux server. The technician determines that all of the users and machines have the right to print to the server. The permissions on the printer's spool directory are set to allow access to all users. Users can print to other printers on the server. Which of the following is MOST likely the problem?

Users are unable to print to a remote printer on a Linux server. The technician determines that all of the users and machines have the right to print to the server. The permissions on the printer's spool directory are set to allow access to all users. Users can print to other printers on the server. Which of the following is MOST likely the problem? 








A. The /etc/printcap file is missing.
B. The SUID bit on this printer's spool directory is not set.
C. Root does not have read permission on the print filter.
D. Users do not have execute permission on the print filter.








Answer: B