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

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

29questions here
6free pages
8concepts

Questions 26–29

  1. 26foundation · easy

    Which of the following is NOT a valid scope level for defining CI/CD variables in GitLab?

    Select an answer first
  2. 27foundation · easy

    Where in .gitlab-ci.yml can you define a variable that is available to all jobs in the pipeline?

    Select an answer first
  3. 28application · medium

    A project has a project-level variable API_KEY set to 'project-key'. The .gitlab-ci.yml file also defines API_KEY as 'yaml-key'. A developer wants to run a pipeline with the value 'override-key' without changing any files or settings permanently. What is the simplest way?

    Select an answer first
  4. 29application · medium

    An instance-level variable DEPLOY_ENV is set to 'production'. A group 'qa' sets a group-level variable DEPLOY_ENV to 'staging'. A project 'qa/app' does not define this variable. A user triggers a pipeline for 'qa/app' and passes a pipeline variable DEPLOY_ENV='test'. What value will the job see?

    Select an answer first
Finished these 4 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.