Search test library by skills or roles
⌘ K

Adaface Sample Jenkins Questions

Here are some sample Jenkins questions from our premium questions library (10273 non-googleable questions).

Skills

🧐 Question

Medium

Improve build time
Solve
                                    Sameera set up a build environment where Jenkins will check a Git repo for changes every hour and apply that build to 40 servers. Jenkins also runs some scripted performance based tests. On the basis of the results, it marks the build as complete or rolls back the build and marks it as failed and updates the team. Recently Sameera observes that the build itself is taking over an hour to finish, which sometimes affects the push of updates. What changes could Sameera make to improve the time it takes to complete and test a build?
                                    
                                    A: Remove performance testing from the build, and schedule it as a separate job 30 minutes after the build runs and trigger a rollback if the testing fails.
            
            B: Create additional Jenkins Masters and deploy to each one. Schedule the job staggered by 30 minutes on each, so that additional master servers won't be busy if the first job takes longer to run.
            
            C: Add one or more slaves allowing us to deploy code to multiple end points at a time. Break up the job into multiple jobs so that each can be triggered upon successful completion of the previous job. This will eliminate scheduling issues on beginning a new build when subsequent steps take longer than intended. 
            
            D: None of these would work in the current scenario.
                                    

Options:

  • A
  • B
  • C
  • D

Easy

Executing a particular command
Solve
                                    Bernie wants to use matrix-based security to execute a particular command in a Jenkins pipeline, but they do not have any relevant groups and they are not allowed to create a specific user to run the task. Which of the following can they do?
                                    
                                    A: Create a group or reassign the user
            
            B: Change workflow to require an existing user to the task, and grant permissions to that group.
            
            C: Create a group, add an existing user to run the task or reassign the user
            
            D: Set permissions to allow anonymous user to run the command.
                                    

Options:

  • A
  • B
  • C
  • D
🧐 Question🔧 Skill

Medium

Improve build time
3 mins
Jenkins
Solve

Easy

Executing a particular command
2 mins
Jenkins
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Improve build time
Jenkins
Medium3 mins
Solve
Executing a particular command
Jenkins
Easy2 mins
Solve

Adaface questions are trusted by enterprises globally

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte Microsoft NCS Doubtnut Sokrati J&T Express Capegemini

We evaluated several of their competitors and found Adaface to be the most compelling. Great default library of questions that are designed to test for fit rather than memorization of algorithms.


Swayam Narain, CTO, Affable

hashtag image heart icon Swayam
Join 1200+ companies in 75+ countries.
Wypróbuj dziś najbardziej przyjazne narzędzie do oceny umiejętności.
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
Porozmawiaj z nami
40 min tests.
No trick questions.
Accurate shortlisting.
Ada
● Online
Previous
Score: NA
Next
✖️