What is hibernate (Java)? Hibernate is an object-relational mapping (ORM) library for the Java language, providing a framework for mapping an object-oriented domain model to a traditional relational database. Hibernate solves object-relational impedance mismatch problems by replacing direct persistence-related database accesses with high-level object handling functions. Why do you need an ORM tool like Hibernate? […]
Interview Questions
Objective C Interview Questions and Answers
What is #import? It’s a C preprocessor construct to avoid multiple inclusions of the same file. #import <Object.h> is an alternative to: #include <Object.h> where the .h file is protected itself against multiple inclusions: #ifndef _OBJECT_H_ … #define _OBJECT_H_ #endif What is id? It’s a generic C type that Objective-C uses for an arbitrary object. […]
Puppet Interview Questions and Answers
What is Puppet? Puppet is a configuration tool that is used to automate administration tasks. Puppet Agent(Client) sends requests to Puppet Master (Server) and Puppet Master Push Configuration on Agent. What is Manifests? Manifests, in Puppet, are the files in which the client configuration is specified. What is Module and How it is different from […]
Load Balancer Interview Questions & Answers
What is Server Load Balancing? Server Load Balancing (SLB) provides network performance and content delivery by implementing a series of algorithms and priorities to respond to the specific requests made to the network. In simple terms, SLB distributes clients to a group of servers and ensures that clients are not sent to failed servers. What […]
HP Unix Interview Questions and Answers
How to find recently added lun in hp unix box? # ls -lrt /dev/disk/* then take the latest dated disk path and check th lun path: # inq |grep -i “c?t?d?” if you got /dev/disk/c?t?d? then get the legacy path and tehn check for lun path: # ioscan -m dsf /dev/disk/c?t?d? # inq |grep -i […]
Linux Network File System (NFS) interview questions
What is NFS? Network File System (NFS) is one of the oldest computer file sharing products in existence today. It is still the most popular for sharing directories of files between UNIX and Linux systems. NFS allows servers to designate specific directories to make available to designated hosts and then allows client systems to connect […]
Linux Interview Questions – Linux Printing (CUPS)
This post covers the most often asked how-to questions about Linux printing support. What tool provides Linux printing support? CUPS, the Common Unix Printing System What kinds of printers can be attached to a Linux system? Linux support printers which are connected using any of the following: Locally Attached Printer (LPT) through a local parallel […]
Linux Interview Questions – Basic File and Directory Permissions
What are Basic Linux File permissions? Linux, like UNIX, is a multi-user system, and file permissions are one way the system protects against malicious tampering. One way to gain entry when you are denied permission is to su to root. Keep in mind, whoever knows the root password has complete access. But switching to the […]
Linux Interview Questions : Open Files / Open File Descriptors
What is an open file? An open file may be a regular file, a directory, a block special file, a character special file, an executing text reference, a library, a stream or a network file. What is file descriptor? A file descriptor is a data structure used by a program to get a handle on […]
Linux interview questions – Special permissions (SUID, SGID and sticky bit)
There are two special permissions that can be set on executable files: Set User ID (setuid) and Set Group ID (sgid). These permissions allow the file being executed to be executed with the privileges of the owner or the group. Similarly, there are two special permissions for directories: the sticky bit and the setgid bit. […]