
Best Preparations of CJE Exam 2021 Jenkins Engineer Unlimited 62 Questions
Focus on CJE All-in-One Exam Guide For Quick Preparation.
NEW QUESTION 29
Which of the following are true when using environment directives in a Declarative Pipeline?
Choose 3 answers
- A. An environment variable can be specified globally (to apply to all steps in the pipeline), for an individual step, or for one or more specified steps In the Pipeline,
- B. If an environment variable b enclosed In single quotes, the Pipeline DSL dereferences the variable on the master's JVM and passes the calculated string to the sh or bat step; if the environment variable Is enclosed in double quotes, the name of the environment variable itself is passed to the "sh" or 'bat" step and the shell interpreter on the agent dereferences the variable.
- C. A Declarative Pipeline can use environment variables defined In Jenkins Itself (such as BUILD_NUMBER and JENKINS^URL), environment variables defined in an installed plugin (such as GIT.COMMIT or GIT .BRANCH, defined in the Git plugin), or environment variables that are coded as directives in the Pipeline itself; the semantics are identical for all environment variables.
- D. If an environment variable Is enclosed In double quotes, the Pipeline DSL dereferences the variable on the master's JVM and passes the calculated string to the sh or bat step; if the environment variable isenclosed in single quotes, thename of the environment variable itself is passed to the "sh" or "bat" step and the shell interpreter on the agent dereferences the variable.
Answer: A,B,C
NEW QUESTION 30
One quality of an ideal build node K that it is_________.
- A. tailored to specific builds
- B. on-master
- C. ephemeral and replaceable
- D. static
Answer: C
NEW QUESTION 31
What is the preferred method for a Jenkins administrator to notify nil Jenkins users about upcoming system maintenance?
- A. On the master's dashboard, dick "add description" or "edit description" to populate a banner displayed across the top of the master's home page.
- B. Populate the "Email Notifications" section of the "System Configuration" page with a message to be sent as email to all registered Jenkins users.
- C. Add text to the "System Message" field on the "System Configuration" page to populate a banner displayed across the top of the master's home page.
- D. On the "System Configuration" page, choose the "Maintenance Alerts" option from the "Alerts" dropdown menu and populate the box with a message to be added to all build logs.
Answer: D
NEW QUESTION 32
Which of the following statements are TRUEabout Jenkins Pipeline?
Choose 2 answers
- A. When using a Multibranch Pipeline, Jenkins can automatically create Jobs for each branch in the source code repository.
- B. Pipeline jobs survive master restarts only If the Pipeline definition script Is checked into an SCM.
- C. A Pipeline job must contain at least three stages.
- D. The Pipeline syntax supports running steps in parallel on different agents.
- E. It is not possible to call a Freestyle Job from within a Pipeline Job.
Answer: A,D
NEW QUESTION 33
A multi-configuration job contains the combination filter index% 4=1. What does this filter achieve?
- A. It removes the fourth combination.
- B. It removes one combination in every 4.
- C. It removes 3 combinations In every 4.
- D. Nothing. The syntax is Invalid.
- E. It removes the first combination.
Answer: B
NEW QUESTION 34
On a single Jenkins master you have a folder named "Project1 ". I his folder contains three jobs: "job master",
"job develop", and "Job edge". The job "job master" Is the latest built project and Is In a success state while the two other jobs are in falling state. Which statement is true about the folder "Project1"?
- A. It does not report its health on the folder level; only Jobs report health.
- B. It reports its health as "failed" {"Raining Cloud" weather icon), because that is the "worst health of the sub-items".
- C. It must be configured with a dedicated "Health Metric" setting before it can report its health with weather icons.
- D. It reports its health as "success" ("Sunny" weather icon), because that is the health of the "latest built item."
Answer: B
NEW QUESTION 35
Which of the following are advantages of a Pipeline job when compared to a Freestyle job? Choose 2 answers
- A. No extra plugins must be installed.
- B. Builds can be triggered with millisecond granularity.
- C. Job definition can be loaded from the Source Code Management system at build time.
- D. Jenkins can be restarted while a build is In progress without impacting the build.
- E. Builds can be parameterized.
Answer: C,D
NEW QUESTION 36
Which is the about the "Build Triggers" functionality in Jenkins?
- A. It allows you to trigger a build under certain conditions, such as GitHub/BitBucket push events, deployment ratifications,
- B. It can only be configured on Freestyle projects.
- C. It allows you to customize the mail to be sent to developers after a failing build.
- D. It allows you to customize what specific IP address will never be able to trigger a build.
Answer: A
NEW QUESTION 37
What is the purpose of the "Manage Users" section of the Manage Jenkins dashboard?
- A. Populates the Jenkins user database that can be used if you are not using an external security realm such as LDAP, Active Directory, or Unix user/groups.
- B. Each user who is allowed access to Jenkins must have an entry in this Jenkins user database.
- C. Defines aliases for credentials that have been created In the external security realm.
- D. Contains entries used for the security matrix or project security matrix.
- E. Defines user groups used for role-based strategy authorization.
Answer: B
NEW QUESTION 38
Where do you find alerts about Jenkins security issues? Choose 3 answers
- A. A banner displayed in the upper right section of the master's home page.
- B. An email message sent to all users who are listed in the "Send security notifications'' field of the
"Extended E-mail Notification" configuration. - C. An email message that is automatically sent to all users who have registered with the mailing list at [email protected].
- D. Jenkins logs.
- E. Beekeeper Upgrade Assistant if you are running CloudBees Jenkins Distribution or CloudBees Core.
Answer: A,B,D
NEW QUESTION 39
In a Pipeline, the stage step_________.
- A. transfers artifacts to a staging server for testing
- B. prepares a test environment in Jenkins
- C. can be used to group a number of other steps into a logical unit for display
- D. collects a set of artifacts that can be referenced in a later Pipeline step
Answer: C
NEW QUESTION 40
Which keyword is used to group related parts of a Declarative Pipeline?
- A. steps
- B. step
- C. stage
- D. collect
- E. group
Answer: A
NEW QUESTION 41
Which of these tasks are ONLY available from the "Manage Jenkins'' page? Choose 2 answers
- A. Manage plugins
- B. Open Blue Ocean
- C. Configure Global Security
- D. Define views
- E. Configure credentials
Answer: A,C
NEW QUESTION 42
Which job type Is always available In Jenkins without additional plugins?
- A. Grade project
- B. Ant project
- C. Make project
- D. Pipeline project
- E. Freestyle project
Answer: E
NEW QUESTION 43
Which TIIKII of the following are considered best practices when setting up rules for notifications?
- A. Send notifications only when direct intervention is needed.
- B. Make sure the notification's target Is the right person.
- C. Periodically change the recipient of emails, to make sure they are not classified as spam.
- D. Send notifications by multiple channels (email, chat room, PagerDuty, etc.) to make sure they are received.
- E. Do not send developers too many email notifications.
Answer: B,D,E
NEW QUESTION 44
Which can be defined in and limited to a specific folder and its subfolders? Choose 4 answers
- A. Permissions to run jobs and Pipeline
- B. Plugins
- C. Pipeline shared libraries
- D. Credentials
- E. View definitions
Answer: A,C,D,E
NEW QUESTION 45
What happens to all associated configuration metadata (on jobs, builds, etc) after a plugin is uninstalled?
- A. It Is deleted on the next configuration reload.
- B. It Is deleted Immediately.
- C. It is deleted on the next restart of Jenkins.
- D. Nothing happens. The data remains on the persisted form of the configuration until the next save of that Rem (job, etc.).
- E. The data is backed up and then deleted from the live configuration.
Answer: D
NEW QUESTION 46
DevOps teams can implement traceability of artifacts in a continuous delivery pipeline by using
- A. the Downstream Builds plugin
- B. manual recording
- C. the Pipeline plugin to fingerprint files
- D. Pipeline labels
Answer: C
NEW QUESTION 47
You want to execute a Job passing one parameter via the Jenkins RFST API. The correct syntax for this is
http: / /server/Job/ myjob_________.
- A. /build?Parameters=Value
- B. /buildWithParameters
- C. /build?Parameter =Value
- D. /buiWWithParameters?Parameter=Value
Answer: D
NEW QUESTION 48
What does the M# of executors" field on the Jenkins master control?
- A. Number of CPU cores configured for this master.
- B. Number of jobs that can execute simultaneously on the Jenkins master
- C. Number of external build agents that can be used forjobs run on this Jenkins master.
- D. Number of Java threads that can run Jenkins jobs.
- E. Maximum number of jobs which can be run concurrently on attached agents.
Answer: B
NEW QUESTION 49
Which of the following are true when using build parameters? Choose 3 answers
- A. If you configure a build parameter of type File, then users can specify a file on the server as build input.
- B. Use the "parameters" directive to define parameters for your Pipeline Inside your Pipeline code.
- C. Use the "params" object to reference parameters that are defined on "The project is parameterized" section of the job configuration.
- D. If your Jenkinsfile specifies parameters with the "parameters'' directive, those are the only parameters recognized when the Pipeline executes; any parameters that were specified In the "Project is parameterized" section of the Job configuration are cleared.
Answer: B,C,D
NEW QUESTION 50
......
Guaranteed Success with CJE Dumps: https://www.braindumpquiz.com/CJE-exam-material.html
Pass CloudBees CJE Exam – Experts Are Here To Help You: https://drive.google.com/open?id=1sghN4JoV_HJI3CpKu8Em1LPi1Zynuiu1