Gitlab CI/CD

Gitlab CI/CD

Assessment

Flashcard

Other

Professional Development

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

7 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Main difference between Continuous delivery and continuous deployment, which is recommended? Continuous Delivery: manual, Continuous deployment: automatic; Recommended: Continuous Delivery

Back

Continuous Delivery is manual, Continuous deployment is automatic; Recommended is Continuous Delivery.

2.

FLASHCARD QUESTION

Front

Artifacts created during pipeline can be used by the job in subsequent pipeline. Is statement True/False?

Back

False

3.

FLASHCARD QUESTION

Front

Which gitlab keyword is used to allow job to fail? (Failed job does not stop the subsequent jobs to run.)

Back

allow-failure: true

4.

FLASHCARD QUESTION

Front

Which keyword is used to determine the order of job execution in gitlab-ci.yml? Options: script, artifacts, stages, tags

Back

stages

5.

FLASHCARD QUESTION

Front

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

Back

prints 'Hurray'.

6.

FLASHCARD QUESTION

Front

which keyword is used to limit when the jobs should be created: only, except, both, None of the above

Back

both

7.

FLASHCARD QUESTION

Front

Codebase is pushed to 'master' branch, above snippet is .gitlab-ci.yml file, will the above job execute?

Back

No