Most Important Frequently Asked Build And Release Engineer Interview Questions
Interview Quesions on Build And Release Engineer
-
Question 1. 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 2. 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.
Software Engineering Interview Questions -
Question 3. What Is Maven's Order Of Inheritance?
Answer :
- parent pom
- project pom
- settings
- CLI parameters
-
Question 4. How Do I Determine Which Pom Contains Missing Transitive Dependency?
Answer :
run mvn -X
Software Engineering Tutorial -
Question 5. 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
Oracle9i Forms Developer Build Internet Applications Interview Questions -
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.
-
Answer :
You can use Tortoise SVN,which has Merge Utility embedded in it.
Java Tutorial Java Interview Questions -
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 9. 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.
Jenkins Interview Questions -
Question 10. 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.
Jenkins Tutorial -
Question 11. What Technologies Have You Worked With For Build Management ?
Answer :
Ant and Maven
DevOps Interview Questions -
Question 12. Have You Created Any Build Script Yourself ?
Answer :
Yes, I have worked on many build scripts in last few years.
Software Engineering Interview Questions -
Question 13. 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 ).
Adaptive software development Tutorial -
Question 14. Which Version Control System You Are Using In Your Current Project ?
Answer :
We are using SVN and Git Hub.
-
Question 15. 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.
Devops Chef Interview Questions -
Question 16. What Is Jenkins ?
Answer :
It is a continuous integration tool written in Java.
-
Question 17. What Is The Difference Between Maven, Ant And Jenkins ?
Answer :
Maven and Ant are Build Technologies whereas Jenkins is a continuous integration tool.
-
Question 18. Which Scm Tools Jenkins Supports ?
Answer :
AccuRev, CVS, Subversion, Git, Mercurial, Perforce, Clearcase and RTC
Oracle9i Forms Developer Build Internet Applications Interview Questions -
Question 19. 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
-
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.
-
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 22. 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 23. 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.
-
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.
Java Interview Questions -
Question 25. What Is Maven’s Order Of Inheritance?
Answer :
- parent pom
- project pom
- settings
- CLI parameters
-
Question 26. 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 27. 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.
Jenkins Interview Questions
Topic: Build And Release Engineer Interview Questions
Interview Quesions on Build And Release Engineer
No comments:
Post a Comment