Exam GH-200 Topic 3 Question 60 Discussion

Actual exam question for Microsoft's GH-200 exam
Question #: 60
Topic #: 3
When reviewing an action for use, what file defines its available inputs and outputs?

Suggested Answer: E Vote an answer

A custom GitHub Action's inputs, outputs, and other configurations are defined in its metadata file, which must be named action.yml or action.yaml and placed at the root of the action's repository. This YAML file specifies how the action runs (e.g., using Docker or JavaScript) and provides the metadata for its inputs and outputs, which are then used by workflows that call the action.
Key aspects of the action.yml or action.yaml file
Format: It uses YAML syntax.
Location: It must be in the root directory of your action's repository.
Contents: It defines the action's name, description, inputs, outputs, and the runs configuration to specify the execution environment (like a Docker image or JavaScript file) and entrypoint.
Inputs and Outputs: The file includes inputs and outputs sections to declare the data the action accepts and produces, respectively.
Reference:
https://docs.github.com/en/actions/reference/workflows-and-actions/metadata-syntax

by Meredith at Oct 01, 2026, 11:24 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10