Choose a transformation for the data shape
A claims feed arrives as CSV plus free-text notes.
Choose a transformation for the data shape
A claims feed arrives as CSV plus free-text notes. Parse the structured fields with an explicit schema and quarantine invalid values alongside their source keys. Convert repeated analytical reads to compressed columnar files. If an LLM classifies a note, validate its structured output against an allowed vocabulary and route uncertain cases to review.
Decisions to rehearse
- Partitioned Parquet
- Columnar reads and pruning reduce bytes scanned when predicates match the layout.
- Glue Spark job
- Distributed transformation fits a large join that exceeds a single function's runtime and memory.
- Explicit schema and quarantine
- Retaining invalid rows separately preserves evidence while valid records can proceed.
- JDBC connection with restricted network access
- The driver, endpoint routing and read permissions must all allow the relational extract.
- Validate model output against a schema
- Generated labels can be malformed or outside the contract even when the API call succeeds.
Practise each AWS skill
These references use the skill numbers in the AWS guide.
- 1.2.1 · Measure CPU, memory and startup overhead on a containerized transform before changing task or pod size.
- 1.2.2 · Check a JDBC or ODBC driver, route and authenticated read using a single-row query.
- 1.2.3 · Join a reference snapshot to events as of the event time, then inspect unmatched and multiply matched records.
- 1.2.4 · Compare cost per successful partition before and after pruning input or changing compute.
- 1.2.5 · Choose among a bounded Lambda transform, distributed Glue or EMR and warehouse SQL using job size and dependencies.
- 1.2.6 · Convert a known CSV sample to typed columnar output and reconcile nulls, numeric precision and row count.
- 1.2.7 · Identify the slowest Spark task or the first rejected record before deciding whether the fault is skew or invalid input.
- 1.2.8 · Sketch an authenticated, paginated endpoint for serving a curated dataset and define its response version.
- 1.2.9 · Characterize the daily volume, peak arrival rate and schema diversity of a mixed telemetry feed.
- 1.2.10 · Validate one structured LLM output against a schema; record model version and route a failing label for review.
Official skills for this topic
Work through the decision
A Spark job spends most of its time on one partition. Its output also contains malformed note classifications. Which two measurements tell you whether the fixes work?
Check your reasoning
Compare the slowest task with the median and inspect the key distribution before repartitioning. Independently validate model output against the allowed labels and count quarantined records. A faster job can still publish invalid classifications.
Related recording chapters: 24:33.
Related lesson in Fabric Data Engineer Associate · Choose a batch ingestion and transformation path.
Choose a transformation for the data shape quiz
Answer 3 questions. Check each answer for an explanation.