1.
Service Management Facility was introduced from:
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.
2.
Which of the following statements are correct?
(2 corrent answers)
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.
3.
Which of the following commands can be used to change the run levels in Solaris 9?
Correct Answer
A. Init
Explanation
The "Init" command can be used to change the run levels in Solaris 9.
4.
Which of the following statements are correct for the svcs –a output: lrc:/etc/rcS_d/S50sk98sol.?
(2 correct answers)
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.
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)
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.
6.
Svc:/network/routing/rip:quagga
svc:/application/graphical-login/cde-login:default
Which of the following statements are correct?
(2 correct answers)
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.
7.
Svc:/network/routing/rip:quagga
svc:/application/graphical-login/cde-login:default
The logs for all these facilities are stored in the directory:
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.
8.
Svc:/network/routing/rip:quagga
svc:/application/graphical-login/cde-login:default
Select the wrong statements from the following:
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.
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?
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.
10.
Repository.db is stored in the directory:
Correct Answer
A. /etc /svc
Explanation
The file repository.db is stored in the directory /etc /svc.
11.
Restore_repository is a script used to restore a damaged repository. This script is found in the directory:
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.
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?
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.
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?
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.
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?
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).
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
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.
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
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.