Solaris 9 To 11 Service Start-up

16 Questions | Total Attempts: 48

SettingsSettingsSettings
Service Quizzes & Trivia

Test your Oracle Solaris skills. Good Luck !


Questions and Answers
  • 1. 
    Service Management Facility was introduced from:
    • A. 

      Solaris 2.9

    • B. 

      Sun OS 5.8

    • C. 

      Oracle Solaris 10

    • D. 

      Oracle Solaris 11

  • 2. 
    Which of the following statements are correct? (2 corrent answers)
    • A. 

      SMF starts after kernel initialization phase of boot process by svc.startd

    • B. 

      FMRI starting with lrc is found only in Solaris 9

    • C. 

      The command ‘svcadm start’ will start a service in Oracle Solaris 11

    • D. 

      Boot programming phase starts after boot PROM phase

  • 3. 
    Which of the following commands can be used to change the run levels in Solaris 9?
    • A. 

      Init

    • B. 

      Runlevel

    • C. 

      Scvs

    • D. 

      Svcadm

  • 4. 
    Which of the following statements are correct for the svcs –a output:  lrc:/etc/rcS_d/S50sk98sol.? (2 correct answers)
    • A. 

      S50sk98sol is a legacy run control script

    • B. 

      S50sk98sol is a component of Service Management Facility

    • C. 

      S50sk98sol starts from directory that stores scripts executed in run level S in Solaris versions prior to Oracle Solaris 10

    • D. 

      This output is produced in SunOS 5.9

  • 5. 
    Ls command listed all the files in a directory in Oracle Solaris 10 as shown below: K05appserv       K15imq              K27boot.server    K50pppd         K62lu K06mipagent     K16apache       K34ncalogd          K52llc2 Which of the following statements are correct? (2 correct answers)
    • A. 

      We will be able to see the same output in Oracle Solaris 11 as well

    • B. 

      The parent directory of this directory is /etc

    • C. 

      This directory is rc0.d

    • D. 

      The script K16apache will start apache when executed

  • 6. 
    Svc:/network/routing/rip:quagga svc:/application/graphical-login/cde-login:default Which of the following statements are correct? (2 correct answers)
    • A. 

      Both of these are Fault Management Resource Identifiers

    • B. 

      Network and Application are service categories

    • C. 

      Network and Application are instances of services routing and graphical-login

    • D. 

      Rip:quagga is started by legacy run control scripts

  • 7. 
    Svc:/network/routing/rip:quagga svc:/application/graphical-login/cde-login:default The logs for all these facilities are stored in the directory:
    • A. 

      /etc / svc

    • B. 

      /lib /svc

    • C. 

      /var /svc

    • D. 

      /usr /svc

  • 8. 
    Svc:/network/routing/rip:quagga svc:/application/graphical-login/cde-login:default Select the wrong statements from the following:
    • A. 

      Cde-login is not the only instance for the service graphical-login

    • B. 

      Quagga is a service of instance routing

    • C. 

      Svcadm enable –t svc:/network/routing/rip:quagga will run this service until shutdown

    • D. 

      Graphical-login is a service

  • 9. 
    Based on this output: cd /var/svc/manifest/network/routing # ls legacy-routing.xml   quagga.xml          ripng.xml ndp.xml                      rdisc.xml              route.xml Which of the following statements is correct?
    • A. 

      All xml files for all service instances are stored in /var/svc/manifest/network/routing

    • B. 

      All xml files for the service routing is stored in /var/svc/manifest/network/routing

    • C. 

      An xml file itself can start a service

    • D. 

      None of the above

  • 10. 
    Repository.db is stored in the directory:
    • A. 

      /etc /svc

    • B. 

      /var /svc

    • C. 

      /lib /svc

    • D. 

      /sbin

  • 11. 
    Restore_repository is a script used to restore a damaged repository. This script is found in the directory:
    • A. 

      / lib /svc/repository

    • B. 

      /var/svc /bin

    • C. 

      /lib /svc/bin

    • D. 

      /etc /bin

  • 12. 
    Answer the question below based on the first 4 lines of the output of svcs –a: [email protected]$ svcs –a legacy_run     Oct_03   lrc:/etc/rc2_d/S47pppd legacy_run     Oct_03   lrc:/etc/rc2_d/S89PRESERVE disabled       Oct_03   svc:/system/device/mpxio-upgrade:default disabled       Oct_03   svc:/network/install:default This output is taken from which version of Oracle Solaris?
    • A. 

      Solaris 2.6

    • B. 

      Solaris 7

    • C. 

      Oracle Solaris 10 and Oracle Solaris 11

    • D. 

      Oracle Solaris 11

  • 13. 
    Answer the following question based on the output of the command ls –l that showed all the files in the directory as shown: [email protected]:/etc/init.d$ pwd /etc/init.d [email protected]:/etc/init.d$ ls -l -rwxr--r--   2 root     sys          230 Oct 20  2011 PRESERVE -rw-r--r--   1 root     sys         2433 Oct 20  2011 README -rwxr--r--   1 root     sys          414 Oct 20  2011 acct -rwxr--r--   5 root     sys         1836 Oct 20  2011 pppd -rwxr--r--   1 root     sys          751 Oct 20  2011 sendmail This output is taken from which version of Oracle Solaris?
    • A. 

      2.6

    • B. 

      Solaris 7

    • C. 

      Solaris 10

    • D. 

      Solaris 11

  • 14. 
    This output is taken from a Oracle Solaris 11 system immediately after installation, selecting the only available defaults with relations to file systems: [email protected]:/etc/init.d$ df -n /                   : zfs /devices            : devfs /dev                : dev /system/contract    : ctfs /proc               : proc /etc/mnttab         : mntfs /system/volatile    : tmpfs /system/object      : objfs /etc/dfs/sharetab   : sharefs /lib/libc.so.1      : lofs /dev/fd             : fd /var                : zfs /tmp                : tmpfs /export             : zfs /export/home        : zfs /export/home/don    : zfs /rpool              : zfs /home/don           : lofs What is the default root file system for Oracle Solaris 11?
    • A. 

      UFS

    • B. 

      UDF

    • C. 

      HSFS

    • D. 

      ZFS

  • 15. 
    This output is taken from which version of Oracle Solaris OS: UWINPro:/etc$ ls -l rc* rc0.d: total 5 -rwxr--r--   5 root     sys         1836 Oct 20  2011 K50pppd   rc1.d: total 5 -rwxr--r--   5 root     sys         1836 Oct 20  2011 K50pppd   rc2.d: total 12 -rw-r--r--   1 root     sys         1587 Oct 20  2011 README -rwxr--r--   5 root     sys         1836 Oct 20  2011 S47pppd -rwxr--r--   2 root     sys          230 Oct 20  2011 S89PRESERVE   rc3.d: total 4 -rw-r--r--   1 root     sys         1232 Oct 20  2011 README   rcS.d: total 10 -rwxr--r--   5 root     sys         1836 Oct 20  2011 K50pppd -rw-r--r--   1 root     sys         1764 Oct 20  2011 README   rcm: total 3 drwxr-xr-x   2 root     bin            2 Oct 20  2011 scripts
    • A. 

      Oracle Solaris 10

    • B. 

      Oracle Solaris 9

    • C. 

      Oracle Solaris 8

    • D. 

      Oracle Solaris 11

  • 16. 
    The following output is taken from a Solaris 9 machine. The scripts shown below shows all scripts belonging to run level x and start the services that are started in the run level x. What is ``x``? README          S15nfs.server   S50apache       S77dmi          S84appserv S13kdc.master   S16boot.server   S52imq          S80mipagent     S89sshd S14kdc          S34dhcp         S76snmpdx       S81volmgt       S90samba
    • A. 

      O

    • B. 

      1

    • C. 

      2

    • D. 

      3

Back to Top Back to top