
GitLabCertified CI/CD Associate
Domain 2Objective 3
Objective: Scope and Persist Variables at Various Levels GITLAB-CERTIFIED-CICD-ASSOCIATE Practice Questions (Page 2)
Part of the Domain 2: CI/CD Fundamentals domain, which makes up ~30% of our current practice bank.
29questions here
6free pages
8concepts
Questions 6–10
- 6
Which of the following has the highest precedence when overriding a variable?
Select an answer first - 7
A variable API_KEY is defined at the instance level with value 'instance-key'. The same variable is also defined at the project level with value 'project-key'. What value will be used in the pipeline?
Select an answer first - 8
A GitLab administrator defines an instance-level variable GLOBAL_TIMEOUT set to '3600'. A group 'dev' defines a group-level variable GLOBAL_TIMEOUT set to '1800'. A project 'dev/proj1' does not define this variable. What is the value of GLOBAL_TIMEOUT in a pipeline for 'dev/proj1'?
Select an answer first - 9
A user manually triggers a pipeline from the GitLab UI. They set a pipeline variable named TARGET_ENV to 'production'. The project has a project-level variable TARGET_ENV set to 'staging', and the .gitlab-ci.yml file defines TARGET_ENV as 'development'. What value will the job see?
Select an answer first - 10
Where would you define a variable that should be available to all projects in a specific group and its subgroups?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by GitLab. “GITLAB-CERTIFIED-CICD-ASSOCIATE” is a trademark of its owner, used for identification only.