MugUp logoMugUp
HomeBrowseAboutBlog
LoginSign Up
MugUp

Plan your day, study, read, write and track your habits in one app.

Follow MugUp

Product

  • Features
  • Compare
  • Free Tools
  • Deck Library
  • MugUp for Discord

Community

  • Blog
  • Changelog
  • Feature Requests
  • Deck Requests

Company

  • Home
  • About
  • Contact

© 2026 MugUp. All rights reserved.

Terms of ServicePrivacy PolicyCookie Policy
  1. Browse decks
  2. DevOps: CI/CD, Infrastructure as Code and GitOps
  3. Continuous Integration: Builds, Tests and Pipelines
Public deck

DevOps: CI/CD, Infrastructure as Code and GitOps

How teams build, test, release and run software with automation: CI pipelines, deployment strategies, Terraform and Ansible, artifact versioning, pipeline secrets and GitOps.

Engineering
AShared by Alex Chen
0PlaySign in to clone

You’re reading a free preview. Sign up to see every topic and question — and to play this deck as games.

See the whole deck

Continuous Integration: Builds, Tests and Pipelines

How CI pipelines build and test every change: stages, runners, caching, artifacts, flaky tests and reproducible builds, using GitHub Actions and GitLab CI terms.

Play topicBack to deck

Content

40 total questions

MCQ: 10
Fill-in: 8
Flashcards: 12
Pair match: 10
Continuous Integration: Builds, Tests and Pipelines – Flashcards
Flashcards

Card #1

What is continuous integration (CI)?

Card #2

What is a CI/CD pipeline?

Card #3

What is a runner (or agent) in CI?

9 more questions in this game

Showing 3 of 12. Sign up free to see the rest.

Sign up freeLog in
Continuous Integration: Builds, Tests and Pipelines – MCQ
Multiple Choice Questions
  1. 1. One test breaks about one pipeline run in twenty with no code edits, and people now just press re-run until it goes green. What should the team do?

    • Keep re-running, since a pass on any attempt proves the code is correct
    • Delete the test, since a test that fails at random has no value at all
    • Quarantine the test, track it, and fix whatever makes it nondeterministic
    • Raise the pipeline timeout so the test has more time to pass each run
  2. 2. A pipeline's dependency cache is keyed only on the branch name. After someone updates the lockfile, builds keep using old library versions. What is the fix?

    • Turn off caching for every branch except main
    • Include a hash of the lockfile in the cache key
    • Run the build on a larger runner with more disk
    • Clear the cache by hand after each lockfile edit
  3. 3. The test stage compiles the app from source again instead of using the binary the build stage produced, and the deploy stage compiles it a third time. What is the main risk?

    • The binary that reaches production may differ from the one that was tested
    • The pipeline will fail, since a stage cannot compile code a second time
    • Test results will be lost, because they are attached to the first binary
    • The runner will run out of memory from holding three copies of the app
7 more questions in this game

Showing 3 of 10. Sign up free to see the rest.

Sign up freeLog in
Continuous Integration: Builds, Tests and Pipelines – Fill-in-the-blank
Fill in the Blank
  1. 1. A ___ is a tool that checks code for style problems and likely bugs without running it.

    Answer:linteralso: lint

    Hint: A static analysis tool, ESLint is one

  2. 2. In GitHub Actions, the ___ key picks the kind of machine a job runs on, such as ubuntu-latest.

    Answer:runs-onalso: runs on

    Hint: Two words joined by a hyphen

  3. 3. Build tools such as Gradle and Bazel skip steps whose inputs have not changed, which is called an ___ build.

    Answer:incremental

    Hint: Only the changed parts are rebuilt

5 more questions in this game

Showing 3 of 8. Sign up free to see the rest.

Sign up freeLog in
Continuous Integration: Builds, Tests and Pipelines – Pair match
Pair Match
.gitlab-ci.yml↔File at the repo root that defines a GitLab CI pipeline
Jenkinsfile↔The file that describes a Jenkins pipeline
.github/workflows/↔Folder of YAML files that GitHub Actions runs
7 more questions in this game

Showing 3 of 10. Sign up free to see the rest.

Sign up freeLog in