CISSP · Question #95
Which of the following is an appropriate source for test data?
The correct answer is D. Production data that has been sanitized before loading into a test environment.. Test environments should use realistic data, but production data must be sanitized (de-identified/masked) before use to protect sensitive information and comply with privacy requirements.
Question
Which of the following is an appropriate source for test data?
Options
- AProduction data that is secured and maintained only in the production environment.
- BTest data that has no similarities to production datA.
- CTest data that is mirrored and kept up-to-date with production datA.
- DProduction data that has been sanitized before loading into a test environment.
How the community answered
(29 responses)- A3% (1)
- B3% (1)
- D93% (27)
Why each option
Test environments should use realistic data, but production data must be sanitized (de-identified/masked) before use to protect sensitive information and comply with privacy requirements.
Using actual production data exclusively in the production environment for testing purposes violates the principle of environment separation and risks exposing sensitive data to unauthorized personnel or test-induced failures in live systems.
Test data with no similarities to production data fails to represent real-world scenarios, data types, and edge cases, leading to unreliable test results that do not accurately reflect system behavior under actual conditions.
A live mirror of production data replicated into a test environment exposes sensitive, unprotected production data to a less-controlled environment, creating significant privacy, compliance, and security risks.
Sanitized production data is the ideal test data source because it closely mirrors real-world data structures, volumes, and edge cases, ensuring meaningful test results. Sanitization (masking, anonymization, or pseudonymization) removes or obfuscates personally identifiable information (PII) and other sensitive data, allowing use in less-secured test environments without violating privacy regulations such as GDPR or HIPAA.
Concept tested: Safe use of sanitized production data in testing
Source: https://owasp.org/www-project-web-security-testing-guide/latest/3-The_OWASP_Testing_Framework/01-Penetration_Testing_Methodologies
Topics
Community Discussion
No community discussion yet for this question.