If you're looking for Sun Solaris Administration Interview Questions for Experienced or Freshers, you are at the right place. There are a lot of opportunities from many reputed companies in the world. According to research, Sun Solaris has a market share of about 3.8%. So, You still have the opportunity to move ahead in your career in Sun Solaris Admin. Mindmajix offers Advanced Sun Solaris Administration Interview Questions 2020 that helps you in cracking your interview & acquire dream career as Sun Solaris Administrator.
If you would like to become a Sun Solaris Administration certified professional, then visit Mindmajix - A Global online training platform: "Sun Solaris Administration training and Certification Course". This course will help you to achieve excellence in this domain.
Solaris Interview Questions
Q1) How does Solaris operating system boots?
Ans: The boot procedure of the operating system can be divided into four categories namely:
3. Init phases
4. Kernel initialization
Q2) Can you explain each of the phases involved in booting the operating system?
Ans: Post – As you switch on the power, it will identify the hardware and certain other information such as system ID, memory division, serial number, architecture type and IP address. In addition, it also loads a program that is known as bootblk.
OBPROM –This abbreviation stands for an open bootable program. It helps –
1. Diagnose hardware and memory of the operating system.
2. Create device subdivision and load book block from 0-15 sector and it is known as secondary book programmable ufsboot.
3. Initialize boot functions.
Kernel Initialization – In this stage, ufsboot loads the kernel which in turn loads all necessary modules of the device. This is further required for root partition that helps continue with the booting procedure.
Init stage – It starts as you execute the init program and begin other program reading /etc/inittab files, similar to the directory in the form of /etc/inittab files.
Q3) What to use to use ‘top’ command on Solaris operating system?
Ans: An alternative to the ‘top' command is to use ‘# prstat –a’ while working on the above mentioning operating system.
Q4) What do you understand by Solaris?
Ans: It is a UNIX based operating system which supports workstations and server operating from Sun. It can also be regarded as a recognized operating system that is widely used. Further, it is available from server vendors and also known as the successor of sun operating system.
Q5) How many types of installation of the OS are available and explain each of them?
Ans: There are seven types of installation of the Solaris operating system and they are as follows:
1. Solaris installation program is the general way in which you can install the OS with the help of a DVD or CD ROM.
2. Installation procedure over the network – Installing the operating system using a server that has easy access to Solaris disc images.
3. Flash installation – With the help of this process, the installation can be carried out via a master system.
4. Custom jumpstart installation – This process is known as a command-line interface in which several systems can be installed or upgraded at the same time using the profile created.
5. Solaris Live Upgrade process – This can be done even when the current operating system environment is running.
6. WAN BOOT process – This can be carried out by installing the operating system over a wide area network via HTTP.
7. Solaris zones – After the installation of the operating system is completed, ‘Zones’ can be configured and installed. One such is the global zone which can be considered as the currently running operating environment.
Q6) How many RAID levels are present in this operating system?
Ans: RAID stands for Redundant Array of Inexpensive or Independent Disks. It has six levels such as RAID Level 0 – RAID Level 6.
Q7) Do you have any idea about run levels in the Solaris operating system?
Subscribe to our youtube channel to get new updates..!
Ans: There are mainly eight-run levels in this operating system, and they are as follows:
0 – it is used during power downstate
s or S – for a single user
1 – the administrative state
2 – Multi-user state
3 –multi-use with NFS state
4 – alternative multi-user
5 – power down
6 – Reboot state
Q8) How can you end any process in this operating system?
Ans: Whether you are a superuser or root user, you should know how to terminate the process of another user on the operating system. In addition, to terminate any process, you also need to obtain PID of the process.
Q9) In this operating system, can you explain the difference between dsk and rdsk?
Ans: DSK is a block-level device. FS which is formatted is known as a block device. Rdsk is a raw level device in this operating system.
Q10) How can you find reserve space of disk?
Ans: # fstyp –v /dev/rdsk/c1d0s0 | grep minfree
Q11) How to find out the location of alternative backup superblocks?
Ans: # newfs –N /dev/rdsk/c0t0d0s2
Q12) Do you know how to reduce reserved disk space while working on this operating system?
Ans: Yes, the reserved space can be reduced to 2% using ‘# tunefs –m 2 /dev/rdsk/c1d0s0.’
Q13) What are the steps to check for installed packages?
Ans: # pkginfo |more
# pkginfo –l
Q14) What do you understand by NFS daemons?
Ans: In order to support NFS activities, the NFS daemons are available in various types and they are as follows:
1. Automount – It helps in mounting and unmounting requests with the help of autofs service.
2. Mounted – It takes care of mount requests and gives information regarding mounting nfs activities.
3. Lockd – It helps file locking both for nfs server and clients.
4. Nfsd – It helps in file exporting within the operating system and access file from remote clients, and it is used in run level 3.
5. Nfslogd – With the help of this, the daemons help in providing logging information.
6. Nfsmapid – It gives information pertaining to User identification or any group identification for representation.
7. Statd – It helps to give recovery and crash data while working on this operating system.
Q15) What is the function of pkgadd command?
Ans: This command helps to install signed or unsigned software. In addition, it also helps to remove any existing packing that is present with the same file name as that of the one that you are trying to add.
Syntax - pkgadd –a admin_file –d device-name pkgid
For verifying whether the package is installed or not, you can use:
‘#pkgchk –v pkgid’
Q16) How does Solaris cluster work?
Ans: The cluster configuration of the operating system consists of both hardware and software components
Hardware components –
1. Servers with local storage
2. Cluster interconnections
3. Public network functions
4. Share storage
5. Administrative workstation service
Software components –
1. Data services function
2. Operating system cluster software and help in communicating customers
3. The operating system running on each node
The server in this operating system uses private interconnections to connect with different customers. The interconnect helps in analyzing the cluster information which is also known as a heartbeat. With the help of the servers, it is able to examine the working of other servers present within the cluster and also ensure that all servers are functioning properly. In case any of the servers fail to function, it disappears and thus it is no more considered part of the cluster. In order to distinguish the failed server from the others, the ‘fail-over' term is used, and the clusters are categorized according to their high rates of availability within the operating system.
Q17) How to login to the Solaris operating system and what is the login shell used for the same?
- The Solaris can be considered a secured platform and the users need to login credentials to get access to the same. Before starting the operating system, the ‘hostname console login: Rohit’ message would pop up on the screen.
- Following this, as soon as the user presses on the ‘return’ option, he or she is asked to use the password for the account. To keep the password safe, it does not come up on the screen, and instead, it is displayed in the form of dots. When the user enters a command with the help of terminal or GUI, the user is actually providing the required information to the command interpretation system which is also called a shell. The shell takes in various inputs in the form of commands and gives the output that is executed within the operating system. The default shell for the Solaris operating system is the Bourne shell.
- Among the various types of shells available in the operating system, some of them are C shell, Korn shell, GNU Bourne shell, and many others. After logging into the system, if the user is able to see the command prompt on the screen, it indicates the functioning of the shell has been initiated in the operating system. Therefore, this is known as the login shell.
Q18) What do you understand by The Command ‘Ls’?
Ans: With the help of this command, you can have access to the main directory. In addition, it also permits you to access the files present in the operating system. It shows and prints different ownerships file accessibility, the file name including all its other details.
Q19) State the difference between setting files on the operating system with the help of octal and symbolic codes?
Ans: The primary point of difference between the two is that the former one is relative whereas the later one is present in numeric codes. The settings remain unchanged with the help of symbolic codes in the operating system.
Q20) While working on the Solaris operating system, how can the user help check any process?
Ans: The system creates an independent process after reading command, and the process comes with a PID relating to the process. In order to maintain the track of each process, the PID has been created. For finding any process, the PS command is enough to help the users. After the user executes PS command, it shows:
1. PID of the concerned process
2. The initiation point of any process
3. The CPU time consumed by the process
Q21) Explain the difference between Solaris 9 and Solaris 10?
Ans: The primary difference between the two is SMF or Solaris Management Facility. Other than this, in case you are working on Solaris 9, for the malfunctioning of any service, restarting all the service is enough to resolve the issue, whereas, in Solaris 10, for any particular faulty service, you can enable and disable the same without restarting all of them.
Q22) Do you have any idea about LOM? How can you access it?
Ans: LOM stands for Lights out management. Some of the Sun servers try to use the server by connecting it with a rollover cable that LOM port to a laptop. The user need not turn on the server, but they only need to power it on and as said before, connect the laptop to the LOM port and then operate the connected server. In addition, you also need to use the IP address of the server to establish the required connection.
Q23) Which command is required to display the default boot device and re-configure the device from the reboot process?
Ans: To display the default boot device, ‘eeprom boot-device’ command is used. And for reconfiguring devices from the reboot process, ‘Devfsadm’ is used.
Q24) Why does the Solaris operating system slow down? Mention ways for its rectification?
Ans: The system can start to function slowly when there are faults in the kernel memory leak. It takes place when a process consumes a certain part of the memory which is unable to release back to the operating system. Following this, in case of any object-oriented program, the object that lies within memory, cannot be accessed. There are two reasons for memory leaks, and they are as follows.
1. NFS cache – Cache memory can result in memory leakage within the operating system. Similarly, memory leakage can also take place due to the NFS client. To rectify the same, the user has to add ‘set nrnode =1000’ to the system and then save it and reboot the system.
2. Bug – It is found inside the volume management system driver, and as this driver is unloaded, it results in memory leakage. This bug usually affects the system that fails to function smoothly. However, this bug can be used with the help of patches that are compatible to work on both SPARC and x 86 platforms.