1. A user logs into a system running the solaris 8 Operating Environment using the telnet command. The user has been assigned a Bourne shell (sh) and home/home/user1 directory.

            All of the following files exist with appropriate ownership and permissions. Which two files are used to initialize this user's session? (Choose two).

A.        /ete/login

B.         /ete/login

C.        /home/profile.

D         /home/user1/.login

E.         /home/user1/cshre

F.         /home/user1/kshre

G.        /home/user1/.logout

H.        /home/user1/.profile

Answer: CH

 

2.         A user logs into a system running the solaris 8 Operating Environment using the telnet command. The user has been assigned a Korn shell (ksh) and home/user1 directory. The following files are executed on login by user1.

A)        /home/user1/kshre

B)        /ete/profile

C)        home/user1/profile

            in which order are they executed?

A.        A,B,C,

B.         A,C,B

C.        B,A,C

D.        B,C,A

E.         C,A,B

F.         C,B,A

Answer: D

 

3.         Which option of the usemod command allows the use of duplicate user IDs?

Answer: -o

 

4.         The Solaris 8 Operating Environment allows user to change their passwords. By default, by default, by how many character must a new password differ from an old password for the change to be admitted?

Answer: 3

 

5.         You are working form a text-based terminal. Which command should you use to change a user's primary group?

Answer: usermod -g

 

6.         When using the command line to add, modify, or delete user accounts or to add modify or delete ground, it is possible to use the-o option to allow duplicate users or group IDs. which four commands support the use of the the-o syntax? (Choose four.) 

A.        userdel

B.         adduser

C.        useradd

D.        usermod

E.         groupmod

F.         groupdel

G.        groupadd

Answer: CDEG

 

7.         Click the Task buttion.

            place each command on its associated file type

 

Answer :

            format=block device

            more=regular file

            In-s=symbolic lind

            mount=character device           

 

8.         which command, similar to far in syntax, produces an archive which compresses each file fbefore archiving it?

Answer: Jar

 

9.         you current working directory is the /export/home_a/user1 directory, Which two command strings put you into the /export/home_b/user20 directory? (Choose two).

A.        cd../user20

B.        cd../home_b/user20

C.        cd../../export/home_b/user20

D.          cd/export/home_b/user20

Answer:BD

 

10.       Which command lists the contents of your current directory and identifies each entry by type?

A.        dir*

B.         type*

C.        file*

D.        Is-T*

Answer:C

 

11.       What is the reuslt of using the following command?

            #inkdir-p dir1/dir2/dir2

A.        It creates three directories, named dirl, dirl/dir2, and dirl/dir2/dir3 respectively

B.        It creates three directoeies, name dir1, dir2 and dir3, using the current working directory as the parent directory          

C.        It attempts to create dir1/dir2/dir3, but posts appropriate error messages if the parent directories of dir1 or dir1/dir2 doe not exit.,

D.        It creates three directories, named dir1, dir2, and overrides the permissions modifications created by the file mode creation mask.

Answer:B

 

12.       Your current working directory contains:

            /           /           tst dirl/  file1      file2      file3      file4

            Which command copies the 1st file into the dirl directory?

A.        cp*dirl

B.         cp.*dirl

C.        cp*.*dirl

D.        cp.tst dir1/

Answer D

 

13.       Which command string displays the file and directory names that begin with the charcters a,b, or c, and that end with the

A.        Is -d abe-*1

B.         Is-[a-c*1]

C.        Is-Id[abe]*l

D.        Is {a,b,c]/*

Answer:

 

15.       You have login accounts on host A and host B. You want to execute the rep command to copy a file from host A to host B.

A.        add your login name to the /etc hosts equiv file on host B

B.         create hosts equiv files in your home directories and put a + in the file on hostB

C.        ask the system administrator to add you to the /etc/ rhosts file o the host hostB

D.        create a rhosts file in your home directory on host A and put the hostname host B in the file

Answer : A                              

 

16.  Which command enables you to list, but no retrieve, the contents of a tape archive copied to the default tape device /dev/rmt/0?

A.        tar tf/dev/rmt/0

B.         tar If /dev/rmt/0

C.        tar cvf/dev/rmt/0

E.         tar xvf | / dev/rmt/0

Answer : A      

 

17.       Which command should be used to extract the file install.log from the backup.tar file which is in tar format?

A.        tar xvf backup.tar install.log

B.         tar cvf backup.tar install.log

C.        tar xvf install log backup.tar

D.        tar-ivt-I backup.tar install.log

E.         zcat backup.tar | tar xvf install.log

Answer : A

 

18. Which command does a full backup of all files in the /export/home file system to the /dev/rmt/1 remote tape device attached to the workstation mars?

A.        ufsdump 0f /dev/rmt/1 / export/home

B.        usfdump 0f mars/dev/rmt/1/ export / home

C.        ufsdump 0f / dev/rmt/1 mars/export/home

D.        ufsdump omf mars /dev/rmt/1/export/home

Answer : B

 

19.       Click the Exhibit button

1.         extract

2.         add hosts

3.         cd /var/tmp

4.         cd/etc / inet

5.         mt - f/ dev/rmt / on fst 1

6.         ufs restore ivf /dev/rmt / 0

7.         mv / var/tmp / etc/linet/hosts /etc/inet / hosts

The steps that should be used to interactively restore the / etc/inet / hosts

The steps that should be used to interactively restore the etc/inet

A. 3,6,4,2,1,5,7

B. 3,4,5,6,2,1,7

C. 3,6,5,2,1,4,7

D. 3,5,6,4,2,1,7

Answer: D

 

20. Your system has just been brought to the boot prompt through an interrupt. Which command should byou now use to minimize the amount of disruption caused to the disk-file system?

A. sync

B fsck

C. halt

D. check

E. umount

F. probe-scsi

Answer: A

 

21. You are working on the vt 220 terminal connected to the system as a console. The keyboard is different from a standard Sun keyboard. The keys used on a Sun keyboard to cause a system interrupt appear to be missing.

Which statement about this situation is true?

A. The vt220 terminal does not support the sending of a break signal to interrupt the system

B. Pressing Control, Alt, and Delete would emulate the key sequence to cause an interrupt.

C. the terminal manual should indicate which keys will send a break signal to interrupt  the system

D. Sending a break signal to interrupt the system is only possible if a sun keyboard is fitted to the terminal

Answer:

 

22. From the OBP prompt, which command can be used to create a customized device alias survives power

A. alias

b. nvalias

C. devalias

D. prtalias

E. setalias

 

Answer: B

 

23. The following sets a permanent customized device alias at the open boot prompt

            ok***** bootdisk2/pci@If,0/pci@1,1/ide@3/disk@2,0

Which is the missing command?

A. alias

B. nvalias

C. devalias

D. partalias

E. setalias

Answer: B

 

24. The following is a listing of an/etc/re3.d drectory?

            README $15nfs.server $50apache $76snmpdx $77dmi

What is the significance of the two-digit number that follows the s and precedes the script name in each of the directory entries?

A. The tow digits signify how many links exist to each respective start script

B. the two digits define the number of dependencies on other scripts to suggest logical placement of scripts for sequential execution

C. the two digits define the package sequence that defines the order in which each respective script was added to Solaris.

D. The two digits define the sequence in which each script will be executed when changing to this run Level.

Answer: D

 

25.Which command indicates the Run Level of the init process?

A. w

B. rstat

C. who-r

D. init-r

 

Answer: C

 

26. Which PROM command boots the system using a different system file?

A. boot -s

B. boot -a

C. boot/ete/system.new

D. boot-f/etc/system.new

 

Answer: A

 

27. Which two commands should be used to acquire online information about the /etc/vfstab file? (Choose two)

A. man vfstab

B. man-s4 vfstab

C. man vfstab(5)

D. man/etc/vfstab

 

Answer: AB

 

28. For which task is the kernel responsible?

A. managing CPU resources

B. translating user requests

C. Interrupting user keyboard entries

D. Interpreting commands from scripts

 

Answer: D

 

29. Which command is used to build a new file system on the raw special device at c0t3d0s5?

A. newfs-r c0t3d0s5

B. newfs c0t3d0s5, raw

C. newfs /dev/dsk/c0t3d0s5

D. newfs /dev/rdsk/c0t3d0s5

 

Answer: D

 

30. Which command should be used to configure only those devices by the st driver?

A. tapes-d st

B. devfsadm-ist

C. drvconfig-d st

D. syscongig-ist

 

Answer: B

 

31. Click the Exhibit button. 

            OTD    PIS      PPID    C         STIME TTY    TIME CMD

            root      0          0          0          Jul 15   ?          0:01     sched

            root      1          0          0          Jul 15   ?          0:02

/etc/init -

            root      2          0          0          Jul 15   ?          0:00     pageout

            root      3          0          1          Jul 15   ?          94:03   fsflush

            root      365      1          0          Jul 15   ?          0:00

/usc/lib/saf/sac -t 300

            root      366      345      0          Jul 15   ?          22:47   mibiliss

-r -p 32818

            root      8513    8505    0          Jul 25   ??         0:04

/uor/dt/bin/dtterm

            root      10859  0513    0          Jul 25   ?          0:00

/opt/local/bin/smbd -0

            root      485      163      0          Jul 15   ?          0:08

rpc. ratatd.

            root      826      1          0          Jul 15   ?          0:00

/usr/sbin/in.rorpd -a

            root      11599  0531    0          Jul 29 pts/5       0:01 -ksh

Which command terminates the in rarpd process?

A. kill 1

B. pkill 826

C. kill in rarpd

D. pkill in rarpd

E. signal in rarpd

 

Answer: D

 

32. What is the name of the default signal that is sent to the dtmail process using the command pkill dtmail?

A. EXIT

B. HUP

C. INT

D. KILL

E. TERM

Answer: E

 

33. Which two commands or utilities can be used to display a list of active process that will be updated at a suser defined sample interval? (Choose two.)

A. prstat

B. prtconf

C. prtconf

D. psrinfo

E. sdtipls

F. sdtprocess

 

Answer: AF

 

34. Which vi character sequence replaces all occurrences of the string Solaris with the string Operating Environment in the current file?

A. :s/Solaris Operating Environment/Solaris/

B. :r/Solaris/Solaris Operating Environment/g

C. :%sSolaris/Solaris Operating Environment/

D. :%s/Solaris/Solaris Operating Environment/g

 

Answer: C

 

35. Which vi command is used to copy three lines of test to memory and then paste these lines above the current line?

A. 3cP

B. 3yyP

C. 3yyp

D.3c/p

E. copy:3pp

 

Answer: B

Hosted by www.Geocities.ws

1