050-720

050-720 practice questions, page 3 of 6, with answer review and explanations.

Question 11

Which statements about PAM are correct? (Choose 3.)

  1. To enable authentication with PAM, you need a smart cart reader.
  2. Each line in a PAM configuration file contains 6 columns plus optional arguments.
  3. Configuration files of PAM modules can be found in /etc/pam.d/ and /etc/security/.
  4. After the PAM configuration has been adjusted for an application, this application can be used by SSH.
  5. The /etc/pam.d/other file contains a default configuration if no application-specific file is found in /etc/pam.d/.
  6. PAM creates a software level with defined interfaces between applications and the current authentication mechanism.

Question 12

What is the difference between the /dev/st0 and /dev/nst0 devices?

  1. /dev/st0 is the first SCSI CD burner; /dev/nst0 refers to the CDROM drive.
  2. /dev/st0 is the first tape drive; /dev/nst0 refers to the same tape drive in non-rewinding mode.
  3. /dev/st0 is the first serial console; /dev/nst0 refers to the same serial console as a block device.
  4. /dev/st0 is the first SCSI hard drive; /dev/nst0 refers to the same SCSI hard drive in read-only mode.

Question 13

How do you create a file called destination containing the same ACLs currently set for the file called source?

  1. getfacl source > destination
  2. getfacl -c source destination
  3. getfacl source | cp destination
  4. getfacl -x source > destination

Question 14

From the command line, which command would you use to print the document.ps file on the laser printer?

  1. lp -d laser document.ps
  2. lpr -p laser document.ps
  3. lpq -p laser document.ps
  4. print -p laser document.ps

Question 15

You want to find out if files from the wget package were altered since they were installed. Which command will give you this information?

  1. rpm -V wget
  2. rpm -v wget
  3. rpm -F wget
  4. rpm -qf wget