The quiz simulates GitHub Actions Certification questions, and facilitates aspirants to practice before the actual certification exam. You can study GitHub Actions here before taking this quiz.
Total questions: 30
Time: 50 minutes
Passing score: 70%
START QUIZ
#1. What’s true about default variables? (choose three)
Select all that apply:
#2. What are the scopes defined for custom variables in a workflow? (choose three)
Select all that apply:
#3. Dave wants to be notified when a comment is created on an issue within a GitHub repository. Which event trigger should be used within the workflow configuration?
#4. What level of access is required on a GitHub repository in order to delete log files from workflow runs?
#5. What level of permission is required to re-run the workflows?
#6. When can you delete workflow runs?
#7. Who can bypass configured deployment protection rules to force deployment? (by default)
#8. How can you determine if an action is a container action by looking at its action.yml file?
#9. Which context holds information about the event that triggered a workflow run?
#10. In GitHub Actions, if you define both branches and paths filter, what is the effect on the workflow execution?
#11. What is the recommended practice for treating environment variables in GitHub Actions, regardless of the operating system and shell used?
#12. Which of the following statements accurately describes the behavior of workflow jobs referencing an environment's protection rules?
#13. What is the purpose of the `restore-keys` parameter in `actions/cache` in GitHub Actions?
#14. Which variable would you set to `true` in order to enable step debug logging?
#15. What is the purpose of the `timeout-minutes` keyword in a step?
#16. Dave is creating a templated workflow for his organization. Where must Dave store the workflow files and associated metadata files for the templated workflow?
#17. How can you specify the operating system for a job in GitHub Actions?
#18. How do you reference a secret stored in GitHub Secrets in a workflow?
#19. What is the default shell used by GitHub Actions on Windows runners?
#20. Which of the following statements are true about adding a self-hosted runner in GitHub Actions? (Choose three.)
Select all that apply:
#21. Select the default environment variable that contains the operating system of the runner executing the job
#22. How does the `actions/cache` action in GitHub Actions handle a cache miss?
#23. How can you specify the schedule of a GitHub actions workflow to run on weekdays only?
#24. What is the recommended approach for storing secrets larger than 48 KB?
#25. Select status check functions in GitHub Actions.
#26. How can you reuse a defined workflow in multiple repositories? (Choose two.)
Select all that apply:
#27. How can you ensure a job runs only in a specific branch?
#28. What does the `needs` keyword do in a GitHub Actions workflow?
#29. Which keyword allows you to define environment variables in a GitHub Actions workflow?
#30. What is the purpose of the `with` keyword in a GitHub Actions workflow?
Finish
Post Views: 17