nerdexam
Microsoft

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.

Submitted by fatima_kr· Mar 5, 2026Design database security solutions

Question

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 should you recommend? More than one answer choice may achieve the goal. Select the BEST answer.

Options

  • AData encryption
  • BTransparent Data Encryption (TDE)
  • CEncrypting File System (EFS)
  • DData hashing

How the community answered

(60 responses)
  • A
    72% (43)
  • B
    15% (9)
  • C
    3% (2)
  • D
    10% (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.

AData encryptionCorrect

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.

BTransparent Data Encryption (TDE)

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.

CEncrypting File System (EFS)

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.

DData hashing

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

#data encryption#sensitive data#credit card security#data at rest

Community Discussion

No community discussion yet for this question.

Full 70-465 Practice