0
0
AWScloud~20 mins

Billing dashboard overview in AWS - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Billing Dashboard Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
dax_lod_result
intermediate
2:00remaining
Calculate Total Monthly Cost Using DAX
You have a billing dataset with columns: Date, Service, and Cost. Which DAX measure correctly calculates the total cost for the current month?
ATotal Monthly Cost = CALCULATE(SUM(Billing[Cost]), FILTER(Billing, MONTH(Billing[Date]) = MONTH(TODAY()) && YEAR(Billing[Date]) = YEAR(TODAY())))
BTotal Monthly Cost = SUMX(FILTER(Billing, Billing[Date] = TODAY()), Billing[Cost])
CTotal Monthly Cost = CALCULATE(SUM(Billing[Cost]), ALL(Billing))
DTotal Monthly Cost = SUM(Billing[Cost])
Attempts:
2 left
💡 Hint
Use CALCULATE with FILTER to restrict data to current month and year.
visualization
intermediate
1:30remaining
Best Visualization for Cost Trend Over Time
You want to show how AWS billing costs change month by month over the past year. Which visualization type is best suited for this?
ABar chart showing total cost by service for the current month
BPie chart showing cost distribution by service
CLine chart showing monthly total cost over time
DScatter plot showing cost vs. number of resources
Attempts:
2 left
💡 Hint
Think about how to show changes over time clearly.
data_modeling
advanced
2:30remaining
Designing a Data Model for Billing Analysis
You have raw AWS billing data with many services and usage types. To build an efficient billing dashboard, which data modeling approach is best?
AStore all raw data in a single flat table without relationships
BCreate a star schema with a fact table for usage and dimension tables for services, dates, and accounts
CUse multiple unrelated tables for each service without common keys
DCreate a snowflake schema with many normalized dimension tables but no fact table
Attempts:
2 left
💡 Hint
Think about how to organize data for fast queries and easy filtering.
🔧 Debug
advanced
2:00remaining
Identify the Error in This DAX Measure
This DAX measure is intended to calculate the average daily cost for the current month but returns an error. What is the cause?
AWS
Avg Daily Cost = AVERAGEX(FILTER(Billing, MONTH(Billing[Date]) = MONTH(TODAY())), Billing[Cost])
ABilling[Cost] cannot be used inside AVERAGEX without aggregation
BAVERAGEX requires a table as the first argument, but FILTER returns a scalar
CTODAY() cannot be used inside FILTER
DThe FILTER function is missing a YEAR condition, causing incorrect filtering
Attempts:
2 left
💡 Hint
Check if the filter includes the correct year to avoid mixing months from different years.
🧠 Conceptual
expert
3:00remaining
Scenario: Optimizing Billing Dashboard Performance
Your billing dashboard is slow because it queries a very large dataset live. Which approach will best improve performance without losing data accuracy?
AImplement incremental data refresh to load only new billing data daily and pre-aggregate monthly costs
BUse direct query mode to always get the latest data without caching
CRemove all filters and show raw data to speed up queries
DSplit the dataset into many small unrelated tables to reduce size
Attempts:
2 left
💡 Hint
Think about balancing data freshness and query speed with pre-processing.