GITHUB-ACTIONS practice question 9 of 15

Which of the following is the best way for an enterprise to prevent certain marketplace actions from running?

Full set: 72 questions
Answer options
A: Create a list of the actions that are restricted from being used as an enterprise policy. Every other action can be run.
B: It is not possible; if an action is in the marketplace, its use cannot be restricted.
C: Create a list that is maintained as a . yml file in a . github repository specified in the enterprise. Only these actions can be run.
D: Create a list of the actions that are allowed to run as an enterprise policy. Only these actions can be run. Correct answer
Correct Answer:
D. Create a list of the actions that are allowed to run as an enterprise policy. Only these actions can be run.
Explanation

The best way for an enterprise to control which GitHub Actions run is by creating a list of approved actions as an enterprise policy. This approach restricts workflows to only use the actions that are explicitly allowed, ensuring security and compliance within the organization.

Scroll to Top