フリー問題

Certified Argo Project Associate のフリー問題 5 / 20 問目

問題文

A container template writes a report to /tmp/report.csv and a later step must consume that file. Which option correctly describes how the producing template exposes the file?

選択肢

  1. Add the file path to the artifactRepositoryRef field of the template, and the repository entry then resolves it for later steps.
  2. Declare it under outputs.parameters with a valueFrom.path entry, because any file produced by a step is exposed to later steps as a parameter regardless of its size or format.
  3. Nothing is needed, because the container filesystem is shared with all later steps.
  4. Declare it under outputs.artifacts with a name and the path of the file inside the container.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。