Cloud engineer: Capacity and Cost Reasoning
Original technical interview scenarios on workload units, multidimensional placement, queueing, transient capacity, resource amplification, billing scope, and constrained cost decisions using explicit fictional models.
These prompts are original practice. They are not questions from a named employer or a live hiring loop.
1.A report multiplies average arrival rate by p95 response time and calls the product average in-flight requests. No mean response time is provided. What is missing for that mean-value inference?
Show answer and explanation
- Only the instance count
- More p95 decimal precision
- The matching mean time and population assumptions
- A rule substituting any latency percentile for the needed mean
Answer: The matching mean time and population assumptions
A relation for mean occupancy needs compatible mean quantities and a defined population/steady-state model. A latency percentile is not interchangeable with a mean merely because both use seconds.
2.A system's occupancy metric includes queued and executing requests. Its sizing calculation uses only execution time and omits queue wait. What time boundary should the calculation match?
Show answer and explanation
- CPU time alone
- The full time requests spend in the measured system
- Only the fastest completion time
- Queued accepted work excluded while still being counted in occupancy
Answer: The full time requests spend in the measured system
Define the system boundary consistently. If occupancy includes queued work, the matching residence time includes that queue wait; otherwise the calculation estimates a different population than the stated metric.
3.For a twenty-second burst, arrivals are 600 tasks per second and service is 450 per second. The queue starts empty, no task is dropped, and rates stay constant. What backlog exists at the end?
Show answer and explanation
- 9,000 tasks
- 150 tasks
- 12,000 tasks
- 3,000 tasks
Answer: 3,000 tasks
The queue grows by 600 - 450 = 150 tasks per second for twenty seconds: 150×20 = 3,000. This is transient backlog growth, not the total number of arrivals or completions.
4.One workload unit uses 0.2 CPU-seconds for parsing and 0.3 CPU-seconds for compression. It also waits one second on a remote call without using CPU. At ten units per second, what modeled CPU demand follows?
Show answer and explanation
- 15 CPU-seconds per second
- 0.5 CPU-seconds per second
- 10 CPU-seconds per second
- 5 CPU-seconds per second
Answer: 5 CPU-seconds per second
CPU demand per unit is 0.2 + 0.3 = 0.5 CPU-seconds, so ten units per second demand five CPU-seconds per second. Wall-clock waiting is not CPU service demand under the stated model.
5.A latency profile shows two seconds per request, but almost all of it is blocked remote waiting. A proposal budgets two CPU-seconds for every request solely from that latency. What should be measured separately?
Show answer and explanation
- Response length alone
- Only successful HTTP completion
- Every second of remote waiting treated as a full core-second of work
- CPU service demand versus elapsed latency
Answer: CPU service demand versus elapsed latency
Elapsed duration and CPU consumption are different quantities. Measure relevant execution demand and concurrency/waiting limits rather than translate all observed latency directly into processor work.
6.A cache estimate counts value bytes but omits keys, indexes, allocator overhead, replicas, and eviction bookkeeping. What capacity does that estimate describe?
Show answer and explanation
- Only the counted raw-value component
- Usable memory after all replication, indexing, and allocator overhead
- The full deployed footprint
- A guaranteed maximum for every implementation
Answer: Only the counted raw-value component
Raw payload size can be a useful lower-level input without identifying the full storage/memory requirement. Include the relevant representation, replication, and runtime overhead before using it as a deployed capacity bound.
7.Three zones provide capacities 8, 3, and 1 work units per second. Required demand after any one-zone failure is six. Which zone loss violates that requirement?
Show answer and explanation
- Loss of the eight-unit zone
- Loss of the one-unit zone
- No loss, because healthy total capacity is twelve
- Loss of the three-unit zone
Answer: Loss of the eight-unit zone
Losing the largest zone leaves 3 + 1 = 4, below six. Losing the others leaves nine or eleven. Total healthy capacity and the number of zones do not by themselves establish the worst-failure requirement.
8.A fictional purchase contract reserves a discounted price but explicitly does not reserve placement capacity. A launch plan treats the purchase as proof instances will be available. What is unsupported?
Show answer and explanation
- The stated discounted billing terms
- The fact that a purchase was recorded
- Guaranteed placement from the price-only commitment
- The distinction between price and physical capacity
Answer: Guaranteed placement from the price-only commitment
Use the contract actually purchased. A price commitment, quota allowance, and placement reservation can be different things; do not infer a capacity guarantee from a discount agreement that excludes one.
9.An autoscaler reacts to a metric delayed by eight minutes but assumes it describes the present load. Demand changes quickly. What control input needs correction or explicit modeling?
Show answer and explanation
- Metric arrival time alone
- The metric's observation age and delay
- Every newly received sample treated as measurement of the current state
- Only desired-replica count
Answer: The metric's observation age and delay
Delayed feedback can describe a different system state. Account for observation timing, scaling latency, and control behavior rather than interpret data arrival as evidence of current demand.
10.A rolling replacement keeps six old workers while starting six new workers. Each worker uses two capacity units, and no old worker is removed until all new workers are ready. What peak overlap must the plan allow?
Show answer and explanation
- 6 units
- 18 units
- 12 units
- 24 units
Answer: 24 units
During the stated overlap, twelve workers exist at two units each, totaling 24. Steady-state capacity is twelve units, but a replacement can have a larger transient footprint.
11.Two hosts each provide five CPU units and eight memory units. Three indivisible jobs each require three CPU and five memory. Aggregate totals fit the fleet. Can all three jobs be placed simultaneously?
Show answer and explanation
- Yes; split one job despite indivisibility.
- No; even one job cannot fit either host.
- No; each host can fit only one such job.
- Yes; aggregate totals guarantee placement.
Answer: No; each host can fit only one such job.
Each job individually fits, but two on a host need six CPU and ten memory, exceeding both limits. Only two jobs fit across the two hosts; aggregate headroom does not remove placement fragmentation.
12.Three replicas must occupy distinct zones. All eligible hosts are in only two zones, although CPU and memory totals are ample. What constraint prevents placement?
Show answer and explanation
- The zone anti-affinity requirement
- Only fleet-wide memory
- Replica labels treated as creating additional eligible zones
- CPU totals alone
Answer: The zone anti-affinity requirement
Capacity is multidimensional and includes placement constraints. Three distinct required zones cannot be supplied by two eligible zones merely by adding compute inside them.
13.A scheduler admits workloads using requested memory. Applications request six units in total but can concurrently use twelve; the host limit is ten. What does successful admission alone not establish?
Show answer and explanation
- That requests total six units
- That actual use can differ from the requested reservation
- That the host has a finite memory limit
- That concurrent actual memory use stays within the host limit
Answer: That concurrent actual memory use stays within the host limit
Scheduling reservations are not automatically runtime demand bounds. Assess limits, peak behavior, and enforcement under the actual contract rather than infer safety from a smaller requested total.
14.Two tasks each peak at eight memory units. A plan provisions eight for both because their average peaks occurred at different times in one test. No exclusivity rule prevents overlap. What is unresolved?
Show answer and explanation
- One nonoverlapping sample treated as an enforced no-overlap guarantee
- Only the test run's observed timing
- Whether simultaneous demand can exceed the provisioned memory
- Average of the two peaks
Answer: Whether simultaneous demand can exceed the provisioned memory
Observed nonoverlap is not an enforced scheduling property. Model or bound relevant joint peaks and concurrency rather than treat one favorable timeline as proof the tasks can always share one peak allocation.
15.A report adds p95 times for three dependent stages and calls the sum the exact end-to-end p95. It has no joint timing data. What is not established?
Show answer and explanation
- That each measured stage can have its own distribution
- That stage durations can contribute to a request's total time
- That end-to-end timing can be measured separately
- That the sum is the exact path percentile
Answer: That the sum is the exact path percentile
A percentile of a sum depends on the joint distribution, not simply the sum of component percentiles. Use suitable end-to-end observations or a justified bound/model instead of calling that arithmetic an exact p95.
16.A fleet's request count stays constant, but requests now process ten times more records each. A forecast assumes resource demand is unchanged because QPS is unchanged. What workload dimension is missing?
Show answer and explanation
- Only HTTP-header count
- Work per request and the relevant resource demand
- Endpoint naming
- Every request treated as an identical amount of CPU and I/O work
Answer: Work per request and the relevant resource demand
Request count is not always a stable work unit. Characterize input size, operation mix, and relevant per-unit resource demand before transferring an old QPS capacity measurement to heavier requests.
17.A path has a 4 Gbit/s link followed by a 1 Gbit/s link. All data traverses both, with no compression, parallel path, or other bottleneck. What upper bound follows for sustained end-to-end transfer?
Show answer and explanation
- 2.5 Gbit/s
- 5 Gbit/s
- 1 Gbit/s
- 4 Gbit/s
Answer: 1 Gbit/s
Every bit must traverse the one-Gbit/s link, so that link bounds this supplied series path. Adding capacities of sequential links does not create equivalent end-to-end bandwidth.
18.Use decimal units: one byte is eight bits, one MB is 1,000,000 bytes, and one Mbit is 1,000,000 bits. At a full 80 Mbit/s payload rate with no overhead, how long does 200 MB take?
Show answer and explanation
- 2.5 seconds
- 16 seconds
- 20 seconds
- 160 seconds
Answer: 20 seconds
The data is 200×8 = 1,600 Mbit. At 80 Mbit/s, time is 1,600/80 = 20 seconds. Preserve bit/byte units rather than divide the displayed MB by Mbit/s directly.
19.Compression reduces network bytes but adds substantial CPU work. The application is already CPU-bound and its network has ample spare capacity. What should the optimization decision assess?
Show answer and explanation
- The end-to-end bottleneck and added compression cost
- Fewer wire bytes treated as proof of better task throughput in every bottleneck regime
- Compressed byte count alone
- Only a small-sample compression ratio
Answer: The end-to-end bottleneck and added compression cost
Optimizing one resource can worsen another binding constraint. Compare actual completion behavior and resource costs under the relevant workload instead of assuming a reduced byte count is the objective by itself.
20.A storage tier limits both operations per second and bytes per second. A test with tiny reads meets its bandwidth cap but saturates operation count. What should capacity planning retain?
Show answer and explanation
- Stored-byte count alone
- Only maximum object size
- Spare byte bandwidth treated as unlimited capacity for small operations
- Both IOPS and bandwidth requirements
Answer: Both IOPS and bandwidth requirements
Operation overhead and byte transfer are distinct limits. A low byte rate can still exhaust IOPS; use the actual operation-size/mix and both resource constraints.
21.A logical 30 MB update causes 120 MB of physical storage writes under the measured engine behavior. What write-amplification ratio should the capacity model use for those observations?
Show answer and explanation
- 4
- 90
- 0.25
- 150
Answer: 4
Physical bytes divided by logical updated bytes is 120/30 = 4. Separate useful logical work from implementation-level I/O when estimating the relevant device load and metered resources.
22.Replication topology is A→B→C. One ten-unit update is sent once along each edge; there is no direct A→C send. What outbound volume leaves A for this update under the stated topology?
Show answer and explanation
- Zero, because C is downstream of B
- 10 units
- 30 units
- 20 units
Answer: 10 units
A sends one ten-unit copy to B. Another ten-unit transfer leaves B for C. Attribute traffic to the actual edges rather than assume every downstream copy is sent directly by the original source.
23.A backup tool's full logical view is 100 units, but an incremental upload sends only ten changed units. The billing model charges transferred bytes, not the displayed full view. What transfer quantity applies to that upload?
Show answer and explanation
- 10 units
- Zero, because the upload is incremental
- 110 units
- 100 units
Answer: 10 units
The supplied meter charges what is transferred. A logical snapshot view, retained physical storage, and incremental wire volume can be different quantities; apply the stated meter to the actual path.
24.Two retained snapshots reference chunk sets {a,b,c} and {b,c,d}. Each chunk occupies one storage unit and is stored once. What physical chunk storage do both snapshots retain?
Show answer and explanation
- 6 units
- 3 units
- 2 units
- 4 units
Answer: 4 units
The union is {a,b,c,d}, containing four distinct stored chunks. Counting each snapshot's logical view separately double-counts shared chunks under the explicitly supplied deduplication contract.
25.A fictional storage meter bills each object for at least 100 size units. Ten objects each contain one unit. Ignoring all other charges, what size is billed?
Show answer and explanation
- 1,000 units
- 10 units
- 100 units
- 1 unit
Answer: 1,000 units
Each of ten objects reaches the 100-unit per-object minimum, giving 10×100 = 1,000 billed units. Applying the minimum once to the aggregate would use a different billing rule.
26.A fictional transfer meter charges two credits per unit for the first 100 units and one credit per unit for the next 50. A workload transfers 150 units. What is its charge under this progressive rule?
Show answer and explanation
- 300 credits
- 250 credits
- 150 credits
- 200 credits
Answer: 250 credits
The first block costs 100×2 = 200 credits and the second 50×1 = 50, totaling 250. Applying the lower marginal rate retroactively to all units would use a different contract.
27.A fictional worker meter rounds each job independently up to a whole minute at one credit per minute. Three separate jobs each run for twenty seconds. What is the total charge?
Show answer and explanation
- 3 credits
- 20 credits
- 0.6 credits
- 1 credit
Answer: 3 credits
Each job incurs one started billed minute, so three jobs cost three credits. Rounding their combined sixty seconds once would ignore the explicitly per-job billing boundary.
28.A fictional discount tier applies separately to each project. Two projects each use less than the tier threshold, but their combined use exceeds it. What must cost forecasting preserve?
Show answer and explanation
- The meter's project scope
- Every independent project assumed eligible for one combined discount tier
- Only the larger project's usage
- Organization-wide volume only
Answer: The meter's project scope
A price tier has an eligibility and aggregation boundary. Use the specified project-level rule rather than assume combining unrelated bills creates a discount that the contract does not provide.
29.Capacity has already been prepaid for the current period and its payment is nonrefundable. A new small job can use idle eligible capacity without displacing planned work or adding metered charges. What is distinct from its allocated average cost?
Show answer and explanation
- Zero added cost for every future job regardless of eligibility and displacement
- Its zero incremental cash charge under these assumptions
- A proof of zero resource consumption
- A refund of the prepaid charge
Answer: Its zero incremental cash charge under these assumptions
A resource can have allocated fixed cost while an additional eligible use adds no cash charge under the supplied conditions. Distinguish marginal, allocated, and opportunity costs instead of calling the resource intrinsically free.
30.A bill has 30 credits of compute and 70 of unchanged network charges. A proposed discount halves only compute charges. With all usage unchanged, what is the new total?
Show answer and explanation
- 50 credits
- 65 credits
- 70 credits
- 85 credits
Answer: 85 credits
Compute becomes 15 credits and network remains 70, totaling 85. A component-specific discount is not a fifty-percent discount on an entire mixed-resource bill.
31.A preempted job spends three credits before restarting, then another two before restarting, then five on its successful attempt. What resource charge belongs to that completed logical job?
Show answer and explanation
- 2 credits
- 10 credits
- 3 credits
- 5 credits
Answer: 10 credits
All attempts consume resources: 3 + 2 + 5 = 10 credits. The last successful attempt alone understates the cost of producing the completed result.
32.A capacity option has two equally likely total charges for a completed task: four or twenty credits, including retries. A fixed option costs twelve, and both meet the stated deadline. What does the supplied mean-cost comparison show?
Show answer and explanation
- Equal mean charge, with different cost variability
- A necessarily lower fixed-option mean
- A four-credit variable mean
- Identical per-task charges because expected costs match
Answer: Equal mean charge, with different cost variability
The variable mean is (4 + 20)/2 = 12 credits, matching the fixed charge. Equal expectation does not imply equal distribution or satisfy every separate risk or resource constraint.
33.A supplied checkpoint-overhead model is f(T)=9/T + T for a positive checkpoint interval T. Among T=1,3,6,9, which has the lowest modeled overhead?
Show answer and explanation
- 3
- 1
- 9
- 6
Answer: 3
The values are 10, 6, 7.5, and 10 respectively. The supplied model trades checkpoint frequency against lost-work cost; it is a planning model, not a universal checkpoint formula for every system.
34.A fictional storage class bills each object for at least 24 hours even if deleted earlier. One object is retained for one hour. Ignoring size and other charges, what billed duration applies?
Show answer and explanation
- 1 hour
- 25 hours
- 24 hours
- Zero hours
Answer: 24 hours
The explicit minimum duration is 24 hours. Actual deletion time and charged retention can differ, so a lifecycle forecast must use the contract's minimum and its scope.
35.Hot storage costs 40 credits for a period with no retrieval charge. Archive storage costs ten credits plus five per retrieval. There are eight retrievals and no other costs. Which is cheaper for that period?
Show answer and explanation
- Archive, at 18 versus hot's 40
- Hot, at 40 versus archive's 50
- Both, at 40
- Archive, at 10 versus hot's 40
Answer: Hot, at 40 versus archive's 50
Archive costs 10 + 8×5 = 50 credits, compared with 40 for hot. A lower storage rate does not guarantee a lower total when retrieval behavior changes the applicable charges.
36.A stream requests 5,000 reads per second of 64 KiB each. Define 1 MiB=1,024 KiB. The storage path allows 10,000 IOPS but only 200 MiB/s. Which stated limit binds first for this stream?
Show answer and explanation
- Bandwidth, because demand is 312.5 MiB/s
- IOPS, because 5,000 exceeds 10,000
- Both limits are irrelevant when requests are reads.
- Neither, because every read is below one MiB
Answer: Bandwidth, because demand is 312.5 MiB/s
Byte demand is 5,000×64/1,024 = 312.5 MiB/s, above 200, while requested IOPS is below 10,000. Check both dimensions for the relevant operation size.
37.A CPU benchmark scales well, but the production workload saturates a shared memory-bandwidth channel. The plan doubles CPU count and assumes doubled task throughput. What must be assessed?
Show answer and explanation
- Benchmark CPU count alone
- Every bottleneck assumed to scale linearly with added processors
- The production bottleneck and scaling behavior
- Only response size
Answer: The production bottleneck and scaling behavior
An isolated benchmark does not remove another binding shared resource. Measure or justify the production path, including memory bandwidth and contention, before extrapolating compute-only scaling.
38.The application is memory-bound but has large CPU headroom. A cheaper shape halves memory while leaving CPU unchanged. What should determine whether the resize is feasible?
Show answer and explanation
- Idle CPU treated as a substitute for required memory capacity
- Only the lower shape price
- Relevant memory requirements and behavior
- CPU count alone
Answer: Relevant memory requirements and behavior
Resource dimensions are not interchangeable without a supported change in workload or implementation. Validate memory peaks, overhead, limits, and the service contract rather than infer feasibility from spare CPU.
39.A rollout starts forty workers, each independently downloading a ten-unit artifact once. There is no shared cache and no other transfer. What source egress does startup create?
Show answer and explanation
- 10 units
- 400 units
- 40 units
- Zero, because the artifact has one immutable identity
Answer: 400 units
Immutable identity does not eliminate physical transfers. Forty independent ten-unit downloads produce 40×10 = 400 source-egress units under the stated no-cache path.
40.A connection proxy accepts many front-end sessions while multiplexing a bounded back-end database pool. A forecast equates front-end session count with back-end connection count. What relationship needs measurement or a contract?
Show answer and explanation
- Only front-end session count
- The actual mapping and limits between the two populations
- Every front-end session assumed to occupy one permanent database connection
- Only application instance count
Answer: The actual mapping and limits between the two populations
A proxy can change connection relationships. Size the actual back-end pool, transaction concurrency, queueing, and limits rather than assume front-end sessions are identical to database connections.
41.A fictional compute meter charges memory-units multiplied by billed seconds. Shape A uses two units for one second; B uses one unit for three seconds. All other constraints and rates are equal. Which has lower charge?
Show answer and explanation
- A, at two unit-seconds versus B's three
- A, at one unit-second versus B's two
- B, because it allocates less memory at one instant
- Both, because they finish the same task
Answer: A, at two unit-seconds versus B's three
Under the supplied meter, A costs 2×1 = 2 unit-seconds and B costs 1×3 = 3. Resource quantity and duration both matter; this does not establish every other service constraint.
42.Two workloads have the same mean request rate. One arrives evenly, while the other has long idle periods followed by sharp bursts that create new execution environments. What cost/latency condition may differ?
Show answer and explanation
- Equal means treated as equal resource trajectories
- Only the endpoint names rather than the actual arrival and warm-state process
- Cold-start and concurrency behavior from the arrival pattern
- Mean request rate alone
Answer: Cold-start and concurrency behavior from the arrival pattern
Mean rate does not identify the arrival process. Burstiness and idle intervals can affect provisioning, warm reuse, queueing, and billed work; measure the relevant workload pattern.
43.A shared execution quota is 100 concurrent tasks across an entire project. Three independent services each configure a local maximum of 60. What coordination issue remains?
Show answer and explanation
- A configured local maximum makes the shared project limit irrelevant.
- Their combined permitted concurrency can exceed the shared quota.
- Three services create three project quotas.
- Each local limit caps the project at 60.
Answer: Their combined permitted concurrency can exceed the shared quota.
Local limits can be individually valid while their sum exceeds a shared boundary. Plan appropriate aggregate admission, allocation, and overload behavior rather than assume local maxima compose into a safe total.
44.A cache has a 90% request hit ratio, but misses contain much larger objects than hits. A forecast claims a 90% reduction in origin bytes. What evidence is missing?
Show answer and explanation
- Cache hit count alone
- Request and byte fractions treated as equal regardless of object-size distribution
- The byte-weighted hit/miss distribution
- Only the number of cached URLs
Answer: The byte-weighted hit/miss distribution
Request counts and transferred bytes have different weights when object sizes vary. Use relevant byte measurements and path behavior instead of converting request-hit fraction directly into origin-byte savings.
45.A transfer report lists uncompressed logical bytes. The fictional network bill meters actual compressed wire payload bytes. What should the cost calculation use?
Show answer and explanation
- Only file count
- Logical content size treated as identical to every metered wire representation
- Uncompressed total only
- The meter's actual charged wire quantity
Answer: The meter's actual charged wire quantity
Match estimates to the actual meter and scope. Logical content, encoded payload, protocol overhead, and billed transfer can differ; state which quantities the contract includes.
46.A logging design pays separately for ingestion, retained storage, indexing, and queries. A proposal compares only storage rates before claiming lower total observability cost. What is incomplete?
Show answer and explanation
- Storage-rate precision only
- Only log-file count
- All nonstorage meters assumed free despite their stated separate charges
- The relevant full cost model
Answer: The relevant full cost model
A cheaper component can coexist with a larger total. Include the relevant volumes, retention, index/query work, and applicable meters before comparing complete observability costs.
47.A diagnostic sampler drops most high-volume routine events but retains every event required by an explicit audit contract. What must a cost-reduction review preserve?
Show answer and explanation
- Lower ingestion spend treated as a waiver of required evidence coverage
- The required event coverage and usable diagnostic objective
- Maximum event-count reduction
- Only sampler CPU cost
Answer: The required event coverage and usable diagnostic objective
Optimize within actual data and diagnostic requirements. Sampling can reduce volume when its selection, completeness, and interpretation fit the permitted use; savings alone do not satisfy a required evidence contract.
48.A trace's parent event is sampled, but all child events on a costly downstream branch are dropped. The team uses the retained parent duration to attribute exact downstream work costs. What is missing?
Show answer and explanation
- Only the parent's display duration
- Evidence for the dropped branch's relevant work
- More parent trace IDs
- Parent elapsed time treated as exact identification of every dropped child resource cost
Answer: Evidence for the dropped branch's relevant work
Elapsed time and unobserved resource work are not interchangeable. Preserve or obtain the measurements needed for the intended attribution, with appropriate sampling interpretation, rather than invent exact child costs from an incomplete trace.
49.A metrics design allows ten route labels, three region labels, and four status labels. Assuming every combination appears and no other dimension exists, how many distinct series can it create?
Show answer and explanation
- 17
- 120
- 40
- 30
Answer: 120
The Cartesian product has 10×3×4 = 120 combinations. The observed total can be smaller if combinations do not occur; adding dimension counts does not give the maximum series count under this model.
50.A metric adds an unbounded per-request ID label, producing a new label value on every request. What capacity assumption is unsafe?
Show answer and explanation
- That series cardinality stays bounded by the old fixed dimensions
- That metrics can have label sets
- That request IDs can differ
- That storage use can depend on retained series
Answer: That series cardinality stays bounded by the old fixed dimensions
A unique request dimension can create continually new series. Bound or redesign the representation for the monitoring objective rather than transfer a fixed-cardinality memory/storage estimate to an unbounded label population.
51.A shared platform costs 100 credits. Two team reports each claim the full 100 as their allocated share, and finance adds the reports. What allocation property is violated?
Show answer and explanation
- No observable platform expense
- An assumption that shared expenses cannot have any reconciled allocation
- Only the fact that both teams use it
- Reconciliation to the actual shared total
Answer: Reconciliation to the actual shared total
Allocation can use an appropriate declared basis, but its reported shares should reconcile with the relevant actual total. Charging the full same expense twice inflates the combined report without creating another real cost.
52.A platform team allocates shared cost by CPU time, but the dominant shared expense is retained tenant data. What assumption should the report make explicit and review?
Show answer and explanation
- Whether the allocation basis fits the intended cost/accountability question
- Any convenient metric treated as a uniquely correct allocation basis
- Only the team labels
- More CPU-time decimal places
Answer: Whether the allocation basis fits the intended cost/accountability question
An allocation basis is a model and policy choice. Evaluate its purpose, relevant drivers, and reconciliation rather than silently treat a convenient metric as the only possible interpretation of shared cost.
53.Rightsizing reduces usage, but the current period's nonrefundable minimum commitment still exceeds the reduced usage bill. No other charges change. What immediate cash-saving claim is unsupported?
Show answer and explanation
- That a later renewal decision can use the new usage evidence
- That commitment and usage can be measured separately
- That the resource usage decreased
- That reduced usage necessarily reduces this period's payment
Answer: That reduced usage necessarily reduces this period's payment
A binding minimum can keep current cash payment unchanged despite lower metered use. Distinguish efficiency, allocated cost, and realizable savings under the actual commitment period.
54.An idle prepaid slot is needed by a higher-priority scheduled job later today. A proposal calls an overlapping new job free because no extra invoice line is added. What cost is being ignored?
Show answer and explanation
- Only previously completed job count
- Only the old invoice reference
- Prepaid capacity treated as having no valuable alternative use
- Displacement and opportunity cost
Answer: Displacement and opportunity cost
Zero incremental cash does not imply zero decision cost when a use displaces valuable required work. Include schedule, capacity, and opportunity constraints rather than equate an unchanged bill with no tradeoff.
55.A supplied queue model has mean residence time 1/(μ−λ) seconds for μ>λ. Service rate μ=10 and arrival rate λ rises from 5 to 9 tasks/s. What modeled change follows?
Show answer and explanation
- From 5 seconds to 9 seconds
- From 0.2 seconds to 1 second
- No change because service rate stays ten
- From 0.5 seconds to 0.9 seconds
Answer: From 0.2 seconds to 1 second
Substitute into the given model: 1/(10−5)=0.2 and 1/(10−9)=1. This illustrates the supplied nonlinear relation; applying such a model to a real workload needs justified assumptions.
56.A cheaper shape meets the mean-latency target but violates a separately required tail-latency limit on critical requests. The policy requires both. What should the selection respect?
Show answer and explanation
- A majority vote among improved metrics instead of the declared required constraints
- Only the passing mean
- Only instance price
- The failed required constraint
Answer: The failed required constraint
A resource choice must satisfy the actual constraints before cost is optimized within feasible options. A mean improvement does not waive a separate required tail behavior.
57.A spending alert is evaluated hourly and only sends a notification. A load test can incur substantial charges within minutes. What guarantee does this alert alone not provide?
Show answer and explanation
- A configured threshold for observation
- An immediate hard spending cap
- A notification when its later evaluation detects the condition
- A distinction between detection and enforcement
Answer: An immediate hard spending cap
An alert's cadence and action determine its effect. A delayed notification is not an admission control or a guarantee that no further charge can accrue; use the controls required by the actual budget contract.
58.An application caps compute workers but leaves outbound data transfer and log volume unbounded. A plan claims the worker cap bounds the entire bill. What is missing?
Show answer and explanation
- Every charge assumed proportional solely to capped compute workers
- Bounds or a model for other relevant meters
- Only worker-count bounds
- Only a compute price cap
Answer: Bounds or a model for other relevant meters
A limit on one resource does not bound independent usage dimensions. Account for relevant transfer, storage, requests, observability, and other contractual meters before claiming a total-cost bound.
59.An API rate quota limits accepted requests per second. Each accepted request can create a large retained object with ongoing storage charges. What budget inference is unsafe?
Show answer and explanation
- That the quota can limit request admission
- That the rate quota alone caps lifetime storage cost
- That objects can outlive the request that created them
- That storage can have a separate meter
Answer: That the rate quota alone caps lifetime storage cost
Bounded request rate can still accumulate retained state over time. Lifetime/retention, object size, downstream work, and applicable charges matter to a total budget model.
60.A proposal saves ten compute credits but adds twenty transfer credits per period under the supplied unchanged workload. There are no other differences. What is the net cost effect?
Show answer and explanation
- An increase of ten credits
- A saving of thirty credits
- No change because one component improves
- A saving of ten credits
Answer: An increase of ten credits
Total change is −10 + 20 = +10 credits. Compare the full relevant difference, not just the favorable component, and retain the assumptions about workload and omitted meters.
61.Two monthly bills use different unit rates and different traffic volumes. A review attributes the entire bill difference to code efficiency. What comparison is needed?
Show answer and explanation
- Every bill-rate change treated as proof of changed CPU efficiency
- The larger bill alone
- Separate rate, volume/mix, and resource-efficiency effects
- Only the code deployment time
Answer: Separate rate, volume/mix, and resource-efficiency effects
A bill is influenced by usage, workload, rates, commitments, and scope. Normalize or decompose the relevant factors before assigning the whole difference to an implementation change.
62.A fleet has free CPU concentrated on one host and free memory concentrated on another. A single indivisible job needs both resources on the same host. What should placement use?
Show answer and explanation
- Unsupported remote-memory sharing assumed to satisfy an indivisible same-host job
- Per-host compatible resource vectors
- Only hosts with any free resource
- Fleet-wide totals only
Answer: Per-host compatible resource vectors
The job requires both resources on one host in this scenario. Aggregate totals can hide fragmentation; remote memory would need a different supported execution contract, not an assumption that the existing same-host requirement is already satisfied.
63.Local processing costs 30 credits. Remote processing costs ten plus 25 to move required input data. Outputs and all other costs are equal. Which has lower modeled total cost?
Show answer and explanation
- Remote, at ten versus local's 30
- Both, because compute is the only meter
- Remote, at fifteen after subtracting transfer from compute
- Local, at 30 versus remote's 35
Answer: Local, at 30 versus remote's 35
Remote total is 10 + 25 = 35. Include required data movement and relevant path costs instead of choosing from compute rates alone.
64.A shared object is deduplicated in storage but fetched separately by 1,000 tasks. The fictional meter charges each read request. What does deduplicated storage alone not eliminate?
Show answer and explanation
- The possibility that stored bytes are shared
- The distinction between storage and access meters
- The per-read request charges
- The existence of one logical object
Answer: The per-read request charges
Physical storage sharing does not imply request coalescing or a free access path. Count actual reads, transferred bytes, caching, and relevant meters separately from retained-object deduplication.
65.Compacting small objects reduces a per-object minimum charge, but a one-record lookup now reads a large compacted file. What should the optimization assess?
Show answer and explanation
- Storage savings alongside access amplification and service constraints
- Object-count reduction only
- Compaction assumed to improve every possible read workload and latency constraint
- Only the retained archive size
Answer: Storage savings alongside access amplification and service constraints
A representation change can shift costs between retained storage, request count, bytes read, compute, and latency. Evaluate the actual access pattern and required behavior before calling the smaller bill component a total improvement.
66.A batched API reduces request count, but the batch must be retried in full after any item fails under its supplied contract. What workload property matters for total cost?
Show answer and explanation
- Initial request count alone
- Partial-failure and repeated-work behavior
- One batch assumed cheaper than all equivalent individual calls regardless of retry semantics
- Only the batch's item limit
Answer: Partial-failure and repeated-work behavior
Batching can amortize overhead while increasing work repeated on failure. Include the actual failure/retry semantics and task mix instead of using request count alone as the cost objective.
67.A representation change shrinks stored bytes but requires expensive decompression on every hot read. The workload reads far more often than it writes. What tradeoff needs measurement?
Show answer and explanation
- Compressed size alone
- Read-path resource cost versus retained-byte savings
- Decompression work treated as unrelated to a read-heavy serving workload
- Only monthly write count
Answer: Read-path resource cost versus retained-byte savings
A smaller representation can add substantial repeated read work. Measure the relevant read frequency, CPU, I/O, latency, and meters to assess the full workload rather than storage size alone.
68.Beyond a certain concurrency, the dependency's throughput stays flat while queues and memory grow. What benefit is not established by raising concurrency further?
Show answer and explanation
- A distinction between concurrency and throughput
- More useful completed work per unit time
- More admitted in-flight work
- A possible increase in waiting state
Answer: More useful completed work per unit time
Concurrency is the amount of simultaneous outstanding work, not automatically completion rate. At a binding downstream limit, extra admission can add queueing and resource use without increasing useful throughput.
69.Ten shards each have spare capacity, except the one shard receiving almost all hot-key writes. Adding empty shards without moving or splitting that hot load changes no request mapping. What bottleneck remains?
Show answer and explanation
- A guarantee of tenfold throughput
- Aggregate spare capacity assumed immediately usable by an unchanged hot-key mapping
- The overloaded hot shard
- Only shard count
Answer: The overloaded hot shard
Sharding capacity depends on key distribution and placement. More untouched capacity does not help a hot partition unless the workload can actually use it through an appropriate change in mapping or design.
70.Data bytes are evenly distributed across partitions, but one small record receives most requests. A capacity report declares request load balanced from byte counts alone. What distribution is missing?
Show answer and explanation
- Access frequency and work by partition/key
- Stored-byte totals only
- Only the equal partition sizes
- Equal retained bytes treated as equal request and resource demand
Answer: Access frequency and work by partition/key
Storage balance and traffic balance are different properties. Characterize hot keys, operation cost, concurrency, and relevant partition limits rather than infer serving balance from data size alone.
71.A caller times out after one second, but remote processing continues for ten seconds and is billed while running. A proposal claims shorter client timeouts automatically cut all processing cost. What must be verified?
Show answer and explanation
- Only the local timeout error
- Only the client timeout
- Actual remote cancellation, stopping, and billing behavior
- Caller timeout treated as erasing already running remote work and its charges
Answer: Actual remote cancellation, stopping, and billing behavior
Local waiting and remote execution can have different lifetimes. Determine how work is stopped and charged under the contract instead of treating a client-side timeout as automatic resource reclamation.
72.A service allows twenty total retry attempts per interval across all requests, in addition to 100 initial attempts. No other attempts occur. What maximum aggregate attempt count does that budget permit?
Show answer and explanation
- 120
- 2,000
- 200
- Twenty, including the initial attempts
Answer: 120
The shared retry budget adds at most twenty attempts to the 100 initial attempts. This differs from granting twenty retries independently to every request.
73.A hedged request starts a second execution to reduce latency. When one finishes, cancellation of the other is only advisory and may arrive after most work has run. What cost must be assessed?
Show answer and explanation
- Work performed by both executions
- Discarded attempt outputs treated as proof that those attempts consumed no resources
- Winning-output tokens only
- Only the first start timestamp
Answer: Work performed by both executions
A race can spend work on attempts whose outputs are never used. Measure actual execution and cancellation behavior rather than equate one displayed result with one charged attempt.
74.An architecture has a fixed 100-credit period charge plus one credit per completed task. Under this exact model, what is average cost per task at 100 completed tasks?
Show answer and explanation
- 101 credits
- 1 credit
- 2 credits
- 100 credits
Answer: 2 credits
Total is 100 + 100×1 = 200 credits, divided by 100 tasks for two each. Average and marginal cost differ here: the fixed charge is spread over the completed workload.
75.A fictional transfer contract charges five credits at the sender and three at the receiver for a specific movement. Both are in the same consolidated report. What total does that movement contribute?
Show answer and explanation
- 8 credits
- 2 credits
- 3 credits
- 5 credits
Answer: 8 credits
The supplied contract has two distinct charges: 5 + 3 = 8. Consolidation should include actual charges without inventing duplicate ones or assuming one side's rate replaces the other.
76.A capacity estimate uses one average object size even though the contract requires accommodating a known maximum-size upload without dropping it. What additional evidence is needed?
Show answer and explanation
- The relevant maximum-path resource and admission behavior
- Mean-size precision only
- Only upload count
- Average-size fit treated as a guarantee that every allowed maximum-size request fits
Answer: The relevant maximum-path resource and admission behavior
The required bound concerns a particular allowed workload condition, not just an average. Test or model its memory, buffering, I/O, concurrency, and admission behavior under the stated service contract.
77.A benchmark's working set fits entirely in cache, while the intended production set is much larger than that cache and is accessed broadly. What throughput/cost assumption must be revisited?
Show answer and explanation
- A cache-sized benchmark treated as proof of backing-store behavior for every larger working set
- More warm-cache iterations
- Only the benchmark data-set label
- The hit/miss and backing-store behavior for the real working set
Answer: The hit/miss and backing-store behavior for the real working set
Cache state and working-set distribution can dominate resource demand. Measure representative access and misses rather than transfer a warm-cache benchmark to a workload that exercises a different storage path.
78.A four-worker average CPU metric is 25%, but one worker is at 100% and the other three are idle. All traffic remains pinned to the busy worker. What does the average conceal?
Show answer and explanation
- The hot worker's binding load and unusable idle placement
- That three workers have idle capacity
- A guarantee that the active worker can accept four times its current work
- That total measured CPU can be averaged
Answer: The hot worker's binding load and unusable idle placement
An aggregate can hide skew. Idle capacity helps only if work can use it under the routing, partitioning, and application constraints; examine per-worker load and mapping.
79.A memory report omits all requests that were killed for exceeding memory limits. It uses surviving-request memory as proof every allowed request fits. What evidence is biased or incomplete?
Show answer and explanation
- Only surviving-request values
- Killed requests excluded from the valid submitted workload by definition
- Only more plotted precision
- The observed workload population and failed-demand coverage
Answer: The observed workload population and failed-demand coverage
Excluding the failures most relevant to a bound can invalidate the conclusion. Retain appropriate evidence about killed/unfinished work and the allowed input population rather than define unsafe cases out of the estimate.
80.A saturated endpoint rejects most requests immediately. A report shows low latency only for the small accepted subset and calls overall service capacity healthy. What needs reporting with that latency?
Show answer and explanation
- Only the configured replica maximum
- Rejected submitted work excluded from every service requirement
- Admission, rejection, and useful-completion outcomes
- Fastest accepted response only
Answer: Admission, rejection, and useful-completion outcomes
Conditional latency can improve while useful availability collapses. Account for submitted demand, rejected/queued work, and valid completions under the intended contract before interpreting the subset metric.
81.A compressed model artifact is two storage units on disk but expands to eight runtime units when loaded. The host has four available runtime units. What sizing assumption fails?
Show answer and explanation
- A claim that file download can be measured separately
- The fact that the file can be stored in two units
- The possibility that storage and runtime representations differ
- Compressed artifact size as loaded-memory requirement
Answer: Compressed artifact size as loaded-memory requirement
A compact serialized representation need not be the execution representation. Measure the loaded tensors, runtime state, and relevant overhead instead of assuming disk bytes bound memory use.
82.A conversion retains the six-unit old representation while creating a six-unit new one, then frees the old. The final representation fits in an eight-unit budget. What temporary peak must be considered under this sequence?
Show answer and explanation
- Zero, because the old representation is eventually freed
- 6 units
- 12 units
- 8 units
Answer: 12 units
The two six-unit representations overlap during conversion, using twelve units before release. Final-state fit does not establish transition fit; include other overhead separately where relevant.
83.A backup job scans a database's storage continuously during peak user traffic. Compute remains low, but users saturate the same storage I/O path. What capacity interaction needs assessment?
Show answer and explanation
- Only backup file count
- Low compute treated as proof that background I/O consumes no shared service capacity
- Backup CPU usage only
- Shared I/O contention from background work
Answer: Shared I/O contention from background work
Background work can compete in a resource other than CPU. Bound, schedule, or isolate relevant source I/O and measure the actual user-path contract rather than declare spare capacity from an unrelated utilization metric.
84.A fictional storage charge is proportional to time-weighted retained size. Size is ten units for half a period and thirty for the other half. What mean size applies?
Show answer and explanation
- 40 units
- 20 units
- 30 units
- 10 units
Answer: 20 units
Equal-duration halves give (10 + 30)/2 = 20 units. An end-of-period snapshot is not generally the time-weighted usage integral required by this billing model.
85.A stopped compute instance incurs no compute charge under the supplied contract, but its retained disk and reserved address still incur charges. What does stopping the instance alone not prove?
Show answer and explanation
- That the contract can meter retained resources
- That the compute state changed
- That the whole associated bill stops
- That disk and address have separate lifecycles
Answer: That the whole associated bill stops
Resource lifecycles and billing boundaries can differ. Inventory the retained components and their actual meters rather than equate one stopped process with deletion of every related charged resource.
86.A spare replica is nearly idle during normal operation but is required to meet the declared failure-capacity objective. A proposal deletes it solely because average utilization is low. What constraint must the saving respect?
Show answer and explanation
- Only replica price
- The required failure-state service capacity
- All normal-state idle capacity treated as unjustified regardless of the failure objective
- Normal CPU usage alone
Answer: The required failure-state service capacity
Headroom or redundancy can be intentional capacity. Evaluate the requirement and alternatives explicitly rather than classify every low-utilization resource as waste without its failure/workload context.
87.A nonnegative workload volume is known only to lie from 100 to 200 units, and its unit rate only from one to three credits. All combinations remain possible. What total-charge range follows from these bounds alone?
Show answer and explanation
- 200 to 300 credits
- Exactly 600 credits
- Exactly 300 credits
- 100 to 600 credits
Answer: 100 to 600 credits
The minimum possible product is 100×1 = 100 and the maximum is 200×3 = 600. Bounds alone do not identify an expected charge or justify selecting one midpoint as a guaranteed outcome.
88.A prepaid credit applies only to service S before its expiry. A future deployment uses service T after expiry. What should a forecast establish before subtracting that credit?
Show answer and explanation
- Every credit applied to all future services regardless of scope and expiry
- Only current account credit balance
- Credit face value alone
- Eligibility for the actual service and billing period
Answer: Eligibility for the actual service and billing period
Credits can have scope and timing conditions. Use the applicable contract rather than deduct a nominal balance from charges it cannot actually offset.
89.A temporary credit makes this month's net bill zero while resource usage is unchanged. A capacity plan concludes the service requires no resources or future budget. What should the report separate?
Show answer and explanation
- Net payable amount alone
- Only the credit label
- Underlying usage/gross cost from the temporary adjustment
- A temporary payment adjustment treated as a permanent resource-efficiency improvement
Answer: Underlying usage/gross cost from the temporary adjustment
Payment adjustments can alter a bill without changing demand or resource consumption. Preserve the underlying usage and relevant future terms before carrying a net-zero period into a long-term plan.
90.A resource is deleted after it consumed metered work. Usage reports arrive later. The team expects deletion to cancel all already accrued charges. What timing distinction matters?
Show answer and explanation
- Deletion success alone
- Late reporting treated as proof that no prior chargeable work occurred
- Accrued usage versus future resource activity
- Only current resource absence
Answer: Accrued usage versus future resource activity
Stopping future activity does not automatically reverse work already performed and chargeable under the contract. Distinguish event time, reporting time, billing period, and supported adjustments.
91.A query forms a full Cartesian product of two 500-row inputs before filtering. What intermediate row count must its supplied execution model handle?
Show answer and explanation
- 1,000,000 rows
- 500 rows
- 250,000 rows
- 1,000 rows
Answer: 250,000 rows
A full Cartesian product contains 500×500 = 250,000 pairs. Intermediate work can be much larger than either input or the final filtered output, so size planning needs the actual execution path.
92.A supplied algorithmic work model is c×n², with c unchanged and no other bottleneck. What work multiplier follows when input size doubles?
Show answer and explanation
- 4
- 2
- 8
- 1
Answer: 4
Substitute 2n: c×(2n)² = 4cn². This is the explicit model's scaling consequence, not a claim that every production request grows quadratically.
93.Use 1 GB=1,000,000,000 bytes and 1 GiB=1,073,741,824 bytes. A report labels a four-GB dataset as four GiB without conversion. What error does it introduce?
Show answer and explanation
- It overstates the same byte quantity.
- It understates the same byte quantity.
- It changes no numeric byte quantity.
- It proves the dataset fits every four-GiB host including overhead.
Answer: It overstates the same byte quantity.
Four GiB is more bytes than four GB under the supplied definitions. Keep unit conventions consistent; comparing raw payload size still does not account for a complete loaded-memory footprint.
94.A CPU chart uses percent of one core, while a second chart uses percent of a sixteen-core allocation. Both display 50%. What comparison is not justified by those labels alone?
Show answer and explanation
- That each chart has a defined percentage
- That allocation and usage can be recorded separately
- That denominator choice affects interpretation
- Equal CPU consumption across the two charts
Answer: Equal CPU consumption across the two charts
Percentages require their denominator and scope. Half of one core is not automatically half of sixteen cores; normalize the actual resource quantity before comparing or using it for sizing.
95.An autoscaling report counts twenty desired workers, but fifteen are still initializing and cannot accept tasks. What capacity population should immediate admission use?
Show answer and explanation
- Initializing workers treated as fully usable serving capacity before readiness
- Desired-worker count only
- Currently usable ready capacity
- Only created VM count
Answer: Currently usable ready capacity
Desired, created, running, and ready can represent different stages. Match admission and service claims to actual usable capacity and relevant initialization constraints rather than count an intended endpoint state as present resources.
96.A code change and a request-mix change land together. The new bill per request is lower, but new requests do much less useful work. What attribution is unproven?
Show answer and explanation
- That the code change alone improved equivalent-work efficiency
- That the reported bill/request ratio is lower
- That request mix can affect resource demand
- That equivalent-work comparisons can be designed
Answer: That the code change alone improved equivalent-work efficiency
A denominator can change meaning with workload composition. Compare appropriately equivalent work and conditions before attributing a ratio improvement entirely to implementation efficiency.
97.Two teams are each promised six simultaneously available exclusive capacity units. The shared pool contains ten, and both promises can be exercised together. What does this commitment require?
Show answer and explanation
- Separate approval treated as proof that two exclusive six-unit promises fit ten units
- Average utilization alone
- More capacity or a changed explicit service/allocation contract
- Only separate team labels
Answer: More capacity or a changed explicit service/allocation contract
Hard simultaneous exclusive commitments sum to twelve, exceeding ten. Statistical multiplexing can be a deliberate different contract, but it does not satisfy these unconditional simultaneous promises by itself.
98.A host has twelve CPU units and ten memory units. Each identical concurrent job requires two CPU and three memory, with no other overhead. What is the largest whole-job concurrency under both limits?
Show answer and explanation
- 6 jobs
- 5 jobs
- 10 jobs
- 3 jobs
Answer: 3 jobs
CPU permits floor(12/2)=6 jobs; memory permits floor(10/3)=3. Both constraints apply, so the maximum is three whole jobs under this model.
99.The cheapest placement violates an explicit data-location requirement. A more expensive placement meets all stated constraints. What is the cost optimization's feasible set?
Show answer and explanation
- Only region-label names
- A lower price treated as permission to waive an explicit placement constraint
- Compute-price ranking only
- Only placements satisfying the required constraints
Answer: Only placements satisfying the required constraints
Optimize over permitted, feasible alternatives. An inexpensive option outside a required placement/handling boundary is not a valid solution merely because its component price is lower.
100.A lower negotiated unit price reduces a bill while measured resource use and energy consumption remain unchanged. What environmental-efficiency claim is unsupported?
Show answer and explanation
- That energy is a distinct measurable quantity
- That the cash bill decreased
- That the price reduction proves lower energy use
- That a unit rate can change independently of consumption
Answer: That the price reduction proves lower energy use
Money, compute, and energy are different quantities. A pricing change is not evidence of physical resource or energy reduction; assess the actual objective with relevant measurements and scope.
101.A plan satisfies every required capacity constraint within budget. No alternatives or optimality bound have been assessed. What conclusion is justified?
Show answer and explanation
- Every untested alternative necessarily costs more.
- The plan is feasible, but minimum cost is not established.
- Any feasible budget proves global optimality.
- The plan is necessarily cheapest.
Answer: The plan is feasible, but minimum cost is not established.
Finding a feasible solution and proving an optimum are different tasks. Report the supported constraint result and use appropriate comparison or bounds before claiming no cheaper valid alternative exists.