70-465 · Question #39
You are creating a database that will store usernames and credit card numbers for an application. You need to recommend a solution to store and resuse the credit card numbers in the database. What…
The correct answer is A. Data encryption. When storing and reusing sensitive data like credit card numbers, the encryption method must allow for decryption and retrieval of the original value. Data encryption is the best fit because it is reversible, unlike hashing.
Question
Options
- AData encryption
- BTransparent Data Encryption (TDE)
- CEncrypting File System (EFS)
- DData hashing
How the community answered
(60 responses)- A72% (43)
- B15% (9)
- C3% (2)
- D10% (6)
Why each option
When storing and reusing sensitive data like credit card numbers, the encryption method must allow for decryption and retrieval of the original value. Data encryption is the best fit because it is reversible, unlike hashing.
Data encryption uses cryptographic algorithms to transform plaintext credit card numbers into ciphertext that can be decrypted back to the original value when needed by the application. This satisfies both the storage security requirement and the 'reuse' requirement, since the original credit card number can be recovered with the appropriate key. Columnar or field-level encryption in a database is a common implementation of this approach for sensitive PCI-DSS-regulated data.
Transparent Data Encryption (TDE) encrypts the entire database files at rest (data files, log files, backups), but data is automatically decrypted when read into memory, meaning credit card numbers are exposed in plaintext at the application/query layer without additional field-level protection.
Encrypting File System (EFS) is a Windows filesystem-level encryption feature that protects files on disk, but like TDE it operates at the storage layer and does not provide column- or field-level encryption for individual database values such as credit card numbers.
Data hashing is a one-way, irreversible process; a hash of a credit card number cannot be reversed to recover the original number, which violates the requirement to reuse (retrieve) the actual credit card number for transactions.
Concept tested: Field-level data encryption for sensitive database values
Source: https://learn.microsoft.com/en-us/sql/relational-databases/security/encryption/encrypt-a-column-of-data
Topics
Community Discussion
No community discussion yet for this question.