option
Cuestiones
ayuda
daypo
buscar.php

Certified Jenkins Engineer (CJE)

COMENTARIOS ESTADÍSTICAS RÉCORDS
REALIZAR TEST
Título del Test:
Certified Jenkins Engineer (CJE)

Descripción:
Examen para la certificación Certified Jenkins Engineer

Fecha de Creación: 2025/07/11

Categoría: Informática

Número Preguntas: 119

Valoración:(0)
COMPARTE EL TEST
Nuevo ComentarioNuevo Comentario
Comentarios
NO HAY REGISTROS
Temario:

What's a Jenkins job (or project)?. A. The overall purpose of a Jenkins implementation. B. None of these. C. Can be scoped to any typical IT task defined in Jenkins. D. Employment for an IT worker.

What types of notification integrations are there?. A. Email. B. All of these. C. Slack. D. HipChat.

You need to grant permissions, via matrix-based security, to run a specific command in a Jenkins pipeline. The project parameters will not allow you to create a specific user to run this task, adn you have no relevant groups. Which of the following is an option?. A. Either creating a group or reassigning the user will work. B. Create a group, add an existing user to the task, and grant permissions to that group. C. Set permissions in Jenkins to allow anonymous users to run the command. D. Change the workflow to require an existing user to run the task, and assign permissions to that user.

Why is the performance of a Jenkins master improved by using a distributed builds architecture?. A. Because builds cannot be run in parallel on a master. B. Because it prevents the CPU being overloaded during parallel polls. C. Because executors offloaded onto build nodes are not performant. D. Because it prevents builds from overloading a master's CPU/memory. E. Because executors cannot be allocated on the master.

What does the Build Queue contain?. A. Pull requests. B. Disabled projects. C. Scripts waiting approval. D. Builds waiting for an executor.

Which isn't a common Jenkins build tool?. A. Ant. B. Excel. C. Docker. D. Gradle.

What best describes DevOps?. A. None of these. B. A pioneer in education. C. An organizational culture where developers and operations are working in harmony. D. The practice of developing optimal work practices.

Which of the following are true about the structure of a Declarative Pipeline? Choose 2 answer. A. Each pipeline must have a global agent specification. B. Steps are the logical segmentation of a Pipeline; they contain stages that define actual tasks. C. Any Pipeline DSL code that Implements complex computational tasks must be located outside any stage block. D. Stages are the logical segmentation of a Pipeline; the contain steps that define actual tasks. E. All stages in a Pipeline must execute on the same type of agent.

How do you set up the Git Plugin Git hook from a project configuration perspective?. A. None of these. B. Set the "Build Periodically" trigger, but you don't have to specify an interval. C. Set the "Poll scm" trigger, but you don't have to specify an interval. D. Set the "GitHub hook trigger for GITScm polling" trigger.

How do you set a freestyle project to be parameterized?. A. From "Project Configuration", select "This project is parameterized". B. Freestyle projects don't accept parameters. C. Choose the project from the parameterized list in the "Configure System" section. D. All freestyle projects are parameterized.

In Jenkins, which section in a Freestyle job configuration is used to execute a Linux (shell) or Windows (batch) command?. A. Build Environment. B. Post-build Actions. C. Build Triggers. D. Source Code Management. E. Build.

What's the difference between authentication and authotization?. A. None of these. B. Authorization is more strict. C. Authorization identifies a user, while authentication dictates what a user is allowed to do. D. Authentication identifies a user, while authorization dictates what a user is allowed to do.

Pipelines often require access to protected resources such as server, databases, and SCMs. Without using an external credentials manager, which of the following provides the most secure centralized mechanism for managing the "secrets" that Jenkins requires to login/authenticate (for example: keys, tokens, passwords)?. A. Include the secrets in the home directory of the Jenkins agent account. B. Embed secrets into the build and deployment scripts invoked by the job. C. Store the secrets on the Jenkins master using the Credentials plugin. D. Store the secrets required in the SCM alongside the application source code. E. Store the secrets as Node Properties for each agent definition.

If you set "Child item with worst health" and "recursive" in the folder config, how is the health determined for the folder?. A. Only top-scoped projects will determine the folder's health. B. None of these. C. Folders don't have health. D. Items in nested sub-folders are used to calculate the folder's health.

What type of file extension do plugin files have?. A. .rb. B. .hpi. C. .groovy. D. .java.

How can you organize Jenkins projects (or jobs)?. A. Folders. B. Relational databases. C. Folders and views. D. Views.

Which can be defined in and limited to a specific folder and its subfolders? Choose 4 answers. A. Pipeline shared libraries. B. Plugins. C. Credentials. D. View definitions. E. Permissions to run jobs and Pipeline.

You can set permissions for anonymous users with matrix-based security. A. False. B. True.

How can you configure a Declarative Pipeline to record the fingerprint of an artifact?. A. Set the "fingerprint: true" argument for the archiveArtifactsQ step. B. No action is required; Declarative Pipelines automatically record a fingerprint for each artifact. C. Call the fingerprintArtifact() step immediately after the archiveArtifacts() step. D. Set the Fingerprint Artifacts global configuration option. E. Enable the Declarative Pipeline 'enableFingerprints' 'option'.

Where is the initial Admin Password stored on the system?. A. /tmp/Jenkins/. B. /var/lib/jenkins/secrets/. C. /usr/lib/jenkins/password/. D. /opt/jenkins.

How can you easily see if a plugin you use needs to be upgraded to a new version?. A. Email the maintained. B. Check the plugin wiki. C. Check the Jenkins Update Center. D. Search for the plugin in the Jenkins artifact repository.

Which of the following pratices are recommended for a Declarative Pipeline? Choose 3 answers. A. Use the pipeline DSL to implement intricate networking and computational tasks that your Pipeline needs to do. B. Encapsulate common Jenkins logic within shared libraries when leveraging Declarative Pipelines. C. Use took such as Maven, Gradle, NPM, Ant and Make to define most of the build work; cad these executables as steps in your pipeline. D. Simplify the test/debug process and improve performance of your pipeline by defining separate steps for each important task performed by the pipeline. E. Call scripts written in Shell, Batch, Groovy, or Python to implement any complex logic required for your pipeline; call these scripts as steps in your pipeline.

How do you use the Jenkins CLI?. A. java -jar /var/lib/jenkins/jenkins-cli.jar -s http://:8080/. B. jenkins. C. There is no Jenkins CLI. D. jcli.

Over the last six months, a large number of projects have been added to Jenkins. You have been asked by your manager to do some cleanup by creating som list views. How would you go about creating these list views?. A. All of these. B. Using a regular expression pattern. C. Explicitly set projects to view. D. Explicitly set recursively in sub-folders.

Which is a common branching strategy?. A. Feature branching. B. All are common. C. Release branching. D. Developer branching.

What does the M# of executions" field on the Jenkins master control?. A. Number of CPU cores configured for this master. B. Maximum number of jobs which can be concurrently on attached agents. C. Number of jobs that can execute simultaneously on the Jenkins master. D. Number of external build agents that can be used for jobs run on this Jenkins master. E. Number of Java threads that can run Jenkins jobs.

You are a DevOps engineer in charge of your team's Jenkins server. Your project is on major version "1". You want to ensure that this variable, MAJOR_VERSION, is available throughout your pipeline that is defined in a Jenkinsfile. Which of the following ways could you accomplish that using the "environment" directive?. A. environment(MAJOR_VERSION = 1). B. environment { setps { sh "export MAJOR_VERSION=1"}}. C. environment { MAJOR_VERSION = 1}. D. environment [MAJOR_VERSION=1].

You are using GitHub repository scanning (in a project of type "GitHub Organization") with the Pipeline Jenkinsfile Project Recognizer. In this case, which repositories under the organization will have Multibranch projects automatically. A. environment(MAJOR_VERSION = 1). B. environment { setps { sh "export MAJOR_VERSION=1"}}. C. environment { MAJOR_VERSION = 1}. D. environment [MAJOR_VERSION=1].

What type of views can be configured in Jenkins?. A. email. B. notice. C. emailtext. D. alert.

A Freestyle job has the configuration shown here: You run the following command from a Unix terminal: curl http:///git/notifyCommit?url-gitagithub.com: cloudbees/github test.git Will the Job be triggered?. A. It will not be triggered. B. It will be triggered if the polling detects a change in any git branch. C. It will be triggered if the polling detects a change in the git branch "master". D. It will be triggered if the polling detects a change in the git branch "development".

You can set project-based security for users. A. False. B. True.

How do you set a freestyle project to be parameterized?. A. From "Project Configuration", select "This project is parameterized.". B. Freestyle projects don't accept parameters. C. Choose the project from the parameterized list in the "Configure System" section. D. All freestyle projects are parameterized.

Your supervisor has asked you to explain to the company's development team how using Jenkins will implement continuous integrations. You want to make sure the developers understand whatds that means to them. Which of the following is the most succinct?. A. The changes the team makes will be released to production at any time. B. The software development team will increase the frequency at which code changes are committed to the build, test, and deployment cycles. C. Software changes will now be added to an automated pipeline. D. Build time objectives will be targeted to take less than 60 minutes.

Which is not a common stage of CI/CD?. A. Deploy. B. Test. C. Build. D. Kill.

Which is not an option in the Install Wizard?. A. Add SSH Credentials. B. Add specific plugins. C. Create an Admin user with username and password. D. Add common plugins.

You are interested in integrating CI/CD in your work environment, but your team lead and several of your team members do not understand the concept. Your boss believes that continuous delivery will mean that someone (namely, you) will need to be on-call around the clock for constant monitoring and deployment of new code. You have a two-minute window to quickly explain what continuous delivery means. Out of the following answers, what is the clearest and most succinct correct answer?. A. Continuous delivery means code will be tested and promoted to production environment automatically. B. Continuous delivery is magic, and Jenkins will make everything work without having to worry about it much. C. You're right, Give me the on-call schedule. D. Continuous delivery is a software development discipline where software is built so that can be released to production at any time, while continuous deployment means it is released into production continuously. CI/CD is meant to shorten the amount of time needed for QA while empowering developers to keep code as up-to-date as possible.

What's the difference between continuous integrations and continuous delivery?. A. Continuous integration is just the practice of integrating code continuously. It doesn't necessarily mean that it can be released at any time like continuous delivery. B. Continuous integration doesn't mean that builds are available for release as continuous delivery implies. C. Continuous delivery means the code CAN be released at any time, while continuous integration means it is released continuously. D. Continuous delivery and continuous integration are the same thing. E. Continuous deployment means the code CAN be released at any time, while continuous integration means it is released continuously.

What is Jenkins auditing?. A. ensuring licenses have been paid for and allocated appropriately. B. Tracking system resources. C. Tracking who did what on your Jenkins server. D. Reviewing Build Failure rate.

How do you archive artifacts from a Jenkinsfile?. A. artifact. B. archiveArtifacts. C. export. D. save.

What does a flashing build icon in the Build History indicate?. A. The build is waiting for an executor to be available. B. An agent is being spawned. C. A build is waiting for Input. D. A groovy script needs to be approved.

How do you configure notifications in a Jenkins file. A. Notice. B. email. C. alert. D. emailtext.

In a Pipeline, the stage step______________. A. collects a set of artifacts that can be referenced in a Later Pipeline step. 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. transfers artifacts to a staging server for testing.

Which are commonly referenced as key points of CI? Choose 3 answers. A. Automated deployment to the production environment. B. Frequent commits to source code repository. C. Automated builds after each commit. D. Automated tests after each commit. E. Collaboration among Dev, QA and Ops.

You are un charge of a new development process and find that the current branching strategies may have room for improvement. Which types of common strategies might you recommend?. A. Feature branching and release branching, but not developer branching, are common branching strategies. B. Developer branching and feature branching, but not release branching, are common branching strategies. C. Developer branching, feature branching, and release branching are common branching strategies. D. Release branching and developer, but not feature branching, are common branching strategies.

What's an example of SCM software?. A. Jenkins. B. Subversion. C. Git. D. Both Git and Subversion.

A unit test ___________. A. verifies cross-functionalities. B. verifies that the complete software matches the specifications it was written to fulfill. C. is written when an Integration or multi-environment bog is fixed. D. tests an Individual unit a component.

A Freestyle job is configured to execute concurrent builds, and to only build on a specific agent (agent A) that has 4 executors. You observe that 2 instances of the job are currently building while several others are waiting in the build queue. Which of the following could explain why the builds are waiting in the build queue?. A. There are not enough idle executors available on agent A. B. The "Execute concurrent builds if necessary option in the job configuration has reached its user-defined maximum". C. Each build in the build queue must be manually attached to an available executor. D. Changes were made to this job's configuration while this Job had builds in the build queue.

In Jenkins, a trigger commonly refers to a mechanism that automatically ____________-. A. updates plugins. B. detects code changes in the repository. C. starts the build of a job. D. sends notification once the build is completed.

Which enables you to use artifacta from a completed build in the workspace of the currently running build?. A. Copy Artifact plugin. B. Jenkins core. C. ArtifactDeployer plugin. D. Rebuild plugin.

The Jenkins install Wizard allows you to. A. define the security settings of the Jenkins instance you are installing. B. define executor agents. C. completely define the security and notification settings of the Jenkins instance you are installing. D. define an-admin user for Jenkins. E. define non-admin users for Jenkins.

During a proposal, you need to quickly retrieve configuration for a demo of a project named "My freestyle Project", which is in the "Freestyles" folder, in a neat and easily-readable XML format using a REST API call. What is the correct syntax for the call?. A. http://:8080/job/My%20Freestyle%20Project/config.xml. B. http://:8080/job/Freestyles/jobb/My%20Freestyle%20Project/config.xml. C. http://:8080/job/Freestyles/jobb/My%20Freestyle%20Project/project.xml. D. http://:8080/job/My%20Freestyle%20Project/project.xml.

You need to automate the deployment the of 20 base Jenkins masters. I or this, you set the system property jenkins.install.runSetupWizard to the Value "false". A. A default administrator account is created and you cannot re-enable security. B. No default administrator account is created; you have to configure security manually. C. A default administrator account is created with username "admin" and password "admin". D. A default administrator account is created with username "admin" and password from the file JENKINS_HOME/secret/initialAdminPassword.

What is the purpose of the "Manage Old Data" screen under "Manage Jenkins". A. Clean up workspace letf by deleted Jenkins users. B. Delete outdated configurations left by uninstalled, deleted, or upgraded plugins. C. Delete artifacts, togs, and backups that are no longer required. D. Prepare for migration from Jenkins 1 to Jenkins 2. E. Delete or restore old credentials details.

When you want to validate that your software produces the desired behavior for end users, you need to use. A. acceptance tests. B. functional tests. C. smoke tests. D. non-regression tests.

Where do you configure a shared global library?. A. Configure Global Security. B. Configure System -> Global Pipeline Libraries. C. None of these. D. Project Configuration.

You are working on a project that will build a Docker Image. When the job completes it needs to trigger a build to deploy a container to your development environment for integration testing. How would you go about triggering the second build?. A. You could use the Parameterized Trigger Plugin to trigger from an upstream project. B. Both "Triggered by another project" and the "Parameterized Trigger Plugin". C. Use the run() function passing the downstream projects name from within an upstream project build step. D. In the downstream build, you can select "Triggered by another project".

What can a plugin do?. A. Manage credentials for Jenkins. B. All of these. C. Add a build step option to Jenkins. D. Provide backup functionality to Jenkins.

You are using the Jenkins CLI to communicate with a remote Jenkins master. Which are valid ways to authenticate your identity gain access? Choose 2 answer. A. A Jenkins user's username and GitHub API token. B. An SSH key matching a Jenkins user's public key. C. An SSH key matching an entry in the authorized_keys file of the users account that the Jenkins master process runs "as". D. A Jenkins user's username and Kerberos token. E. A Jenkins user's username and password or API token.

Which of the following are true about credentials that are implemented in Declarative Pipeline using the "credentials" or "withCredentials()" method? Choose 2 answers. A. Credential IDs are case Insensitive. B. Most credentials called from a pipeline have Global scope, not System scope. C. The credential types supported are defined by the binding plugin (or the resource being accessed). D. All credential bingins support the "Secret Text" and "Standard username and password" credential types.

What's a benefit of incremental updates over a clean checkout?. A. It ensures there are no mistakes. B. None of these. C. It's faster. D. It's more thorough.

Which of the following are true about the "post" section of a Declarative Pipeline that defines additional steps that run at the end of either a pipeline stage or the pipeline it self? Choose 3 answers. A. The "post" section includes conditional blocks (such as "always", success", or "failure"). B. The "post" section can be used to stash files, archive artifacts, and send notifications. C. The Blue Ocean editor does not display the "post" section blocks although they can be viewed and modified in the Blue Ocean code editor. D. The conditional blocks are executed in the order they are coded in the Pipeline. E. It any step specified in the "post" section fails, the pipeline run is marked as "unsucccessful".

What do you need to configure an SSH agent?. A. A username and password configured for the slave node. B. SSH keys with the Master's pub key set as an authorized key on the agent node. C. No special authorization setup. D. No special authorization setup.

Choose the destinations where Jenkins and its plugins can send job notifications?. A. SMS messaging. B. Slack. C. email. D. Jira. E. All of the above.

When you upgrade a plugin and find an issue in the new version, how ran you move hade to the previously installed version? Choose 2 answers. A. Use the button on the Plugin Manager that allows a downgrade to the previously installed version. B. Select one of the previous versions in the Plugin Manager. C. Manually download and install the previously installed version. D. Use the pluginManager.downgrade method in the script console. E. Use the "downgradeplugin" command in the Jenkins CLI. F. Select the version you want to use in the global configuration section for this plugin.

On a single Jekins master you have a folder named "Project1". In his folder contains three jobs: "job master", "job develop", and "Job edge". The job "job master" is the lastest built project and is in a success state while the two other jobs are 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 must be configure with a dedicated "Health Metric" setting before it can report its health with weather icons. C. It reports its health as "failed" {"Raining Cloud" weather icon}, because that is the "worst health of the sub-items". D. It reports its health as "success" {"Sunny" weather icon}, because that is the health of the "lastest built item".

You've just become the administrator for the Jenkins server, and the feedback you've received from the users is they're having trouble locating their jobs to run them. You've determined that folders are the most logical solution and wish to move the jobs into the new folders you've created. How would you accomplish this?. A. All of these. B. Click existing item; in the item view page, select "move" on the left panel; select target folder. C. For new items, clic folder; in the folder view, select new item; it will automatically be added to that folder. D. Hover and click arrow on existing item, choose "move", select target folder.

What is the Plugin Manger?. A. An employee on a DevOps project that ensures all systems are functional. B. The UI to install and configure plugins in the Jenkins WebGUI. C. None of these. D. A command line interface for adding documentation to Jenkins.

What's the SDLC?. A. Sloan Digital Legal Conference. B. Super Digital Life Chain. C. None of these. D. Software Development Life Cycle.

You're a job interview and the interviewer looks at you, trying to make you nervous. He looks down at his paper, looks up at you and asks, "How would you describe continuous integration?" You think to yourself. Which of the following answers is best?. A. Building in 60 minutes or less. B. A software development discipline where software is built so that it can be released to production at any time. C. A software development discipline where software is released continuously as part of an automated pipeline. D. A software development practice where contributors are integrating their work very frequently.

What's the commonly used Java code coverage plugin?. A. Cobertura. B. Maven. C. Ant. D. Gradle.

Which can you do with the Jenkins install Wizard? Choose 3 answers. A. Install a pre-defined set of recommended plugins. B. Install al existing open-source plugins for Jenkins. C. Choose the version of Jenkins core to install. D. Manually select plugins to install from a set of predefined plugins. E. Install Jenkins without any extra plugins.

What is an SCM?. A. Source Code (or Control) Management. B. Structural Code Machine. C. Super Core Management. D. None of the above.

Which of these tasks are ONLY available from the "Manage Jenkins" page? Choose 2 answers. A. Define views. B. Configure Global Security. C. Manage plugins. D. Configure credentials. E. Open Blue Ocean.

You're a DevOps engineer in charge of your team's Jenkins server. You have a particular stage in your pipeline that you want to run on a particular build node. You have to have Apache installed on this node. Assuming the node has been appropriately labeled, "apache", how would you ensure this stage ran on that node?. A. apache agent. B. agent {label 'apache'}. C. agent('apache'). D. apache' {agent}.

Which are true when installing new plugins? Choose 2 answers. A. Most plugins can be installed without stopping and starting Jenkins. B. The previous public release of a plugin is installed for reliability instead of installing the most recent public release. C. If you check the "Enable rollbacks when upgrading" box, future updates to an the plugin can easily be rolled back when necessary. D. You must install all required and optional dependencies before installing the plugin with the plugin manager. E. If you are running Jenkins under HTTP proxy, you must configure HTTP proxy access for the plugin manager before installing or updating plugins.

What's "Infrastructure as Code"?. A. None of these. B. Infrastructure is defined in source code, like the Jenkinsfile for a pipeline. C. There's no hardware. D. Source code is hosted in your infrastructure.

Which of the following would correctly complete the sentence, "Continuous integration is a of Continuous Delivery"? Choose 2 answers. A. consolidation. B. subset. C. requirement. D. process definition. E. superset.

What is the purpose of the "Manage Old Data" screen under "Manage Jenkins"?. A. Clean up workspaces left by deleted Jenkins users. B. Delete outdated configuration left by uninstalled, deleted, or upgraded plugins. C. Delete artifacts, togs, and backups that are no longer required. D. Prepare for migration from Jenkins 1 to Jenkins 2. E. Delete or restore old credentials details.

Which answer best describes continuous deployment?. A. Building in 60 minutes or less. B. A software development discipline where software is built so that can be released to production at any time. C. A software development practice where contributors are integrating their work very frequently. D. A software development discipline where software is released continuously as part of an automated pipeline.

Which Jenkins job status indicates that tests failed?. A. Failure. B. Unstable. C. Not built. D. Success. E. Aborted.

You have a series of tasks which require execution across different software components to prove the compatibility and functionality of your build and the components as a while. Which of the following describes the type of testing you will perfrom?. A. Acceptance testing. B. Smoke testing. C. Unit testing. D. Integration testing.

How do you navigate to the matrix-based security section of Jenkins?. A. Manage Jenkins -> Configure Global Security. B. Manage Jenkins -> Configure System. C. None of these. D. Manage Jenkins -> Configure Global Options.

You're setting up a folder config in Jenkins, and you set a couple of items called "child item with worst health" and "recursive". A colleague turns to you, since you know the answers to the rest of his questions, and asks you, "how do I determine the health of the folder with those items set? What's your answer?. A. Only top scoped projects will determine the health of a folder. B. I don't know. Ask someone else. C. Items in nested sub-folders are used to calculate the folders health. D. Don't be silly. Folder's don't have health.

Which of the following is not a default environment variable in a Jenkins project?. A. START_TIME. B. JOB_NAME. C. NODE_NAME. D. BUILD_NUMBER.

Which of the following is true about resuming a Declarative Pipeline?. A. All Declarative Pipeline are restartable by default, with the same inputs (commit to build, parameters, etc) as the original run. Any data that built in the original run is available only if the preserveStashes() option is specified in the Jenkinsfile. B. A DeclaraDve Pipeline can be restarted only if the preserveStashes() option is set in the pipeline. C. Declarative Pipelines can be restarted after a Jenkins failure but not after a transient outage (such as a network failure or disk space exhaustion). D. Declarative Pipelines can be resumed only after a transient outage (such as a network failure orfefisk space exhaustion). E. Declarative Pipeline that use Docker containers can not be resumed because the docker APIs that Jenkins calls to create the container are nor senalized.

What's a functional test?. A. It tests components coming together. B. It tests a small piece of functionality, usually at the class method level. C. It tests against the product specifications. D. It tests the functionality of the project as a whole.

You have a friend who wants fame and fortune from being developer working with Jenkins. He wants to write code for it and doesn't know anything about it yet. He wants to know what language Jenkins is written in. You, of course, know the answer and are delighted to tell them. Which of the following do you tell them it's written in?. A. .NET. B. Ruby. C. Python. D. Java.

How do you add a new folder?. A. None of these. B. Add a folder on the Jenkins master file system in /var/lib/jenkins. C. You can add one from another project's "Configuration" view. D. Click "New Item" in the left dashboard panel, then select "Folder".

Which answer best describes continuous integration?. A. A software development discipline where software is built so that it can be released to production at any time. B. A software development discipline where software is released continuously as part of an automated pipeline. C. Building in 60 minutes or less. D. A software development practice where contributors are integrating their work very frequently.

Your organization has been carefully and painstakingly performing builds on specific commits which the development team deems as releases or release candidates and subsequently only testing major releases. You have been placed in charge of a new project in which continuous integration is the primary goal. Which part of your organization's existing process do you need to modify in the furtherance of the goal of continuous integration?. A. Building every commit. B. Maintaining a single source repository. C. Building everything manually with great care. D. Making Builds Selft-Testing.

How can you downgrade a plugin?. A. Overwrite the hpi file on the file system. B. Click the "Downgrade to" button in the Plugin Manager. C. All of these. D. Use the advanced install option in the Plugin Manager to install an older hpi file than the plugin already installed.

What's the difference between an upstream project and a downstream project?. A. An upstream project has more build steps. B. An upstream project triggers a downstream project. C. A downstream project produces no artifacts. D. A downstream project triggers an upstream project.

You're a DevOps engineer in charge of configuring Jenkins for your team's CI/CD pipeline. You're utilizing the Jenkins pipeline and the JenkinsFile. You want to define a stage for your build that utilizes the locally installed Ant and build.xml in the root of your project repository. Which is the correct syntax?. A. step('build') { sh 'ant -f build.xml -v' } }. B. stage('build') { sh 'ant -f build.xml -v' }. C. stage('build') { steps { sh 'ant -f build-tools/build.xml -v' } }. D. stage('build') { steps { sh 'ant -f build.xml -v' } }.

What type of agent nodes are there?. A. All of the others. B. SSH. C. Docker. D. JNLP.

Which is a valid environment variable string interpolation?. A. "${VARIABLE}". B. Both "${VARIABLE}" and $VARIABLE. C. %{VARIABLE}. D. $VARIABLE.

You want to allow regular users to configure limited aspects of a job but now allow them to change everythin, What Jenkins mechanism do to user?. A. Declarative Pipeline. B. Matrix-based security. C. Build parameters. D. System environment variables. E. Job Configuration Restriction plugin.

What is Ant?. A. A Java build tool. B. None of these. C. An acceptance testing platform. D. An unit testing tool.

Which is a valid agent declaration?. A. agent any. B. agent { label 'Slave 1'}. C. agent none. D. All of these.

Which practices optimize performance on large systems? Choose 2 answers. A. Run all builds on agents and never on the master itself. B. Allocate specific masters for different build types and teams. C. Use plugins as much as possible. D. Use the maximum number of executors at all times and avoid using labels. E. Avoid modifying Java parameters that control heap size and garbage collection.

Which of the following are advantages of a Pipeline job when compared to a Freestyle job? Choose 2 answers. A. Job definition can be loaded from the Source Code Management system at build time. B. Builds can be triggered with millisecond granularity. C. No extra plugins must be installed. D. Jenkins can be restarted while a build is in progress without impacting the build. E. Builds can be parameterized.

You've been promoted at work and are now in charge of the system administrators that look after the Jenkins platform for your company. You no longer want to ger notifications from Jenkins, but your subordinates don't know what settings to change in a Jenkinsfile. You give them a look, and say one of the following is what needs to be changed: A. notice. B. alert. C. email. D. emailtext.

Which is an example of a Jenkins plugin?. A. All of others. B. Parameterized Trigger. C. Pipeline. D. Credentials.

You have a stage called "Promote to Green", and you only want to run it when "development" is the current branch in a multibranch pipeline. How would you use the "when" declarative to accomplish this?. A. when { branch 'development' }. B. when { branch 'master' }. C. when ( $branch == 'development'). D. when ' development'.

Which is an invalid default project parameter?. A. Boolean. B. File. C. String. D. md5.

In a Junit report, if we set the "Health report amplification factor" to 3 and there's a 10% failure, what's the health score?. A. 98%. B. 70%. C. 75%. D. 60%.

You are an administrator of a base Jenkins master with the recommended plugin set and you want to connect a new agent using SSH. Authentication on the remote node that wil host the agent is done with as SSH key pair which your users must NOT be able to see or access. Which of the following is TRUE assuming yout users do not have admin rights?. A. Use a credential "SSH Username with private key", restricted to the Scope "Agents", for the node's SSH. B. Use a credential "SSH Username with private key", restricted to the Scope "System", for the node's SSH. C. The SSH key will be stored in the JENKINS_HOME/.ssh folder. Configure the agent to use a key from the "standard" SSH folder. D. You cannot use an SSH key-pair. Configure a password for the agent's SSH user, and create a credential of type "Username with password" for the node's SSH authentication.

Which job type is always available in Jenkins without additional plugins?. A. Grade project. B. Ant project. C. Pipeline project. D. Freestyle project. E. Make project.

Which of the following "agent" directives are not valid in Declarative Pipeline?. A. agent {label 'Minux'}. B. agent (dockerfile {filename 'Dockerfile'}). C. agent {docker 'centos:latest'}. D. agent none. E. agent docker.

Your team is working on a new project to build CI/CD pipeline for your Docker containers. You have discovered a new plugin to help with your image build. Where would you navigate to install this new plugin?. A. There is no graphical Plugin Manager. B. Dashboard Left Panel -> Manage Jenkins -> Configure System -> Manage Plugins. C. None of these. D. Dashboard Left Panel -> Manage Jenkins -> Manage Plugins.

In a "standalone" configuration, when masters manage the build environment and also execute builds with their own resources, which of the following is true?. A. User interface becomes slower as resources on the master run out. B. Masters are more highly available. C. The builds share SCM checkouts. D. Build times decrease.

Yourd co-worker was installing a Jenkins instance and went home for night. When they returned the next day they notice their machine had rebooted, the scrollback of the installation was unretrievable, and they've come to you for help. In what location will you need to look at it to retrieve the initialAdminPassword?. A. /opt/jenkins/. B. /var/lib/jenkins/secrets/. C. /tmp/Jenkins. D. /usr/lib/jenkins/password.

What determines what can be seen in a "My View"?. A. It shows items that match a filter regular expression. B. It shows all items configured in Jenkins. C. It shows all items a user has permission to view in Jenkins. D. None of these.

Which menu option do you select to add a pipeline or other project?. A. Credentials. B. My views. C. New item. D. Manage Jenkins.

In a Multibranch Pipeline project, you removed a branch in the repository. When is the corresponding "orphaned" job removed?. A. All orphaned jobs that match the "Orphaned Item Strategy" are cleaned automatically every 24 hours. B. All orphaned jobs are cleaned up every time the Multibranch project is saved. C. All "orphaned" jobs are cleaned up on every branch re-Index process. D. All orphaned jobs that match the "Orphaned Item Strategy" configuration are cleaned up on every branch re-index process.

Which of the following are true when using environment directives in a Declarative Pipeline? Choose 3 answer. A. 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. B. 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,. 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 is enclosed in single 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.

What's a fingerprint?. A. User tracking in Jenkins. B. The size of an artifact in bytes. C. An md5sum for an artifact that's tracked between projects. D. The name of a file.

What happens to all associated configuration metadata (on jobs, builds, etc) after a plugin is uninstalled?. A. Nothing happens. The data remains on the persisted form of the configuration until the next save of that Rem (job, etc). B. It is deleted on the next restart of Jenkins. C. It is deleted on the next configuration reload. D. It is deleted Immediately. E. The data is backed up and then deleted from the live configuration.

Which answer best describes continuous delivery?. A. A software development discipline where software is released continuously as part of an. B. A software development discipline where software is built so that it can be released to production at any time. C. Building in 60 minutes or less. D. A software development pratice where contributors are integrating their work every frequently.

What interval syntax could I use to trigger a build every day?. A. @daily. B. H H * * *. C. 30 12 * * *. D. All of these.

Denunciar Test
Chistes IA