Docker Administration with Linux Fundamentals Quiz Questions and Answers

Which DNF command is used to clean up the local package cache?

Answer :
  • <p>dnf clean</p>

You want to create a link from your home directory on your hard disk to a directory on a CD-ROM drive. Which of the following types of links might you use?

Answer :
  • Only a symbolic link

Which commands would you type to enable world read access to the file myfile.txt? (Assume that you’re the owner of myfile.txt.)

Answer :
  • chmod o+r myfile.txt

You see the usrquota and grpquota options in the /etc/fstab entry for a filesystem. What is the consequence of these entries?

Answer :
  • Quota support will be available if it’s compiled into your kernel, but you must activate it with the quotaon command.

You’ve installed a commercial spreadsheet program called WonderCalc on a workstation. In which of the following directories are you most likely to find the program executable file?

Answer :
  • /opt/wcalc/bin

Which of the following file-location commands is likely to take the most time to find a file that may be located anywhere on the computer (assuming the operation succeeds)?

Answer :
  • The find command.

You want to track down all the files in /home owned by Karen. Which of the following commands will do the job?

Answer :
  • find /home -user karen

You want to boot a Linux system into single-user mode. What option might you add to a Linux kernel’s options list at a boot loader to accomplish this task?

Answer :
  • 1

Which of the following is the GRUB 2 boot loader configuration file?

Answer :
  • <p>/boot/grub2/grub.cfg</p>

A system administrator types the following command: # shutdown -c What is the effect of this command?

Answer :
  • A previously scheduled shutdown is cancelled.