nerdexam
MicrosoftMicrosoft

GH-200 · Question #61

GH-200 Question #61: Real Exam Question with Answer & Explanation

Sign in or unlock GH-200 to reveal the answer and full explanation for question #61. The question stem and answer options stay visible for context.

Author and Maintain Workflows

Question

As a developer, you are optimizing a GitHub workflow that uses and produces many different files. You need to determine when to use caching versus workflow artifacts. Which two statements are true? (Each correct answer presents part of the solution. Choose two.)

Options

  • AUse artifacts to access the GitHub Package Registry and download a package for a workflow.
  • BUse caching when reusing files that change rarely between jobs or workflow runs.
  • CUse caching to store cache entries for up to 30 days between accesses.
  • DUse artifacts when referencing files produced by a job after a workflow has ended.

Unlock GH-200 to see the answer

You've previewed enough free GH-200 questions. Unlock GH-200 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#GitHub Actions#Workflow Optimization#Caching#Artifacts
Full GH-200 PracticeBrowse All GH-200 Questions