Question 320

A forecast assumes every request has the same token count, but production includes long documents. What should the estimate use?

  1. Representative distributions of input, output, retries, cache hits, and task mix
  2. Only the shortest development prompt
  3. Only the number of registered users
  4. Only model storage size
  5. 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?

  1. Skip recording the embedding model to simplify the key
  2. Reuse vectors keyed by canonical content and embedding configuration identity
  3. Reuse any vector with the same filename
  4. 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?

  1. Hide usage counts from operators
  2. Let the model decide whether the user can afford it
  3. Start unlimited generation and notify billing afterward
  4. 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?

  1. The combined cost and quality of routing, first-pass work, and escalations
  2. Only the largest model's benchmark rank
  3. Only the small model's unit price
  4. 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?

  1. Assume reserved throughput is always cheapest
  2. Increase the commitment solely because idle capacity exists
  3. Actual utilization and commitments against alternative supported serving patterns
  4. 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?

  1. Approve whenever the compressed prompt is shorter
  2. Add more output capacity instead of restoring missing rules
  3. Evaluate only common cases without exceptions
  4. 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?

  1. Increase generation temperature on cached failures
  2. Label all empty outputs as verified no-match
  3. Distinguish operational failures from valid negative results and use appropriate short failure caching
  4. 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?

  1. A client-supplied free-text billing name without validation
  2. Allocate costs equally among applications regardless of usage
  3. Only total gateway traffic
  4. 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.

  1. Whether the cached request is meaningfully equivalent
  2. Whether the original generator claimed absolute confidence
  3. The requesting user's authorized data scope
  4. The applicable source and policy freshness
  5. Whether the cached answer's JSON syntax is valid
  6. 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?

  1. Optimize only model output tokens without measuring retrieval
  2. Double generation throughput and assume an 80% end-to-end reduction
  3. Add more retrieved sources without measuring
  4. Add more generation replicas without examining retrieval spans
  5. 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?

  1. Only median latency without reporting the slow tail
  2. Tail latency with queueing, load, and token-length segmentation
  3. Only average latency measured during off-peak traffic
  4. 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.

AWS Certified Generative AI Developer - Professional AIP-C01 Practice Tests