Sun Certified System Administrator for Solaris 8

310-012 Part II

Sun Certified Solaris 8 Administrator Test Part II

1

1. Which is not part of the procedure to add an automatic start up of a new service?

a. place a file in the /etc/init.d directory

b. place a dot at the beginning of the file name

c. assign an appropriate sequence number for the start up file in the /etc/rc directory

d. link to the appropriate /etc/rc*.d directory based on what run level you wanted the service started in.

Answer: b

2. In which directory will physical device names be stored?

a. device

b. usr

c. devices

d. dev

Answer: c

3. What command is used to install a boot block on a newly created root partition?

a. bootstrap

b. installboot

c. bootinstall

d. boot

Answer: b

4. What state will be after completion of the following command:

$su

passwd

#init 0

a. input state

b. multiuser state

c. single user state

d. PROM monitor

Answer: d

5. What command can change run level with the grace period?

a. init

b. halt

c. reboot

d. shutdown

Answer: d

6. After adding a new equipment device configuration can be accomplished by:

a. booting the system with the boot -r option

b. booting the system with the boot -sa option

c. creating the file reconfigure prior to shutting down and adding in the new hardware

d. editing the configuration file to add the new device and run MAKEDEV in the device directory

Answer: a and c

Sun Certified Solaris 8 Administrator Test Part II

2

7. What command change to single user mode?

a. halt

b. init 5

c. reboot

d. shutdown –y

Answer: d

8. In v.2 PROM, what command is best to boot from CD-ROM to fix /etc/passwd?

a. boot a

b. boot cdrom

c. boot cd –s

d. boot cdrom –s

Answer: d

9. Which command is to be used to notify users that the system will be unavailable during

backups?

a. wall

b. rwall

c. init

Answer: b

10. When using the mount command which file contain the default list of files to mount if F

option is not available?

a. vfstab

b. dfstab

c. dfstypes

Answer: a

11. What does the following command do: umount /dev/dsk/c0t3d0s4?

a. unmount rfs

b. unmount nfs

c. unmount ufs

d. fail because -F option was not used

Answer: c

12. What system run level is the full shutdown?

a. init 2

b. init 3

c. init 5

d. init 6

Answer: c

Sun Certified Solaris 8 Administrator Test Part II

3

13. Logical disk names are used and displayed in all of this following situations except:

a. boot messages

b. displaying VTOC

c. creating file system

d. mounting file system

Answer: a

14. Which information is needed to be provided in redefining the partition?

a. size only

b. starting cylinder only

c. starting cylinder and size

d. starting cylinder and ending cylinder

Answer: c

15. df -k command:

a. display disk usage for each mounted system in bytes

b. display disk usage for each mounted system in megabytes

c. number of kilobytes used by all files and directories

d. amount of space used as a percentage of total capacity

Answer: a

16. Which type of files has to be modified to add system start up service?

a. install

b. run control

c. initialization

d. auto-configuration

Answer: b and c

17. What PROM level command synchronizes filesystem after system aborted?

a. halt

b. fsck

c. sync

d. dev-sync

Answer: c

18. What file to modify to turn kernel parameters?

a. /usr/share

b. /etc/system

c. /usr/kernel/list

d. /usr/sbin/kernel

Answer: b

Sun Certified Solaris 8 Administrator Test Part II

4

19. In NIS+ environment, how does an NIS+ client determine which source to look in first to obtain

network information?

a. programmed in NIS+ client source code

b. /etc/nsswitch.conf

c. /etc/nsswitch.nisplus

d. look into local files first, if there is +/- in the configuration files, then look into NIS+

Answer: b

20. In order to create an NIS+ client, which file must be copied to /etc/nsswitch.conf?

a. /etc/nsswitch.yp

b. /etc/nsswitch.nis

c. /etc/nsswitch.nis+

d. /etc/nsswitch.nisplus

Answer: d

21. What directory contains information about NIS+ groups?

a. group.obj

b. group_dir

c. NIS_groups.dir

d. groups_dir

Answer: d

22. Which two types of port monitors are available under Service Access Facility?

a. ttymon & netmon

b. ttymon & listen

c. ttymon & ptymon

d. ttymon & printmon

e. tty_service & listen_service

Answer: b

23. To restore the whole root file system, what is the step that is not necessary?

a. run installboot after restore the root file system

b. create new file system and restore from backup

c. load and boot release media

d. change the root partition in order to fit the restore files

Answer: d

24. What are the steps you have to do in order to export a filesystem /export/home?

a. share /export/home

b. start up nfs daemon by running the script /etc/initd.d/nfs.server start

c. add an entry into /etc/dfs/dfstab and shareall

d. dfshare /export/home

Answer: a,b and c

Sun Certified Solaris 8 Administrator Test Part II

5

25 How to add a new script which is started up automatically every time after reboot?

a. put it into /.profile

b. put it into /.login

c. put it into a subdirectory /etc/initd.d

d. put it into /etc/rc2.d/ by adding an initial S before the script name

Answer: d

26. When initializing on NIS+ client, where is the nisinit command executed?

a. on the client

b. on NIS+ master only

c. on each server

d. on the server which client bounds to

Answer: a

27. In an NIS+ namespace, what directory names are reserved?

a. org_dir

b. root_dir

c. table_dir

d. groups_dir

Answer: a and d

28. In NIS+ environment, the following instance is defined as an NIS+ principal:

a. the Cred table on NIS+ master server

b. the Cred table on NIS+ replica server

c. a user logging into an NIS+ client

d. a user signed on as root into an NIS+ workstation

Answer: c and d

29. In NIS+ environment, an unauthenticated principal is treated as:

a. the user nobody

b . the owner of the table

c. the world group

d. a member in admin group

Answer: a

30 What is the name of NIS+ service daemon that runs on NIS server?

a. rpc.ypserv

b. rpc.nisd

c. rpc.nisserv

d. rpc.nisplusd

Answer: b

Sun Certified Solaris 8 Administrator Test Part II

6

31. Which access right is NOT valid for table object in NIS+?

a. read

b. write

c. create

d. modify

e. destroy

Answer: b

32. What is the script to create empty version of standard tables in NIS+ directory?

a. nisaddent

b. nissetup

c. nistbladm

d. nisdefaults

Answer: b

33. When nisinit is executed on an NIS+ client, which file is copied from NIS+ server?

a. /var/nis/"domainname"

b. /var/nis/parent.object

c. /var/nis/NIS_COLD_START

d. /var/nis/NIS_SHARED_DIRCACHE

Answer: c

34. What is the default security level in NIS+?

a. level 0

b. level 1

c. level 2

d. level 3

Answer: c

35. The ____ command is used to add and remove the ttymon and listen port. monitors.

a. pmadm

b. ttyadm

c. sacadm

d. nlsadm

Answer: c

36. To create an instance of a port monitor, what info must you provide to sacadm?

a. type of port monitor and its name

b. type of port monitor, its name and the pathname of ttymon

c. type of port monitor, its name, the pathname of ttymon and version number

d. add option, type of port monitor, its name, the pathname of ttymon and version number

Answer: d

Sun Certified Solaris 8 Administrator Test Part II

7

37. Which configuration file tells the sac process which port monitors to initialize?

a. /etc/saf/_pmtab

b. /etc/saf/_sactab

c. /etc/saf/_sysconfig

d. /etc/saf/[pmtab]/_pmtab

Answer: b

38. Which file identifies baud rate and terminal settings for tty ports?

a. /etc/ttydefs

b. /etc/termcap

c. /etc/gettytab

d. /usr/share/lib/terminfo

Answer: a

39. The top level of Service Access Facility process is the ___, which is responsible for

managing port monitors.

a. saf

b. sac

c. pmadm

d. sacadm

Answer: b

40. Which is the entry in vfstab on venus to mount a filesystem /export/home on mars?

a. mars:/export/home - ufs /home - yes –

b. mars:/export/home - nfs /home - yes –

c. venus:/export/home - nfs /export/home - yes –

d. mars:/export/home - ufs /dev/dsk/c0t1d0s5 - yes –

Answer: b

41. By default, Suninstall for a server allocates ____ swap space for each diskless client.

a. 16 MB

b. 20 MB

c. 24 MB

d. 32 MB

Answer: d

42. On a workstation, which command is used to find out the exported filesystems on NFS server Venus?

a. dfmount venus

b. exportfs venus

c. share venus

d. dfshares venus

Answer: d

Sun Certified Solaris 8 Administrator Test Part II

8

43. On a server, /export/swap is usually used for

a. additional swap space for server

b. additional swap space for dataless clients

c. root file system for diskless clients

d. swap files for diskless clients

Answer: d

44. NFS server is a host that:

a. designates local file resources to be shared with other workstations on the network

b. mounts file resources over the network

c. shares printer resource over the network

d. accesses a shared network information system

Answer: a

45. What does the following find command do exactly? find /export/home -user jsmith –print

a. print out the pathname of all files under the home directory of jsmith

b. print out the pathname of all files under /export/home

c. print out all the pathnames of files owned by jsmith

d. print out all the pathnames of files owned by jsmith under /export/home

Answer: d

46 What is the function of nfsd daemon?

a. send file system handle to client

b. answer the initial mount request

c. answer read and write requests

d. send IP address of server to all clients

Answer: c

47. A single entry in a direct map:

a. may contain special options for all direct mount points

b. may contain special options for only one mount point

c. may contain an absolute pathname for a mount point

d. may contain a relative pathname for a mount point

Answer: b and c

48 What are the types of automount maps?

a. exported, master, slave

b. exported, local, remote

c. master, direct, indirect

d. master, indirect, auto_home

Answer: c

Sun Certified Solaris 8 Administrator Test Part II

9

49. Which file is used to set a system name?

a. /etc/nodename

b. /etc/hostname

c. /etc/hosts.equiv

d. /etc/defaultdomain

Answer: a

50. Which file is used to configure Solaris kernel?

a. /etc/system

b. /etc/kernel

c. /etc/vfstab

d. /etc/inet.conf

Answer: a

51. What are the correct procedures to add a new disk?

a. reboot

b. ok boot –r

c. touch /RECONFIGURE, then reboot

d. modify configuration files and MAKEDEV

Answer: b and c

52. Which command is used to find out the boot device?

a. printenv

b. setenv boot-device

c. devalias

d. probe-scsi

Answer: a

53. A regular user Bob has login account on both mars and venus, when he wants to rcp files from venus

to mars, what could he do?

a. add an entry mars into /.rhosts on mars

b. modify /etc/hosts.equiv on mars by adding a +entry

c. add an entry mars into .rhosts under his home directory

d. add an entry + into hosts.equiv under home directory

Answer: c

54. What is the command to boot a SPARC station interactively?

a. boot –l

b. boot –s

c. boot –a

d. boot –sw

Answer: c

Sun Certified Solaris 8 Administrator Test Part II

10

55. What is the command which is executed twice under /etc/rc2.d?

a. cp S99newservice, _S99newservice

b. cp S99newservice, S99newservice.old

c. cp S99newservice, .S99newservice

d. cp S99newservice, old.S99newservice

Answer: b

56. Which is the correct statement to describe the output of command format?

# format

AVAILABLE DISK SELECTIONS:

0. c0t3d0 <SUN 1.05 GB>

.......................................................…………..

1. c1t1d0 <Boxhill Systems PDS 2.35 GB>

.......................................................…………..

a. display all SCSI devices on a host

b. display all connected disk devices on a host

c. display only SCSI disk devices on this host

d. display all tape devic es on the host

Answer: b

57. Which of the following is defined as a device driver?

a. disk drive

b. peripheral device

c. software

d. disk drive controller

Answer: c

58. Which slice of a disk partition represents by default the whole disk?

a. slice 0

b. slice 1

c. slice 2

d. slice 3

e. slice 4

Answer: c

59. The minimum software package required to be installed to boot up a system is:

a. core

b. end user

c. developer

d. complete distribution

Answer: a

Sun Certified Solaris 8 Administrator Test Part II

11

60 What information does a superblock contain?

a. the whole filesystem information

b. inodes and block

c file permission

d. partition and size information

Answer: a,b and d

61. What does the option -u mean in ufsdump?

a. the level of filesystem dump

b. update backup information in /etc/dumpdates

c. the block size of dump device

d. to specify the tape device name

Answer: b

62. What does the command "mountall -l" means?

a. mount all file systems

b. mount local file systems

c. mount remote file systems

Answer: b

63. What command is used to boot a SPARC from a release CD in PROM v2.x?

a. >boot cdrom

b. >boot net

c. >boot disk

d. >boot tape

Answer: a

64. What is the default filesystem type for "shareall -F -fs"?

a. /etc/dfs/dfstype

b. /etc/default/types

Answer: a

65. When using Suninstall, choose server option when provide:

a. NFS server

b. NIS+ server

c. services to diskless client

d. services to dataless client

Answer: c

66. What sequence of commands remove a print request from queue?

a. lpstat -0, cancel

b. lpstat -x, cancel

Answer: a

Sun Certified Solaris 8 Administrator Test Part II

12

67. What is used to move print request?

a. lp –m

b. lpstat –m

c. cancel

Answer: c

68. The commands in /etc/dfs/dfstab are executed when:

a. system changed to run level 2

b. system change to run level 3

c. shareall is run

d. "/etc/init.d/nfs.server start" runs

Answer: b,c and d

69. Max number of class A in Internet is:

a. 127

b. 128

c. 254

d. 255

Answer: a

70. Which daemons must be running on a NFS server?

a. biod

b. nfsd

c. ypbind

d. mountd

e. rpc.nisd

Answer: b and d

71. When do you need to restart the automount daemon?

a. every time automounting is done

b. when the direct map changed

c. when the indirect map changed

d. when the master map changed

Answer: b and d

72. What is the proper way to restart automount daemon?

a. /etc/init.d/nfs.client stop, then /etc/init.d/nfs.server start

b. /etc/init.d/nfs.server stop, then /etc/init.d/nfs.client start

c. kill -HUP –1

d. shutdown -y -g600 -i2

Answer: d

Sun Certified Solaris 8 Administrator Test Part II

13

73. How to add user "mary" and create her home directory?

a. useradd -u 210 -g 110 -d /home/mary -s /bin/sh mary

b. useradd -u 210 -g 110 -d /home/mary -m -s /bin/sh mary

c. adduser 210 110 /home/mary

Answer: b

74. What is a class B Internet address?

a. 127.6.111.222

b. 132.6.111.222

c. 102.6.111.222

d. 192.6.111.222

Answer: b

75. Execute nisinit client, what is copied to client from server?

a. /var/nis/NIS_COLD_START

b. /var/nis/NIS_SHARED_DIRCACHE

c. /var/nis/domainname

Answer: a

76. Advantages of replica server in NIS+ are:

a. efficiency

b. portability

c. reliability

d. centralization

Answer: a and c

77 Where is an NIS+ database directory located?

a. /var/nis

b. /var/yp

c. /var/nisplus

/var/"domainname"

Answer: a

78. Which cable connects 2 DTE without modem?

a. RS232

b. null modem

c. centronics

d. RS423

Answer: b

79. Which file contains the default remote file system type?

a. /etc/dfs/fstypes

b. /etc/defaults/fs

Answer: a

Sun Certified Solaris 8 Administrator Test Part II

14

80. Which file contains the default local file system type?

a. /etc/dfs/fstypes

b. /etc/defaults/fs

Answer: b

81. Which of the following can perform an interactive boot?

a. init state: 3

b. init state: 4

c. init state: 5

d. init state: 6

Answer: b

82. Which of the following goes to single user mode?

a. init 0

b. init 6

Answer: a

83 In Berkeley Fast File System, file systems are organized primarily on basis of:

a. cylinder groups

b. tracks

c. blocks

d. sectors

Answer: a

84. Which are recommended, but not necessary to complete before system backup?

a. check system activity

b. change run levels

c. analyze bad blocks

d. reboot

e. fsck

Answer: a,c and d

85. Which command checks /dev/rdsk/c2t3d0s1 using a backup super block?

a. fsck -32 /dev/rdsk/c2t3d0s1

b. fsck -s 0 /dev/rdsk/c2t3d0s1

c. fsck -o b=32 /dev/rdsk/c2t3d0s1

d. fsck -o f -block 32 /dev/rdsk/c2t3d0s1

Answer: c

86 Which one equals to reboot?

a. init 0

b. init 6

Answer: b

Sun Certified Solaris 8 Administrator Test Part II

15

87. A modem device is:

a. a parallel port device

b. DTE

c. DCE

d. a TCP/IP device

Answer: c

88. To login to a non-UNIX host from a UNIX host use:

a. rsh

b. rlogin

c. telnet

d. rcp

Answer: c

89. Which of these can be used to backup a partition?

a. ufsdump

b. dd

c. cpio

d. all of the above

Answer: d

90. Which daemon is needed for an NFS CLIENT?

a. mountd

b. nfsd

Answer: none

91. Which does a diskless client server provide?

a. printing services

b. rexec services

c. disk/file services

d. networking services

Answer: c

92. Which script verifies a machine is secure enough to be a router?

a. swmtool

b. asset

Answer: b

93. An NIS+ Domain must have:

a. many roots and one master

b. one replica and many masters

c. one root master

d. one master and several replicas

Answer: c

Sun Certified Solaris 8 Administrator Test Part II

16

94 The disable account facility:

a. prevents system overloading

b. temporarily disables a user account

c. preserves hard drive space

Answer: b

95. The prtconf command:

a. prints system information

b. displays printer information

c. displays printer information on other machines

Answer: a

96. A collection of directories & files such as man pages & NFS are called:

a. a cluster

b. a bundle

c. a package

d. software

Answer: a

97 Reboot is equivalent to which?

a. init 0

b. init 3

c. init S

d. init 6

Answer: d

98 Which does NOT happen when the PROM monitor boots?

a. loading of bootsect

b. loading of kernel

c. hardware diagnostics

d. system banner is displayed

Answer: b

99 An easy way to create a new user is to:

a. modify /etc/passwd

b. modify /etc/shadow

c. modify /etc/group

d. run admintool

Answer: d

Sun Certified Solaris 8 Administrator Test Part II

17

100. Group sysadmin (14) is used to control access to:

a. root account

b. admintool

c. /etc/passwd

d. /etc/group

Answer: b

101 Which of these sub launches ttymon and listen?

a. sacadm

b. pmadm

Answer: a

102. What is an easy way to setup a diskless client?

a. modify /etc/hosts

b. modify /etc/ethers

c. run ...

d. admintool

Answer: d

103 What is NOT needed to install a server?

a. Ethernet address

b. name

c. Internet address

d. zone/location

Answer: a

104. /etc/inet/hosts is associated with:

a. Ethernet addresses

b. Internet addresses

c. rlogin

Answer: b

105. Which tool allows you to install programs?

a. pkgadd

b. Suninstall

Answer: a

106. Which command lets you see information on a package?

a. pkgadd

b. pkgrm

c. pkginfo

Answer: c

Sun Certified Solaris 8 Administrator Test Part II

18

107. Which program uses /etc/ttydefs to dial out to another host over a modem?

a. tip

b. rlogin

c. telnet

Answer: a

108. To see who are logged into the network use:

a. who

b. w

c. rusers

d. rlogin

Answer: c

109. What does the Open PROM banner command do?

a. resets NVRAM settings

b. reboots machine

c. prints memory and system information

Answer: c

110. Which of these permissions is the most secure in terms of write access?

a. 755

b. 777

c. 750

d. 751

Answer: c

111. Which of these commands will directly define a sendmail.cf variable?

a. F

b. C

c. D

d. L

Answer: c

112. Which of these commands will indirectly define a sendmail.cf variable?

a. F

b. C

c. D

d. L

Answer: d

Sun Certified Solaris 8 Administrator Test Part II

19

113. Which of these files will sendmail read upon starting?

a. main.cf

b. sendmail.cf

c. subsidiary.cf

d. ~/.mailrc

Answer: b

114. Which of these files defines the postmaster for a sendmail server?

a. /etc/mail/aliases

b. sendmail.cf

c. main.cf

d. ~/.mailrc

Answer: a

115. Which file will the sender mailer read every time to resolve aliases before calling sendmail?

a. /etc/mail/aliases

b. sendmail.cf

c. ~/.mailrc

d. mail.cf

Answer: c

116. Which TCP/IP layer handles fragment encapsulation and is responsible for putting frames on the

physical network?

a. physical

b. network

c. datalink

d. Internet

e. transport

Answer: c

117. Which will use RARP?

a. dataless client and jumpstart client

b. diskless client and jumpstart client

c. diskless client and dataless client

d. standalone machine

Answer: b

118 On a dataless client with a swap device and low memory, which will improve performance?

a. lower memory

b. disable tmpfs

c. disable swap

d. none of the above

Answer: d

Sun Certified Solaris 8 Administrator Test Part II

20

119 ARP is used to:

a. resolve names of machines to their IP addresses

b. resolve IP addresses of machines to their Ethernet addresses

c. act as a translation between the network layer and the Internet layer

d. resolving addresses

Answer: b

120. Which is not the features of a sessionless protocol?

a. high reliability

b. stateless

c. reliability needs augmenting

d. connection oriented

Answer: a

121. Which is the DNS daemon?

a. kerbd

b. xyzzy

c. in.named

d. in.nfsd

Answer: c

122. Which of these creates an NIS+ client?

a. nisserver –c

b. nisclient

c. nispopulate

Answer: b

123. Which of these files defines rpc services and ports?

a. /etc/rpc

b. /inetd.conf

c. services

d. blah

Answer: a

124. At what layer does the client/server model function?

a. application

b. transport

c. Internet

d. network

Answer: a

Sun Certified Solaris 8 Administrator Test Part II

21

125. Which of these starts Internet services?

a. /init.d/inetsvc

b. /init.d/inetinit

c. /inet/inetd.conf

Answer: c

126. Which of these starts the DNS daemon?

a. /init.d/inetsvc

b. /init.d/inetinit

c. /inet/inetd.conf

Answer: a

127. When placing a machine on a subnet, which of these is optional?

a. create a new hostname.xxx for the new interface

b. create new entries in /etc/inet/hosts

c. modifying /etc/inet/netmasks

d. rebooting the machine

Answer: a

128 Which of these shows CPU, virtual memory, disk I/O load?

a. nfsstat

b. vmstat

c. iostat

d. netstat

Answer: b

129. Which of these queues and transports mail?

a. mail

b. mailx

c. sendmail

d. uucp

Answer: c

130. Which of these will let you test your uucp settings?

a. uustat

b. uucheck

c. Untry

d. uuxqt

Answer: b

Sun Certified Solaris 8 Administrator Test Part II

22

131. Which of these defines permission control for uucp?

a. /etc/uucp/Devices

b. /etc/uucp/Permissions

c. /etc/uucp/Systems

d. /etc/uucp/Dialers

Answer: b

132. Where should this entry live: system01:/file/system - nfs –

a. /etc/mnttab

b. /etc/dfs/dfshares

c. /etc/vold

d. /etc/vfstab

Answer: d

133. Which of these will configure uucp to run periodically?

a. su uucp; uucp

b. su uucp; crontab < /....uucp.../crontab.default

c. su uucp; uucp.hour

d. su uucp; uucico

Answer: b

134. Which of these can NOT be used to find network bottlenecks?

a. nfsstatus

b. sar

c. netstat

d. snoop

Answer: a

135. Which of these can configure all settings for a network interface?

a. ifconfig

b. netstat

c. netconfig

d. arp

e. none of the above

Answer: a

136. Which is true about subnetting?

a. increases security by segmenting network resources

b. better use of network id's

c. all of the above

Answer: c

Sun Certified Solaris 8 Administrator Test Part II

23

137. A server that contains jumpstart information is called?

a. jumpstart server

b. dataless client

c. diskless client

d. installation server

Answer: d

138. A machine which has the subsidiary.cf copied over sendmail.cf is:

a. not a router, mailhost

b. not a router, mailhost, or mail server

Answer: b

139 A mail server holds:

a. /etc/mail/aliases

b. /etc/mail/sendmail.cf

c. /var/mail

Answer: c

140. Which of these will show the full Ethernet frame's header?

a. netstat

b. arp

c. snoop

d. sar

Answer: c

141. Which media is used for Solaris 2.x ?

a. tape

b. CD-ROM

c. CD-ROM & tape

d. diskette

Answer: b

142 Which command sends file to printer?

a. lp

b. lpadmin

Answer: a

143. What should be done to add a printer?

a. edit /somefile_name

b. uses printer manager

c. lpconfig

Answer: b

Sun Certified Solaris 8 Administrator Test Part II

24

145. Where variable CONSOLE used?

a. /etc/login

b. ~/.login

c. /etc/default/passwd

d. /etc/default/login

Answer: d

146. What does port monitor does?

a. assigns services to ports

b. assigns job's to services

Answer: a

147 Which file contains baud rate?

a. ttydefs

b. ttytab

Answer: a

148. For which does the modify right apply in this case:

-m-r-d-r--r—

a. owner

b. group

c. world

d. nobody

Answer: d

149. What does nisaddent -d hosts.org_dir.blah.com. do?

a. deletes the hosts table from the domain

b. dumps the hosts table back into a file of the same format

c. deletes all the entries in blah.com.

d. deletes host security in blah.com.

Answer: a

150. Which of these is a relative path?

a. blah.com.

b. moron.jerk.com.

c. groups.net

d. hosts.org_dir.blah.com.

Answer: c

151 NIS+ and DNS can be use together:

a. true

b. false

Answer: a

Sun Certified Solaris 8 Administrator Test Part II

25

152. The password command automatically checks for NIS+ and uses it instead of /etc/passwd:

a. true

b. false

Answer: b

153. To login to another domain than your own, you need what kind of credentials in that domain?

a. local

b. remote

c. DES

d. private

Answer: c

154 Which of the following is encrypted?

a. public

b. private

c. local

d. remote

Answer: b

155. What does keylogin -r do?

a. creates .rootkey

b. lets you login remotely

c. removes the key

d. refreshes keys in keyserver

Answer: a

156. What kind of information does nis_cachemgr cache?

a. data

b. tables

c. directories

d. columns

Answer: c

157. Public keys for all servers are stored in NIS_SHARED_CACHE:

a. true

b. false

Answer: a

158. Which is compatible?

a. NIS+ Server, NIS Client in compatibility mode

b. NIS+ Server in compatibility mode, NIS client

c. NIS Server, NIS+ client

d. None of the above

Answer: b

Sun Certified Solaris 8 Administrator Test Part II

26

159 In order to run nisls on no.more.barney.edu., which variable do you need to set?

a. setenv NIS_GROUPS '$.org_dir'

b. setenv NIS_PATH 'org_dir.$'

c. setenv ORG_DIR 'more.barney.edu.'

d. setenv NIS_DEFAULT 'more.barney.edu.'

Answer: b

160. If the following entry is listed in nsswitch.conf, what will happen ?

hosts: nisplus [NOTFOUND=return] files

a. /etc/hosts will never be consulted

b. will search in NIS+, if unavailable, then will search in /etc/hosts

c. if found in both NIS+ and in /etc/hosts, NOTFOUND will be returned

d. if not found in both NIS+ and /etc/hosts, NOTFOUND will be returned

Answer: a

161 A principal with invalid credentials will:

a. not be able to login

b. will use the world category

c. will use the nobody category

d. will be denied access to all NIS+ tables

Answer: a,c and d

162. You remove credentials with:

a. nistbladm

b. nisrmdir

c. nisaddcred

d. nispopulate

Answer: c

163. If you get an error message of ~Relative Error", what is the cause?

Answer: The system's clicks are not synchronized

164. A non-root master bart.simpson.edu. is a client of which domain?

a. bart.simpson.edu.

b. simpson.edu.

c. all

d. insufficient information given

Answer: b

Sun Certified Solaris 8 Administrator Test Part II

27

165. You can make changes to NIS+ tables from:

a. any client in the entire domain

b. any client in the subdomain domain at the same level or above

c. any client in the subdomain

d. any client in the directory

Answer: a

166. To synchronize the NIS+ master with its replicas you need to run:

a. ypmake

b. nismake

c. cd /var/nis; nismake

d. nothing, system does it automatically

Answer: d

167. How do you force synchronization on a master with its replica?

a. synch

b. nissynch

c. nisping

d. can not do this

Answer: c

168. Which must be clients?

a. all NIS+ servers

b. NIS+ servers except the root master

c. NIS+ root master only

d. NIS+ replicas only

Answer: a

169. The NIS+ security level is specified by:

a. settings in rpc

b. NIS+ tables

c. an option when launching rpc.nisd

d. /etc/nisplussecurity

Answer: c

170. Which contains the name of the domain used at boot time?

a. /etc/domainname

b. /etc/defaultdomain

c. NIS_PATH

d. NIS_DEFAULTS

Answer: b

Sun Certified Solaris 8 Administrator Test Part II

28

171. Which of the following sets the default NIS+ group?

a. NIS_PATH

b. NIS_GROUP

c. NIS_DEFAULTS

d. /var/nis/groups

Answer: c

172. What does the @burp.boink.com. mean here?

nisgrpadm -a admin.boink.com. @burp.boink.com.

a. all principals in the burp.boink.com. domain are removed

b. all principals in the burp.boink.com. domain are added

c. all principals in the burp.boink.com. group are removed

d. all principals in the burp.boink.com. group are added

Answer: d

173. How do you change the NIS+ time to live field?

a. nischttl

b. admintool

c. nistbladm

d. nischmod

e. can not change this

Answer: a

174. What is the default time to live?

a. 24 hours

b. 12 hours

c. 1 hour

d. 30 minutes

Answer: b

175. What is the security search order?

a. entry, table, column

b. table, entry, column

c. entry, column, table

d. table, column, entry

Answer: b

175. When is the NIS_COLD_START file created?

a. when you login

b. created when the server checkpoints the tables

c. created on the client and downloaded on the server

Answer: c

Sun Certified Solaris 8 Administrator Test Part II

29

176. What does this do? nisclient -i -h todd -d toast.com.

a. names all clients todd

b. makes the client a member of the toast.com. domain and copies NIS_COLD_START from todd

c. creates a client named todd in the puke.com. domain

d. creates a subdomain named todd.toast.com.

Answer: b

177 If it is setup properly, a user can have the same name as a host:

a. true

b. false

Answer: a

178. When installing a diskless client server, what is the default number of diskless clients to support?

a. 2

b. 3

c. 4

d. 5

Answer: d

179. Which command is used to install software on a server in order to support SunOS 4.1.x diskless

client?

a. install

b. install4x

c. install5x

d. installSunOS

Answer: b

180. When a system is in the single user level, what to do to change it to default run level?

a. reboot

b. init 6

c. exit (or ^d)

d. init 5

Answer: c

181. Which command is used to backup all the files in home directory on target 3, LUN number 0, slice

7?

a. ufsdump 0uf /dev/rmt/0 /dev/home

b. ufsdump 9f /dev/rmt/0 /home

c. ufsdump 0f /dev/rmt/0 /export/home

d. ufsdump 0uf /dev/dsk/0 /dev/dsk/c0t3d0s7

Answer: c

Sun Certified Solaris 8 Administrator Test Part II

182. The Solaris 2.x file system uses an 8192-byte block and a smaller 1024-byte block. What is the name of

the smaller block?

a. sector

b. track

c. cylinder

d. fragment

Answer: d

183. Which is NOT a valid option in the command:

share -F nfs -o ro=venus, rw=mars, bg, root=venus /usr

a. -F nfs

b. rw=mars

c. bg

d. root=venus

e. ro=venus

Answer: c

184. Where is the partition table saved on the disk?

a. superblock

b. cylinder group block

c. disk label

d. cylinder group

Answer: c

185. Which of these defines dialer commands?

a. /etc/uucp/Devices

b. /etc/uucp/Dialers

c. /etc/uucp/Systems

Answer: b

 

Hosted by www.Geocities.ws

1