stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
CD-Dojo Flashcards | StudBud
Explore
/
CD-Dojo
CD-Dojo
19 terms
·
StudBud Administration
·
120 plays
Basic questions on Git,Jenkins,BDD and TDD.
Flashcards
19 cards
F
Practice quiz
P
Host live
L
Questions
19
Answers
1
command shows the difference from the last commit
git diff
git rm
git diff -- staged
git reset
2
Build software in such a way that the software can be released to production at any time.
Continuous Delivery
Source Code Management
Continuous Integration
Continuous Deployment
3
What is the point of having separate git branches?
All of the answers
To avoid conflicts
To work on code at the same time as others
To keep things organized
4
What is the first principle of TDD ?
Make all tests pass
Write tests first !
Write detailed test specification
Write code first !
5
According to the test automation pyramid, what kind of tests are automated most ?
Unit tests
End to End tests
Acceptance tests
Integration tests
6
What does it mean to pull?
A tool to allow collaboration between programmers
Updates the changes made to your local repository.
Merging files that have modified the same code
Update your local repo with updates made by other users
7
Make files go back to how they were at the last commit
git rm
git reset
git checkout -- HEAD~1
git reset --hard
8
What are the steps of CD automation pipeline?
Build automation and CI; test and deployment automation
test, build, commit, deploy
build, commit, test
none
9
What is it called when two branches that have conflicting code are merged to master?
A code conflict
A commit conflict
A merge conflict
A branch conflict
10
According to BDD, What are the various keywords that are used for writing a scenario?
Given,When,Then
Given,When,And,Then
Given,When
Given,And,Then
11
What is a commit message
empty commit message is not allowed
The blank space you fill with random letters.
A completely unnecessary line of text.
Describes the work changed between commits.
12
every change is automatically deployed to production.
Continuous Integration
Source Code Management
Continuous Delivery
Continuous Deployment
13
What git command is used to retrieve the latest changes from the remote Gitlab repo?
git update
git fetch origin <branchname>
git fetch
git pull origin <branchname>
14
In what order are you to perform the following: commit, push, pull.
Pull, Push, Commit
Pull, Commit, Push
Commit, Push, Pull
Push, Commit, Pull
15
What is the terminal/gitbash command for changing folders/directories
change <foldername>
cf <foldername>
pwd
cd <foldername>
16
What are the types of Jenkins jobs?
Maven Project & Long running
All the above
Multi configuration & Multi branch
Freestyle Project & Pipeline
17
About Behavior-Driven Development (BDD), it's true that:
Is not related with Object Oriented Programming
Specifies software in terms of the action it must perform
It should not be managed by business teams
It cannot be used with Test-Driven Development (TDD)
18
A Software development practice, verifying an automated build to detect integration errors.
Continuous Delivery
Continuous Deployment
Source Code Management
Continuous Integration
19
How do I see all the changes performed on a Git repository?
git log
git diff
git status
git show