GitLab CI/CD: Pipeline Automation Fundamentals
GitLab CI/CD: Pipeline Automation Fundamentals
Up to 20 questions, shuffled on every run
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.
What is the standard filename for a GitLab CI/CD configuration?
Answer`.gitlab-ci.yml`
What is a GitLab "Runner"?
AnswerAn application that executes jobs defined in a pipeline
By default, how do jobs in the same "stage" execute in GitLab?
AnswerIn parallel as long as there are available runners
What does the "stages" keyword define at the top of the YAML file?
AnswerThe execution order and grouping of pipeline jobs
What is an "Artifact" in GitLab CI/CD?
AnswerA list of files generated by a job to be used later
How do you prevent a job from running unless a specific condition is met?
AnswerBy using the `rules:` keyword to define logic
What is the "Cache" keyword used for?
AnswerTo persist project dependencies between pipeline runs
What is a "Shared Runner"?
AnswerA runner available to all projects within an instance
What does the "image" keyword specify in a job?
AnswerThe Docker container used for the jobs environment
What is the "script" keyword in a job definition?
AnswerA list of shell commands executed by the Runner
What are "CI/CD Variables" in GitLab?
AnswerCustom environment settings used for configuration
What is a "Pipeline"?
AnswerA sequence of jobs organized into different stages
What is the "allow_failure" keyword used for?
AnswerTo let a pipeline continue despite a specific job error
What does "when: manual" do in a job?
AnswerIt prevents a job from starting without user approval
What is a "GitLab Runner Executor"?
AnswerThe environment type where the pipeline job is run
What is the "before_script" keyword?
AnswerA set of global commands that run before every job
What is "Environment" management in GitLab CI/CD?
AnswerA feature to track and manage software deployment targets
What is a "Downstream Pipeline"?
AnswerA pipeline triggered by a parent or external pipeline
What is the purpose of "Tags" in a job definition?
AnswerTo ensure a job runs on a Runner with specific traits
What does "needs" allow you to do in GitLab CI?
AnswerTo execute jobs out of stage order based on dependencies
What is the "Merge Request Pipeline"?
AnswerA pipeline that runs specifically on code in an MR
What is "GitLab Container Registry"?
AnswerA built-in service to store and manage Docker images
What does "dependencies: []" do in a job?
AnswerIt stops the job from downloading artifacts from others
What is a "Scheduled Pipeline"?
AnswerA pipeline set to run at specific intervals using cron
What is the "Parallel" keyword used for in a single job?
AnswerTo run multiple instances of a job for load balancing
What is "Auto DevOps"?
AnswerA set of pre-built templates for automated CI/CD
What is "Variables: GIT_STRATEGY" used for?
AnswerTo choose between "clone" or "fetch" for repository data
What is "Review Apps"?
AnswerDynamic environments for previewing changes in an MR
What does "interruptible: true" do?
AnswerIt lets new pipelines cancel redundant older jobs
What is the "GitLab-managed Terraform State"?
AnswerA secure backend to store Terraform infrastructure data








