wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Module 2: Security with Dependabot

Total questions: 21

Worksheet time: 7mins

Name
Class
Date
1.

Why are dependencies considered a critical security risk in modern applications?

a)

They reduce development speed

b)

They are always maintained by application owners

c)

Attackers often exploit outdated or unpatched dependencies

d)

They eliminate the need for security testing

2.

Which factor increases the risk of dependency-related security issues?

a)

Writing custom libraries

b)

Heavy reliance on external packages

c)

Using private repositories

d)

Frequent code refactoring

3.

What is a vulnerable dependency?

a)

A dependency that is no longer popular

b)

A library with known security flaws that can be exploited

c)

Any dependency older than one year

d)

A dependency without documentation

4.

Why are unpatched dependencies easy targets for attackers?

a)

They require manual installation

b)

They are poorly written

c)

Their vulnerabilities are publicly documented

d)

They are always used in production

5.

What risk is introduced by transitive (nested) dependencies?

a)

Reduced application performance

b)

Inherited vulnerabilities from indirect dependencies

c)

Faster deployment cycles

d)

Improved version control

6.

What is a common consequence of ignoring dependency risks?

a)

Improved development velocity

b)

Reduced audit requirements

c)

Unauthorized access or data leaks

d)

Better system stability

7.

How does dependency mismanagement affect long-term projects?

a)

Simplifies maintenance

b)

Reduces technical debt

c)

Increases maintenance cost and complexity

d)

Eliminates compliance concerns

8.

What is the primary purpose of Dependabot alerts?

a)

Automatically deploy updates to production

b)

Replace manual code reviews

c)

Detect and alert teams about vulnerable dependencies

d)

Manage user access permissions

9.

Where do Dependabot alerts appear in GitHub?

a)

Commit history

b)

Issues tab

c)

Repository security view

d)

Pull request comments only

10.

How does Dependabot prioritize vulnerabilities?

a)

Based on library popularity

b)

By commit frequency

c)

Using severity-based classification

d)

By repository size

11.

When are Dependabot alerts generated?

a)

During scheduled audits

b)

After a release

c)

As soon as new vulnerabilities are disclosed

d)

Only during dependency updates

12.

Why is proper alert configuration important?

a)

To disable minor updates permanently

b)

To reduce GitHub notifications

c)

To ensure alerts are actionable and not overwhelming

d)

To eliminate code reviews

13.

What is a key benefit of automating dependency updates?

a)

Eliminates the need for testing

b)

Reduces exposure to known vulnerabilities

c)

Prevents version changes

d)

Removes developer responsibility

14.

How does Dependabot handle dependency updates?

a)

Directly pushes changes to the main branch

b)

Sends email notifications only

c)

Creates automated pull requests

d)

Updates dependencies during runtime

15.

How should Dependabot pull requests be treated?

a)

Automatically merged without review

b)

Reviewed like any standard code change

c)

Ignored unless critical

d)

Merged only by security teams

16.

What should reviewers focus on when reviewing a Dependabot pull request?

a)

Commit author

b)

Scope, compatibility, and impact of the change

c)

Number of files changed only

d)

Formatting style

17.

What role do automated tests play in dependency updates?

a)

They slow down the merge process

b)

They replace code reviews

c)

They validate that updates do not introduce regressions

d)

They approve updates automatically

18.

When should a dependency update pull request be merged?

a)

Immediately after creation

b)

Only if manual testing is skipped

c)

After all automated checks pass successfully

d)

Only during major releases

19.

What is dependency hygiene primarily focused on?

a)

Reducing repository size

b)

Keeping libraries secure, stable, and maintainable

c)

Limiting open-source usage

d)

Preventing automation

20.

Which practice helps balance security with application stability?

a)

Applying all major upgrades immediately

b)

Ignoring minor vulnerabilities

c)

Testing updates in staging environments

d)

Disabling automated updates

21.

Why integrate Dependabot with CI/CD pipelines?

a)

To deploy dependencies automatically

b)

To ensure dependency updates are validated before deployment

c)

To reduce pull request creation

d)

To replace security teams