AssociateDEA-C01Free

AWS Data Engineer Associate (DEA-C01) Study Guide

A free AWS Certified Data Engineer – Associate study guide from real exam notes: Redshift, Glue, Kinesis, Athena, Lake Formation, EMR and data governance.

·· 16 min read
Written by an engineer who passed this exam: verify on Credly ↗

Exam domains (DEA-C01)

Data Ingestion and Transformation34%
Data Store Management26%
Data Operations and Support22%
Data Security and Governance18%

Weightings from the official AWS exam guide. Always check it for the current version.

These are my notes for the AWS Certified Data Engineer – Associate, reorganised by exam domain and filled in where my notes were thin. I’ve corrected everything AWS has changed since I studied (renamed Kinesis services, retired Lake Formation governed tables, new Redshift node types, services closed to new customers), so you won’t learn outdated answers.

Exam mindset: almost every question is “which service, configured how, at the lowest cost or operational effort?” Default to serverless and managed (Glue, Athena, Firehose, Redshift Serverless) unless the question demands control, a specific open-source framework or sustained heavy compute, which points to EMR or provisioned Redshift.

Data engineering fundamentals

  • Data is structured (fixed schema), semi-structured (JSON, XML, logs) or unstructured (images, free text). The three Vs are volume, velocity and variety.
  • A data warehouse (Redshift) holds cleaned, structured data in a star or snowflake schema for read-heavy analytics. A data lake (S3) holds raw data with schema-on-read. A lakehouse queries open table formats on S3 with warehouse engines under one governance layer (Lake Formation).
  • Data mesh is organisational: domains own and publish data products under central governance (Lake Formation sharing, SageMaker Catalog).
  • Data lineage traces data from source to destination. Schema evolution changes a schema without breaking consumers.
  • Formats: CSV and JSON are row-based text. Avro is row-based binary with the schema embedded (streaming, evolution). Parquet and ORC are columnar, compressed and splittable: the answer for analytics.
  • Sampling: random, stratified (sample each group in proportion, right when group sizes differ a lot), systematic (every nth record) and cluster (whole groups).
  • Data skew (one partition or node doing most of the work) is fixed by salting keys, repartitioning or better partition keys.
  • Pivoting turns rows into columns. PostgreSQL has no PIVOT keyword: use CASE expressions or crosstab.

Ingestion: streaming

Kinesis Data Streams

  • Capacity is per shard: 1 MB/s or 1,000 records/s in, 2 MB/s out. Choose on-demand mode for unpredictable traffic or provisioned shards. Retention is 24 hours by default, up to 365 days, so data can be replayed.
  • Classic consumers poll with GetRecords: up to 5 calls per second per shard, up to 10 MB or 10,000 records per call, and all consumers share the shard’s 2 MB/s (around 200 ms latency). Five apps on one shard each get roughly 400 KB/s.
  • Enhanced fan-out uses SubscribeToShard to push data over HTTP/2: each consumer gets its own 2 MB/s per shard at around 70 ms. Use it for many consumers or low latency.
  • KPL (Producer Library): sync or async (async performs better), with collection (many records in one PutRecords call) and aggregation (many user records in one Kinesis record). Both raise throughput and cut cost at the price of latency, controlled by RecordMaxBufferedTime (default 100 ms). Compression is up to you. If you can’t tolerate the delay, use the SDK directly.
  • KCL de-aggregates KPL records, balances shards across workers and checkpoints in DynamoDB (one row per shard). ExpiredIteratorException usually means that table needs more write capacity.
  • Resharding: split hot shards, merge cold ones. After a split, read the parent shard until it’s exhausted before reading the children, or you’ll process records out of order (KCL handles this).
  • Duplicates happen: producers retry after timeouts (embed a unique record ID), and consumers re-read after worker failures, scaling or resharding. Make consumers idempotent.
  • ProvisionedThroughputExceededException means a hot shard: better partition key, backoff, more shards or enhanced fan-out.

Amazon Data Firehose

  • Formerly Kinesis Data Firehose. Fully managed, near-real-time delivery to S3, Redshift (via an S3 COPY), OpenSearch Service and Serverless, Apache Iceberg tables, Splunk, Snowflake, HTTP endpoints and partner tools.
  • Delivers when a buffer size or buffer interval threshold is reached, whichever comes first. Optional Lambda transformation, record format conversion (JSON to Parquet or ORC using a Glue table schema), dynamic partitioning and compression.
  • Source records, transformation failures and delivery failures can be backed up to S3.
  • Firehose stores nothing and can’t replay. Need replay or several custom consumers? Put Data Streams in front.
  • Amazon Managed Service for Apache Flink (formerly Kinesis Data Analytics) runs Flink apps for real-time stateful processing (windows, joins, anomaly detection) on Kinesis or Kafka. Kinesis Data Analytics for SQL applications was shut down in January 2026.
  • Amazon MSK is managed Apache Kafka, for when you need Kafka APIs, custom broker configuration or larger messages. The default maximum message size is about 1 MB, raised with message.max.bytes (Kinesis records max out at 1 MB). MSK Serverless removes capacity planning.
  • Clusters use ZooKeeper or, from Kafka 3.7, KRaft metadata mode. Security: mTLS or SASL/SCRAM (secrets in Secrets Manager) or IAM for authentication, Kafka ACLs for authorisation, KMS at rest, TLS in transit.
  • You can only add partitions to a topic, never remove them. MSK Connect runs Kafka Connect workers, for example a sink connector to S3.
Need Choose
Replay, multiple consumers, AWS-native Kinesis Data Streams
Load a stream into S3, Redshift, OpenSearch with no code Amazon Data Firehose
Kafka compatibility, big messages, broker control Amazon MSK
Stateful real-time analytics Managed Service for Apache Flink
Change data capture from a database AWS DMS (or zero-ETL integrations)

Ingestion: batch and migration

  • AWS DMS migrates databases with full load plus CDC (ongoing replication), and can target S3, Redshift or Kinesis. Use AWS SCT or DMS Schema Conversion for heterogeneous engines.
  • AWS DataSync moves files and objects (NFS, SMB, HDFS, S3, EFS, FSx) on a schedule, preserving metadata and permissions, through an agent for on-premises sources. It doesn’t move databases.
  • AWS Transfer Family gives SFTP, FTPS, FTP and AS2 endpoints backed by S3 or EFS, for partners who push files.
  • Amazon AppFlow moves data between SaaS apps (Salesforce, ServiceNow, Slack and others) and AWS with no code, in both directions, on schedule or on event.
  • AWS Data Pipeline is no longer available to new customers: use Glue, Step Functions or MWAA instead.
  • S3 for big loads: multipart upload with per-part checksums for integrity, byte-range fetches to parallelise downloads, and S3 Event Notifications or EventBridge to trigger processing.

Transformation: AWS Glue

  • Glue crawlers infer schemas and partitions (from S3 prefixes such as year=2026/month=11/) into the Glue Data Catalog, which is also a Hive-compatible metastore for EMR, Athena and Redshift Spectrum.
  • Glue ETL jobs run serverless Apache Spark (Python or Scala), Python shell, or streaming jobs (Spark Structured Streaming on Kinesis or Kafka). Glue’s Ray jobs are closed to new customers.
  • A DynamicFrame is a collection of self-describing DynamicRecords, tolerant of inconsistent schemas. Convert to a Spark DataFrame when you need Spark APIs.
  • Built-in transforms: DropFields, DropNullFields, Filter, Join, Map, format conversion (CSV, JSON, Avro, Parquet, ORC, XML), and the ML transform FindMatches, which finds duplicate or matching records with no common key or exact match.
  • ResolveChoice settles fields with ambiguous types (say price is sometimes a number, sometimes a string): make_cols (one column per type), cast (force one type), make_struct (struct holding both) or project (keep one type, drop others).
  • A job can update the catalog itself instead of re-running the crawler: enableUpdateCatalog with partitionKeys (new partitions), updateBehavior (schema changes), setCatalogInfo (new tables). S3 targets only, no nested schema changes.
  • Job bookmarks store state so scheduled runs only process new data. They work for S3 and for JDBC sources whose bookmark key (by default the primary key) increases or decreases sequentially. They catch new rows, not updated ones.
  • Scheduling and orchestration: schedules and triggers (time, on-demand, on job or crawler completion, or EventBridge events), and Glue workflows to chain multiple jobs and crawlers.
  • Development: use Glue Studio (visual drag-and-drop ETL) and Glue Studio notebooks / interactive sessions. The old development endpoints only support Glue versions before 2.0.
  • Scale with DPUs, auto scaling, and Flex execution for non-urgent jobs.
  • Glue Data Quality uses DQDL rules (written or recommended), runs in jobs or on catalog tables, can fail a job and reports to CloudWatch.
  • Glue DataBrew is no-code data preparation: built-in transformations saved as recipes, plus profiling, quality rules and PII masking.

Transformation: EMR, Lambda and containers

  • Amazon EMR runs Spark, Hive, Trino, HBase and Flink on EC2, EKS or EMR Serverless.
  • Node types: the primary (formerly master) node coordinates the cluster. Core nodes run tasks and store HDFS data, so shrinking them risks data loss. Task nodes only compute, can be removed safely, and are ideal for Spot Instances.
  • Transient clusters terminate after their steps (cheapest for batch). Long-running clusters keep termination protection on, with Reserved Instances for the base and Spot task nodes for bursts.
  • Storage: HDFS on instance store or EBS is fast but lost when the cluster terminates (128 MB default block size). EMRFS reads and writes S3 for persistence. S3 has been strongly consistent since 2020, so the old EMRFS consistent view (with a DynamoDB table) is no longer needed. EBS volumes can only be attached at launch, and EMR treats a manually detached volume as a failure.
  • Hive gives SQL on Hadoop and can use the Glue Data Catalog as its metastore.
  • Lambda suits light, event-driven transforms: 15-minute limit, CPU scales with memory, and it can mount EFS. Use reserved concurrency to protect downstream systems.

Orchestration

  • AWS Step Functions: a state machine of states: Task, Choice, Wait, Parallel, Map, Pass, Succeed and Fail. Distributed Map fans out over millions of S3 objects or CSV/JSON items, the most data-engineering-relevant state. Use Retry and Catch for error handling. Standard workflows run up to a year, Express workflows up to 5 minutes for high volume.
  • Amazon MWAA (Managed Workflows for Apache Airflow) runs Python DAGs, scales workers automatically with the task queue, and is the answer when the team already uses Airflow or needs its operator ecosystem.
  • Glue workflows for Glue-only pipelines. EventBridge for event-driven triggers and cron schedules. SNS and SQS for alerts and decoupling.
  • Deploy pipelines with CloudFormation, CDK or AWS SAM, from Git through CI/CD.

Storage: S3, DynamoDB and databases

  • S3 lifecycle rules transition objects between storage classes and expire them at a given age. Versioning protects against overwrites. Intelligent-Tiering suits unknown access patterns.
  • S3 Object Lambda (transform objects on GET) and S3 Select are closed to new customers. Use Athena or a Lambda behind your own API instead.
  • DynamoDB: choose a high-cardinality partition key to spread load. Table classes are Standard and Standard-IA. TTL deletes expired items at no cost. Streams feed CDC to Lambda or Kinesis. DAX caches reads (changing the DAX node type means creating a new cluster).
  • RDS bulk loads: MySQL wants InnoDB and tables well under 16 TiB. For PostgreSQL, temporarily disable backups, Multi-AZ, synchronous_commit and autovacuum, and raise maintenance_work_mem and max_wal_size, then restore them.
  • MemoryDB for durable, fast key-value access. Neptune for graphs. Keyspaces for Cassandra.

Amazon Redshift (high-value topic)

Architecture

  • A leader node plans queries and distributes them to compute nodes, which are divided into slices. Current node types are RA3 and the newer Graviton-based RG, both with managed storage (compute and storage scale independently). The old HDD-based dense storage nodes are gone. Redshift Serverless removes cluster management entirely.
  • Resizing: elastic resize adds or removes nodes in minutes with a brief outage. Classic resize changes node type or count but keeps the cluster read-only much longer. To stay available during a long change, restore a snapshot to a new cluster, resize it and switch over.
  • For cross-region snapshot copies of a KMS-encrypted cluster, create a snapshot copy grant for a KMS key in the destination region, then enable cross-region snapshot copy on the source cluster using that grant.

Distribution and sort keys

Distribution style Behaviour Use when
AUTO Redshift picks and adapts (starts with ALL for small tables) Default, unsure
EVEN Round-robin across slices No joins on the table, no clear key
KEY Rows with the same column value go to the same slice Large tables joined on that column
ALL Full copy on every node Small, slowly changing dimension tables

Sort keys (compound or interleaved) let Redshift skip blocks with zone maps. A KEY column with skewed values causes data skew.

Loading and unloading

  • COPY loads in parallel from S3, EMR, DynamoDB or remote hosts over SSH. It needs an IAM role; a manifest file is optional and pins exactly which files load. It can decrypt and decompress (gzip, lzop, bzip2, and others) on the fly.
  • Split large inputs into multiple files (ideally a multiple of the slice count) so every slice loads in parallel. Load a narrow, very tall table in a single COPY, since many separate loads waste space on hidden metadata columns.
  • UNLOAD writes query results to S3, best as Parquet (faster and much smaller, partitioned, readable by Athena, EMR and Spectrum).
  • Auto-copy (COPY JOB) watches an S3 prefix and loads new files automatically. Streaming ingestion reads directly from Kinesis Data Streams or MSK into materialized views. Zero-ETL integrations replicate Aurora, RDS and DynamoDB into Redshift without pipelines.
  • Inside the cluster, copy tables with INSERT INTO ... SELECT or CREATE TABLE AS.
  • Enhanced VPC routing forces COPY and UNLOAD traffic through your VPC instead of the internet.

Querying beyond the cluster

  • Redshift Spectrum queries structured and semi-structured data in S3 (Parquet, ORC, JSON, CSV, compressed with gzip or Snappy) without loading it, through CREATE EXTERNAL SCHEMA pointing at the Data Catalog.
  • Federated queries query live data in RDS and Aurora (PostgreSQL and MySQL) from Redshift, also via CREATE EXTERNAL SCHEMA. dblink works the other way, letting PostgreSQL query Redshift.
  • Materialized views precompute expensive joins and aggregations, with auto refresh.
  • Data sharing gives live, read access to another cluster or workgroup, across accounts and regions, without copying (RA3, RG or Serverless).
  • Lambda UDFs call a Lambda function from SQL: register it with CREATE EXTERNAL FUNCTION and allow it with GRANT USAGE ON LANGUAGE exfunc. Use them instead of Python UDFs, which Redshift stops supporting after June 30, 2026.
  • Spatial types GEOMETRY and GEOGRAPHY are supported.

Workload management and maintenance

  • WLM separates short and long queries into queues. Automatic WLM (recommended) creates up to 8 queues with priorities and adjusts concurrency and memory itself (lower concurrency for big joins, higher for small queries). Queues can be routed by user groups, query groups and query monitoring rules.
  • Manual WLM starts with one default queue at concurrency 5 plus a superuser queue at concurrency 1. You can define up to 8 queues with up to 50 total slots, and enable queue hopping for timed-out queries.
  • Short query acceleration (SQA) runs short read-only queries (and CREATE TABLE AS) in a dedicated space so they don’t wait behind long ones.
  • Concurrency scaling adds transient cluster capacity for bursts of concurrent queries. WLM decides which queues can use it.
  • VACUUM: FULL (default: re-sort and reclaim space), DELETE ONLY (reclaim only), SORT ONLY (sort only), REINDEX (re-analyse interleaved sort keys, then full vacuum). Redshift runs automatic vacuum and ANALYZE in the background.
  • System tables: STL (logged history), STV (current state), SVV (object metadata), SVL/SVCS (query details) and the newer SYS monitoring views.
  • Anti-patterns: small datasets (use RDS), OLTP, unstructured data and large BLOBs.

Querying and analytics

Amazon Athena

  • Serverless SQL on S3 using the Data Catalog, billed per TB scanned. Cut cost and time with columnar formats (Parquet, ORC), compression, partitioning, and fewer, larger files (lots of small files hurt).
  • After adding Hive-style partitions in S3, run MSCK REPAIR TABLE (or ALTER TABLE ADD PARTITION), or use partition projection to skip catalog partitions entirely.
  • CTAS (CREATE TABLE AS SELECT) writes query results as a new table, which is the quick way to convert CSV into Parquet or ORC with a chosen compression and location.
  • Apache Iceberg tables (TBLPROPERTIES ('table_type'='ICEBERG')) give ACID INSERT, UPDATE, DELETE and MERGE, time travel and schema evolution. Compact small files with OPTIMIZE table REWRITE DATA USING BIN_PACK and clean up with VACUUM.
  • Workgroups separate teams or workloads, with their own result locations, encryption, per-query data limits, CloudWatch metrics and SNS alerts.
  • Athena for Apache Spark notebooks for exploration; federated queries through Lambda connectors.
  • QuickSight builds dashboards (SPICE in-memory engine).
  • Amazon OpenSearch Service (formerly Elasticsearch Service): hot, UltraWarm (S3-backed, needs dedicated master nodes) and cold storage (cheapest, needs UltraWarm). Index State Management moves and deletes old indices; index rollups summarise them; cross-cluster replication uses leader and follower indices.

Vectors (new in the current exam guide)

  • Know what embeddings are and the two main vector index types: HNSW (graph-based, high recall and fast queries, more memory) and IVF (clusters vectors into lists, less memory, faster to build, slightly lower recall).
  • Vector stores on AWS include Aurora PostgreSQL with pgvector, OpenSearch, MemoryDB and S3 Vectors. Bedrock knowledge bases chunk documents, embed them and store the vectors for retrieval.

Security and governance

Access control

  • IAM roles per service, least-privilege custom policies, and role-, tag- or attribute-based access. Secrets Manager rotates database credentials; Parameter Store is cheaper without built-in rotation.
  • VPC endpoints / PrivateLink keep traffic off the internet. S3 Access Points carry their own policies.
  • Inside Redshift: users, groups, roles, GRANT, row-level security, column-level grants and dynamic data masking.

AWS Lake Formation

  • Built on Glue, Lake Formation centralises data lake permissions. The setup flow: register S3 locations, create catalog databases, ingest (blueprints and workflows), then GRANT SELECT to the analysts and services (Athena, Redshift Spectrum, EMR) that need it.
  • Permissions are database, table, column, row and cell level. Row and cell security uses data filters (CreateDataCellsFilter). LF-Tags give tag-based access control at scale.
  • Cross-account sharing uses AWS RAM (and the recipient’s data lake administrator grants access locally). Encrypted catalogs need KMS key permissions.
  • Governed tables (Lake Formation’s own ACID tables) were shut down at the end of 2024. For ACID tables and automatic compaction, use Apache Iceberg (with Glue Data Catalog table optimizers) instead.

Encryption, privacy and audit

  • KMS for encryption at rest everywhere (S3 SSE-KMS, Redshift, Glue catalog and job bookmarks, Kinesis, MSK). Cross-account encryption needs the key policy to allow the other account. Enforce TLS in transit.
  • Amazon Macie discovers PII in S3 and works with Lake Formation to restrict it. Mask or anonymise with DataBrew, Glue transforms, Redshift dynamic data masking or SageMaker Data Wrangler.
  • Data sovereignty: SCPs with aws:RequestedRegion block replication or backups to disallowed regions. AWS Config records configuration changes.
  • CloudTrail logs API calls (data events are opt-in). CloudTrail Lake (SQL over events) is in the exam guide but closed to new customers since 31 May 2026; advanced event selectors reduce its ingestion cost. CloudWatch Logs Insights, Athena or OpenSearch analyse logs.

SageMaker Catalog, Unified Studio and lineage

  • SageMaker Unified Studio organises data work into domains, domain units and projects. SageMaker Catalog (built on DataZone) is the business data catalog: publish data products, subscribe with approval, and govern access across accounts.
  • SageMaker ML Lineage Tracking links entities (trial components, experiments, artifacts, actions) through associations such as DerivedFrom and Produced. Feature Store keeps features in feature groups, fed in batch or streaming.

Final exam tips

  • “Replay” or “multiple independent consumers” means Kinesis Data Streams or MSK, never Firehose alone.
  • “Convert CSV to Parquet with the least effort” means Firehose record format conversion (streaming), Glue ETL or Athena CTAS (batch).
  • “Only process new files on each scheduled run” means Glue job bookmarks.
  • “Load is slow into Redshift” means split files, one COPY, compressed input and the right distribution key.
  • “Short queries stuck behind long ones” means automatic WLM priorities or SQA. “Too many concurrent users” means concurrency scaling.
  • “Row- or cell-level security on the data lake” means Lake Formation data filters. “Find PII” means Macie.
  • Watch for retired names in distractors: Kinesis Data Analytics, Kinesis Data Firehose, Lake Formation governed tables, Data Pipeline and Glue development endpoints.

Frequently asked questions

How hard is the AWS Data Engineer Associate exam?

It is a mid-level exam, but it is broad. Most questions describe a pipeline and ask for the cheapest, fastest or least-operational option, so you need to know where Glue, EMR, Kinesis, Redshift and Athena each fit. Redshift tuning and Glue features are the areas people most often underestimate.

What is the exam code for AWS Certified Data Engineer – Associate?

The current exam code is DEA-C01. It has 65 questions (50 scored, 15 unscored) in 130 minutes, a passing score of 720 out of 1,000, and costs 150 USD. The four domains are ingestion and transformation (34%), data store management (26%), operations and support (22%) and security and governance (18%).

Is Kinesis Data Analytics still on the Data Engineer Associate exam?

Not under that name. Kinesis Data Analytics was renamed Amazon Managed Service for Apache Flink, and the old SQL applications were shut down in January 2026. Kinesis Data Firehose is now Amazon Data Firehose. The exam uses the current names.

Do I need machine learning knowledge for the DEA-C01?

No model training is tested. You do need to know data-side ML features such as SageMaker Data Wrangler, SageMaker ML Lineage Tracking, vector index types (HNSW and IVF) and how Bedrock knowledge bases use vector stores.

More study guides

Hussein Ayoub

Written by

Hussein Ayoub, Founder, Cloud Security & DevOps

Cloud security and DevOps engineer focused on AWS and Azure. AWS Certified Security – Specialty, DevOps Engineer – Professional and Solutions Architect – Professional, and an ISO/IEC 27001 Lead Auditor. Leads Pavora's security assessments, penetration tests, DevOps engagements and AWS training.

Want a structured path to this certification?

Our AWS training combines these notes with hands-on labs in real AWS accounts and direct feedback from a certified instructor. Book a free call to find the right track.