All GitLab exams
GitLab Certified Security Associate
What the GitLab Certified Security Associate exam covers and what it costs, with a free 30-question practice test and an explanation for every answer.
- Exam fee
- $150 USD
- Duration
- 75 minutes
- Questions on the exam
- 50
- Passing score
- 75%
- Level
- Foundational
- Topic areas
- 11
- Free practice questions
- 30
- Full question bank
- 112 questions
What the GitLab Certified Security Associate exam covers
The topic areas in our GitLab Certified Security Associate question bank, with each one's share of the 112 practice questions.
| Topic | Share | Questions |
|---|---|---|
| SAST | 16% | 18 |
| Security Policies | 12% | 13 |
| Container Scanning | 10% | 11 |
| DAST | 10% | 11 |
| Dependency Scanning | 10% | 11 |
| Secret Detection | 10% | 11 |
| IaC Scanning | 8% | 9 |
| License Compliance | 8% | 9 |
| Merge Request Approval Policies | 8% | 9 |
| DevSecOps Lifecycle | 4% | 5 |
| API Security Testing | 4% | 5 |
GitLab Certified Security Associate cost and format
| Certification | GitLab Certified Security Associate |
|---|---|
| Vendor | GitLab |
| Level | Foundational |
| Status | Active |
| Languages | English |
| Delivery | Online, unproctored |
Last checked November 10, 2026 against the official GitLab exam page.
GitLab Certified Security Associate sample questions
The first 5 questions from the free practice test. Open a question to see the answer and why it is right.
Question 1SAST
A team wants GitLab SAST to skip a vendored third-party directory that contains code they do not maintain, without turning off SAST for the whole project. Which approach fits best?
- AAdd the vendored directory to the SAST excluded paths setting so the analyzers skip it
- BDisable the SAST template entirely and run a separate third-party scanner on the rest of the repository
- CDelete the vendored directory from the repository before each pipeline runs and restore it afterwards
- DDismiss every finding that originates from the vendored directory in the Vulnerability Report
Show answer and explanationHide answer
Correct answer: AThe SAST excluded paths setting (SAST_EXCLUDED_PATHS) tells the analyzers to skip matching files while the rest of the project is still scanned. Disabling the template removes coverage for all code, deleting the directory on every run is fragile, and dismissing findings still runs the analysis on that code.
Question 2Security Policies
What does a scan execution policy do in GitLab?
- AIt runs container image scans on a fixed schedule outside of any pipeline in the project
- BIt blocks a merge request from merging until a named approver signs off on the proposed change in the review
- CIt stores scanner credentials in a protected variable that the scan jobs can read at runtime
- DIt requires specified security scans to run in in-scope project pipelines regardless of local CI settings
Show answer and explanationHide answer
Correct answer: DScan execution policies enforce that defined security scans run in the pipelines of the projects they apply to, so project-level CI settings cannot simply switch them off. The other options describe approval rules, credential storage, and scheduled container scanning, which are not what scan execution policies do.
Question 3Container Scanning
A team builds a Docker image in a pipeline and wants the image checked for operating system package vulnerabilities before it is pushed to production. Which approach fits?
- AInclude the Container Scanning template and point its scan at the image that the build job produced
- BEnable DAST so it sends requests to the running container and reports any vulnerable packages found
- CEnable Secret Detection, which inspects the operating system package versions in each image layer
- DRun License Compliance against the Dockerfile to list the packages that the base image installs
Show answer and explanationHide answer
Correct answer: AThe Container Scanning template analyzes a container image for known operating system package vulnerabilities, and it can be pointed at the image the build produces. DAST tests running applications, Secret Detection looks for credentials, and License Compliance reports license information rather than package vulnerabilities.
Question 4DAST
What is the main difference between passive and active DAST scanning?
- APassive scanning observes responses without sending attack payloads, while active scanning sends attack payloads to the target
- BPassive scanning runs only on merge requests, while active scanning runs only on the default branch of the project
- CPassive scanning requires credentials for the target, while active scanning never needs any form of authentication
- DActive scanning reads the application source code, while passive scanning only inspects running container images
Show answer and explanationHide answer
Correct answer: APassive scanning inspects traffic and responses without sending attack payloads, so it is gentler on a target, while active scanning sends attack payloads and can change data. The other options invent run locations, authentication rules, or inputs that do not match how DAST works.
Question 5Dependency Scanning
What is a software bill of materials (SBOM)?
- AA record of every merge request approval that was given during a single development sprint
- BA list of developers who are approved to merge changes into the protected branches of a project
- CAn inventory of the components and their versions that make up a software product or build
- DA set of firewall rules that restrict which outbound destinations build runners may contact
Show answer and explanationHide answer
Correct answer: CAn SBOM lists the components, versions, and related metadata that a software product is built from, which helps teams find affected packages when a new advisory appears. The other options describe reviewer lists, approval records, and network rules rather than a component inventory.
How to prepare for GitLab Certified Security Associate
- Read the official GitLab outline first (exam page), so you know exactly what is in scope.
- Give the most time to SAST and Security Policies: together they make up 28% of the questions.
- Take the free 30-question practice test and note which topics you miss.
- Go back to the weak topics, then test again. A practice score shows where to study; it does not predict your exam result.
Full GitLab Certified Security Associate question bank
All 112 questions with answers and explanations, as a PDF, an online practice exam, or both.
The full 112-question bank for GitLab Certified Security Associate is in final review. The free practice test is open now.
Start the free practice testGitLab Certified Security Associate FAQ
Related exams
| Exam | Vendor | Level |
|---|---|---|
| GitLab Certified Duo Agent Platform Associate | GitLab | Foundational |
| GitLab Certified Fundamentals Associate | GitLab | Foundational |
| GitLab Certified CI/CD Associate | GitLab | Foundational |
| CKS: Certified Kubernetes Security Specialist | Linux Foundation / CNCF | Professional |
| SCS-C03: AWS Certified Security - Specialty | AWS | Specialty |
| CAS-005: CompTIA SecurityX | CompTIA | Expert |