Skip to content

Quiz: Sensitive Data and Product Safety Rules

Test your understanding of personal data, minimization, retention, signed URLs, hashing, data flow maps and product safety rules with these review questions.


1. What is a purge job?

  1. A job that copies personal data into a backup each night
  2. A job that sweeps up scans that crashed partway through
  3. A job that encrypts files after they are uploaded
  4. A scheduled job that deletes data whose retention period has ended
Show Answer

The correct answer is D. A purge job is how a retention rule happens, since nobody will delete expired scans by hand every morning. It deletes files from the bucket first, then the rows that pointed at them, and logs how many it deleted. Option B describes the dating-safety app's orphan sweep, which cleans up crashed scans and is a different job. Copying (A) and encrypting (C) don't delete anything.

Concept Tested: Purge Job

See: Purge Job


2. What is a signed URL?

  1. A link that only works for the member who signed up first
  2. A link to one file in a private bucket that carries the app's signature proving the request was approved
  3. A link that asks the visitor to sign in before showing the file
  4. A link the member signs with a password
Show Answer

The correct answer is B. The storage service checks the app's signature before it sends the file. Signed URLs almost always expire, because the expiry time is part of what gets signed. Note that a signed URL works for anyone who holds it until it expires. It is a bearer key, like a coat check ticket. It doesn't check who is asking (A and C), and members don't sign it (D).

Concept Tested: Signed URL

See: Lock Up the Photos


3. Why does the dating-safety app hold sensitive data about people who never signed up?

  1. Vendors send the app their full customer lists
  2. Members agree to share their contacts at sign-up
  3. Members upload a match's photos, voice clips, messages and phone number, and vendors return results about that match
  4. The app scrapes dating sites for profiles
Show Answer

The correct answer is C. The match never signed up and never agreed to anything, yet the app holds their photos, voice, messages and phone number, plus whatever people-search vendors return. They are the group least able to protect themselves, and the easiest to forget because they never appear on a sign-up screen. The other options describe things the dating-safety app doesn't do.

Concept Tested: Sensitive Data

See: A Worked Inventory: Two Kinds of People


4. How does the abuse ledger spot a banned person signing up again without storing their phone number?

  1. It stores a hash of the number made with one secret salt, then hashes each new sign-up number the same way and compares
  2. It stores the number encrypted and decrypts it at each sign-up
  3. It stores the first three digits of the number
  4. It asks each new member whether they were banned before
Show Answer

The correct answer is A. The same input with the same secret salt always gives the same hash, so the app can look up a match. Because the salt lives in the app's secrets, not the database, a thief with the table can't hash every possible phone number to reverse it. Encryption (B) keeps a readable number that can be decrypted. Partial digits (C) would block innocent people. Asking (D) relies on a banned person to admit it.

Concept Tested: Salted Hash

See: A Worked Example: The Abuse Ledger


  1. Encryption at rest only works on photos, not scans
  2. The member's browser can break the encryption
  3. Encryption at rest is turned off by default on most services
  4. The app decrypts data for any request it approves, so a missing ownership check hands over readable data
Show Answer

The correct answer is D. Encryption at rest protects against a stolen disk or a copy of the provider's backup storage. When the app itself reads the data to answer a request, the data is decrypted. If the route skips the ownership check, the app serves another member's scan in plain form. That's why encryption isn't a substitute for access checks, minimization or retention. Most managed services encrypt at rest by default (C).

Concept Tested: Encryption at Rest

See: Encryption on the Wire and on the Disk


6. The people-search vendor returns a name, line type, current address, past addresses, relatives and age. The phone check only needs to know whether the name matched and the line type. What should you tell your agent?

  1. "Store the whole response in case we need it later."
  2. "Store only whether the name matched, the line type and the date of the check, and drop the rest as soon as it arrives."
  3. "Store everything but hide the address on the results page."
  4. "Encrypt the whole response before storing it."
Show Answer

The correct answer is B. Data minimization means storing the answer a feature needs, not the whole response. The member sees the same result, and a leak would expose almost nothing. Storing everything (A) is the agent's default and fills the database with addresses and relatives. Hiding fields on the page (C) still sends them in the JSON and keeps them on disk. Encryption (D) doesn't help against a bug in the app.

Concept Tested: Data Minimization

See: A Worked Example: Keeping One Answer


7. Six months from now, someone asks an agent to "add more detail to the people-search results," and the vendor returns addresses. What keeps the no-locate rule from breaking?

  1. A test that fails if any report contains an address, plus a data model with no address column
  2. A comment in the code asking agents to be careful
  3. The privacy policy, which says the app never shows addresses
  4. Trusting the agent to remember the rule from an earlier session
Show Answer

The correct answer is A. A product safety rule needs a sentence, code that enforces it, and a test that fails if it breaks. With no column for addresses and one output filter every report passes through, the agent has nowhere to put the data, and the test turns red if it tries. A comment (B) or a privacy policy (C) doesn't stop code. Agent memory doesn't carry over between sessions on its own (D).

Concept Tested: No-Locate Rule

See: The No-Locate Rule


8. A model looks at image-search results and says the match is probably a named person, citing a web page. When may the app show that name?

  1. When the model says it is highly confident
  2. When two different models agree on the name
  3. When code confirms the cited page was returned by the search and shows the name and photo together
  4. Never, under any conditions
Show Answer

The correct answer is C. The verify-before-naming rule says the model proposes and the code verifies. The code checks that the source was returned by the search and holds the name and photo together. A model can invent a source or misread one, and it sounds equally sure when it's wrong, so confidence (A) or agreement between models (B) isn't evidence. Naming the wrong person can do lasting harm to someone with nothing to do with the scam.

Concept Tested: Verify-Before-Naming Rule

See: The Verify-Before-Naming Rule


9. On a data flow map, why are the rows that send a match's photo to an outside vendor the ones that need the most care?

  1. Vendors charge more for photos than for text
  2. Once a vendor has a copy, its own retention rules apply and the app's purge job can't reach it
  3. Photos are larger, so they take longer to upload
  4. Vendors always publish the photos they receive
Show Answer

The correct answer is B. Each arrow leaving the app is a one-way door. Your purge job can delete your copy, but the vendor's copy follows the vendor's rules. That's why minimization applies to what you send out too, such as a smaller copy with hidden location data stripped. Cost (A) and upload time (C) don't change the privacy picture. Vendors don't publish photos as a rule (D).

Concept Tested: Data Flow Map

See: The Data Flow Map


10. An agent writes a fluent privacy policy in a minute. What is the main risk?

  1. It will be too short to meet the law
  2. It will use words members can't understand
  3. It will name the vendors, which is not allowed
  4. It may describe the app the builder meant to make, not the one the code runs
Show Answer

The correct answer is D. The common failure is a policy that says "we delete photos after 30 days" when no purge job exists, or leaves out a vendor that gets photos. Write the policy from what the code does, using the data flow map as the source, and update it when the code changes. Length (A) and wording (B) are smaller problems. Policies usually should name who data is shared with, so C is wrong.

Concept Tested: Privacy Policy

See: Privacy Policy