GitLab CI/CD: Pipeline Automation Fundamentals

20 QuestionsIntermediatePublished:

GitLab CI/CD: Pipeline Automation Fundamentals

Up to 20 questions, shuffled on every run

Quiz Configuration
Enterto start

Welcome to the GitLab CI/CD Basics Quiz! This quiz covers the fundamentals of GitLab CI/CD, including pipelines, jobs, stages, triggers, and best practices. Test your knowledge and see how well you understand this powerful automation tool.

Answer key and explanations20 questions

The quiz above draws 20 questions at random from these 30, so a second attempt will not be the same run. Everything in the pool is listed here.

  1. What is the standard filename for a GitLab CI/CD configuration?

    Answer`.gitlab-ci.yml`

  2. What is a GitLab "Runner"?

    AnswerAn application that executes jobs defined in a pipeline

  3. By default, how do jobs in the same "stage" execute in GitLab?

    AnswerIn parallel as long as there are available runners

  4. What does the "stages" keyword define at the top of the YAML file?

    AnswerThe execution order and grouping of pipeline jobs

  5. What is an "Artifact" in GitLab CI/CD?

    AnswerA list of files generated by a job to be used later

  6. How do you prevent a job from running unless a specific condition is met?

    AnswerBy using the `rules:` keyword to define logic

  7. What is the "Cache" keyword used for?

    AnswerTo persist project dependencies between pipeline runs

  8. What is a "Shared Runner"?

    AnswerA runner available to all projects within an instance

  9. What does the "image" keyword specify in a job?

    AnswerThe Docker container used for the jobs environment

  10. What is the "script" keyword in a job definition?

    AnswerA list of shell commands executed by the Runner

  11. What are "CI/CD Variables" in GitLab?

    AnswerCustom environment settings used for configuration

  12. What is a "Pipeline"?

    AnswerA sequence of jobs organized into different stages

  13. What is the "allow_failure" keyword used for?

    AnswerTo let a pipeline continue despite a specific job error

  14. What does "when: manual" do in a job?

    AnswerIt prevents a job from starting without user approval

  15. What is a "GitLab Runner Executor"?

    AnswerThe environment type where the pipeline job is run

  16. What is the "before_script" keyword?

    AnswerA set of global commands that run before every job

  17. What is "Environment" management in GitLab CI/CD?

    AnswerA feature to track and manage software deployment targets

  18. What is a "Downstream Pipeline"?

    AnswerA pipeline triggered by a parent or external pipeline

  19. What is the purpose of "Tags" in a job definition?

    AnswerTo ensure a job runs on a Runner with specific traits

  20. What does "needs" allow you to do in GitLab CI?

    AnswerTo execute jobs out of stage order based on dependencies

  21. What is the "Merge Request Pipeline"?

    AnswerA pipeline that runs specifically on code in an MR

  22. What is "GitLab Container Registry"?

    AnswerA built-in service to store and manage Docker images

  23. What does "dependencies: []" do in a job?

    AnswerIt stops the job from downloading artifacts from others

  24. What is a "Scheduled Pipeline"?

    AnswerA pipeline set to run at specific intervals using cron

  25. What is the "Parallel" keyword used for in a single job?

    AnswerTo run multiple instances of a job for load balancing

  26. What is "Auto DevOps"?

    AnswerA set of pre-built templates for automated CI/CD

  27. What is "Variables: GIT_STRATEGY" used for?

    AnswerTo choose between "clone" or "fetch" for repository data

  28. What is "Review Apps"?

    AnswerDynamic environments for previewing changes in an MR

  29. What does "interruptible: true" do?

    AnswerIt lets new pipelines cancel redundant older jobs

  30. What is the "GitLab-managed Terraform State"?

    AnswerA secure backend to store Terraform infrastructure data

Was this useful?

You might also enjoy

Check out some of our other posts on similar topics

CI/CD: Pipeline Automation Essentials

CI/CD: Pipeline Automation Essentials

Welcome to the CI/CD Basics Quiz! This quiz covers fundamental continuous integration and continuous delivery concepts, pipeline automation, and modern DevOps best practices. Each question is multiple

GitHub Actions: Workflow Automation Essentials

GitHub Actions: Workflow Automation Essentials

Welcome to the GitHub Actions Basics Quiz! This quiz covers the fundamentals of GitHub Actions, including workflows, jobs, steps, triggers, and best practices. Test your knowledge and see how well you

Jenkins: CI/CD Automation & Pipeline Management

Jenkins: CI/CD Automation & Pipeline Management

Welcome to the Jenkins Basics Quiz! This quiz covers fundamental Jenkins concepts, including pipeline as code, Jenkinsfile syntax, agents and stages, build automation, plugins, and CI/CD best practice

ArgoCD: GitOps Automation with Kubernetes

ArgoCD: GitOps Automation with Kubernetes

Welcome to the ArgoCD Basics Quiz! This quiz is designed to test your understanding of fundamental ArgoCD concepts, GitOps principles, and continuous delivery best practices for Kubernetes. Each quest

GitOps at Scale: ArgoCD, Flux & Multi-Cluster Deployments

GitOps at Scale: ArgoCD, Flux & Multi-Cluster Deployments

Welcome to the GitOps at Scale Quiz! As organizations grow, managing multiple Kubernetes clusters with GitOps becomes a critical skill. This quiz will test your understanding of how to architect, depl

Terragrunt: Infrastructure as Code Management

Terragrunt: Infrastructure as Code Management

Welcome to the Terragrunt Basics Quiz! This quiz covers fundamental Terragrunt concepts, including DRY configuration management, remote state handling, module dependencies, and best practices for mana

6 related posts