BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

EC-Council 312-97 Exam - Topic 7 Question 16 Discussion

Posted by Dalene on Sep 30, 2026 at 08:54 AM

(Dustin Hoffman has been working as a DevSecOps engineer in an IT company located in San Diego, Californi

a. For detecting new security vulnerabilities at the beginning of the source code development, he would like to integrate Checkmarx SCA tool with GitLab. The Checkmarx template has all the jobs defined for pipeline. Where should Dustin incorporate the Checkmarx template file 'https://raw.githubusercontent.com/checkmarx-ltd/cx-flow/develop/templates/gitlab/v3/Checkmarx.gitlab-ci.yml'?)

Suggested Answer: D

GitLab CI/CD pipelines are defined using a configuration file named gitlab-ci.yml, which must be placed in the root directory of the repository. This file controls pipeline stages, jobs, and template inclusions. To integrate Checkmarx SCA using a predefined template, the template reference must be included in the root-level gitlab-ci.yml file so GitLab can load and execute the defined jobs automatically. The other filenames listed in the options are not recognized by GitLab as valid pipeline configuration files. Integrating SCA at the Code stage allows early detection of vulnerable open-source dependencies, reducing remediation cost and preventing insecure components from progressing further in the DevSecOps pipeline.


Get Premium 312-97 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
JO
Jody 5 days ago
I’m leaning towards B. It feels more organized that way.
NO
Nobuko 10 days ago
I agree, D makes sense. It's the standard for GitLab CI.
AV
Avery 15 days ago
I think it's D. The pipeline needs the right config file.
PE
Pete 20 days ago
Just checked, definitely gitlab-ci.yml!
MA
Mari 25 days ago
I thought it was in gitlab-cd.yml, but I guess not!
GR
Gracia 1 month ago
Wait, is that really the only option? Seems too simple.
JA
Jackie 1 month ago
Totally agree, that's the right spot!
SL
Slyvia 1 month ago
It should go in the gitlab-ci.yml root directory.
MO
Moon 2 months ago
I feel like the answer might be D, but I can't recall if there are specific requirements for where to place the template file.
TR
Tresa 2 months ago
I’m a bit confused about the different YAML files. Is gitlab-cd.yml the same as gitlab-ci.yml?
BU
Bulah 2 months ago
I remember practicing a similar question where we had to integrate a tool with GitLab, and I think it was also about the gitlab-ci.yml file.
LE
Lenna 2 months ago
I think the Checkmarx template should go in the gitlab-ci.yml root directory, but I'm not entirely sure.
0/2000 characters

Save Cancel