Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
GitHub logo

GitHubActions Certification

Domain 3Objective 2

Define Action Structure and Metadata GH-200 Practice Questions (Page 3)

Part of the Author and maintain actions domain, which accounts for 15-20% of the GH-200 exam.

22questions here
5free pages
8concepts
15-20%of the exam

Questions 11–15

  1. 11foundation · easy

    In a JavaScript action, where should the source code files (e.g., index.js) typically be placed?

    Select an answer first
  2. 12foundation · easy

    Which workflow command sets an environment variable that is available to subsequent steps in the same job?

    Select an answer first
  3. 13application · easy

    A JavaScript action is processing a list of files and encounters a file that does not exist. The developer wants to print a clear error message to the workflow log and stop the action with a non-zero exit code. Which workflow command should be used in the action's code?

    Select an answer first
  4. 14foundation · easy

    How should a newline character be escaped in the value of a workflow command?

    Select an answer first
  5. 15application · easy

    A developer is creating a JavaScript action that will run on both Linux and Windows runners. The action needs to use a Node.js script. Which runs configuration is correct?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by GitHub. “GH-200” is a trademark of its owner, used for identification only.