Free CDPSE practice questions: 10 with answers

Practise CDPSE with answers and full explanations.

Question 1

An organization's database administrator discovers that database query logs contain the full text of SQL queries, including WHERE clauses that specify customer email addresses and account numbers used as filter criteria. What privacy risk does this create?

  1. A.The logs form an unmanaged copy of personal data outside retention and access rules
  2. B.The logs expose the database schema, which itself counts as personal data
  3. C.The logs leave the WHERE clauses open to SQL injection by anyone who can read them
  4. D.The logs make the administrator personally liable for fines and claims that follow
Answer and explanation

Correct answer: A. The logs form an unmanaged copy of personal data outside retention and access rules

The risk is that the logs form an unmanaged copy of personal data outside retention and access rules: email addresses and account numbers from the WHERE clauses now sit in log storage that may have different retention, access and encryption settings from the database and is often missed in access requests and data mapping. Storage limitation and security under GDPR Articles 5(1)(e) and 32 apply to the logs too, so logging should omit or mask bound parameter values. Why the other options are wrong: a database schema describes tables and columns, not people, so it is not personal data. Reading a log does not open the logged queries to SQL injection, which depends on how an application builds queries from input. GDPR fines and compensation claims are directed at the organization as controller, not at the administrator personally.

Question 2

A privacy engineer is reviewing the organization's approach to collecting personal information through website forms. Several forms collect fields that are marked as required but are NOT necessary for the stated purpose of the form. What principle does this violate?

  1. A.Accuracy, which requires personal data to be correct and kept up to date
  2. B.Storage limitation, which keeps data only as long as its purpose requires
  3. C.Transparency, which requires telling people how their data will be used
  4. D.Data minimization, which limits the data collected to what the purpose needs
Answer and explanation

Correct answer: D. Data minimization, which limits the data collected to what the purpose needs

Making fields required when they are not necessary for the form's stated purpose breaches data minimization, which limits the data collected to what the purpose needs: Article 5(1)(c) of the GDPR says personal data must be adequate, relevant and limited to what is necessary. Each field should be tested against the purpose, and unnecessary fields removed or made optional. Why the other options are wrong: accuracy requires personal data to be correct and kept up to date, not limited in amount. Storage limitation keeps data only as long as its purpose requires, which concerns retention rather than how much is collected. Transparency requires telling people how their data will be used, and nothing suggests the forms fail to do that.

Question 3

An organization's API endpoints include the customer's email address as a parameter in the URL path, and these URLs are recorded in the API gateway's logs. What is the best remediation?

  1. A.Shorten the retention of the gateway logs that hold email addresses
  2. B.Encrypt the gateway logs at rest and limit access to the security team
  3. C.Use opaque identifiers in the paths and redact emails in logged URLs
  4. D.Switch the endpoints from GET to POST so the URL paths are not logged
Answer and explanation

Correct answer: C. Use opaque identifiers in the paths and redact emails in logged URLs

The best remediation removes the personal data at its source: use opaque identifiers in the paths instead of email addresses, and redact any email that still appears in logged URLs. URLs are copied into gateway, proxy and CDN logs and into browser history, so keeping personal data out of them applies data minimization under Article 5(1)(c) of the GDPR while logging continues safely. Why the other options are wrong: shortening the retention of the gateway logs still records the email addresses, so it limits exposure without fixing the cause. Encrypting the logs at rest and limiting access protects them from outsiders, but the emails are still logged and readable by anyone with that access. Switching from GET to POST does not help, because the gateway logs the URL path of every request whatever its method.

Question 4

An organization is structuring its privacy team. The privacy officer reports to the General Counsel. A privacy consultant suggests the officer should instead report to the CEO or board directly. What is the PRIMARY argument for this change?

  1. A.Independence, so privacy concerns reach the top without counsel filtering them
  2. B.Legality, since a privacy officer reporting to counsel breaches the GDPR
  3. C.Capacity, since the CEO has more time than counsel to review privacy matters
  4. D.Separation, since privacy officers should keep apart from the legal team
Answer and explanation

Correct answer: A. Independence, so privacy concerns reach the top without counsel filtering them

The primary argument is independence, so privacy concerns reach the top without counsel filtering them: a legal function focused on limiting litigation risk can have priorities that conflict with proactive privacy protection. GDPR Article 38(3) reflects the same idea for a data protection officer, who must report directly to the highest management level and must not receive instructions on how to carry out their tasks. Why the other options are wrong: reporting to the General Counsel does not in itself breach the GDPR, although it can weaken independence. The CEO having more time than counsel is not the reason for the change, which is about independence, not workload. Privacy officers should work closely with the legal team, not keep apart from it.

Question 5

An organization implements a privacy by design review process for all new features. The product team complains that the review adds two weeks to every feature release. What is the MOST effective way to address this concern without compromising privacy?

  1. A.Hold the privacy review during final testing so it overlaps with QA
  2. B.Waive full review for features that an automated screen rates low risk
  3. C.Run the privacy review only after features have reached production
  4. D.Hire more privacy staff to clear the backlog and keep every review step
Answer and explanation

Correct answer: B. Waive full review for features that an automated screen rates low risk

A risk based approach uses a quick automated screening to classify features, waives the full review for features the screen rates low risk, and keeps the full review for medium and high risk features. Review effort then goes where the risk is, shortening releases for simple changes without lowering scrutiny of features that collect new personal information or create new risks, in line with data protection by design under Article 25 of the GDPR. Why the other options are wrong: moving the review to final testing finds design problems when they are costly to change, which is the opposite of building privacy in from the start. Running the review only after features reach production finds problems when users are already affected. Hiring more privacy staff while keeping every review step may clear the backlog, but every low risk change still goes through the full review, so effort is not matched to risk.

Question 6

An organization uses a data lake that ingests data from multiple sources with different retention requirements. Some sources have a 2 year retention period while others require 7 years. What is the BEST approach to manage this?

  1. A.Label each record with its own retention period so deletion runs on schedule
  2. B.Apply the 7 year retention period to every source for the sake of simplicity
  3. C.Delete every record after 2 years, since storage limitation favors the shortest period
  4. D.Switch off automated deletion and review each record by hand every year
Answer and explanation

Correct answer: A. Label each record with its own retention period so deletion runs on schedule

Labeling each record with its own retention period so deletion runs on schedule lets the data lake delete two year data after two years and keep seven year data for seven. This applies storage limitation under Article 5(1)(e) of the GDPR without breaching the longer retention duties. Why the other options are wrong: applying the seven year period to every source for simplicity keeps two year data far longer than necessary. Deleting every record after two years breaches the duty to keep the other sources for seven, and storage limitation does not require deleting data that a legal duty says must be kept. Switching off automated deletion and reviewing each record by hand does not scale to a data lake and leaves data past its period until the next review.

Question 7

A privacy engineer discovers that the organization uses a third party JavaScript tag manager to deploy analytics and advertising scripts on its website. Marketing staff can add tracking scripts to the site themselves at any time. What is the governance gap?

  1. A.Tracking scripts are not registered with the data protection authority
  2. B.Marketing staff have not completed the annual privacy training course
  3. C.Tag managers are insecure by design and the privacy team should ban them
  4. D.No privacy review is required before a new tracking script goes live
Answer and explanation

Correct answer: D. No privacy review is required before a new tracking script goes live

The governance gap is that no privacy review is required before a new tracking script goes live: marketing staff can add scripts that collect personal information and send it to new third parties with no assessment of their privacy impact and no check that they respect the consent platform. Tag deployment should pass through a review gate that checks the recipient, the purpose and the consent integration. Why the other options are wrong: tracking scripts do not have to be registered with the data protection authority, so the missing step is internal review, not registration. Nothing suggests the marketing staff lack privacy training, and training alone would not stop unreviewed scripts reaching the site. Tag managers are not insecure by design and need not be banned; the risk comes from uncontrolled use, which a review gate addresses.

Question 8

A privacy engineer discovers that a data warehouse retains detailed customer transaction records indefinitely, even though the business purpose only requires 24 months of history. Older records are rarely accessed. What is the BEST remediation approach?

  1. A.Move the older detailed records to a cheaper slower storage tier
  2. B.Pseudonymize the older detailed records and keep them for analysis
  3. C.Replace the older detailed records with aggregated trend figures
  4. D.Keep the older records under a legitimate interest in future analytics
Answer and explanation

Correct answer: C. Replace the older detailed records with aggregated trend figures

Replacing the older detailed records with aggregated trend figures matches retention to the business purpose, which needs only 24 months of detailed history, and the detailed records are securely deleted. It applies storage limitation under GDPR Article 5(1)(e) while preserving long term trend data that no longer identifies customers. Why the other options are wrong: moving older records to a cheaper slower tier changes where they sit but keeps them in full detail beyond the purpose. Pseudonymizing the older records still leaves personal data under GDPR Recital 26, so keeping them beyond 24 months still breaches storage limitation. A legitimate interest in possible future analytics is not a specified purpose under Article 5(1)(b), so it cannot justify keeping detailed records longer than the 24 months the business needs.

Question 9

A privacy engineer implements row level security (RLS) in a PostgreSQL database so that each customer support region can only query records belonging to customers in their geographic area. What must be carefully tested to avoid a common pitfall that could expose other regions' records?

  1. A.Whether the policy filters use indexed columns and keep queries fast
  2. B.Whether views and table owner roles are still bound by the RLS policies
  3. C.Whether agents in each region sign in with multifactor authentication
  4. D.Whether management has formally approved the written RLS policy document
Answer and explanation

Correct answer: B. Whether views and table owner roles are still bound by the RLS policies

Several paths can bypass PostgreSQL row level security, so the test must check whether views and table owner roles are still bound by the RLS policies. A view normally reads its tables with the view owner's privileges, so unless it is set to security_invoker the owner's access applies instead of the agent's; table owners skip RLS unless it is forced on the table; and roles with BYPASSRLS ignore it. Why the other options are wrong: whether the policy filters use indexed columns and keep queries fast is a performance question that says nothing about whether other regions' records are exposed. Multifactor sign in for agents protects logins but does not stop an authenticated agent reaching another region's records through a view. Management approval of the written policy document is a governance step, not a test of the technical implementation.

Question 10

An organization conducts a tabletop exercise simulating a ransomware attack on a database containing customer personal information. The team cannot confirm whether data was exfiltrated before encryption. How does this uncertainty affect breach notification?

  1. A.No notification is needed if data was encrypted and not exfiltrated
  2. B.Notification is due only when the operators publish the data
  3. C.Assume exfiltration happened and assess the breach regardless
  4. D.Wait for forensics to rule on exfiltration before assessing any breach
Answer and explanation

Correct answer: C. Assume exfiltration happened and assess the breach regardless

When the team cannot confirm or deny exfiltration, it should assume exfiltration happened and assess the breach regardless, because that uncertainty does not eliminate the notification obligation. Under GDPR Article 33 the 72 hour clock runs from when the controller becomes aware of a breach, and Article 33(4) allows information to be provided in phases, so notification should not wait for a final forensic answer. Why the other options are wrong: ransomware that only encrypts data is still a breach of availability, which can itself require notification if it creates a risk to individuals. Waiting until the operators publish the data ignores the risk that already exists once they had access. Waiting for forensics to rule on exfiltration would miss the deadline that phased notification is designed to meet.