Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
AWS · DEA-C01

Analyzing and visualizing data

DEA-C01 · Lesson 16 of 23 · 2:13:31

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

Learning with these videos? Subscribe for new courses and exam-style questions.

In this lesson

Prepare for the DEA-C01 exam (AWS Certified Data Engineer – Associate). In this lesson: Amazon Quick Sight (formerly QuickSight) analyses, dashboards, and SPICE with full and incremental refreshes, the right visual for each question, exploring data with DataBrew, SageMaker Data Wrangler, and notebooks, validating and cleaning data with Lambda, Athena, DataBrew, and Glue, and choosing between serverless and provisioned services. Includes three original practice questions.

Study notes

The text of this lesson, to read at your own pace. Information as of November 2026.

A dashboard that looks wrong

The product team at AnyCompany Games has a dashboard of daily players, but the numbers look wrong: some days count players twice, and some regions are empty. The data science team asks whether the data is ready for a churn model, and finance asks why the warehouse costs the same on quiet weekends. This lesson covers visualizing data, exploring it, verifying and cleaning it, and choosing between provisioned and serverless services.

Dashboards with Quick Sight

Amazon Quick Sight, formerly QuickSight, is the business intelligence feature of Amazon Quick: you connect data sources, build an analysis, and publish it as a dashboard. A dataset either queries the source directly, or imports the data into SPICE, an in-memory engine that answers faster, and lets dashboards reuse the data without querying the source again. SPICE datasets are refreshed in full, or incrementally within a look-back window, so each refresh queries less data. When you publish an analysis, it becomes a dashboard that users can interact with and share, with interactive sheets or pixel perfect reports. Pick each visual for its question: a line chart for a trend over time, a bar chart to compare categories, a scatter plot for a relationship, a histogram for a distribution, and a KPI for one number against a target.

Visual exploration

Before a dashboard, explore the data visually: in a DataBrew project, the grid shows each column with its value distribution and charts. A DataBrew profile job goes further: it runs a series of evaluations on the whole dataset, and writes the results to S3, to guide the next recipe. For machine learning data, SageMaker Data Wrangler, now part of SageMaker Canvas, imports data from S3, Athena, or Redshift, and builds a data flow of preparation steps. Its Data Insights and Quality report verifies quality automatically and detects abnormal values, and its scatter plots and histograms show distributions and relationships. And notebooks compatible with Jupyter, like Athena notebooks or SageMaker notebooks, let you explore with Python and any chart library.

Verifying and cleaning

Verify data at each stage, before anyone trusts a dashboard: count the rows, look for nulls and repeated rows, and check values against expected ranges. A Lambda function can check each file as it lands in S3, like the header, the row count, or the format, and move bad files aside before the pipeline uses them. Athena queries find problems at scale, like a count of nulls per column, or IDs that appear more than once, and they can write clean results with CTAS. In Quick Sight, a sudden drop or spike on a chart often points to missing or duplicated data, rather than a real change. Then clean with the right tool: a DataBrew recipe to remove nulls or fix formats, a Glue job for large volumes, or a Data Wrangler flow for machine learning features.

Provisioned or serverless

Many services come in two models, with a tradeoff between them: provisioned, where you choose and pay for capacity, and serverless, where AWS adjusts the capacity for you. Amazon Redshift Serverless adjusts capacity in seconds, and you pay only when the data warehouse is in use, while a provisioned cluster runs, and costs, until you pause or resize it. EMR Serverless runs Spark jobs with no cluster to manage, and pre-initialized capacity keeps workers warm for jobs that must start in seconds. Serverless fits spiky, unpredictable, or occasional workloads, with no capacity planning, and little or no cost when idle. Provisioned fits steady, predictable workloads, with full control of instance types and tuning, and lower costs for capacity that stays busy, for example with reservations.

Analysis at AnyCompany Games

Here is the setup at AnyCompany Games: a Lambda function checks each partner file on arrival, and Athena queries count nulls and repeated rows every night. A Quick Sight dashboard uses a SPICE dataset with incremental refreshes, with a line chart of daily players and a bar chart of revenue by region. The data science team explores churn data in Data Wrangler, inside SageMaker Canvas, and checks its quality report before training. And the warehouse runs on Redshift Serverless, because the load is high on weekday evenings and close to zero on weekends.

Recap

Let's recap. Quick Sight publishes each analysis as a dashboard, and SPICE keeps data in memory, refreshed in full or incrementally. Choose each visual for its question, like a line chart for a trend, or a histogram for a distribution. DataBrew projects and profile jobs, Data Wrangler reports, and notebooks help you explore the data. Lambda checks files on arrival, Athena finds nulls and repeated rows, and DataBrew, Glue, or Data Wrangler clean the data. And serverless fits spiky workloads, while provisioned fits steady ones, with more control.

Quick checks for this lesson

The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.

  1. The product team wants an interactive dashboard of daily players that loads fast for 200 viewers, without sending a query to Redshift each time someone opens it. What should the data engineer use?

    • A Quick Sight dataset with direct query to Redshift
    • An Athena view on the table of daily players
    • A Quick Sight dataset imported into SPICE
    • A DataBrew profile job on the players table
    Show the answer

    A Quick Sight dataset imported into SPICE

    SPICE keeps the data in memory, so the dashboard answers fast, and reuses the data without querying Redshift each time. “A Quick Sight dataset with direct query to Redshift” would send queries to Redshift for each view. “An Athena view on the table of daily players” would still run a query each time, and it is not a dashboard. And “A DataBrew profile job on the players table” would describe the data, without showing any dashboard.

  2. Each night, partner files land in S3, and some arrive with a missing header or zero rows, which breaks the morning load. The team wants each file checked on arrival, and bad files moved to a quarantine prefix. What should the data engineer build?

    • A Lambda function that S3 events trigger on arrival
    • A weekly DataBrew profile job on the whole bucket
    • A Quick Sight dashboard that shows file counts
    • An Athena query that the team runs each morning
    Show the answer

    A Lambda function that S3 events trigger on arrival

    An S3 event starts the function for each new file, which checks the header and the rows, and moves bad files to the quarantine prefix. “A weekly DataBrew profile job on the whole bucket” would run once a week, after the loads broke. “A Quick Sight dashboard that shows file counts” would show the problem to people, without moving any file. And “An Athena query that the team runs each morning” would need someone to run it, after the files arrived.

  3. A Spark job on a provisioned EMR cluster runs for 30 minutes, twice a week, and the cluster sits idle the rest of the time. The team wants to stop managing clusters and paying for idle time. What should the data engineer choose?

    • A larger EMR cluster with more core nodes
    • Reserved capacity for the existing cluster
    • A provisioned Redshift cluster for the job
    • EMR Serverless for the twice-weekly job
    Show the answer

    EMR Serverless for the twice-weekly job

    EMR Serverless runs Spark jobs with no cluster to manage, and adjusts capacity to each run, so no cluster sits idle. “A larger EMR cluster with more core nodes” would make the idle cluster even bigger. “Reserved capacity for the existing cluster” would commit to capacity that sits idle most of the week. And “A provisioned Redshift cluster for the job” would replace Spark with a warehouse that also keeps running.