New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Oracle MySQL 8.0 Database Administrator 1z0-908 Question # 40 Topic 5 Discussion

Oracle MySQL 8.0 Database Administrator 1z0-908 Question # 40 Topic 5 Discussion

1z0-908 Exam Topic 5 Question 40 Discussion:
Question #: 40
Topic #: 5

Which two queries are examples of successful SQL injection attacks? (Choose two.)


A.

SELECT user,passwd FROM members

WHERE user = ‘?’;INSERT INTO members(‘user’,’passwd’) VALUES

(‘bob@example.com’,‘secret’);--‘;


B.

SELECT id, name FROM user WHERE user.id=(SELECT members.id FROM members);


C.

SELECT id, name FROM user WHERE id=23 OR id=32 OR 1=1;


D.

SELECT id, name FROM user WHERE id=23 OR id=32 AND 1=1;


E.

SELECT email,passwd FROM members

WHERE email = ‘INSERT INTO members(‘email’,’passwd’) VALUES (‘bob@example.com’,

‘secret’);--‘;


F.

SELECT user, phone FROM customers WHERE name = ‘\; DROP TABLE users; --‘;


Get Premium 1z0-908 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.