All quizzes
Free quiz · 40 questions in the bank

GitLab CI quiz

Test your GitLab CI knowledge with a free interactive quiz — 40 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What does setting `when: manual` on a job do?

In this round
  1. What does setting `when: manual` on a job do?
  2. If a `.gitlab-ci.yml` does not declare a top-level `stages` key, what happens?
  3. Where should you store a secret API token used by a deploy job?
  4. What is the purpose of `before_script`?
  5. What is a merge request pipeline?
  6. What is the purpose of the `tags` key on a job?
  7. What does the `image` keyword specify for a job?
  8. What predefined variable holds the name of the branch a pipeline is running on?
  9. What does `docker-compose`-style multi-line YAML like `script: ['npm ci', 'npm test']` versus a YAML block list accomplish in a job?
  10. What does a GitLab Runner do?
  11. What does `retry: 2` on a job configure?
  12. What triggers a GitLab CI pipeline by default?
Gaps to close?
Read the curated GitLab CI notes — core concepts, patterns, interview prep.
GitLab CI notes

More quizzes

.NETAccessibilityAgile MethodologyAirflowAlertmanagerAlgorithms