GitHub Foundations Free Practice Exam Questions

28 real GitHub Foundations exam questions with answers and AI explanations. Microsoft certification prep — page 2 of 3.

  1. Question 11: In the following workflow file, line 5 interprets lines 3 and 4 as Python. Which of the following is a valid option to complete line 5? 1 steps: 2 - run: | 3 i…
  2. Question 12: As a developer, you need to integrate a GitHub Actions workflow with a third-party code quality provider that uses the Checks API. How should you trigger a fol…
  3. Question 13: Which scopes are available to define custom environment variables within a workflow file? (Choose three.)
  4. Question 14: What is the simplest action type to run a shell script?
  5. Question 15: When reviewing an action for use, what file defines its available inputs and outputs?
  6. Question 16: Which files are required for a Docker container action in addition to the source code? (Each correct answer presents a partial solution. Choose two.)
  7. Question 17: As a developer, you are authoring a workflow that will deploy to both DevCloud and TestCloud resources. Each cloud resource is accessed with a different deploy…
  8. Question 18: As a developer, you have configured an IP allow list on a GitHub organization. Which effects does the IP allow list have on GitHub Actions? (Each answer presen…
  9. Question 19: Which action type should be used to bundle a series of run steps into a reusable custom action?
  10. Question 20: You are a DevOps engineer in ABC Corp. You need to schedule your deployment workflow twice a week at 7:45 UTC every Wednesday and Saturday. What is the appropr…