Solaris 9 To 11 Service Start-up

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 Uwinpro
U
Uwinpro
Community Contributor
Quizzes Created: 25 | Total Attempts: 13,331
Questions: 16 | Attempts: 72

SettingsSettingsSettings
Solaris 9 To 11 Service Start-up - Quiz


Test your Oracle Solaris skills.


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

    Correct Answer
    C. Oracle Solaris 10
    Explanation
    Service Management Facility (SMF) was introduced in Oracle Solaris 10. SMF is a feature in the Solaris operating system that manages system and application services. It provides a flexible and reliable framework for managing services, allowing administrators to start, stop, and monitor services easily. SMF improves system availability by automatically restarting failed services and provides dependency management for services. It also offers a unified and consistent interface for managing services across different versions of Solaris.

    Rate this question:

  • 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

    Correct Answer(s)
    A. SMF starts after kernel initialization phase of boot process by svc.startd
    D. Boot programming phase starts after boot PROM phase
    Explanation
    The first statement is correct because SMF (Service Management Facility) starts after the kernel initialization phase of the boot process, and it is started by the svc.startd process.

    The fourth statement is also correct because the boot programming phase does indeed start after the boot PROM phase.

    Rate this question:

  • 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

    Correct Answer
    A. Init
    Explanation
    The "Init" command can be used to change the run levels in Solaris 9.

    Rate this question:

  • 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

    Correct Answer(s)
    A. S50sk98sol is a legacy run control script
    C. S50sk98sol starts from directory that stores scripts executed in run level S in Solaris versions prior to Oracle Solaris 10
    Explanation
    The first statement is correct because it states that S50sk98sol is a legacy run control script. The second statement is incorrect because it states that S50sk98sol is a component of Service Management Facility, which is not mentioned in the given information. The third statement is correct because it states that S50sk98sol starts from the directory that stores scripts executed in run level S in Solaris versions prior to Oracle Solaris 10. The fourth statement is incorrect because it states that this output is produced in SunOS 5.9, which is not mentioned in the given information.

    Rate this question:

  • 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

    Correct Answer(s)
    B. The parent directory of this directory is /etc
    C. This directory is rc0.d
    Explanation
    The ls command listed all the files in a directory in Oracle Solaris 10. The correct answers are that the parent directory of this directory is /etc and this directory is rc0.d. These statements are correct based on the given output.

    Rate this question:

  • 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

    Correct Answer(s)
    A. Both of these are Fault Management Resource Identifiers
    B. Network and Application are service categories
    Explanation
    Both of these statements are correct. "Fault Management Resource Identifiers" refer to the specific services that are responsible for managing and monitoring faults in a system. "Network" and "Application" are service categories that categorize different types of services.

    Rate this question:

  • 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

    Correct Answer
    C. /var /svc
    Explanation
    The correct answer is /var/svc. The logs for all the mentioned facilities are stored in the /var/svc directory.

    Rate this question:

  • 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

    Correct Answer
    B. Quagga is a service of instance routing
    Explanation
    The statement "quagga is a service of instance routing" is incorrect. Quagga is a routing software suite, not a service of instance routing.

    Rate this question:

  • 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

    Correct Answer
    B. All xml files for the service routing is stored in /var/svc/manifest/network/routing
    Explanation
    All xml files for the service routing is stored in /var/svc/manifest/network/routing. This is indicated by the output provided, which shows multiple xml files in the /var/svc/manifest/network/routing directory. Since the question specifically asks about the service routing, it suggests that the xml files in that directory are related to this specific service. Therefore, the correct statement is that all xml files for the service routing are stored in /var/svc/manifest/network/routing.

    Rate this question:

  • 10. 

    Repository.db is stored in the directory:

    • A.

      /etc /svc

    • B.

      /var /svc

    • C.

      /lib /svc

    • D.

      /sbin

    Correct Answer
    A. /etc /svc
    Explanation
    The file repository.db is stored in the directory /etc /svc.

    Rate this question:

  • 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

    Correct Answer
    C. /lib /svc/bin
    Explanation
    The correct answer is /lib /svc/bin. This is because the script "restore_repository" is found in the directory /lib /svc/bin.

    Rate this question:

  • 12. 

    Answer the question below based on the first 4 lines of the output of svcs –a: don@solaris12a$ 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

    Correct Answer
    D. Oracle Solaris 11
    Explanation
    The output of "svcs -a" command shows the status of services in Oracle Solaris. The presence of "lrc:/etc/rc2_d/S47pppd" and "lrc:/etc/rc2_d/S89PRESERVE" indicates that the system is using legacy run control scripts, which were used in older versions of Solaris. However, the presence of "svc:/system/device/mpxio-upgrade:default" and "svc:/network/install:default" services being disabled suggests that the system is running Oracle Solaris 11, as these services are specific to Solaris 11.

    Rate this question:

  • 13. 

    Answer the following question based on the output of the command ls –l that showed all the files in the directory as shown: UWINPro@solaris12a:/etc/init.d$ pwd /etc/init.d UWINPro@solaris12a:/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

    Correct Answer
    D. Solaris 11
    Explanation
    The output of the ls -l command shows the file permissions, number of links, owner, group, file size, and modification date of each file in the /etc/init.d directory. The presence of the "UWINPro@solaris12a:" indicates that the command was run on a Solaris system. The answer "Solaris 11" is correct because the output matches the format and style of file listings in Solaris 11.

    Rate this question:

  • 14. 

    This output is taken from a Oracle Solaris 11 system immediately after installation, selecting the only available defaults with relations to file systems: UWINPro@solaris12a:/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

    Correct Answer
    D. ZFS
    Explanation
    The output of the "df -n" command shows the file systems that are currently mounted on the Oracle Solaris 11 system. Among the listed file systems, the "/ (root)" file system is shown as "zfs". This indicates that the default root file system for Oracle Solaris 11 is ZFS (Zettabyte File System).

    Rate this question:

  • 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

    Correct Answer
    D. Oracle Solaris 11
    Explanation
    The given output is from the rc* directories in the /etc directory. The presence of the rcS.d directory, which contains startup and shutdown scripts, is an indication that this is from a version of Oracle Solaris that uses the System V init system. This init system was used in Oracle Solaris 10, Oracle Solaris 9, and Oracle Solaris 8. However, the presence of the rc2.d directory, which contains system startup scripts, suggests that this is specifically from Oracle Solaris 11, as Oracle Solaris 10 and earlier versions did not have an rc2.d directory. Therefore, the correct answer is Oracle Solaris 11.

    Rate this question:

  • 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

    Correct Answer
    D. 3
    Explanation
    The answer is 3 because the scripts shown belong to run level 3 and start the services that are started in run level 3.

    Rate this question:

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.