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 1)

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

29questions here
6free pages
8concepts

Questions 1–5

  1. 1application · medium

    A company has a GitLab instance with multiple groups. Group A has a variable DB_HOST set to 'db1.internal'. Group B does not define this variable. A project in Group B runs a pipeline. What is the value of DB_HOST in this pipeline?

    Select an answer first
  2. 2application · medium

    A pipeline has a 'test' job that produces a coverage report and a 'report' job that needs to access the coverage report. The 'report' job runs after 'test'. What is the recommended way to make the coverage report available to the 'report' job?

    Select an answer first
  3. 3application · medium

    An organization has a group 'engineering' with two projects: 'app' and 'api'. They set a group variable DEPLOY_REGION to 'us-east-1'. The 'api' project has a project-level variable DEPLOY_REGION set to 'eu-west-1'. What will be the value of DEPLOY_REGION in a pipeline for the 'app' project?

    Select an answer first
  4. 4foundation · easy

    A variable named DEPLOY_ENV is defined at both the group level and the project level. Which value will be used in the pipeline?

    Select an answer first
  5. 5expert · hard

    A company has a GitLab instance with a group 'engineering' and a subgroup 'engineering/backend'. They define a variable DATABASE_URL at the instance level. The 'engineering' group defines DATABASE_URL as 'db1'. The 'engineering/backend' subgroup defines DATABASE_URL as 'db2'. A project 'engineering/backend/service' does not define this variable. What value will a pipeline for this project use?

    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.