ladderlore
  • Type a service name, like S3 or IAM.

Concept

Secure data engineering

Four habits for the data behind an AI system: check quality, protect privacy, limit access, keep it intact.

  • Data quality

    Complete, accurate, current and free of duplicates.

  • Privacy protection

    Remove or hide personal details with privacy-enhancing technologies.

  • Access control

    Each person and system sees only the data it needs.

  • Data integrity

    Data is not changed by mistake or by an attacker.

The four goals of secure data engineering.
  • Masking

    What it does
    Hides part of a value
    Example
    Card number shown as ****1234
  • Anonymization

    What it does
    Removes identifying details for good
    Example
    Names deleted from records
  • Tokenization

    What it does
    Swaps a value for a token
    Example
    Customer ID replaced by a random token
  • Differential privacy

    What it does
    Adds noise so no person stands out
    Example
    Group statistics without individuals
Common privacy-enhancing techniques.

1 / 2

  • Masking

    What it does
    Hides part of a value
    Example
    Card number shown as ****1234
  • Anonymization

    What it does
    Removes identifying details for good
    Example
    Names deleted from records
  • Tokenization

    What it does
    Swaps a value for a token
    Example
    Customer ID replaced by a random token

2 / 2

  • Differential privacy

    What it does
    Adds noise so no person stands out
    Example
    Group statistics without individuals
Common privacy-enhancing techniques.

What it is

A model is only as safe as its data. Secure data engineering means preparing and handling data so it is accurate, private, access-controlled and unaltered. You do not need to build pipelines for the exam. You need to know the four goals.

Assess data quality: check that data is complete, accurate, current and free of duplicates before it is used. Privacy-enhancing technologies reduce the personal information in data: masking, anonymization, tokenization and encryption. Data access control gives each person and system only the data it needs. Data integrity means data has not been changed by accident or by an attacker, which also guards against data poisoning.

What it is

AWS tools help with each goal. Amazon Macie finds sensitive data, IAM controls access, AWS KMS encrypts, and AWS CloudTrail records who touched what.

Remember

  • Data quality: complete, accurate, current, no duplicates. Bad data gives bad models.
  • Privacy-enhancing technologies: masking, anonymization, tokenization, encryption.
  • Access control: least privilege on datasets, by role.
  • Data integrity: data is not altered. Protects against poisoning.
  • Find sensitive data first (Amazon Macie), then protect it.

On the exam

  • “Replace real names with fake values so data can be used for training” points to masking or anonymization, a privacy-enhancing technology.
  • “Make sure nobody tampered with the training data” describes data integrity.
  • “Only let the training job read the dataset” describes data access control.