
Gitlab CI/CD
Authored by Depte Mena
Other
Professional Development
Used 31+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Main difference between Continuous delivery and continuous deployment, which is recommended?
Continuous Delivery: manual, Continuous deployment: automatic; Recommended: Continuous Delivery
Continuous Delivery: automatic, Continuous deployment: manual; Recommended: Continuous Delivery
Continuous Delivery: manual, Continuous deployment: automatic; Recommended: Continuous Deployment
Continuous Delivery: automatic, Continuous deployment: manual; Recommended: Continuous Deployment
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Artifacts created during pipeline can be used by the job in subsequent pipeline. Is statement True/False.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which gitlab keyword is used to allow job to fail? (Failed job does not stop the subsequent jobs to run.)
when: always
allow-failure: true
artifacts:
- on-failure: true
when: on_failure
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to determine the order of job execution in gitlab-ci.yml?
script
artifacts
stages
tags
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the output?
Step1: Initialize the value of custom variable 'VAR' as 'Hello' in gitlab ci/cd variables
Step2: Then,Initialize the variable 'VAR' as 'Hurray' under variables in gitlab-ci.yml
Step3:
Job A:
- Stage: build
- Script:
- echo $VAR
Prints 'Hello'
prints 'Hurray'
prints error
None of the above.
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
which keyword is used to limit when the jobs should be created:
only
except
both
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Codebase is pushed to 'master' branch, above snippet is .gitlab-ci.yml file, will the above job execute?
Yes
No
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?