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 | |
|---|---|---|
| 1Authenticity | AData that looks correct may still be forged. Authenticity needs the origin to be verified, not just the appearance checked. | |
| 2Spoofed sender address | BData is authentic when it genuinely comes from the source it claims and has not been forged or spoofed. | |
| 3Verifying the origin of a file by checking it was signed by the trusted sender | CIF source IN trusted_sources THEN accept ELSE reject | |
| 4Only accepting data from a trusted source on an approved list | DForged data that pretends to come from a trusted source, so it is not authentic. | |
| 5IF data looks correct THEN trust it | EA sender name can be spoofed. Trusting the name alone does not verify that the data genuinely came from the source. | |
| 6IF sender_name = "Payroll Team" THEN accept | Fverify_signature(file, sender_public_key) |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Authenticity — Data is authentic when it genuinely comes from the source it claims and has not been forged or spoofed. Verifying its origin shows it can be trusted.IF sender = trustedSource THEN accept(data)IF NOT sigValid THEN reject(data)IF sender != trustedSource THEN flag(data)valid ← verifySignature(data, sig)IF domainOk AND sigValid THEN accept(data)