50 TOP Build and Release Engineer Interview Questions and Answers [UPDATED]

If you’re looking for Build and Release Engineer Questions and whether you’re experienced or fresher & don’t know what kind of questions will be asked in Build and Release Engineer job interview, then go through the below Real-Time 50 Top Build and Release Engineer Interview Questions and Answers to crack your job interview.

Build and Release Engineer Interview Questions and Answers

  • Question: Difference Between Jar , War And Ear ?

    Answer :

    • Jar is Java Archive i.s compressed Class or Class / Java files.
    • War comprises of compressed Servlet class files,JSP FIles,supporting files, GIF and HTML files.
    • Ear comprise of compressed Java and web module files ( was files ).
  • Question: Have You Created Any Build Script Yourself ?

    Answer :

    Yes, I have worked on many build scripts in last few years.

  • Question: How Can I Change The Default Location Of The Generated Jar When I Command “mvn Package”?

    Answer :

    By default, the location of the generated jar is in ${project.build.directory} or in your target directory. We can change this by configuring the outputDirectory of maven-jar-plugin.

  • Question: How Can I Change The Default Location Of The Generated Jar When I Command “mvn Package”?

    Answer :

    By default, the location of the generated jar is in ${project.build.directory} or in your target directory. We can change this by configuring the outputDirectory of maven-jar-plugin.

  • Question: How Do I Determine Which Pom Contains Missing Transitive Dependency?

    Answer :

    run mvn -X

  • Question: How Is Attenuation Happens From Jenkins To Remote Server?

    Answer :

    we have already like password less log in enable, so from Jenkins server any one login to the remote the Linux server and all without asking the password the key exchange is already done.

  • Question: What Are The Benefits Of Transitive Dependency In Maven ?

    Answer :

    Transitive dependencies allows to avoid specifying the libraries that are required by the project which are specified in other dependent projects – Remote or Local.

  • Question: What Are The Various Ways In Which Build Can Be Scheduled In Jenkins ?

    Answer :

    • Builds can be triggered by source code management  commits.
    • Can be triggered after completion of other builds.
    • Can be scheduled to run at specified time ( crons )
    • Manual Build Requests
  • Question: What Factors Influence The Opening Of A Feature Branch?

    Answer :

    Typically, feature branches are created in cases where the new feature or enhancement has broad-sweeping changes to the code base such that introducing them in the trunk may be too disruptive. Also, feature branches may be used for prototyping or proof-of-concept for code that may never end up in trunk.

  • Question: What Is A Cyclic Dependency ?

    Answer :

    • A has dependency of B, B has dependency of C and C has dependency of A,architecture,technical lead
    • With Maven 2 , came transitive dependency wherein in above scenario, C will acts as a dependency of A as if this dependency has been defined directly in A but the negative side is that if it leads to cyclic dependency , it creates problems.
  • Question: What Is A Transitive Dependency ? Can We Override Transitive Dependency Version And If Yes, How ?

    Answer :

    Transitive dependency is the dependencies not defined directly in the current POM but the POM of the dependent projects. 

    Yes we can override transitive dependency version by specifying the dependency in the current POM.

  • Question: What Is A Transitive Dependency? Can We Override Transitive Dependency Version And If Yes, How?

    Answer :

    • Transitive dependency is the dependencies not defined directly in the current POM but the POM of the dependent projects.
    • Yes, we can override transitive dependency version by specifying the dependency in the current POM.
  • Question: What Is Jenkins ?

    Answer :

    It is a continuous integration tool written in Java.

  • Question: What Is Maven’s Order Of Inheritance?

    Answer :

    1. parent pom
    2. project pom
    3. settings
    4. CLI parameters
  • Question: What Is Maven’s Order Of Inheritance?

    Answer :

    • parent pom
    • project pom
    • settings
    • CLI parameters
  • Question: What Is Repository ?

    Answer :

    Repository is the heart of any version control system. It is central place where developers store all their work. Repository not only stores files but also history. Repository is accessed over a network, with repository acting as a server and version control tool acting as a client. Client can connect to repository, and then they can store/retrieve their changes to/from repository.

  • Question: What Is The Best Practice Configuration Usage For Files – Pom.xml Or Settings.xml ?

    Answer :

    The best practice guideline between settings.xml and pom.xml is that configurations in settings.xml must be specific to the current user and that pom.xml configurations are specific to the project.

  • Question: What Is The Best Practice Configuration Usage For Files – Pom.xml Or Settings.xml?

    Answer :

    The best practice guideline between settings.xml and pom.xml is that configurations in settings.xml must be specific to the current user and that pom.xml configurations are specific to the project.

  • Question: What Is The Difference Between Compile And Install ?

    Answer :

    • Compile compiles the source code of the project 
    • whereas
    • Install installs the package into the local repository, for use as a dependency in other projects locally
  • Question: What Is The Difference Between Maven, Ant And Jenkins ?

    Answer :

    Maven and Ant are Build Technologies whereas Jenkins is a continuous integration tool.

  • Question: What Is The Purpose Of Continuous Integration For A Development Team?

    Answer :

    • The primary purpose of CI is to provide regular, fast feedback to developers as they commit changes to the shared code repository (VCS).
    • The idea being that we’re always integrating our code on commit, so that when conflicts arise, they can be addressed more quickly and easily than if the changes had been made days, week, or even months ago.
  • Question: What Is The Use Of !! Command ? Can I Use It With Conjunction To Some Other String To Complete A Command ?

    Answer :

    Its used to execute last command. Yes this can be used with other string to execute new command. For eg – if ls was the last command, We can execute !! -l for having the long listing.

  • Question: What Is The Use Of !! Command? Can I Use It With Conjunction To Some Other String To Complete A Command?

    Answer :

    It’s used to execute last command. Yes, this can be used with other string to execute new command. For eg – if ls was the last command, we can execute !! -l for having the long listing.

  • Question: What Technologies Have You Worked With For Build Management ?

    Answer :

    Ant and Maven

  • Question: Which Scm Tools Jenkins Supports ?

    Answer :

    AccuRev, CVS, Subversion, Git, Mercurial, Perforce, Clearcase and RTC

  • Question: Which Version Control (vc) Or Software Configuration Management (scm) Systems Work With Merge?

    Answer :

    You can use Tortoise SVN,which has Merge Utility embedded in it.

  • Question: Which Version Control System You Are Using In Your Current Project ?

    Answer :

    We are using SVN and Git Hub.