Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
GitLab logo

GitLabCertified CI/CD Associate

Domain 2Objective 3

Objective: Scope and Persist Variables at Various Levels GITLAB-CERTIFIED-CICD-ASSOCIATE Practice Questions (Page 4)

Part of the Domain 2: CI/CD Fundamentals domain, which makes up ~30% of our current practice bank.

29questions here
6free pages
8concepts

Questions 16–20

  1. 16application · medium

    A team defines a variable named BUILD_CONFIG in the `variables` section of their .gitlab-ci.yml file. They also have a project-level variable with the same name. During a pipeline run, they want the project-level variable to be used instead of the one in the YAML file. What must they do?

    Select an answer first
  2. 17expert · medium

    A company has a group 'development' with a subgroup 'development/team-a' and a project 'development/team-a/app'. The group 'development' defines a variable ENV as 'dev'. The subgroup 'development/team-a' defines ENV as 'test'. The project 'development/team-a/app' defines ENV as 'prod'. What is the value of ENV in a pipeline for this project?

    Select an answer first
  3. 18foundation · easy

    Which GitLab feature allows you to pass a value from one job to a later job in the same pipeline?

    Select an answer first
  4. 19expert · hard

    A team defines a variable in the `variables` section of their .gitlab-ci.yml file. They also have a project-level variable with the same name. They want the project-level variable to be used for all pipelines, except for one specific pipeline run where they want to use the YAML value. What is the most efficient way to achieve this?

    Select an answer first
  5. 20foundation · easy

    In which file would you define a variable that is only available within a specific pipeline?

    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.