Self Test


The following questions will help you measure your understanding of the material presented in this chapter. Read all the choices carefully because there might be more than one correct answer. Choose all correct answers for each question.

1. 

The system configuration variables that determine the startup system configuration are stored in which of the following?

  1. OpenBootPROM

  2. NVRAM

  3. Boot device

  4. File in the /etc directory

image from book

2. 

Which tasks are performed during the Boot PROM phase of the system startup?

  1. Kernel initialization

  2. Loading ufsboot

  3. Loading bootblk

  4. Executing power-on self test (POST)

image from book

3. 

Which order of tasks best describes the boot process on a SPARC machine?

  1. Executing POST, loading bootblk, loading ufsboot, executing init, starting svc.startd

  2. Executing POST, loading bootblk, loading ufsboot, starting svc.startd, executing init

  3. Executing POST, loading ufsboot, loading bootblk, executing init, starting svc.startd

  4. Loading bootblk, executing POST, loading ufsboot, executing init, starting svc.startd

image from book

4. 

Your Solaris system is hung? Which of the following actions should you take?

  1. Shut the power down

  2. Push Stop-A

  3. Push Stop-D

  4. Push Stop-N

image from book

5. 

Which sequence represents the phases of the boot process on an x86 machine in the correct order?

  1. Boot PROM, Boot Programs, Kernel Initialization, init

  2. Boot PROM, BIOS, Boot Programs, Kernel Initialization, init

  3. Boot PROM, BIOS, Boot Programs, Kernel Initialization, init

  4. BIOS, Boot Programs, Kernel Initialization, init

image from book

6. 

Which of the following programs is responsible for starting svc.startd?

  1. svcadm

  2. svcs

  3. init

  4. ufsboot

image from book

7. 

In Solaris 10 what would you do to change the default run level of the system, assuming that the milestone property is set in svc.startd?

  1. Change the value of the initdefault entry in the inittab file.

  2. Use the svcadm command with -d option.

  3. Use the init command.

  4. Use the initdefault command.

image from book

8. 

Which command would you use to change the value of an OpenBoot configuration variable at the OpenBoot PROM command prompt ok?

  1. eeprom

  2. setvar

  3. set

  4. setenv

image from book

9. 

Which of the following commands creates a device alias that will persist across power cycles?

  1. devalias

  2. nvalias

  3. setenv

  4. dev-alias

image from book

10. 

Which of the following commands can be used to change the run level of the Solaris system?

  1. init

  2. shutdown

  3. halt

  4. run-level

image from book

11. 

When the SPARC system is being turned on, you push the STOP-D key combination. What is the effect of you action?

  1. It puts the firmware in the diagnostic mode.

  2. It resets the NVRAM parameters to their default values.

  3. It displays a GUI for you so that you can reset the NVRAM parameters.

  4. It resets the NVRAM parameters to their factory default values.

image from book

12. 

Which of the following are the boot phases of an x86-based system?

  1. BIOS loads the MBR program mboot.

  2. The mboot program runs POST.

  3. The mboot program loads the Solaris boot program, pboot.

  4. The pboot program starts ufsboot.

image from book

13. 

Consider the following command and output at OpenBoot prompt:

    >ok setenv auto-boot? false    auto-boot? = false 

What is the effect of this command on the system?

  1. The syntax for the command is incorrect because the name of the variable is auto-boot and not auto-boot?. So there will be no effect.

  2. The next time you turn the system on, it will not boot until you set the auto-boot? variable back to true.

  3. The next time you turn the system on, it will boot into single-user mode.

  4. The next time you turn the system on, it will display the OpenBoot prompt ok and you will need to give the boot command to boot it.

image from book

Answers

1. 

þ B. The boot configuration variables are stored in the non-volatile random access memory (NVRAM) chip.

ý A is incorrect because OpenBoot PROM contains the OpenBoot PROM monitor program and not the boot configuration variables. C is incorrect because a boot configuration variable determines which boot device to use, and D is incorrect because the system must be booted before it has access to the /etc directory.

2. 

þ C and D. The two main tasks of the Boot PROM phase are to execute POST followed by loading the primary boot program bootblk.

ý A is incorrect because Kernel Initialization is done in the kernel initialization phase, and B is incorrect because ufsboot is loaded in the Boot Programs phase.

3. 

þ A. When you turn the machine on, first the Power-On Self Test (POST) is run; then the primary boot program bootblk is loaded, which in turn loads the secondary boot program ufsboot. The ufsboot program loads the kernel, which starts the init process; then the init process starts the SMF utility svc.startd.

ý B is incorrect because the init process starts the svc.startd, so it has to be started before svc.startd. C is incorrect because bootblk is the primary boot program and must be started before the secondary boot program ufsboot. D is incorrect because POST is the first program that is run when the machine is turned on.

4. 

þ B. Pushing the Stop-A combination will eventually take you to the ok prompt, where you can issue command if you want to synchronize the file system and then boot.

ý A is incorrect because shutting the power down is likely to damage the file system. Never do this unless there is an emergency and you have no other choice. C is incorrect because pushing Stop-D is used during startup to put the system into diagnostic mode—that is, to force POST to run, if POST was bypassed by default. D is incorrect because Stop-N is used to reset the NVRAM content to default values.

5. 

þ D. The phases of the boot process on an x86 machine are BIOS, Boot Programs, Kernel Initialization, and init.

ý A, B, and C are incorrect because Boot PROM does not exist in an x86 machine.

6. 

þ C. The kernel starts the init program and the init program starts the SMF utility svc.startd.

ý A is incorrect because the svcadm command is used to administer the SMF services such as to disable or enable them. B is incorrect because the svcs command is used to find the status of services. D is incorrect because ufsboot starts the kernel and not the svc.startd.

7. 

þ B. The svcadm command with -d option will change the default run level in Solaris 10.

ý A is incorrect because the initdefault entry is not used in Solaris 10 if the milestone property is set for svc.startd. C is incorrect because the init command can be used to change the run level but not to change the default run level. D is incorrect because there is no such command as initdefault.

8. 

þ D. The setenv command is used to change the value of a boot configuration variable at the OpenBoot PROM command prompt ok.

ý A is incorrect because the eeprom command is used to change the value of a boot configuration variable at the OS command line and not at the OpenBoot prompt. B and C are incorrect because there are no set and setvar commands at the ok prompt to change the value of a boot configuration variable.

9. 

þ B. A device alias created with the nvalias command will persist across power cycles.

ý A is incorrect because a device alias created with the devalias command will not persist across power cycles. C is incorrect because the setenv command is used to change the value of a boot configuration variable. D is incorrect because there is no such command as dev-alias.

10. 

þ A, B, and C. Any of these commands (init, shutdown, and halt) will change the run level of the system.

ý D is incorrect because there is no such command as run-level.

11. 

þ A. Pushing the Stop-D key combination at startup of a SPARC system will put the system into diagnostic mode. It is useful to force the POST to run, if the POST was bypassed by default.

ý B is incorrect because you need to push the Stop-N key combination to set the NVRAM parameters to their default values. C is incorrect because no key press will give you the GUI to reset the NVRAM parameters. D is incorrect because there is no key combination that you can push to reset the NVRAM parameters to their factory defaults.

12. 

þ A and C. BIOS loads the master boot record program, mboot, which loads pboot.

ý B is incorrect because POST is run by BIOS, and D is incorrect because the secondary boot program ufsboot is started by the primary boot program bootblk, which is started by the Solaris boot program pboot.

13. 

þ D. The auto-boot? parameter is a boolean whose value determines whether or not the system will be automatically booted when it is turned on.

ý A is incorrect because the name auto-boot? is the correct name for this parameter. B is incorrect because even if the auto-boot? is false, you can boot the system by issuing the boot command at the ok prompt. C is incorrect because the auto-boot? parameter does not determine the run level of the system.




Sun Certified System Administrator for Solaris 10 Study Guide Exams 310-XXX & 310-XXX
Sun Certified System Administrator for Solaris 10 Study Guide Exams 310-XXX & 310-XXX
ISBN: N/A
EAN: N/A
Year: 2005
Pages: 168

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net