Solaris 2.6 System Administration 1 Questions

This document contains some quetions derived from various resources, the aim is to provide some form of preparation to students who intend to take the Solaris 2.6 System Administration part I. This document covers all chapters of the Solaris System Administration course. More questions are in the pipeline, hence this document will be updated. This document may be obtained freely for personal use from http://vlee.net/. The author welcomes all constructive suggestions to improve this document.

Instructions

There are three types of questions as below:
        Fill in the blanks

Questions


  1. The Solaris 2.x systems include ?

  2. The three main parts of the unix operating system are:

  3. The core functions of the operating system do not include:

  4. What is the default shell for the Solaris computing environment?

  5. Which are the shells provided by the Solaris 2.6 installation CD?

  6. Fill in the blanks :

  7. The following items are the advantages of NIS+ has over NIS except:

  8. What are the valid Sun System Configurations:

  9. Which are the valid client system configurations:

  10. The core software configuration cluster contains :

  11. The Developer software configuration cluster contains :

  12. Write down a single command (including the full path) and its options that will change the system runlevel to 0 after a grace period of 10 minutes and will send the message "===System is going down in 10 minutes====" to all active users of the system.
    _________________________________________________

  13. What is the OK prompt command to find out the machine model, presence of keyboard, ROM revision, memory, serial number, ethernet address and host ID?

  14. Which command is used to retrieve additional information about a command at OK prompt?

  15. What command is used at OK prompt to show the aliases?

  16. Write down the commands at OK prompt to
    (a) find out whether the system will automatically boot to CDE/OpenWindow upon reboot
    (b) set the corresponding environment variable such that the system will not automatically boot up into the login manager
    (c) make the previous change persists:

  17. Write down the command to boot a SPARC machine into Single user mode with a CDROM:

  18. Softwares distributed as packages on a Solaris 2.x system should contain:

  19. Which of the following commands will display all packages available at a particular pathname:

  20. Which of the following commands are wrong:

  21. What is the file (giving its full path) that is modified by pkgadd and pkgrm and contains the listing of all packages installed on a system?

  22. The package command information could be obtained from:

  23. What is the spooling directory used when the following command is issued:
    # pkgadd -d package_path -s spool package_name

  24. Packages can be removed from the spooling directory with which command below:

  25. Which of the following directories store the historical information about the patches installed in a system:

  26. Which of the following commands can be used to display tha patches information:

  27. What if the /var/sadm/patch directory is tempered:

  28. Which of the following cannot be configured through admintool:

  29. Which is the directory that stores all the default hidden initialization file in the users' home directories when they were first created:

  30. Choose the correct statements:

  31. Which of the following are valid fields in /etc/passwd?

  32. What is the file that defines the default fields of /etc/shadow e.g. the period of which a user must change his/her password and the minimum period that the user must change his/her password. This file also specifies the minimum password length?

  33. What are the initialization files if a user uses C shell :

  34. Which of the following command:
    1. Gives read and write permission to the owner of a new file, read permission to group, and no permissions to others
    2. Gives all permissions to the owner of a new directory, read and execute permissions to group, and no permissions to others

  35. Determine the option of the setfacl command that is used to replace the entire ACL with the new ACL:

  36. Which slice of a hardisk in unix file system represents the entire disk by definition:

  37. Which of the following command report on all mounted file systems and include the number of files:

  38. Which of the following directory contains executable commands, system administration utilities, and library routines:

  39. Which of the following statements are true regarding Solaris 2.6 environment:

  40. Which Solaris utility is used to partition a hardisk ?

  41. The Veritas application specially formats the disks and internally keeps track of the portions of a disk that belong to a particular volume. All Veritas volume are consisted of pieaces named subdisks . What is the maximum number of subdisks ?

  42. What is the main advantage of using a striped virtual file system compared to concatenated virtual file system?

  43. Choose the correct statements about ethernet :

  44. A host with 227.14.90.77 as its IP address belongs to :

  45. What files should be modified if one were to change the hostname of a system?

  46. Which of the following commands may be used to perform remote backup with crontab ?

  47. The command that may be used to identify the users who are logged in on other systems on the network is ____________________ .

  48. Which of the following commands will modify the /etc/dumpdates

  49. If you have multiple dump files in a magnetic tape and you want to be sure that the tape drive will skip to the end of the recorded media before you dump more files into the media, choose one of the following commands:

  50. Is it possible for the Solaris 2.6 NFS Server to share a file hierarchy that overlaps one that is already shared?

  51. NFS servers can share peripherals like modems and printers. The above statement is :

  52. Which is the configuration file for nfs server?

  53. What is the command that is used to find out the nfs resources shared by a server?

  54. Choose the correct statements about Print Protocol Adapter , a component of the LP Print Software :

  55. Choose the packages included in Solaris 2.6:

  56. Which of the following is the spooling directory for pending print requests?

  57. What are the functions of Print Filters ?

  58. Which directory contains the database entries that dictate the control sequences to initialize the printer?

  59. Which of the following user environment variables may be used to specify the default printer?

  60. What are the files that may be used to set the default printer?

  61. What are the processes or daemons running in the print server for lp or lpr commands to work (in the print client) in Solaris 2.6?

  62. Which of the following command cannot be used to manipulate print requests?

  63. Which of the following commands may be used to move a print request from one queue to the other?

  64. What is the command to send a print request to printer printer1 to print file1 without banner?

  65. What is the command to display all status information output and the acceptance and idle or busy status of all printers?

  66. What is the command to display the idle or busy status and availability of all printers?

  67. What are the commands to cancel a specific printer request waiting in the queue or the print request currently printing?

  68. What is the terminology used to describe a named group of printers created with the lpadmin command?

  69. Which of the following commands are valid to create a class of printers and enable them to queue jobs?

  70. What is the command that will movee a specified print job to the top of the queue?

  71. Which of the following command will set the priority to n while printing a file?

  72. When you use the command: #reject printer1 ,

  73. When you use the command: #disable printer1 ,

  74. Which of the following command may be used to check the status of the print queues?

  75. Which of the following files may be use to control the usage of crontab?

  76. Which of the following may be considered as serial devices?

  77. What are the serial interfaces?

  78. Pin 2 of the RS-232-C 25 pin connector for a Data Terminal Equipment is used to

  79. Which of the following are true of null modem cable ?

  80. The tip command

  81. Which of the following module is used to perform standard terminal I/O processing?

  82. The SAF (Service Access Facility)

  83. Which of the following daemons is used for detecting incoming login requests and dispatching these requests appropriately, setting terminal modes and baud rates?

  84. What file is created by ttymon and contains successful logins information ?

  85. What command can be used to set the values of the positional parameters?

  86. Which shell reserved variable stores the exit status of a script of programme?

  87. Which command do we use to test whether a file is nonzero in length?

  88. The sh command is a useful one to debug shell scripts. Which option of the sh command may be used to print commands and their arguments as they are executed?

  89. To start the login server from a command line, we can type:

  90. Where can we locate files like Xerrors and Xpid to obtain errors produce by the login manager and its process ID?

  91. What are the types of sessions used by a Session Manager in Solaris 2.6?

  92. Session Manager stores the configuration files and the state of the session of each user in: