Sanjaay Gowda T S
All company profiles

COMPANY CONTEXT / 82 IN THE STUDY LIST

NextEra Energy, Inc.

UtilitiesUnited StatesAI & machine learningSoftware engineering

NextEra Energy operates electricity and energy-infrastructure businesses.

Original company-context practice, not verified company interview questions. Use the business setting to explain technical choices clearly.

01 / PRACTICE IN CONTEXT

Two problems to reason through.

Clarify assumptions before reading the model answer. Discuss what would change with different constraints.

Original company-context practiceHard

AI & machine learning

Choose forecast origins for electricity demand

NextEra Energy, Inc. · Concept

Original practice scenario inspired by NextEra Energy, Inc.'s public business context; this is not a reported interview question or a description of its internal systems. A fictional utility evaluates hourly demand forecasts issued each morning for the next day. Its dataset includes delayed meter readings and revised temperature forecasts. Design the training and scoring boundaries.

Read model answer

Each simulated morning must expose only records and forecast vintages available by that issue time. The prediction horizon and the data availability delay together define the real training boundary.

Work through it

  1. Store event time and ingestion time separately. Exclude recent meter readings that had not yet arrived, even if their event timestamps precede the forecast origin.
  2. Fit each candidate on the same eligible history and score the same next-day hours. Compare with previous-day and previous-week baselines using documented daylight-saving handling.
  3. Aggregate errors over completed forecast days and inspect peaks, holidays, and missing-input periods. Keep the final next-day operational forecast separate from scored historical predictions.

Tradeoffs to discuss

  • Retraining at every origin costs more than a coarse backtest but better reproduces the deployed update schedule. Use a smaller replay if necessary.

Common pitfalls

  • Revised weather forecasts leak future knowledge.
  • A final model fit on all available data must not be used to rescore earlier origins.
Open full question
Original company-context practiceMedium

Software engineering

Apply corrected meter readings deterministically

NextEra Energy, Inc. · Concept

Original practice scenario inspired by NextEra Energy, Inc.'s public business context; this is not a reported interview question or a description of its internal systems. A synthetic meter pipeline receives readings with meter_id, interval_start, revision, and value. Messages arrive out of order and may be duplicated. Explain the update rule and the tests needed for a reliable materialized view.

Read model answer

Use meter and interval as the business key, then accept only the highest valid revision for that key. Delivery order should not determine the final reading when explicit revisions exist.

Work through it

  1. Validate units, interval alignment, and revision type before updating. Define what to do when two payloads have the same revision but different values.
  2. Apply a conditional atomic upsert that replaces an older revision and ignores an identical replay. Retain an audit record of accepted corrections.
  3. Test reversed arrival order, repeated messages, equal-revision conflicts, negative corrections where allowed, and a crash during update. Replaying the same set should produce the same view.

Tradeoffs to discuss

  • Keeping raw events and current state costs more storage but permits reconstruction and correction analysis. A quarantine path handles contradictory revisions without silent overwrite.

Common pitfalls

  • Using ingestion timestamps as versions makes replay order significant.
  • Rejecting all duplicate keys would discard legitimate later corrections.
Open full question

02 / STRENGTHEN THE FOUNDATIONS

Related technical practice.

Browse company questions

03 / TEST AN APPROACH

Suggested coding exercises.

Exercises selected for these technical tracks. They are independent practice with visible tests and public solutions.

Study list: PwC Global Top 100 companies by market capitalisation, 2026 · 31 March 2026.

Keep learning beyond the interview.

Explore the Learning Hub