Jenkins, along with several other automation platforms, provides developers and operators with tools that allow them to automate the deployment of environments with preconfigured source code, including the CI pipeline. What is this called?
A. Continuous Integration
B. Continuous Deployment
C. Continuous Delivery
D. Infrastructure as Code
You have taken over a build environment where Jenkins is responsible for scanning for changes made in a Git repository every hour and then applying that build to a few dozen web servers. As part of that job, Jenkins also is responsible for completing some scripted performance-based Visit us athttps://www.examsboost.com/test/cje/ Leading the way in IT testing and certification tools, www.examkiller.net tests and, depending on the defined results, marking the build as complete and notifying the team OR rolling back the build, notifying the team, and marking it as failed. You notice that the build itself is now taking longer than an hour to complete, which is affecting the push of new changes on occasion. What changes could you make to your Jenkins environment to alleviate the amount of time it takes to complete and test a build so that the hourly schedule is more likely to be kept?
A. Create additional Jenkins Masters and deploy the job to each one. Schedule the job staggered by 30 minutes on each one so that the additional master servers won't be busy if the first job runs long.
B. Add one or more slave nodes to the environment, this will allow us to deploy code to multiple end points at one time. Break up the single job into multiple jobs so that each one can be triggered by the successful completion of the previous job to eliminate scheduling problems on beginning a new build in the event subsequent steps run longer than the intended time period.
C. None of these
D. Remove the performance testing from the build. Schedule performance testing as a separate job 30 minutes after the build runs and trigger a rollback if the performance testing fails at this point.
What is a code coverage test?
A. It tests components coming together
B. It tests against the product specifications.
C. It tests a small piece of functionality, usually at the class method level.
D. It tests how well your code is tested.
What does the Build Queue contain?
A. Pull requests
B. Disabled projects
C. Scripts waiting approval
D. Builds waiting for an executor
Which answer best describes continuous deployment?
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 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.
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"
Which is a valid environment variable string interpolation?
A. "${VARIABLE}"
B. Both "${VARIABLE}" and $VARIABLE
C. %{VARIABLE}
D. $VARIABLE
You are tasked by management to explain continuous deployment. Your explanation will be used in the company's annual report, so you need to ensure you understand it properly. Which is the best definition?
A. Building in 60 minutes or less.
B. A software development practice where contributors are integrating their work very frequently to production in an automated fashion.
C. A software development discipline where software is built so that it can be released to production at any time.
D. A software development discipline where software is built so that it can be released to production at any time.
Which of the following are true when using build parameters? Choose 3 answers
A. 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.
B. Use the "params" object to reference parameters that are defined on "The project is parameterized" section of the job configuration.
C. Use the "parameters" directive to define parameters for your Pipeline Inside your Pipeline code.
D. If you configure a build parameter of type File, then users can specify a file on the server as build input.
You want to deploy a Jenkins pipeline, but you are concerned about the total amount of time it will take for the deployment to complete, and you aren't concerned with files left in the working directory after a build. What should you do?
A. Tune the "timer" section for the project.
B. Choose not to use a clean checkout.
C. There's no way to reduce the time
D. Use a clean checkout.