FastPrepHigh Resource Usage Customers
Problems/High Resource Usage Customers

High Resource Usage Customers

Wells Fargo logoWells Fargo● MediumNEW GRADOA

Updated Nov 2026

QuestionConstraints

Problem statement

Source note: The report gives both schemas, the rule that a customer qualifies on any resource, the requested result columns, and two-decimal formatting. Memory and disk averages as percentages, positive allocations, and a fixed row order are our assumptions. Our version is about 91% the same as the reported question.

Identify every customer with at least one site_data log where memory utilization, disk utilization, or CPU utilization is strictly greater than 50%.

For each qualifying customer, calculate averages across all of that customer's logs:

  • average_memory_usage: average of 100 * memory_used_gb / memory_allocated_gb.
  • average_disk_storage: average of 100 * disk_used_gb / disk_allocated_gb.
  • average_cpu_utilization: average of cpu_utilization_percent.

Round every average to two decimal places. Return rows ordered by customer_name ascending, then customer_id ascending.

Table schema

MySQLPostgreSQLPandas

Use the same input data with any supported language. Open the Schema tab in the editor to see the generated SQL setup or Pandas DataFrames.

customers

Customer identities.

ColumnTypeNullableDescription
customer_idPKIntegerNo—
customer_nameTextNo—

site_data

Resource-usage logs for monitored customer sites.

ColumnTypeNullableDescription
log_idPKIntegerNo—
customer_idIntegerNo—
memory_used_gbDecimalNo—
memory_allocated_gbDecimalNo—
disk_used_gbDecimalNo—
disk_allocated_gbDecimalNo—
cpu_utilization_percentDecimalNo—

Foreign key: customer_id → customers(customer_id)

Expected result

Your query or function must return these columns.

ColumnTypeNullableDescription
customer_nameTextNo—
average_memory_usageDecimalNo—
average_disk_storageDecimalNo—
average_cpu_utilizationDecimalNo—

Row order: must match exactly. Numeric tolerance: 0.

Constraints

  • customers.customer_id and site_data.log_id are unique primary keys.
  • Every site_data.customer_id references an existing customer.
  • memory_allocated_gb and disk_allocated_gb are positive.
  • Usage and allocation values are nonnegative decimals, and CPU utilization is between 0 and 100.
  • A customer may have multiple logs; averages include every log after the customer qualifies.

More Wells Fargo Online Assessment questions

  • Server Upgrade PlanningOA · Seen Nov 2026
  • Student and Course EnrollmentOA · Seen Nov 2026
  • Bond Interest Summary Above 3%OA · Seen Oct 2026
  • Count Phrases Formed by Anagram ReplacementOA · Seen Oct 2026
  • Event Statistics AggregatorOA · Seen Sep 2026
  • Ordered Deployment Configuration ValidatorOA · Seen Sep 2026
  • Longest Subsequence That Is a SubstringOA · Seen Jul 2026
  • Overloaded Game Account InventoriesOA · Seen Jul 2026
  • Count Server ReplacementsOA · PHONE SCREEN · Seen Feb 2026
  • Minimum Remaining LengthOA · PHONE SCREEN · Seen Feb 2026

Similar questions at other companies

  • Auction Lot Bid SummaryHackerRank · OAHackerRank interview questions
  • Bond Holders Above the Cash Flow ThresholdBirla Pivot · OA
  • Prepare Taxi Driver Classification DataBoston Consulting Group · OABoston Consulting Group interview questions
  • Find the Dominant SellerSquadStack.ai · OA
  • Track the Book and Mark Final PnLMillennium · OAMillennium interview questions
  • Market Share Ticker with ImbalanceWolverine Trading · OAWolverine Trading interview questions
  • Transaction Totals and Ranked Failure ReasonsIntuit · OAIntuit interview questions
  • Employees Joined per MonthOdoo · OAOdoo interview questions
  • Bond Haircut by Ratings and MaturityJane Street · OAJane Street interview questions
  • Customer Order FeesAdobe · OAAdobe interview questions

Interview reports that mention this question

  • Wells Fargo OA: What It Tests (2026)

Wells Fargo interview experiences

  • Wells Fargo SWE Intern OA and Interview Questions: 18 Experiences
All Wells Fargo interview questionsSee Wells Fargo hiring insights