1.
Which of the following commands will bring a Solaris system to single-user state?
Correct Answer(s)
A. Init s
D. Shutdown -y
Explanation
"init s" will bring the system to single-user state, and the default run-level of the "shutdown" command is also single-user.
2.
A process with priority 10 is lower priority than a process with priority 20.
Correct Answer
B. False
Explanation
A process with priority 10 is not lower priority than a process with priority 20. In priority-based scheduling, a higher priority value indicates a higher priority level. Therefore, a process with priority 20 is higher priority than a process with priority 10.
3.
Which of the following mount options are required when using a CacheFS?
Correct Answer(s)
C. -o backfstype=
D. -o cachedir=
Explanation
The "-o ro" option is recommended for best performance, and the "-F nfs" is typically used, but the only required options are "-o backfstype" and "-o cachedir".
4.
After creating a swap partition and adding the appropriate entry to /etc/vfstab, which commands can be used to activate the new swap partition?
Correct Answer(s)
A. Swapadd
B. Swap -a /dev/dsk/
Explanation
The swap partition can be activated explicitly by using the swap command. Additionally, the /sbin/swapadd command will read /etc/vfstab and activate any partition or file specified as a swap device.
5.
Which of the following statements about NFS is true?
Correct Answer
C. Server daemons are started at run-level 3, client daemons at run-level 2
Explanation
The correct answer is that server daemons are started at run-level 3, while client daemons are started at run-level 2. This means that the server daemons, which handle the file system sharing, are started at a higher run-level than the client daemons, which are responsible for accessing and using the shared file systems. This setup ensures that the server daemons are up and running before the client daemons start, allowing for a smooth and efficient NFS operation.
6.
Which command displays information about the format of the /etc/passwd file?
Correct Answer
C. Man -s 4 passwd
Explanation
"man passwd" with no options will display information about the passwd command, not the /etc/passwd file.
7.
Which two system files get updated when a new account is added to the system?
Correct Answer(s)
A. /etc/shadow
D. /etc/passwd
Explanation
/etc/passwd contains the new account information, and /etc/shadow contains password information for the new account.
8.
After creating a new concatenation metadevice, what command must be run?
Correct Answer
B. Growfs /dev/md/rdsk/
Explanation
After creating a new concatenation metadevice, the command that must be run is "growfs /dev/md/rdsk/". This command is used to grow the file system on the metadevice and make it available for use.
9.
What are the default options for the "ufsdump" command?
Correct Answer
C. "9uf /dev/rmt/0"
Explanation
If no options are specified, the default action is to perform a level 9 backup to the dump file /dev/rmt/0 (default tape device) , and update the dump record. Thus, the default options are '9uf /dev/rmt/0'
10.
Which command is used to tell Volume Manager that a floppy disk has been inserted into the floppy drive?
Correct Answer
A. Volcheck
Explanation
The command "volcheck" is used to inform the Volume Manager that a floppy disk has been inserted into the floppy drive. This command triggers the Volume Manager to check for any new volumes or disks that have been added to the system. It allows the system to recognize and access the contents of the floppy disk.
11.
You need to install Solaris 10 on a
workstation which will be used mostly for software development. Which
of the following software group you will choose to install?
Correct Answer
E. Developer software group
Explanation
E. The developer software group contains the packages for the end user Solaris software group plus additional support for software development.
A, B, and C are incorrect because these groups do not include development tools. D is incorrect because this group contains software for the server functionality that is unnecessary for this workstation.
12.
What is the minimum amount of RAM your machine requires before you could install Solaris 10 on it?
Correct Answer
A. 64MB
Explanation
A. The minimum RAM requirement for installing or upgrading to Solaris 10 is 64MB.
B is incorrect because 256MB is the recommended RAM, not the minimum required; C is incorrect because 384MB is required only if you want to use installation GUI; and D is incorrect because 32MB is less than the minimum required.
13.
Which of the following are not the names for the software groups in Solaris 10?
Correct Answer(s)
B. End user Solaris software group
D. Entire Solaris software group plus OEM
Explanation
B and D. The six software groups in Solaris 10 are: reduced network support software group, core system support software group, end user Solaris software group, developer Solaris software group, entire Solaris software group, and entire plus OEM support.
A is incorrect because core system support is a software group, while core system support plus OEM is not. C is incorrect because the name for a software group is the developer software group and not the entire developer software group.
14.
Which of the following commands can you use to verify that a package has been correctly installed?
Correct Answer
D. Pkgchk
Explanation
D. The pkgchk command can be used to check the accuracy of the installed packages and also to check the content of the spooled packages.
A is incorrect because the pkginfo command is used to list the package information and not to check the accuracy of the package installation. B is incorrect because the pkgask command is used to save the responses from the user for the pkgadd command in a file. C is incorrect because the correct command is pkgchk, not pkgcheck.
15.
Which of the following are the valid methods for installing Solaris 10?
Correct Answer(s)
A. WAN boot
C. Live upgrade
E. Interactive
Explanation
A, C, and E. The WAN boot method is used to install Solaris over a wide area network (or Internet), the live upgrade method is used to upgrade the system to Solaris 10 while it's running, and certainly you can install Solaris 10 interactively by using the text installer or the GUI.
B and D are incorrect because you cannot install Solaris by using network cloning or UUCP.
16.
The pkgchk command can be used for which of the following tasks?
Correct Answer(s)
B. To check the content of the packages that have not yet been installed
C. To verify the installation of a package
Explanation
B and C. The pkgchk command can be used to verify the installation of a package and also to get the information about the packages in the spool directory.
A is incorrect because the purpose of the pkgchk command is not to detect the errors in the data of the package files. D is incorrect because pkgchk is not a version control utility.
17.
Which of the following commands can be used to uninstall a package?
Correct Answer
A. Pkgrm
Explanation
A. The pkgrm command is used to uninstall (remove) packages.
B is incorrect because you should never use the rm -r command to uninstall a package; uninstalling the package is not identical with just removing the package files. C is incorrect because there is no uninstall file to uninstall the packages, and D is incorrect because the patchrm command is used to uninstall the patches and not the packages.
18.
Which of the following statements is not true about patches?
Correct Answer
B. If you don't want to create a backup of the files to be patched, use the patchadd command with the -n option.
Explanation
B. It is the -d option and not the -n option used with the patchadd command that will instruct not to back up the files to be patched.
A, C, and D are incorrect answers because they are the correct statements.
19.
Which of the following conditions will prevent the patchadd command from installing a patch?
Correct Answer(s)
B. A patch with the same base code but higher revision number is already installed.
C. The patch that is being installed depends on another patch which has not yet been installed.
D. An already installed patch has made this patch obsolete.
Explanation
B, C, and D. A patch will not be installed if it is being made obsolete by an already installed patch, if it has the same base code but lower revision code than an already installed patch or if it depends on a patch that has not yet been installed.
A is incorrect because the patch to be installed does not have to be the latest version.
20.
You need to put a package on your organization's web site and make it
available for downloads. The package is currently not in the format in
which you want to put it on the site. Which of the following commands
would you use to convert the package into the right format?
Correct Answer
C. Pkgtrans
Explanation
C. The pkgtrans command is used to convert a package from one format to another,
A and B are incorrect because pkgformat and pkgmake are not commands in Solaris 10. D is incorrect because the pkgadd command is used either to install or to spool packages and not to transform their formats.