InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
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. 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. |
|
| 2. |
What Is The Purpose Of Continuous Integration For A Development Team? |
Answer»
|
|
| 4. |
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. 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. |
|
| 5. |
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. 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. |
|
| 6. |
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. 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. |
|
| 7. |
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. 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. |
|
| 8. |
What Is A Transitive Dependency? Can We Override Transitive Dependency Version And If Yes, How? |
Answer»
|
|
| 9. |
What Are The Various Ways In Which Build Can Be Scheduled In Jenkins ? |
| Answer» | |
| 10. |
Which Scm Tools Jenkins Supports ? |
|
Answer» AccuRev, CVS, SUBVERSION, Git, Mercurial, PERFORCE, CLEARCASE and RTC AccuRev, CVS, Subversion, Git, Mercurial, Perforce, Clearcase and RTC |
|
| 11. |
What Is The Difference Between Maven, Ant And Jenkins ? |
|
Answer» MAVEN and ANT are Build Technologies whereas Jenkins is a CONTINUOUS integration tool. Maven and Ant are Build Technologies whereas Jenkins is a continuous integration tool. |
|
| 12. |
What Is Jenkins ? |
|
Answer» It is a CONTINUOUS INTEGRATION TOOL WRITTEN in JAVA. It is a continuous integration tool written in Java. |
|
| 13. |
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. 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. |
|
| 14. |
Which Version Control System You Are Using In Your Current Project ? |
|
Answer» We are using SVN and Git Hub. |
|
| 15. |
Difference Between Jar , War And Ear ? |
Answer»
|
|
| 16. |
Have You Created Any Build Script Yourself ? |
|
Answer» YES, I have worked on many build SCRIPTS in LAST few years. Yes, I have worked on many build scripts in last few years. |
|
| 17. |
What Technologies Have You Worked With For Build Management ? |
|
Answer» Ant and Maven |
|
| 18. |
What Is A Cyclic Dependency ? |
Answer»
|
|
| 19. |
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. Transitive dependencies allows to avoid specifying the libraries that are required by the project which are specified in other dependent projects - Remote or Local. |
|
| 20. |
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. 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. |
|
| 21. |
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. You can use Tortoise SVN,which has Merge Utility embedded in it. |
|
| 22. |
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. 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. |
|
| 23. |
What Is The Difference Between Compile And Install ? |
| Answer» | |
| 24. |
How Do I Determine Which Pom Contains Missing Transitive Dependency? |
|
Answer» run mvn -X |
|
| 26. |
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. 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. |
|
| 27. |
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. 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. |
|