SQL Injections

SQL Injections

Assessment

Interactive Video

Computers

11th Grade

Hard

Created by

Anthony DellaRosa

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is one of the scariest uses of SQL injection?

To dump a database of usernames and passwords

To create new user accounts

To improve website performance

To generate random passwords

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when you enter a username and password in a login form?

The website displays a welcome message

The website connects to a database to check the credentials

The website sends an email to the user

The website logs the user out

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why did the first brute force attempt with 'admin' and 'password123' fail?

The website was not vulnerable to SQL injection

Both the username and password were incorrect

The password was incorrect

The username was incorrect

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the OR payload do in a SQL injection attack?

It logs the user out

It makes the SQL statement always evaluate to true

It deletes the database

It creates a new user account

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is one way to prevent SQL injection attacks?

Use the same password for all accounts

Use prepared statements with parameterized queries

Ignore all user inputs

Disable the login form