Thursday, 27 August 2015

Interview Questions at ORACLE Bangalore

Below are the interview questions asked at Oracle for Build and Release designation with 2 plus years experience.

1. What are your roles and responsibilities?
2. How do you check history in SVN?
3. How to check logs of a particular author in SVN?
4. Describe Hudsons/Jenkins. Which one does your company use?
5. The difference between Hudson and Jenkins?
6. Describe how you deploy your war file and to which server do you deploy?
7. What are the two ways of deploying the war/ear?
8. What is ear?
9. How many environments do you have?
10. What do you provide your customer? Is it EAR/WAR or source code?
11. What Ant installer is used in Jenkins to invoke Ant?
12. Can you write Pre-commit and Post-commit hook script?
13. Did you see your client web app after deployment?

Interview Questions at Speridian Technologies

Below Interview Questions asked at Speridian Technologies for Build and Release profile, for 2 + years experience in Bangalore.

1. What is Version Control System?
2. What is Jenkins?
3. Describe the workflow of your company?
4. what is the process of deploying the patch?
5. If the latest revision of branch contains unstable code/ bugs then from where do we restore our stable  code?
6. What are tags?
7. What is Build Goal? What is POM?
8. What is Build life cycle in Maven?
9. What are the differences between Maven and Ant?
10. How do you deploy your application tool?

Friday, 9 January 2015

How to set permanent environment variables in Ubuntu ?

To set environment variables in Ubuntu:

1) Open /etc/environment file.
   This command helps to edit the file: sudo gedit /etc/environment

2) Add your environment variable in /etc/environment file as shown below.

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/SCM/softwares/gradle-2.2.1/bin:/home//SCM/softwares/apache-ant-1.9.4/bin"


3) Restart your machine.

We can also use export command for setting environment variable. To make it permanent we need to include in ~/.bash_profile or ~/.profile or /etc/profile file.

Tuesday, 12 August 2014

Linux and shell script interview questions


  1. Write a script to print the first 10 elements of Fibonacci series?
  2. I want to create a directory such that anyone in the group can create a file and access any person's file in it but none should be able to delete a file other than the one created by himself.
  3. In my bash shell I want my I want my prompt to be of format '$" Present working directory" : "hostname" > and  load a file containing a list of user defined functions as soon as I log in, how will you automate this?
  4. Print the 10th line without using tail and head command.
  5. Given a file, write a command sequence to find the count of each word.
  6. Given a file, replace all occurrence of word "ABC" with "DEF" from 5th line till the end in only those lines that contains word "MNO".
  7. Use sed command to replace the content of the file [if cat file1 ABCD EFGH then output should be EFGH ABCD].
  8. How will you find the 99th line of a file using only tail and head command?
  9. I have 2 files and  I want to print the records which are common to both. Which command should I use?
  10. How will you connect to a database server from linux ?


NOTE:For 3 + years experience.

Saturday, 21 June 2014

What is Devops ?

Having knowledge and experience from development and operations is known as DevOps. These people/team is responsible for all the activities from development to production. They make sure development life cycle goes smooth. Some of the concepts are: 
  1. Continuous Integration (CI).
  2. Continuous Deployment (CD). 
  3. Continuous Delivery(CD).
  4. Build Automation
  5. Deployment Automation
  6. Source Code Management.
  7. Application Server Knowledge.
Generally, The T-Shaped profiles (eg: Person who has depth knowledge in development and have knowledge also in CI and CD) are ideal for DevOps Team.