Reading Data Engineering Scenarios for Their Constraints
This lesson sets out a reading method for Data Engineer Associate questions, which describe a data source, a volume, a latency target and a consumer, then offer four ways to build the pipeline. The exam rewards the option that meets every stated constraint with the least effort to build and run.
Learning outcomes
After completing this lesson, you will be able to:
- Map a question to its domain.
- Extract the four deciding facts from a scenario.
- Recognise the qualifiers and distractors that decide the answer.
Map the question to a domain
Each exam question belongs to one of four domains, which are recognisable from their wording. The following table gives the weighting of each domain, its typical wording and the services to consider.
| Domain (weight) | Typical wording | Think about |
|---|---|---|
| Data ingestion and transformation (34%) | "ingest", "near real time", "transform", "orchestrate" | Kinesis, Firehose, MSK, DMS, Glue, EMR, Lambda, Step Functions, MWAA |
| Data store management (26%) | "store", "catalogue", "schema changes", "lifecycle" | S3 and table formats, Redshift, DynamoDB, Glue Data Catalog, lifecycle rules |
| Data operations and support (22%) | "monitor", "troubleshoot", "data quality", "analyse" | CloudWatch, CloudTrail, Athena, Quick Sight, Glue Data Quality |
| Data security and governance (18%) | "least privilege", "PII", "column-level", "audit" | IAM, Lake Formation, KMS, Macie, Secrets Manager, SageMaker Catalog |
The four facts to extract
Four facts in a scenario usually determine the correct architecture. The following table identifies the question to ask for each and why it matters.
| Fact | Question to ask | Why it matters |
|---|---|---|
| Latency | Seconds, minutes, hours or daily? | Separates streams (Kinesis, MSK) from buffered delivery (Firehose) and batch (Glue, EMR) |
| Volume and shape | Gigabytes or petabytes? Files, rows or events? Structured or not? | Separates Lambda from Glue or EMR, and Redshift from Athena |
| Consumer | SQL analysts, dashboards, applications or ML? | Chooses the store and format |
| Qualifier | Least overhead, lowest cost, or most control? | Chooses between valid answers |
Qualifiers that decide the answer
Qualifying phrases in a question frequently decide between otherwise valid answers. The following table indicates the type of answer each qualifier usually rewards.
| Qualifier | Usually rewards |
|---|---|
| "LEAST operational overhead" | Serverless and managed features: Firehose, Glue, Athena, Redshift Serverless, zero-ETL |
| "MOST cost-effective" | Columnar formats, partitioning, Spot, lifecycle rules, pay-per-query |
| "near real time" | Firehose (seconds to minutes) or streams with Lambda or Flink |
| "real time" with custom processing or replay | Kinesis Data Streams or MSK |
| "without managing servers" | Rules out self-managed Kafka, Airflow on EC2 and long-running EMR on EC2 |
| "existing Spark/Hadoop code" or "open-source frameworks" | Amazon EMR |
| "existing Airflow DAGs" | Amazon MWAA |
What qualifiers reward
Common distractors
Incorrect options in the exam often follow recognisable patterns. A common one is custom code where a managed feature exists, such as a Lambda function that converts JSON to Parquet when Firehose record format conversion does it with no code. Another is the right service in the wrong mode, such as Kinesis Data Streams for a requirement that only needs files in S3 every few minutes, which Firehose meets more simply.
Other distractors misuse services or ignore simpler options. Lambda for large or long jobs fails for anything over 15 minutes or tens of gigabytes, which belongs in Glue, EMR or AWS Batch. Copying data to share it is unnecessary when Redshift data sharing or Lake Formation sharing would do. IAM alone for column- or row-level access cannot work, because that needs Lake Formation or Redshift permissions. And over-provisioned clusters for occasional queries cost far more than Athena would.
Spot the distractor
Applying the method
A company collects clickstream events from its website. It must store the events in Amazon S3 in Apache Parquet format so analysts can query them with Amazon Athena. Data must be available within 5 minutes. Which solution meets these requirements with the LEAST operational overhead?
- Domain: ingestion and transformation. Latency: within 5 minutes, so buffered delivery is acceptable.
- Consumer: Athena over Parquet in S3.
- Qualifier: least operational overhead, so prefer a managed feature over code.
The answer sends events to Amazon Data Firehose with record format conversion to Parquet (using a Glue Data Catalog table for the schema) and a buffer interval under 5 minutes. A design with Kinesis Data Streams, a Lambda consumer and custom Parquet writing also works, but adds code and capacity to manage, and a nightly Glue job misses the latency target.
Which facts should be extracted from a scenario before reading the options?
Show answer
The latency, volume, consumer and the qualifier, such as least operational overhead.
Exam Tips
Remember for the exam
- Extract latency, volume, consumer and qualifier before reading the options.
- Domain weights: ingestion and transformation 34%, store management 26%, operations 22%, security and governance 18%.
- Prefer native features (Firehose conversion, zero-ETL, data sharing) over custom code.
- Lambda's 15-minute limit rules it out for large batch transformations.