Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
GitHub logo

GitHubActions Certification

Domain 3Objective 2

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

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 16–20

  1. 16application · medium

    A composite action is running a shell script that may fail. The developer wants to print a warning message with a specific file name and line number to help users debug the issue. Which workflow command should be used?

    Select an answer first
  2. 17application · medium

    A JavaScript action needs to set an environment variable that will be available to subsequent steps in the same job. The action is running on a Linux runner. Which code snippet correctly sets the environment variable?

    Select an answer first
  3. 18application · easy

    A JavaScript action is validating user input. If the input is invalid, the action should print an error message and fail. The developer wants to use the correct workflow command. Which code snippet should be used?

    Select an answer first
  4. 19foundation · easy

    Which runs configuration is correct for a Docker container action?

    Select an answer first
  5. 20foundation · easy

    In action.yml, what does the 'required' property under an input definition control?

    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.