{"id":8596,"date":"2020-01-10T12:39:51","date_gmt":"2020-01-10T12:39:51","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=8596"},"modified":"2021-11-15T06:06:10","modified_gmt":"2021-11-15T06:06:10","slug":"jenkins-interview-questions-and-answers-part-3","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/jenkins-interview-questions-and-answers-part-3\/","title":{"rendered":"Jenkins Interview Questions and Answers \u2013 Part 4"},"content":{"rendered":"\n<p><strong>An important step in making sure that the build process is taken seriously is to <\/strong><em><strong>_<\/strong><\/em><em><strong>_<\/strong><\/em><strong>______ .<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>never leave the build in a broken state (Ans)<\/strong><\/li><li>send out a report on each build<\/li><li>have management introduce the new build process<\/li><li>set off the smoke alarm every time the build breaks<\/li><\/ul>\n\n\n\n<p><strong>Which of the following is REQUIRED for using Jenkins?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Java 1.5 or higher (Ans)<\/strong><\/li><li>Java in your Path<\/li><li>.NET framework<\/li><li>Web server<\/li><\/ul>\n\n\n\n<p><strong>One of the primary problems that continuous integration addresses is <\/strong><em><strong>_<\/strong><\/em><em><strong>_<\/strong><\/em><strong>______ .<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>formatting code<\/li><li><strong>isolated development (Ans)<\/strong><\/li><li>language choice<\/li><li>group think<\/li><\/ul>\n\n\n\n<p><strong>Parallelization in Jenkins can best be achieved by <\/strong><em><strong>_<\/strong><\/em><em><strong>_<\/strong><\/em><strong>______ .<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>breaking up your build into multiple jobs (Ans)<\/strong><\/li><li>setting parallel to true in the Jenkins config<\/li><li>using multiple jenkins master servers<\/li><li>writing multi-threaded job scripts<\/li><\/ul>\n\n\n\n<p><strong>Jenkins can be started from the command line by using what command?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>java -jar jenkins.war (Ans)<\/strong><\/li><li>run jenkins.war<\/li><li>java -run jenkins.war<\/li><li>jar jenkins.war<\/li><\/ul>\n\n\n\n<p><strong>When implementing unit testing in Jenkins it is important to never  <\/strong><em><strong>_<\/strong><\/em><strong>______ .<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>report the test results<\/li><li>write small tests<\/li><li>run the tests in parallel to anything else<\/li><li><strong>leave tests broken (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Jenkins is really a tool that can be used to <\/strong><em><strong>___<\/strong><\/em><strong>______ most aspects of continuous integration?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>reverse engineer<\/li><li>dispel<\/li><li>undo<\/li><li><strong>automate (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Security can be set at an individual job level in Jenkins.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>true (Ans)<\/strong><\/li><li>false<\/li><\/ul>\n\n\n\n<p><strong>The Join trigger plugin <\/strong><em><strong>_<\/strong><\/em><em><strong>_<\/strong><\/em><strong>______ .<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>makes sure multiple jobs are complete before downstream jobs can run (Ans)<\/strong><\/li><li>makes 2 jobs run at the same time<\/li><li>makes a single job split into many jobs<\/li><li>makes jenkins show a different icon<\/li><\/ul>\n\n\n\n<p><strong>A good first step for moving a build over to Jenkins is to <\/strong><em><strong>__<\/strong><\/em><em><strong>_<\/strong><\/em><strong>______ .<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>get a full build in a failed state<\/li><li>disable unit tests<\/li><li><strong>diagram the manual process (Ans)<\/strong><\/li><li>conver everything to Java<\/li><\/ul>\n\n\n\n<p><strong>The easiest way to get a plugin for Jenkins is <\/strong><em><strong>_<\/strong><\/em><em><strong>_<\/strong><\/em><strong>______ .<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>from inside Jenkins itself (Ans)<\/strong><\/li><li>creating a plugin request call<\/li><li>downloading an installer package<\/li><li>by building it from source<\/li><\/ul>\n\n\n\n<p><strong>A workspace is <\/strong><em><strong>_<\/strong><\/em><em><strong>_<\/strong><\/em><strong>______ .<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>the central configuration area for Jenkins<\/li><li><strong>the directory Jenkins checks source code out to (Ans)<\/strong><\/li><li>the directory that Jenkins caches files at<\/li><li>the only part of Jenkins that lives in the cloud<\/li><\/ul>\n\n\n\n<p><strong>One of the major conflicts that led to a split of the early Jenkins project was <\/strong><em><strong>_<\/strong><\/em><em><strong>_<\/strong><\/em><strong>______ .<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>how much to charge for it<\/li><li><strong>whether or not to keep the project on Java.net (Ans)<\/strong><\/li><li>what language to write it in<\/li><li>whether or not it should only work with Java applications<\/li><\/ul>\n\n\n\n<p><strong>Jenkins is primarily written in __ <\/strong><em><strong>_<\/strong><\/em><strong>______ .<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>ruby<\/li><li>C#<\/li><li><strong>java1 (Ans)<\/strong><\/li><li>python<\/li><\/ul>\n\n\n\n<p><strong>What should the http port be set to in order to disable regular http in favor of https?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>0<\/li><li>8080<\/li><li>43<\/li><li><strong>-1 (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Which of the following is NOT an advantage to distributing builds across multiple nodes?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>parallelization of jobs<\/li><li>support for multiple platforms<\/li><li>faster build times<\/li><li><strong>automatic recovery of the master Jenkins node (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Jenkins used to be called <\/strong><em><strong>_<\/strong><\/em><strong>______.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>burly<\/li><li><strong>hudson (Ans)<\/strong><\/li><li>cheeves<\/li><li>jeeves<\/li><\/ul>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_70929\"><iframe loading=\"lazy\"  id=\"_ytid_53150\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_70929\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>An important step in making sure that the build process is taken seriously is to ________ . never leave the build in a broken state (Ans) send out a report&#8230; <\/p>\n","protected":false},"author":1,"featured_media":8612,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[42],"tags":[5635,1555,5636],"class_list":["post-8596","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-jenkins","tag-java-jar-jenkins","tag-jenkins-interview-questions","tag-jenkins-is-really"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=8596"}],"version-history":[{"count":4,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8596\/revisions"}],"predecessor-version":[{"id":25175,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8596\/revisions\/25175"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/8612"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=8596"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=8596"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=8596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}