Direct Dependencies are which of the following?

Prepare for the GitHub Advanced Security Certification Test. Practice with multiple choice questions, detailed explanations, and hints. Achieve success on your first attempt!

Multiple Choice

Direct Dependencies are which of the following?

Explanation:
Direct dependencies are the ones you list on purpose in your project’s manifest and have their exact versions recorded in a lock file. This explicit declaration is what makes them direct: you explicitly specify what your project relies on, and the lock file pins the precise versions to ensure reproducible builds. Transitive dependencies, by contrast, come in as a result of those direct dependencies’ own requirements, not from something you listed directly. Testing or optional status isn’t what defines direct dependencies—the label is the explicit declaration in your manifest or lock file.

Direct dependencies are the ones you list on purpose in your project’s manifest and have their exact versions recorded in a lock file. This explicit declaration is what makes them direct: you explicitly specify what your project relies on, and the lock file pins the precise versions to ensure reproducible builds. Transitive dependencies, by contrast, come in as a result of those direct dependencies’ own requirements, not from something you listed directly. Testing or optional status isn’t what defines direct dependencies—the label is the explicit declaration in your manifest or lock file.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy