0% found this document useful (0 votes)
24 views2 pages

Git Jenkins Quiz

Uploaded by

Ashok Sharda
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views2 pages

Git Jenkins Quiz

Uploaded by

Ashok Sharda
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Certified DevOps Foundation Git Jenkins Quiz

1. Which command should you use to initialize a new Git repository?


a. git init
b. git start
c. git clone
d. git initialize

2. Which of these Git client commands creates a copy of the repository and a working directory in
the client’s workspace? (Choose one.)
a. Update
b. Checkout
c. Clone
d. None of Above

3. Which of the following is not a Git configuration scope?


a. Local
b. User
c. System
d. Global

4. Suppose a user is working on one of the features and suddenly he needs to keep his work aside
to work on a customer escalated issue. In this case, user cannot commit his partial code and
even cannot throw away his changes, which solution git provides in this situation?
a. Git Rebase
b. Git Stash
c. Git reset
d. Git push

5. Name the configuration file used to ensure that certain file types are never committed to the
local Git repository.
a. ignore.git
b. .gitignore
c. gitignore.txt
d. git.ignore

6. Which stage in CI/CD pipeline is responsible for building the code?


a. Continuous Integration
b. Continuous Deployment
c. Continuous Delivery
d. None of the Above

https://www.devopsuniversity.org [email protected]
all rights reserved with DevOps University
Certified DevOps Foundation Git Jenkins Quiz

7. When you install Jenkins without any plug-ins configured, what is the only type of Jenkins build
job you can create?
a. Maven Project
b. Pipeline Project
c. Freestyle Project
d. Multiconfiguration Project

8. Which plugin provides a holistic view of upstream and downstream connected jobs that typically
form a batch pipeline?
a. Build pipeline
b. Create pipeline
c. Batch pipeline
d. Jenkins pipeline

9. Can we run JUnit as a part of Jenkins job?


a. TRUE
b. FALSE

Answers:

1. A, 2. C, 3. B, 4. B, 5. B, 6. A, 7. C, 8. A, 9. A

https://www.devopsuniversity.org [email protected]
all rights reserved with DevOps University

You might also like