Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1SELECT firstName, house FROM students; | Afields = [name, birthDate, address, licenceNo] | |
| 2SELECT * FROM students; | BKeeping data longer than needed means more is exposed in a breach and more can be misused. | |
| 3Keeping extra personal details makes identity theft easier, because a thief can combine them to pose as the person | CCollects only the fields the task needs, which limits what could be exposed if the data leaks | |
| 4Only collecting what the solution needs reduces the harm if the data is stolen | Dfields = [firstName, yearLevel] | |
| 5Store every customer's birth date and licence number just in case we need it later. | ECollecting data without a current need increases the data exposure risk, and a leak could lead to identity theft. | |
| 6Keep old student records forever, because storage is cheap and deleting is extra work. | FPulls every stored field for every student, which increases the harm if the results are stolen or leaked |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
data exposure risk — The more data a system keeps, the more harm if it is stolen or leaked. Extra stored data makes identity theft and misuse of that data more likely and more damaging.input name
input emailSELECT firstName, house FROM studentsDELETE FROM orders
WHERE orderDate < '2020-01-01';ALTER TABLE students DROP COLUMN address;if hasConsent = true then
input phoneNumber
end if