Jenkins(Engineering > Computer Science And Engineering ) Questions and Answers

Question 1. Which file is used to define dependency in maven?
  1.    build.xml
  2.    pom.xml
  3.    dependency.xml
  4.    version.xml
Explanation:-
Answer: Option B. -> pom.xml





Question 2. Which command can be used to check maven version?
  1.    mvn -ver
  2.    maven -ver
  3.    maven -version
  4.    mvn -version
Explanation:-
Answer: Option D. -> mvn -version





Question 3. How can we setup Jenkins jobs?
  1.    Select new item from the menu
  2.    After that enter a name for the job and select free-style job
  3.    Then click OK to create new job in Jenkins
  4.    The next page enables you to configure your job
  5.    All of these
Explanation:-
Answer: Option E. -> All of these





Question 4. How can we secure Jenkins?
  1.    Global security should be enabled
  2.    Jenkins should be integrated with appropriate plugins
  3.    Automate the process of setting rights and privileges
  4.    All of the above
Explanation:-
Answer: Option D. -> All of the above





Question 5. Which maven plugin creates the project structure?
  1.    dependency
  2.    properties
  3.    archetype
  4.    execution
Explanation:-
Answer: Option C. -> archetype





Question 6. What are the advantages of Jenkins?
  1.    At integration stage, build failures are cached
  2.    For each code commit changes an automatic build report notification generates
  3.    To notify developers about build report success or failure, it is integrated with LDAP mail server
  4.    All of the above
Explanation:-
Answer: Option D. -> All of the above





Question 7. What is the requirement for using Jenkins?
  1.    A source code repository which is accessible, for instance, a Git repository
  2.    A working build script, e.g., a Maven script, checked into the repository
  3.    Both of these
  4.    None
Explanation:-
Answer: Option C. -> Both of these





Question 8. Which Scm Tools Does Jenkins Support?
  1.    AccuRev
  2.    CVS
  3.    Subversion
  4.    All of these
Explanation:-
Answer: Option D. -> All of these





Question 9. How can we move or copy Jenkins from one server to another?
  1.    First, copy the related job directory and slide a job from one installation of Jenkins to another
  2.    Make a copy of an already existing job by making clone of a job directory by a different name
  3.    Renaming an existing job by rename a directory
  4.    All of these
Explanation:-
Answer: Option D. -> All of these





Question 10. What are the useful plugins in Jenkin?
  1.    Maven 2 project
  2.    Amazon EC2
  3.    HTML publisher
  4.    All
Explanation:-
Answer: Option D. -> All