GitHub Foundations — Question 5

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

Answer options

Correct answer: D

Explanation

The correct answer is D because it specifies that only the actions that are explicitly allowed will be executed, thus providing a clear framework for control. Option A incorrectly allows all other actions, which does not effectively restrict usage. Option B is incorrect as there are ways to limit actions in the marketplace. Option C suggests a method but does not focus on restricting to allowed actions, making it less effective than D.