OpenExamsFREE PRACTICE — ANY EXAM

Free GitLab Certified CI/CD Associate Practice Questions

100 free questions · Answer explanations · No signup required

View examination details, outline and sources

Loading selected examination banks…

Sample Practice Questions

Try these 10 sample questions from the GitLab Certified CI/CD Associate practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.

  1. 1A Docker-executor job needs Node.js for its main script. Which keyword selects the container image in which that script runs?

    1. A.imageCorrect answer: A
    2. B.services
    3. C.artifacts
    4. D.cache

    Explanation: GitLab states: "Use Docker images." image selects the main execution image. services supplies additional containers; artifacts and cache handle files.

    Reference: GitLab CI/CD YAML syntax reference — Keywords — image

  2. 2A pipeline YAML file lives in the same repository and branch as the including file. Which include form references it using a repository-relative path, without a URL or project name?

    1. A.include:localCorrect answer: A
    2. B.include:remote
    3. C.include:project
    4. D.include:template

    Explanation: GitLab states: "Use include:local to include a file that is in the same repository and branch as the configuration file containing the include keyword." local references the repository file without using remote URLs or a different project/template source.

    Reference: GitLab CI/CD YAML syntax reference — include:local

  3. 3What is GitLab's default CI/CD configuration filename?

    1. A..gitlab-ci.ymlCorrect answer: A
    2. B..gitlab.yml
    3. C..gitlab-runner.yml
    4. D..pipeline.yml

    Explanation: GitLab states: "By default, the filename must be .gitlab-ci.yml." The default filename is .gitlab-ci.yml; custom filenames require separate configuration.

    Reference: Get started with GitLab CI/CD — Step 1: Configure your pipeline

  4. 4A job's main script succeeds, but after_script fails. Assuming no other failure, what job result does GitLab report?

    1. A.Failed due to cleanup
    2. B.Canceled during cleanup
    3. C.Successful despite after_script failureCorrect answer: C
    4. D.Pending until cleanup is retried

    Explanation: GitLab states: "If the script section succeeds and the after_script times out or fails, the job exits with code 0 (Job Succeeded)." after_script failure does not replace a successful main script's exit result.

    Reference: GitLab CI/CD YAML syntax reference — after_script

  5. 5Which GitLab facility is intended to store container images built for a project?

    1. A.Dependency cache
    2. B.Pipeline artifacts browser
    3. C.Container registryCorrect answer: C
    4. D.Package importer

    Explanation: GitLab states: "You can use the integrated container registry to store container images for each GitLab project." The container registry is the project image store; dependency caches and generic artifacts are not the image registry.

    Reference: GitLab container registry — GitLab container registry

  6. 6A team wants automated vulnerability checks on its application source code before deployment. Which GitLab capability directly addresses that task?

    1. A.Container scanning
    2. B.Code Quality
    3. C.SASTCorrect answer: C
    4. D.Dependency Proxy

    Explanation: GitLab states: "Static application security testing (SAST) discovers vulnerabilities in your source code before they reach production." SAST examines source for security vulnerabilities. Container scanning targets images, Code Quality maintainability and the proxy distribution.

    Reference: Static application security testing (SAST) — Static application security testing (SAST)

  7. 7Which access scope describes a GitLab group runner?

    1. A.A runner pool available only to one assigned project
    2. B.A runner pool broadly available across the entire instance
    3. C.A runner pool shared by projects within its assigned groupCorrect answer: C
    4. D.A runner pool available only to jobs started by the group owner

    Explanation: GitLab states: "Group runners: Use when multiple projects in the same group share a consistent runner pool." Group runners share a group-scoped pool. Project-only and instance-wide are other scopes; group runners are not restricted to the owner's personal jobs.

    Reference: Runners — Runner types

  8. 8Which job keyword specifies the shell commands the runner executes as the main workload?

    1. A.rules
    2. B.scriptCorrect answer: B
    3. C.needs
    4. D.stage

    Explanation: GitLab states: "Shell script that is executed by a runner." script defines the workload; rules selects jobs, needs defines dependencies and stage assigns a phase.

    Reference: GitLab CI/CD YAML syntax reference — Keywords — script

  9. 9Which include form imports a YAML configuration from another private project on the same GitLab instance?

    1. A.include:local
    2. B.include:projectCorrect answer: B
    3. C.include:template
    4. D.include:remote

    Explanation: GitLab states: "To include files from another private project on the same GitLab instance, use include:project and include:file." project plus file supports private same-instance projects with appropriate access; remote does not support authentication.

    Reference: GitLab CI/CD YAML syntax reference — include:project

  10. 10Which component executes a GitLab CI/CD job?

    1. A.A merge request
    2. B.A runnerCorrect answer: B
    3. C.A package registry
    4. D.A pipeline schedule

    Explanation: GitLab states: "Runners are the agents that run your jobs." Runners execute work; merge requests review changes, registries store packages and schedules initiate pipelines.

    Reference: Get started with GitLab CI/CD — Step 2: Find or create runners

Exam Review

About GitLab Certified CI/CD Associate

GitLab Certified CI/CD Associate · UNSPECIFIED

Key exam facts

Provider
GitLab offers and owns the certification; delivered through GitLab University. Credly supplies digital badges.
Format
Online, unproctored written assessment; single-answer multiple choice and multiple response.
Exam questions
Total questions: 50.
Time limit
75 minutes in one session; timer expiration submits the exam. Documented-disability accommodations may include approved extra time.
Passing score
75% required; unanswered questions are incorrect and guessing has no penalty.
Exam fee
USD 150 standard registration, including two attempts within 14 days; partner price USD 120. Subsequent repurchase uses the standard fee; bulk/partner arrangements and promotions may apply.

Topics covered

  • YAML Configuration (22%)

  • Pipeline Development (18%)

  • CI/CD Fundamentals (18%)

  • Troubleshooting and Optimization (14%)

  • Container and Package Management (12%)

  • Security Integration (8%)

  • Runner Configuration (8%)

How to prepare

Work through the topics, read the explanation after each answer, and revisit the areas where you miss questions. Use the official outline and reference materials below to guide your study.

These independent practice questions are not actual exam items and do not guarantee a passing result.

Frequently asked questions

What is the exam format?

Online, unproctored written assessment; single-answer multiple choice and multiple response.

How many questions are on the exam?

Total questions: 50.

How long is the exam?

75 minutes in one session; timer expiration submits the exam. Documented-disability accommodations may include approved extra time.

What is the passing score?

75% required; unanswered questions are incorrect and guessing has no penalty.

How much does the exam cost?

USD 150 standard registration, including two attempts within 14 days; partner price USD 120. Subsequent repurchase uses the standard fee; bulk/partner arrangements and promotions may apply.

Official sources and references

Confirm current exam arrangements with the exam provider.