AIF-C01 notes
Security, compliance, and governance

Best Practices for Secure Data Engineering

Who controls which data (by Scoping Matrix scope)

DataWhat it isControlled by
User dataInputs from end usersThe customer, in every scope
Fine-tuning dataData used to adapt a pre-trained modelThe provider in Scopes 1–2, the customer in Scope 4
Training dataThe large dataset used to pre-train the modelThe provider in Scopes 1–4, the customer in Scope 5

Data engineering lifecycle

An iterative cycle of collecting, preparing, and analyzing data to train, evaluate, and improve models. Collection tools on AWS include Amazon Kinesis, AWS Database Migration Service, and AWS Glue.

Secure data engineering practices

  • Assess data quality
  • Use privacy-enhancing technologies
  • Control data access
  • Ensure data integrity: validation checks (schema, referential, business rules), backup and recovery, transaction atomicity, lineage and audit trails, and regular testing of these controls

Cleaning, deduplicating, and splitting data are data preparation steps, not security practices.

The AWS Privacy Reference Architecture (AWS PRA) gives guidelines for designing privacy controls on AWS.

On this page