Amazon DEA-C01: Cost Optimization for Data Workloads — Study Guide

Part of the Amazon Data Engineer Associate DEA-C01 — Study Guide. Practice with verified answers in the Amazon exam hub, or take timed practice tests on ExamRoll.io.

Cost optimization for data workloads ensures that storage, compute, and data-processing pipelines deliver value without runaway spend. Data engineers must balance query performance, data durability, and availability against pricing models that vary by service and usage pattern. This domain requires familiarity with storage classes and lifecycle policies, query and cluster-level controls, spot and reserved capacity, and serverless versus provisioned trade-offs.

S3 storage cost optimization

S3 Intelligent-Tiering is the recommended default for datasets with unpredictable access patterns: enable Intelligent-Tiering via console or AWS CLI when object access frequency cannot be reliably forecasted. Configure Intelligent-Tiering with the appropriate monitoring/automation fee awareness (there is a small monthly monitoring charge per object) and the right minimum days for auto-tier transitions (30 days for frequent-to-infrequent tiers). Use object tags and lifecycle rules to exclude small, high-request objects where monitoring fees would outweigh savings.

Use these operational patterns to reduce S3 spend:

Decision criteria:

Athena and Redshift cost management

Athena costs scale with bytes scanned. Enforce workgroup controls (console or aws athena create-work-group) to implement per-query data scanned limits and per-workgroup monthly budgets; enable “Enforce workgroup settings” so queries that exceed the per-query data limit fail instead of running. Reduce scanned bytes by converting source files to columnar compressed formats (Parquet/ORC), partitioning by date or common filter columns, applying predicate pushdown, and using CTAS or CREATE TABLE AS to materialize optimized datasets. Use query result reuse and workload isolation into separate workgroups to avoid cross-team cost leakage.

Redshift cost decisions hinge on workload predictability and storage choices. For steady, predictable data warehouse compute usage, purchase Reserved Nodes (one- or three-year terms, partial/all upfront options) to lock in discounts versus on-demand. For variable workloads:

Comparison highlights:

Glue and EMR cost strategies

AWS Glue provides serverless ETL with multiple cost levers. For batch jobs that are not latency-sensitive, use Glue flexible execution (Glue Flex jobs) which can reduce cost up to ~34% versus standard Glue execution. Configure Glue job parameters in Glue Studio or the CLI (aws glue create-job) to select worker type and maximum DPUs, set a sensible max DPU cap to prevent unbounded auto-scaling, and use job bookmarks to avoid full reprocessing. For interactive or latency-sensitive workloads, choose worker types (Standard/G.1X/G.2X) and tune parallelism responsibly.

EMR cost reduction relies on using Spot Instances for task nodes while keeping master and core nodes On-Demand (configure instance fleets or instance groups in the console or via aws emr create-cluster). Use Spot for task nodes only, select capacity-optimized allocation strategy, and set appropriate bid/maximum price if using Spot with bidding. Protect cluster state and job resilience by:

Decision criteria:

Reserved capacity and Savings Plans for data services

Reserved capacity and Savings Plans apply differently across data services. For EC2-backed services (EMR, self-managed HBase, custom Hadoop), use EC2 Savings Plans or Reserved Instances to cover compute spend; select regional or zonal options based on mobility needs. Redshift supports reserved node purchases for provisioned clusters to reduce hourly costs for predictable warehouse workloads. Serverless services (Glue, Athena) do not have resource reservations; optimize by workload scheduling and data format changes instead.

Practical purchasing guidance:

Common Pitfalls and Decision Criteria

Practical Problem: Acme Analytics nightly ETL cost reduction

Acme Analytics runs nightly ETL and daily ad-hoc analytics; monthly cloud spend has spiked due to growing raw S3 storage and on-demand Redshift hours. The company needs a 35% reduction without impacting nightly SLAs.

  1. Run S3 Storage Class Analysis and lifecycle rules to move cold raw files older than 90 days to Glacier Flexible Retrieval (plan Bulk/Standard retrievals).
  2. Convert raw CSVs to partitioned, compressed Parquet and compact small files; store optimized datasets under separate prefixes for Athena/Redshift Spectrum.
  3. Create Athena workgroups with per-query data scanned limits and enforce workgroup settings; enable query result reuse and set a per-workgroup monthly budget.
  4. Migrate batch ETL to Glue Flex jobs for non-urgent transformations, set max DPU caps, and schedule them during off-peak hours; retain a smaller standard Glue fleet for urgent jobs.
  5. Right-size Redshift: purchase 1-year Reserved Nodes for steady baseline compute, move historical data to S3 and use Spectrum for infrequent queries, and enable concurrency scaling only with monitoring.

Rationale: The strategy combines data format and lifecycle optimization (reducing storage and scan costs), serverless lower-cost execution for flexible jobs (Glue Flex), query governance (Athena workgroups), and reserved capacity for sustained compute to maximize discounts while preserving availability and performance.


Data Pipeline Monitoring and Troubleshooting · All domains · Data Quality

Practice these questions → · Timed practice on ExamRoll.io →

Pass the whole exam — not just this question

You found this answer. Get every verified question and explanation in one place, and save hours of prep. Free to start.

Pass your exam →

Browse Amazon →

Related guides

All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product