Skip to main content
InterviewHubPRO
Section Overview
Q7

Question 7 of 50

Part 1: CI/CD Fundamentals & GitHub Actions Core (Junior / Entry-Level)

14%
CI/CD & GitHub Actions (50 Qs)•Part 1: CI/CD Fundamentals & GitHub Actions Core (Junior / Entry-Level)

What is the difference between Artifacts and Caches?

junior LevelMost AskedState ManagementCI/CD & DevOpsSystem Design

In Simple Words:

  • Cache (actions/cache): Reusable files intended to speed up future workflow runs (e.g. package managers, intermediate build objects). Caches can be evicted by GitHub if unused for 7 days or if total repository cache exceeds 10 GB.
  • Artifacts (upload-artifact / download-artifact): Permanent or long-lived deliverables produced by a workflow (e.g. compiled binaries, APKs, test reports, code coverage HTML). Artifacts can be passed between jobs in the same run and downloaded by human engineers from the GitHub UI.