Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

What Is The Protocol Supported By Nfs?

Answer»

UDP and TCP

UDP and TCP

2.

How To Find The Boot Path In Solaris?

Answer»

# prtconf –vp | GREP bootpath

or

# EEPROM

# prtconf –vp | grep bootpath

or

# eeprom

3.

How To Bring The Process To Offline Or Online?

Answer»

# psradm –f (no of the PROCESS)
# psradm –a –n ( no of the process)

# psradm –f (no of the process)
# psradm –a –n ( no of the process)

4.

How To Check The No Of The Processor Available?

Answer»

# psrinfo –v

# psrinfo –v

5.

How Will You Check The Process For Particular User?

Answer»

# PS –U ORACLE

or

#ps –fu oracle | GREP SMON

# ps –U oracle

or

#ps –fu oracle | grep smon

6.

How Do You Check The No Of User Logged Into The System?

Answer»

# who

# who

7.

How Do You Check The Run Level?

Answer»

# who –r

# who –r

8.

If Telnet Not Working, What Are The Thing To Be Checked?

Answer»

Ping test, service ENABLE or not in (/etc/inetd.conf), NIS problem

If telnet is not working, first of all you will not be get connected, login through console access and then find out with ps -ef | GREP telnetd or Kill -1

Ping test, service enable or not in (/etc/inetd.conf), NIS problem

If telnet is not working, first of all you will not be get connected, login through console access and then find out with ps -ef | grep telnetd or Kill -1

9.

In Which File Port No’s Are Defined?

Answer»

# /etc/service

# /etc/service

10.

Tell Me The Port For Telnet, Ftp,nis,ssh,nfs?

Answer»

FTP = 21ssh = 22Telnet = 23nfs = 2049nis = 749

ftp = 21ssh = 22Telnet = 23nfs = 2049nis = 749

11.

How Will You Restart The Inetd Process?

Answer»

# Pkill –HUP INETD

# Pkill –HUP inetd

12.

What Is Nice And Renice Command Do?

Answer»

To SET the HIGH priority for the process

-20 high priorities
+20 low priorities

EG: # NICE –20 oracle

To set the high priority for the process

-20 high priorities
+20 low priorities

Eg: # nice –20 oracle

13.

Which Service Assign Port No Dynamically?

Answer»

RPC SERVICE ( /etc/rpc)

Rpc service ( /etc/rpc)

14.

What Are Performance Tool Used?

Answer»

IOSTAT ,VMSTAT , prstat , SAR ,NETSTAT, TOP

Iostat ,vmstat , prstat , sar ,netstat, top

15.

As A User How He Can Change Is Passwd With Root Privilege.?

Answer»

SETUID to SET on /usr/bin/passwd COMMAND

Setuid to set on /usr/bin/passwd command

16.

What Is Default Permission Of /etc/passwd , /etc/shadow Files?

Answer»

/etc/passwd: 644
/etc/shadow: 400

/etc/passwd: 644
/etc/shadow: 400

17.

What Is Default Permission Of Files And Directory?

Answer»

FILE: 644
directory: 755

file: 644
directory: 755

18.

Explain Setuid, Setgid And Stickybit?

Answer»
  • Setuid : When setuid permission SET on a executable file, user who access the file is granted access permission of the owner of the file.

# find / -prem –4000

  • setgid : Permission SIMILAR to setuid, The process is changed to owner of the file.

# find / -prem –2000

  • Stickybit : It is a SPECIAL permission that protect the files WITHIN a public writable directory. Stickybit permission set the SHARED directory, user can create a files or directory. But only by owner of the directory can modify or delete.

# find / -prem –1000

# find / -prem –4000

# find / -prem –2000

# find / -prem –1000

19.

How To Set Passwd Never Expire For A User?

Answer»

#PASSWD –x –1 (USERNAME)

#passwd –x –1 (username)

20.

How To Find The Kernel Bit Version Or Architecture?

Answer»

# isainfo –kv

# isainfo –kv

21.

How To Enable And Disable The Dtlogin?

Answer»

# /usr/dt/bin/dtconfig –e ( ENABLE)
# /usr/dt/bin/dtconfig –d ( DISABLE)

# /usr/dt/bin/dtconfig –e ( enable)
# /usr/dt/bin/dtconfig –d ( disable)

22.

How To Change The Hostname And Ethernet Address In Single Command ?

Answer»

# /usr/sbin/sys-unconfig

# /usr/sbin/sys-unconfig

23.

How Do You Add The Disk Without Reboot The Server?

Answer»

# devfsadm –c DISK

# devfsadm –c disk

24.

How To Delete “abc” Files Using Find Command ?

Answer»

# FIND / -NAMEABC” –exec RM {};

# find / -name “abc” –exec rm {};

25.

How To Start / Stop The Nfs Server ?

Answer»

# /etc/init.d/nfs.server START
# /etc/init.d/nfs.server STOP

# /etc/init.d/nfs.server start
# /etc/init.d/nfs.server stop

26.

How To Find Out The Shared File System From Server And Client ?

Answer»

SERVER : # SHARE & dfmount
Client : # showmount –e (HOSTNAME) and dfshares

Server : # share & dfmount
Client : # showmount –e (hostname) and dfshares

27.

To Find The Obp Environment Variable?

Answer»

OK printenv

OK printenv

28.

What Is Difference Between Hard And Soft Mount?

Answer»

Hardmount: Normal file system mount used mainly for mounting local file systems. Once a file system is hard mounted, can use a normal FILESYSTEM untill its umount.

Soft mount: It allows AUTOMATIC UNMOUNTING if the filesystem is IDLE for a specified timeout PERIOD. It is mainly used for network filesystems like NFS It can be configured using Autofs and the network filesystem can be soft mounted.

Hardmount: Normal file system mount used mainly for mounting local file systems. Once a file system is hard mounted, can use a normal filesystem untill its umount.

Soft mount: It allows automatic unmounting if the filesystem is idle for a specified timeout period. It is mainly used for network filesystems like NFS It can be configured using Autofs and the network filesystem can be soft mounted.

29.

Which Command To Lock The User Account?

Answer»

# LK USERNAME

# lk username

30.

How To Boot The Solaris System In 64 0r 32 Bit Kernel?

Answer»

For 64 BIT:
# EEPROM boot-file=”/kernel/sparc9/unix
or
OK printenv boot-file
OK settenv boot-file kernel/sparc9/unix

For 32 bit:
# eeprom boot-file=”/kernel/unix
or
OK printenv boot-file
OK settenv boot-file kernel/unix

For 64 bit:
# eeprom boot-file=”/kernel/sparc9/unix
or
OK printenv boot-file
OK settenv boot-file kernel/sparc9/unix

For 32 bit:
# eeprom boot-file=”/kernel/unix
or
OK printenv boot-file
OK settenv boot-file kernel/unix

31.

What Are Processing Daemon In Nis?

Answer»

Ypserv
Ypbind

Ypserv
Ypbind

32.

What Are The Daemons In Nis Server?

Answer»

rpc.yppasswdd
Ypxfrd
rpc.ypupdated

rpc.yppasswdd
Ypxfrd
rpc.ypupdated

33.

Explain Raid0, Raid1, Raid3?

Answer»

RAID 0 Concatenation/Striping
RAID 1 Mirroring
RAID 5-Striped array with rotating parity.

  • Concatenation: Concatenation is joining of two or more disk slices to add up the disk space. Concatenation is serial in nature i.e. sequential DATA operations are performed serially on first disk then second disk and so on. Due to serial nature new slices can be added up without having to take the backup of entire concatenated volume, adding slice and restoring backup.
  • Striping: Spreading of data over multiple disk drives mainly to enhance the performance by distributing data in alternating chunks – 16 k interleave ACROSS the stripes. Sequential data operations are performed in parallel on all the stripes by reading/WRITING 16k data blocks alternatively form the disk stripes.
  • Mirroring: Mirroring PROVIDES data redundancy by simultaneously writing data on to two sub mirrors of a mirrored device. A submirror can be a stripe or concatenated volume and a mirror can have three mirrors. Main concern here is that a mirror needs as much as the volume to be mirrored.
  • RAID 5: RAID 5 provides data redundancy and advantage of striping and uses less space than mirroring. A RAID 5 is made up of at least three disks, which are striped with parity information written alternately on all the disks. In CASE of a single disk failure the data can be rebuild using the parity information from the remaining disks.

RAID 0 Concatenation/Striping
RAID 1 Mirroring
RAID 5-Striped array with rotating parity.

34.

Where Will Be The Configuration For Metadevice?

Answer»

#/etc/lvm/md.tab

or

#/etc/opt/SUNWmg/md.tab

#/etc/lvm/md.tab

or

#/etc/opt/SUNWmg/md.tab

35.

What Is The Physical Device To Check The 2 Nodes Connect In Cluster ?

Answer»

PHYSICAL FIBER cable which is connect to the 2 NODES is CALLED a HTEARTBEAT

Physical fiber cable which is connect to the 2 nodes is called a HTEARTBEAT

36.

How Will You Take Ufsdump And Ufsrestore In A Sing Command Line?

Answer»

# UFSDUMP 0F – /dev/rdsk/c0t0d0s6 | (CD /mnt/haz UFSRESTORE XF -)

# ufsdump 0f – /dev/rdsk/c0t0d0s6 | (cd /mnt/haz ufsrestore xf -)

37.

To Check The Status Of The Media Inserted On The Tape Drive ?

Answer»

# MT /dev/rmt/0 STATUS

# mt /dev/rmt/0 status

38.

Syntex To Execute A Ufsdump ?

Answer»

# UFSDUMP 0uf /dev/rmt/1

# ufsdump 0uf /dev/rmt/1

39.

Difference Between Ufs And Tar Command?

Answer»

ufsdump: 

  1. Used for complete file SYSTEM backup.
  2. It copies every THING from regular files in a file system to special CHARACTER and block device files.
  3. It can work on mounted or UNMOUNTED file systems.

Tar:

  1. Used for single or multiple files backup.
  2. Can’t backup special character & block device files.
  3. WORKS only on mounted file system.

ufsdump: 

Tar:

40.

What Is Different Between Crontab And At Command?

Answer»

CRONTAB: JOB can be SCHEDULED

At: Job can be a RUN once only

Crontab: job can be scheduled

At: Job can be a run once only

41.

How Many Ufsdump Level?

Answer»

0-9 LEVEL

0 = Full BACKUP

1-9 = Incremental backup of file,That have CHANGED since the last LOWER level backup.

0-9 level

0 = Full Backup

1-9 = Incremental backup of file,That have changed since the last lower level backup.

42.

What Is Difference Between Incremental Backup And Differential Backup?

Answer»

Incremental: Only those files will be INCLUDED which have been changed SINCE the LAST backup.

DIFFERENTIAL: Only those files will be included which have been changed since the last Full backup.

Incremental: Only those files will be included which have been changed since the last backup.

Differential: Only those files will be included which have been changed since the last Full backup.

43.

How Will You Comment Error Line In /etc/system File ?

Answer»

# VI /etc/system

(To comment the ERROR LINE in /etc/system files, we have to USE *)

# Vi /etc/system

(To comment the error line in /etc/system files, we have to use *)

44.

Cannot Open ‘/etc/path_to_inst'” ?

Answer»

System can not find the /etc/path_to_install file. It might be missing or corrupted and needs to be rebuild.

To rebuild this file boot the system with -ar option :

ok>boot -ar

PRESS enter to SELECT default VALUES for the QUESTIONS asked during booting and select yes to rebuild /etc/path_to_install

The /etc/path_to_inst on your system does not exist or is empty. Do you WANT to rebuild this file [n]? y

system will continue booting after rebuilding the file.

System can not find the /etc/path_to_install file. It might be missing or corrupted and needs to be rebuild.

To rebuild this file boot the system with -ar option :

ok>boot -ar

Press enter to select default values for the questions asked during booting and select yes to rebuild /etc/path_to_install

The /etc/path_to_inst on your system does not exist or is empty. Do you want to rebuild this file [n]? y

system will continue booting after rebuilding the file.

45.

What Is Mean By Paging & Server Average Time?

Answer»

If a disk shows consistently HIGH reads/writes along with , the percentage BUSY (%b) of the disks is greater than 5 percent, and the average service time (svc_t) is greater than 30 milliseconds, then one of the following action needs to be taken

If a disk shows consistently high reads/writes along with , the percentage busy (%b) of the disks is greater than 5 percent, and the average service time (svc_t) is greater than 30 milliseconds, then one of the following action needs to be taken

46.

Is It Possible To Edit The Crontab Using Vi, It Is Not Recommended But It Is Possible By Editing?

Answer»

47.

Is It Possible To Create Swap In New Hard Disk Without Format ?

Answer»

“ No “ WITHOUT LABEL the DRIVE, you can’t do ANYTHING

“ No “ without label the drive, you can’t do anything

48.

What Is An Alternative To The “top” Command On Solaris?

Answer»

# prstat –a

# prstat –a