Chapter 2 - Installing Solaris 10 Software + Sample Test

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Ipador
I
Ipador
Community Contributor
Quizzes Created: 2 | Total Attempts: 328
Questions: 20 | Attempts: 181

SettingsSettingsSettings
Software Quizzes & Trivia

This is a sample test for UNIX System Administrators.


Questions and Answers
  • 1. 

      Which of the following commands will bring a Solaris system to single-user state?

    • A.

      Init s

    • B.

      Init Q

    • C.

      Halt

    • D.

      Shutdown -y

    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.

    Rate this question:

  • 2. 

      A process with priority 10 is lower priority than a process with priority 20.

    • A.

      True

    • B.

      False

    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.

    Rate this question:

  • 3. 

      Which of the following mount options are required when using a CacheFS?

    • A.

      –o ro

    • B.

      –F nfs

    • C.

      -o backfstype=

    • D.

      -o cachedir=

    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".

    Rate this question:

  • 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?

    • A.

      Swapadd

    • B.

      Swap -a /dev/dsk/

    • C.

      Swapon

    • D.

      Swapadd /etc/vfstab

    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.

    Rate this question:

  • 5. 

      Which of the following statements about NFS is true?

    • A.

      Server and client daemons are started at run-level 2

    • B.

      Server and client daemons are started at run-level 3

    • C.

      Server daemons are started at run-level 3, client daemons at run-level 2

    • D.

      Server daemons are started at run-level 2, client daemons at run-level 3

    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.

    Rate this question:

  • 6. 

      Which command displays information about the format of the /etc/passwd file?

    • A.

      Man passwd

    • B.

      Man -k passwd

    • C.

      Man -s 4 passwd

    • D.

      Passwd -help

    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.

    Rate this question:

  • 7. 

      Which two system files get updated when a new account is added to the system?

    • A.

      /etc/shadow

    • B.

      /etc/accounts

    • C.

      /etc/password

    • D.

      /etc/passwd

    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.

    Rate this question:

  • 8. 

      After creating a new concatenation metadevice, what command must be run?

    • A.

      Fsck /dev/md/rdsk/

    • B.

      Growfs /dev/md/rdsk/

    • C.

      Metadb -a -f

    • D.

      Metabase

    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.

    Rate this question:

  • 9. 

      What are the default options for the "ufsdump" command?

    • A.

      "cvf /dev/rmt/0"

    • B.

      "-o /dev/rmt/0"

    • C.

      "9uf /dev/rmt/0"

    • D.

      "9u"

    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'

    Rate this question:

  • 10. 

      Which command is used to tell Volume Manager that a floppy disk has been inserted into the floppy drive?

    • A.

      Volcheck

    • B.

      Voldisk

    • C.

      Vold

    • D.

      Volfloppy

    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.

    Rate this question:

  • 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?

    • A.

      Reduced network support software group

    • B.

      Core system support software group

    • C.

      End user Solaris software group

    • D.

      Entire Solaris software group

    • E.

      Developer software group

    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.

    Rate this question:

  • 12. 

    What is the minimum amount of RAM your machine requires before you could install Solaris 10 on it?

    • A.

      64MB

    • B.

      256MB

    • C.

      384MB

    • D.

      32MB

    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.

    Rate this question:

  • 13. 

    Which of the following are not the names for the software groups in Solaris 10?

    • A.

      Core system support plus OEM software group

    • B.

      End user Solaris software group

    • C.

      Entire development software group

    • D.

      Entire Solaris software group plus OEM

    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.

    Rate this question:

  • 14. 

    Which of the following commands can you use to verify that a package has been correctly installed?

    • A.

      Pkginfo

    • B.

      Pkgask

    • C.

      Pkgcheck

    • D.

      Pkgchk

    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.

    Rate this question:

  • 15. 

    Which of the following are the valid methods for installing Solaris 10?

    • A.

      WAN boot

    • B.

      Network cloning

    • C.

      Live upgrade

    • D.

      UUCP (UNIX to UNIX copy protocol)

    • E.

      Interactive

    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.

    Rate this question:

  • 16. 

    The pkgchk command can be used for which of the following tasks?

    • A.

      To check whether the data in the package files is corrupted

    • B.

      To check the content of the packages that have not yet been installed

    • C.

      To verify the installation of a package

    • D.

      To check a package out of the spool directory in order to control the version number by tracking changes.

    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.

    Rate this question:

  • 17. 

    Which of the following commands can be used to uninstall a package?

    • A.

      Pkgrm

    • B.

      Rm -r

    • C.

      Uninstall

    • D.

      Patchrm

    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.

    Rate this question:

  • 18. 

    Which of the following statements is not true about patches?

    • A.

      The patchadd command creates a backup of the files to be patched.

    • B.

      If you don't want to create a backup of the files to be patched, use the patchadd command with the -n option.

    • C.

      The patchrm command attempts to restore the previously saved files.

    • D.

      The patchadd command can be used to find out which patches are currently installed on the system.

    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.

    Rate this question:

  • 19. 

    Which of the following conditions will prevent the patchadd command from installing a patch?

    • A.

      The patch version is not the latest version.

    • 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.

    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.

    Rate this question:

  • 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?

    • A.

      Pkgformat

    • B.

      Pkgmake

    • C.

      Pkgtrans

    • D.

      Pkgadd

    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.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 20, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • May 27, 2010
    Quiz Created by
    Ipador
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.