Core Java - Interview Questions and Answers

1. What is the most important feature of Java?
Java is a platform independent language.

2. What do you mean by platform independence?
Platform independence means that we can write and compile the java code in one platform (eg Windows) and can execute the class in any other supported platform eg (Linux,Solaris,etc).

3. What is a JVM?
JVM is Java Virtual Machine which is a run time environment for the compiled java class files.

4. Are JVM's platform independent?
JVM's are not platform independent. JVM's are platform specific run time implementation provided by the vendor.

5. What is the difference between a JDK and a JVM?
JDK is Java Development Kit which is for development purpose and it includes execution environment also. But JVM is purely a run time environment and hence you will not be able to compile your source files using a JVM.

Q) Q) What is Linux and why is it so popular?
Answer - Linux is an operating system that uses UNIX like Operating system.......

Q) Q) What is LILO?
Answer - LILO is Linux Loader is a boot loader for Linux. It is used to load Linux into the memory and start the Operating system.......

Q) Q) What is the difference between home directory and working directory?

Answer - Home directory is the default working directory when a user logs in. On the other hand, working directory is the user’s current directory.......

Q) Q) What is the difference between internal and external commands?

Answer - Internal commands are commands that are already loaded in the system. They can be executed any time and are independent.......

Q) Explain the difference between a static library and a dynamic library.

Answer - Static libraries are loaded when the program is compiled and dynamically-linked libraries are loaded in while......


Answer - LD_LIBRARY_PATH is an environment variable. It is used for debugging a new library or a non standard library.......

SQL Server, DBA interview questions

Questions are categorized under the following sections, for your convenience:
  1. Database design (8 questions)
  2. SQL Server architecture (12 questions)
  3. Database administration (13 questions)
  4. Database programming (10 questions)
  5. Database design

Q1.   What is normalization? Explain different levels of normalization?
ü  Check out the article Q100139 from Microsoft knowledge base and of course, there’s much more information available in the net. It’ll be a good idea to get a hold of any RDBMS fundamentals text book, especially the one by C. J. Date. Most of the times, it will be okay if you can explain till third normal form.

Q2.   What is denormalization and when would you go for it?
ü  As the name indicates, denormalization is the reverse process of normalization. It’s the controlled introduction of redundancy in to the database design. It helps improve the query performance as the number of joins could be reduced.

Network Admin Interview Questions & Answers.

Q1. What are 10Base2, 10Base5 and 10BaseT Ethernet LANs
10Base2—An Ethernet term meaning a maximum transfer rate of 10 Megabits per second that uses baseband
signaling, with a contiguous cable segment length of 100 meters and a maximum of 2 segments.
10Base5—An Ethernet term meaning a maximum transfer rate of 10 Megabits per second that uses baseband
signaling, with 5 continuous segments not exceeding 100 meters per segment.
10BaseT—An Ethernet term meaning a maximum transfer rate of 10 Megabits per second that uses baseband
signaling and twisted pair cabling.

Q2. What is the difference between an unspecified passive open and a fully specified passive open
An unspecified passive open has the server waiting for a connection request from a client. A fully specified passive open has the server waiting for a connection from a specific client.

Q3. Explain the function of Transmission Control Block
A TCB is a complex data structure that contains a considerable amount of information about each connection.

Q4. What is a Management Information Base (MIB)
A Management Information Base is part of every SNMP-managed device. Each SNMP agent has the MIB database that contains information about the device's status, its performance, connections, and configuration. The MIB is queried by SNMP.

VMware Admin Interview Questions

1. VMWare Kernel is a Proprietary Kenral and is not based on any of the UNIX operating systems,

 it's a kernel developed by VMWare Company. 

2. The VMKernel can't boot it by itself, so that it takes the help of the 3rd party operating system. 

In VMWare case the kernel is booted by RedHat Linux operating system which is known as service console. 

3. The service console is developed based up on Redhat Linux Operating system,

 it is used to manage the VMKernel  

4. To restart webaccess service on vmware

service vmware-webaccess restart – this will restart apache tomcat app 

5. To restart ssh service on vmware

service sshd restart 

6. To restart host agent(vmware-hostd) on vmware esx server

service mgmt-vmware restart 

7. Path for the struts-config.xml


Before Going To Interview

Important Tips for Before Going on ANY Interview

ü  Keep your answers as short and succinct as possible, using specific examples or scenarios to demonstrate your experience, ability and knowledge. Don't "ramble"!

ü  Before you go to the interview, consider your long term career goals and your personal attributes. Be sure that they are not in conflict with the job on offer or with what your are asked to do.

ü  You have to make a strengths and weakness analysis for yourself, before you go to the interview. Remember, you want to show your strengths in the best light and the better you know yourself, the better you will perform in an interview.

ü  Be honest about your own capabilities, for example, don’t position yourself as a team player if you are a loner, (see some comments and questions you should ask yourself below) it may get you the job, in the short term. But in the long term, you will be unhappy and you will be looking for another job soon!

ü  When it comes to times in life when we are put under a lot of stress, not much can prepare to the days leading up to an interview for job you really want. If you are preparing for an interview and you are losing sleep and feeling unsure of yourself, there is no need to read too much into these problems.

Windows Admin Interview Questions & Answer

  1. What is Active Directory?
  2. What is LDAP?
  3. Can you connect Active Directory to other 3rd-party Directory Services? Name a few options.
  4. Where is the AD database held? What other folders are related to AD?
  5. What is the SYSVOL folder?
  6. Name the AD NCs and replication issues for each NC
  7. What are application partitions? When do I use them
  8. How do you create a new application partition
  9. How do you view replication properties for AD partitions and DCs?
  10. What is the Global Catalog?
  11. How do you view all the GCs in the forest?
  12. Why not make all DCs in a large forest as GCs?
  13. Trying to look at the Schema, how can I do that?
  14. What are the Support Tools? Why do I need them?
  15. What is LDP? What is REPLMON? What is ADSIEDIT? What is NETDOM? What is REPADMIN?
  16. What are sites? What are they used for?
  17. What’s the difference between a site link’s schedule and interval?
  18. What is the KCC?
  19. What is the ISTG? Who has that role by default?
  20. What are the requirements for installing AD on a new server?
  21. What can you do to promote a server to DC if you’re in a remote location with slow WAN link?
  22. How can you forcibly remove AD from a server, and what do you do later? • Can I get user passwords from the AD database?
  23. What tool would I use to try to grab security related packets from the wire?
  24. Name some OU design considerations.
  25. What is tombstone lifetime attribute?
  26. What do you do to install a new Windows 2003 DC in a Windows 2000 AD?
  27. What do you do to install a new Windows 2003 R2 DC in a Windows 2003 AD?
  28. How would you find all users that have not logged on since last month?
  29. What are the DS* commands?
  30. What’s the difference between LDIFDE and CSVDE? Usage considerations?