Question 320
A forecast assumes every request has the same token count, but production includes long documents. What should the estimate use?
- Representative distributions of input, output, retries, cache hits, and task mix
- Only the shortest development prompt
- Only the number of registered users
- Only model storage size
- Multiply average output tokens by request count and ignore all inputs
Explanation
Correct Answer
A:Workload variation changes both cost and capacity. Include tail cases rather than only a small demonstration average.
Incorrect Answers
B:That understates document-heavy production demand.
C:Users generate different workloads and may not all be active.
D:Serving charges and invocation demand are not determined by checkpoint bytes alone.
E:Input processing, routing, retries, and cached work can materially affect cost. Output-only estimates omit important charges and demand.
Question 321
A document pipeline recomputes embeddings even when input content and embedding configuration are unchanged. What optimization fits?
- Skip recording the embedding model to simplify the key
- Reuse vectors keyed by canonical content and embedding configuration identity
- Reuse any vector with the same filename
- Reuse vectors across arbitrary embedding models
Explanation
Correct Answer
B:Unchanged compatible inputs need not be re-embedded. A model or preprocessing change must invalidate reuse.
Incorrect Answers
A:Without configuration identity, reuse can silently mix representation spaces.
C:File contents or configuration can change while the name remains stable.
D:Representations may be incompatible even when dimensions match.
Question 322
A user requests an extremely long report that exceeds their approved spending limit. What should the gateway do?
- Hide usage counts from operators
- Let the model decide whether the user can afford it
- Start unlimited generation and notify billing afterward
- Estimate and enforce a task budget, then offer a bounded or asynchronous alternative
Explanation
Correct Answer
D:Budget controls should act before unrestricted work begins. Track actual usage across all calls, not just the first invocation.
Incorrect Answers
A:Removing visibility makes overspending harder to prevent.
B:Financial authorization belongs to verified application policy.
C:Retrospective notice does not enforce the approved limit.
Question 323
A small FM handles routine questions, escalating hard cases to a larger FM. What must be included in the economic evaluation?
- The combined cost and quality of routing, first-pass work, and escalations
- Only the largest model's benchmark rank
- Only the small model's unit price
- Assume every first-pass answer is correct
Explanation
Correct Answer
A:Cascades can duplicate calls on difficult cases. Measure end-to-end outcomes rather than comparing isolated model prices.
Incorrect Answers
B:General rank does not establish the cascade's workload economics.
C:Escalation and routing costs can materially change total spending.
D:A cascade needs a validated acceptance or escalation rule.
Question 324
Reserved inference capacity is mostly idle outside business hours. What should operators assess?
- Assume reserved throughput is always cheapest
- Increase the commitment solely because idle capacity exists
- Actual utilization and commitments against alternative supported serving patterns
- Measure only maximum observed latency
Explanation
Correct Answer
C:Stable capacity has an economic tradeoff. Evaluate demand shape and contract terms before changing the arrangement.
Incorrect Answers
A:Economics depend on usage, eligibility, and commitments.
B:More reserved capacity does not solve underutilization.
D:A latency tail does not establish how much reserved capacity is productively used.
Question 325
Prompt compression reduces tokens but removes exception clauses from policies. What should acceptance require?
- Approve whenever the compressed prompt is shorter
- Add more output capacity instead of restoring missing rules
- Evaluate only common cases without exceptions
- Preservation of decision-critical meaning on exception-focused evaluation cases
Explanation
Correct Answer
D:Compression is useful only if required semantics survive. Average token savings cannot justify incorrect policy decisions.
Incorrect Answers
A:Length reduction alone ignores lost instructions.
B:The model cannot reliably apply an exception that was removed from its input.
C:That misses the precise regression caused by compression.
Question 326
A service caches retrieval failures as empty answers for a day. A brief outage causes prolonged false no-result responses. What cache change fits?
- Increase generation temperature on cached failures
- Label all empty outputs as verified no-match
- Distinguish operational failures from valid negative results and use appropriate short failure caching
- Cache every error forever
Explanation
Correct Answer
C:An outage is not evidence that the corpus lacks an answer. Separate statuses prevent transient errors from becoming persistent false facts.
Incorrect Answers
A:A stored failure remains a failure regardless of sampling settings.
B:The service never completed a successful search during the outage.
D:This extends temporary failures indefinitely.
Question 327
Finance needs GenAI spending by application, but all workloads share one model gateway. What should accounting capture?
- A client-supplied free-text billing name without validation
- Allocate costs equally among applications regardless of usage
- Only total gateway traffic
- Verified application identity and per-request usage allocated across the full workflow
Explanation
Correct Answer
D:Shared infrastructure requires explicit attribution. Include retries and delegated calls rather than only user-facing completions.
Incorrect Answers
A:Callers could misattribute usage to another application.
B:Equal allocation ignores different token volumes, retry patterns, and delegated work. It does not meet usage-based attribution.
C:Aggregate usage cannot assign costs among applications.
Question 328
A team wants to cache answers about personalized account policies. Which THREE properties are essential to evaluate before serving a hit? Choose THREE.
- Whether the cached request is meaningfully equivalent
- Whether the original generator claimed absolute confidence
- The requesting user's authorized data scope
- The applicable source and policy freshness
- Whether the cached answer's JSON syntax is valid
- Whether the original answer was expensive to generate
Explanation
Correct Answers
A:Similar wording can differ in account, date, or negation and need a different answer.
C:An answer available to one user may expose information another user cannot access.
D:A cached answer can become obsolete after policy or account changes.
Incorrect Answers
B:Self-reported confidence is not proof of current cache validity.
E:Parseability matters to consumers, but a well-formed answer can still be stale, unauthorized, or about a meaningfully different request. Syntax does not substitute for the three specified reuse properties.
F:Past cost can motivate caching, but it does not establish current semantic equivalence, freshness, or authorization for a hit.
Question 329
A request spends 80% of its time waiting for retrieval and only 20% generating. Which first optimization is best supported?
- Optimize only model output tokens without measuring retrieval
- Double generation throughput and assume an 80% end-to-end reduction
- Add more retrieved sources without measuring
- Add more generation replicas without examining retrieval spans
- Profile and improve the retrieval path before replacing the generator for speed
Explanation
Correct Answer
E:The largest measured component offers the clearest latency opportunity. Verify quality while testing index and query changes.
Incorrect Answers
A:Output reduction may help the smaller component, but the measured dominant delay remains retrieval. Profiling should guide the first intervention.
B:A change to the smaller component cannot remove the dominant retrieval delay.
C:Extra work may increase the dominant delay and context burden.
D:Extra generation capacity does not directly remove a retrieval delay that dominates the measured critical path.
Question 330
Average latency is acceptable, but many users experience very slow answers during bursts. What metric should guide diagnosis?
- Only median latency without reporting the slow tail
- Tail latency with queueing, load, and token-length segmentation
- Only average latency measured during off-peak traffic
- Only the arithmetic mean again
Explanation
Correct Answer
B:Means hide slow outliers. Percentiles and workload slices reveal whether bursts or long requests drive the experience.
Incorrect Answers
A:The median can remain acceptable while a material fraction of users wait much longer. Tail percentiles are needed for the reported experience.
C:An unloaded average does not characterize the burst-related slow tail affecting users. Measure relevant percentiles under representative production conditions.
D:The same aggregate does not reveal the affected tail.