PracticeISCFree practice exam

ISC · Security and Confidentiality and Privacy · 10 practice questions

PII in Test Environments: Masked vs. Unmasked Data

Use realistic de-identified or synthetic test data instead of copying unmasked production PII into a weaker test environment. Below: compare the same testing request as only the treatment of customer data changes.

The ruleDo not approve an unchanged copy of production PII into a weaker test environment based on encryption or confidentiality agreements alone. Require realistic masked, de-identified, or synthetic data that adequately protects customer identities.

Try one first

MedCo, a healthcare software provider, must run integration tests and the development team requests a copy of the production database, which contains patients' personal health information (PHI). The plan is to copy the production database unchanged into a nonproduction test environment that has weaker access controls; testers are internal employees bound by confidentiality agreements. The privacy officer objects. Which is the most appropriate response?
Hint

Focus on approaches that actually remove or replace identifiable production PHI from nonproduction environments rather than relying only on agreements, encryption alone, or temporary placement.

Same scenario, one fact changes

Base case

Atlas needs integration tests. It proposes copying production records containing customer names, Social Security numbers, and account numbers unchanged into a test environment with weaker access controls. The server has full-disk encryption. Named testers signed NDAs and receive time-limited, least-privilege access. Activity is logged, and copies will be securely deleted after testing. Should security approve the proposed copy?

Answer: No. Require realistic de-identified or synthetic test data before approving this copy.

The proposed copy exposes readable customer PII in a weaker environment. Encryption, NDAs, restricted access, logging, and deletion help, but they do not remove that exposure.

Before you open each one, predict the answer.

Change 1Replace unchanged production records with fully de-identified, realistic records that no longer reasonably identify customers.

Answer: Approve the proposed test data under the stated safeguards.

The records preserve realistic testing patterns without exposing identifiable customers. The access, logging, and deletion safeguards still apply.

Change 2Replace unchanged production records with representative synthetic records containing no real customer information.

Answer: Approve the proposed test data under the stated safeguards.

Synthetic records support the tests without copying real customer identities. Retain the stated access, logging, and deletion safeguards.

Change 3Mask customer names only; leave Social Security numbers and account numbers readable.

Answer: Do not approve. Require further sanitization or synthetic data.

The answer stays no: masking names is a tempting but insufficient change because readable Social Security numbers and account numbers still expose PII.

Key points

  • Remember: protect the data testers can read, not just the disk that stores it.
  • Full-disk encryption does not prevent authorized testers from viewing plaintext records.
  • Masking names alone is insufficient when Social Security numbers and account numbers remain readable.
  • De-identification transforms real records; synthetic data creates representative records without using real customer identities.

How the exam traps you

  • Approving unmasked data because the disk is encrypted and testers signed NDAs. Encryption and contracts do not remove readable PII from testers' access.
  • Treating any masking as sufficient. Check which identifiers remain. Masked names do not protect readable Social Security numbers.
  • Using quick deletion to justify copying unmasked records. A shorter retention period does not eliminate exposure during testing.

Now the same facts as questions

Each question changes one fact from the one before. Watch which change flips the answer.

Question 1

Atlas needs integration tests. It proposes copying production records containing customer names, Social Security numbers, and account numbers unchanged into a test environment with weaker access controls. The server has full-disk encryption. Named testers signed NDAs and receive time-limited, least-privilege access. Activity is logged, and copies will be securely deleted after testing. What should security do?

Question 2

Same facts, except Atlas replaces unchanged production records with fully de-identified, realistic records that no longer reasonably identify customers. What should security do?

Question 3

Same facts, except Atlas replaces unchanged production records with representative synthetic records containing no real customer information. What should security do?

Question 4

Same facts, except Atlas masks customer names but leaves Social Security numbers and account numbers readable. What should security do?

5 more, each from a different angle

0 of 5 answered · 0 correct

Question 2

During Year 1, an internal security team performed an authorized penetration test of the company's production customer portal under a written rules-of-engagement that prohibited exporting customer data or storing it on personal devices. While exploiting an SQL injection, a tester retrieved 150 customer records containing names and Social Security numbers. To demonstrate impact to remote management, the tester copied those records to a personal, unencrypted laptop and later lost the laptop while traveling; the company cannot determine whether the files were accessed. What is the correct treatment of this situation?
Hint

Ask whether authorization to test allows exporting or insecure storage of production PII and whether a lost, unencrypted personal device normally creates a probable unauthorized disclosure that requires immediate containment and escalation.

Question 3

Company X copies its production customer database (names, Social Security numbers, account numbers, and transaction histories) into a cloud-hosted test environment used by external contract developers. The test environment does not inherit the full production access controls, and no data masking or de‑identification was applied. What is the most likely effect or consequence of this practice?
Hint

Think about how copying unmasked PII into an environment with weaker access controls changes exposure risk, even if the environment uses encryption or contractor agreements.

Question 4

An entity that stores customer personal information wants to test its internet-facing portal. Management's objective is to determine whether an external attacker could actually chain weaknesses across the web application, single sign-on configuration, and supporting API to obtain restricted customer records. Management does not want a broad assessment of detection-and-response performance, prohibits testing in live production, and prohibits the use of real customer data. Assume a staging environment closely mirrors production and contains only masked or synthetic data. Which testing approach is most appropriate?
Hint

Focus on the stated objective first: is management trying to identify weaknesses, validate actual exploitability, or test the organization's response?

Question 5

Company Atlas manages security and privacy for its cloud service as follows: (1) automated external vulnerability scans run monthly against internet-facing servers and results are logged; (2) a third-party black‑box external penetration test is performed annually and successfully exploited a web application vulnerability that disclosed limited customer PII; (3) no internal penetration testing has been performed; (4) developers reproduce bugs in a test environment using an unmasked copy of the production customer database; (5) several high‑severity findings from scans and the penetration test have been deferred for remediation for up to 10 months with documented exceptions. As the auditor evaluating controls over security, confidentiality, and privacy, which conclusion is best supported by these facts?
Hint

Differentiate what automated scans identify versus what penetration tests demonstrate, and consider the privacy implications of using unmasked production data in nonproduction environments plus the significance of long remediation delays.

Question 6

A company is preparing to launch a new internet-facing customer portal that will store names, SSNs, and bank account data. Before go-live, management has already obtained: (1) clean automated vulnerability-scan results for the related hosts and containers, (2) a current SOC 2 report for the cloud hosting provider, and (3) successful user acceptance testing by business users. During secure code review, however, the internal security team noted that a custom authorization routine might allow privilege escalation only if several individually minor conditions are chained together. The CIO wants the most appropriate additional testing step to determine whether that risk is actually exploitable before go-live, while avoiding unnecessary scope expansion and not relying on the hosting provider for assurance over the application's own logic. Assume a production-equivalent staging environment is available. Which is the best next step?
Hint

Focus on which testing method best validates exploitability of a suspected application-logic weakness, not just general control coverage or third-party assurance.

Drill all 138 Testing questionsMixed across every rule in the topic, so you have to spot which one applies. That is how the exam does it.

Common questions

Can production PII be copied into a test environment?

Do not copy it unchanged into a weaker test environment under the stated safeguards. Use adequately masked, de-identified, or synthetic data instead.

Does full-disk encryption make production data safe for testing?

Not by itself. Authorized testers can still read plaintext records, so encryption does not replace protection of the test data.

Is masking customer names enough for test data?

Not when Social Security numbers and account numbers remain readable. Evaluate the identifiers that remain, not merely whether some masking occurred.

Watch it solved

A full CPA ISC task-based simulation on Testing, worked step by step.

ITGC Testing: Procedures, Samples & Exceptions | CPA ISC TBS on YouTube

Practice ISC like the real exam

The free ChatCPA simulator: real exam layout, timed testlets, starting with a question on this topic. No account needed to start.

Open the free simulator →

More on Testing

All Testing practice →

Questions from the ChatCPA bank of 17,658 CPA exam questions, each with a written reason for every wrong answer. ChatCPA is built by Nicholas Miller, CPA (Oregon #14907). How these pages are made. Spot an error? Tell us.