GitLab CI and GitHub Actions Quiz

5 questions Pass: 70% +25 pts

Quiz covering CI/CD Pipelines

GitLab CI and GitHub Actions Quiz

5 questions | Pass: 70% | Earn 25 points

Questions in this quiz

A preview of the 5 questions covered. Start the quiz above to answer them, check your score, and read the explanations.

  1. 1

    In GitLab CI, which file must be present in the root of your repository to define the pipeline configuration?

  2. 2

    Which GitHub Actions feature allows you to define a specific event that triggers a workflow, such as a push to the main branch?

  3. 3

    When defining a pipeline in GitLab CI, how do you ensure that a 'deploy' job only runs after the 'test' job has successfully completed?

  4. 4

    In GitHub Actions, what is the primary purpose of using 'actions/checkout@v4' as the first step in a job?

  5. 5

    You are migrating a complex pipeline that requires sharing large artifacts between stages. In GitLab CI, which keyword should be used in a job to pass files to the next stage?