GitHub GitHub Actions - GitHub Actions Exam

Question #11 (Topic: Exam A)
While awaiting approval, how many days can a workflow be in the "Waiting" state before it automatically fails?
A. 7 days B. 14 days C. 30 days D. 60 days
Answer: A
Question #12 (Topic: Exam A)
When reviewing an action for use, what file defines its available inputs and outputs?
A. inputs.yml B. config.json C. defaults.json D. workflow.yml E. action.yml
Answer: E
Question #13 (Topic: Exam A)
Custom environment variables can be defined at multiple levels within a workflow file including: (Choose two.)
A. step level. B. default level. C. stage level. D. top level. E. job level. F. runner level.
Answer: AE
Question #14 (Topic: Exam A)
How can GitHub Actions encrypted secrets be used in if: conditionals within a workflow job?
A. Set the encrypted secret as a job-level environment variable and then reference the environment variable within the conditional statement. B. Create a job dependency that exposes the encrypted secret as a job output, which can then be leveraged in a subsequent dependent job. C. Use the secrets context within the conditional statement, e.g. ${{ secrets.MySuperSecret }}. D. Use a workflow command to expose the encrypted secret via a step's output parameter and then use the step output in the job's if: conditional.
Answer: C
Question #15 (Topic: Exam A)
In which of the following scenarios should you use self-hosted runners? (Choose two.)
A. when you want to use macOS runners B. when a workflow job needs to install software from the local network C. when GitHub Actions minutes must be used for the workflow runs D. when the workflow jobs must be run on Windows 10 E. when jobs must run for longer than 6 hours
Answer: BE
Download Exam
Page: 3 / 20
Total 99 questions