nerdexam
Microsoft

GH-200 · Question #60

What are the two ways to pass data between jobs? (Each correct answer presents part of the solution. Choose two.)

The correct answer is D. Use artifact storage. E. Use job outputs.. Passing information between jobs [D] Store and share data with workflow artifacts Use artifacts to share data between jobs in a workflow and store data once that workflow has [E] You can define outputs to pass information from one job to another. https://docs.github.com/en/action

Author and Maintain Workflows

Question

What are the two ways to pass data between jobs? (Each correct answer presents part of the solution. Choose two.)

Options

  • AUse data storage.
  • BUse the copy action with cache parameter to cache the data.
  • CUse the copy action with restore parameter to restore the data from the cache.
  • DUse artifact storage.
  • EUse job outputs.
  • FUse the copy action to save the data that should be passed in the artifacts folder.

How the community answered

(30 responses)
  • A
    3% (1)
  • D
    90% (27)
  • F
    7% (2)

Explanation

Passing information between jobs [D] Store and share data with workflow artifacts Use artifacts to share data between jobs in a workflow and store data once that workflow has [E] You can define outputs to pass information from one job to another. https://docs.github.com/en/actions/tutorials/store-and-share-data https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/pass-job-

Topics

#GitHub Actions#Workflow design#Inter-job data transfer#Artifacts#Job outputs

Community Discussion

No community discussion yet for this question.

Full GH-200 Practice