[go: up one dir, main page]

0% found this document useful (0 votes)
37 views2 pages

GitHub Actions Practice Test - GitHub Certified

github actions

Uploaded by

leon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views2 pages

GitHub Actions Practice Test - GitHub Certified

github actions

Uploaded by

leon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

4/7/25, 15:34 GitHub Actions Practice Test :: GitHub Certified

Prepare for GitHub Certifications > Practice Tests > GitHub Actions Practice Test

GITHUB ACTIONS PRACTICE TEST

Resultados

30/35

https://ghcertified.com/practice_tests/actions/?questions=35 1/2
4/7/25, 15:34 GitHub Actions Practice Test :: GitHub Certified

✅ Your organization defines a secret SomeSecret , however when you reference that secret in a
workflow using ${{ secrets.SomeSecret }} it provides a different value than expected. What may be the
reason for that?
❌ How can you access the current values of variables in a matrix within a job in the example below:
✅ Which event is triggered by a webhook action from outside of the repository?
✅ A reusable workflow named build creates zip file artifacts. How do you pass the zip file location to
the caller workflow that is calling the build workflow? (Select three.)

✅ What are the three types of Actions?


✅ What level of access is required on a GitHub repository in order to delete log files from workflow
runs?
✅ What must be added to actions/checkout if my-org/my-private-repo is a private repository differing
from the one containing the current workflow?
✅ Which of the following statements are true about adding a self-hosted runner in GitHub Actions?
(Choose three.)
✅ A workflow was initially run on commit A and failed. You fixed the workflow with the subsequent
commit B . When you re-run that workflow it will run with code from which commit?

❌ What is the recommended practice for treating environment variables in GitHub Actions,
regardless of the operating system and shell used?
✅ What are activity types of an event used for ?
❌ In a GitHub Actions workflow, how do you specify a specific version of Node.js to use in a job?
✅ For any action published in GitHub Marketplace, you can often use it in multiple versions, which
approach is the most stable and secure?
✅ What does the matrix keyword do in a GitHub Actions workflow?
❌ What are the valid use cases for using defaults? (Select two.)
Using defaults.env on job level to set default environment variables for all steps in a single job:
There is no such thing as defaults.env
✅ What is the purpose of the restore-keys parameter in actions/cache in GitHub Actions?
✅ How does the actions/cache action in GitHub Actions handle a cache miss?
✅ How do you reference a secret stored in GitHub Secrets in a workflow?
✅ What should you use to store coverage reports or screenshots generated during a workflow that
runs automated testing for a repository?
✅ You can only upload a single file at a time when using actions/upload-artifact action
✅ Where can you find network connectivity logs for a GitHub self-hosted-runner?
✅ Which is true about environments?
✅ When using the pull_request and pull_request_target events, how do you configure the workflow
to run only when targeting the prod branch?
✅ You can use permissions to modify the GITHUB_TOKEN permissions on: (Select two.)
quizdown v0.6.0
✅ At what levels can environment variables be defined ? (Choose three)

Found this practice test useful?

Leave a ⭐ on the repository and consider giving back to the community by:

contributing one or more mock exam questions (takes minutes)

https://ghcertified.com/practice_tests/actions/?questions=35 2/2

You might also like