Question 20

A supported Bedrock Converse model returns a JSON object cut off halfway through a string. The response stopReason is max_tokens, and the prompt plus a moderately larger completion allowance fits within the model's limits. What should the developer do first?

  1. Increase the completion allowance to a supported value or reduce the requested output, then validate the complete JSON.
  2. Increase retry concurrency without changing the output allowance.
  3. Rebuild the vector index because malformed JSON proves an embedding mismatch.
  4. Treat temperature zero as a guarantee that all outputs will be complete JSON.

Explanation

Correct Answer

A:

The explicit stop reason identifies exhausted generation capacity. Adjust the allowed or requested completion size within model limits, then check syntactic and application-level validity before consuming the result. More capacity addresses this truncation but does not independently guarantee schema compliance.

Incorrect Answers

B:

Concurrent retries can reproduce the same truncation and increase load. The generation budget that caused the response to stop would remain unchanged.

C:

An incomplete string at the stated stopping condition points to the output limit. It does not establish any defect in vector dimensions, embeddings, or retrieval.

D:

Lower randomness may improve consistency, but it neither removes the token ceiling nor guarantees valid structured output. A deterministic run can stop at the same incomplete position.

Question 21

A claims-summary prototype impresses reviewers, but there is no agreement on production acceptance. What should the developer establish before expanding deployment?

  1. Only the number of generated words
  2. A single attractive demonstration transcript
  3. Representative tasks with quality, latency, cost, and safety thresholds
  4. The largest available model as the default

Explanation

Correct Answer

C:

A proof of concept must test measurable business requirements. Explicit thresholds make feasibility and production readiness assessable rather than dependent on a polished demonstration.

Incorrect Answers

A:

Output volume measures quantity rather than usefulness. A verbose summary can still omit essential claim facts or exceed latency expectations.

B:

A selected transcript shows one favorable interaction. It provides no evidence about performance on representative failures or production constraints.

D:

Model size alone does not establish task suitability. It can increase expense without satisfying the business acceptance criteria.

Question 22

An invoice assistant must calculate legally prescribed late fees exactly, while explaining them in natural language. Where should fee calculation occur?

  1. In vector similarity scores
  2. By averaging several model guesses
  3. Inside unrestricted model-generated prose
  4. In a tested deterministic service invoked by the application

Explanation

Correct Answer

D:

The rule engine applies the prescribed formula reproducibly. The model can explain verified results without becoming the authoritative arithmetic implementation.

Incorrect Answers

A:

Similarity measures semantic proximity between representations. Its numeric output does not implement the legally prescribed late-fee formula.

B:

Averaging can smooth random variation but does not enforce the governing rule. Several incorrect calculations can yield another incorrect amount.

C:

Plausible explanations do not guarantee exact arithmetic. A generated number can violate the formula while sounding confident to the customer.

Question 23

A shipping quotation requires weight and destination, but the user supplies only a product nickname. Which interaction design best prevents fabricated quotations?

  1. Use the model's most common destination
  2. Infer both values from the nickname
  3. Retrieve an unrelated completed quotation
  4. Ask for missing required fields before invoking the quotation tool

Explanation

Correct Answer

D:

Explicit clarification supplies validated business inputs. The application can reject incomplete tool requests rather than allowing the model to invent shipment facts.

Incorrect Answers

A:

Population frequency is not evidence about this shipment. Defaulting an essential field violates the requirement for a valid quotation.

B:

A nickname does not reliably identify shipment measurements or location. Silent inference could produce a confidently incorrect commercial quote.

C:

An earlier transaction may demonstrate formatting but does not establish the current shipment's required parameters or applicable price.

Question 24

A retail assistant needs both policy explanations and live stock reservations. Which architecture best separates these responsibilities?

  1. Let the model edit the retrieved passage
  2. Retrieve policy evidence and use an authorized transactional API for reservations
  3. Fine-tune the model to remember inventory
  4. Use only a periodically indexed inventory PDF

Explanation

Correct Answer

B:

Documents support explanatory answers; the inventory API owns current state and mutations. Separating them prevents retrieved text from masquerading as a confirmed reservation.

Incorrect Answers

A:

Changing narrative context does not change authoritative inventory. It would create an unsupported statement rather than a completed business transaction.

C:

Model parameters do not track each concurrent stock mutation. They cannot guarantee that a reservation was accepted by the inventory system.

D:

An indexed snapshot can be stale and has no transactional reservation semantics. Reading a quantity does not atomically reserve an item.

Question 25

A GenAI workload may process customer text only in one named AWS Region. A proposed fallback profile can route to several Regions. What must change?

  1. Use global routing because storage remains regional
  2. Remove request logging but keep unrestricted routing
  3. Restrict inference and fallback paths to approved single-Region processing
  4. Assume encrypted transport removes location restrictions

Explanation

Correct Answer

C:

Availability mechanisms must respect the stated location boundary. A compliant design can degrade gracefully rather than route restricted text to an unapproved destination.

Incorrect Answers

A:

The requirement concerns processing, not merely storage. A regional bucket does not constrain every destination selected for model execution.

B:

Suppressing logs reduces one data copy, yet the inference request still reaches destinations that violate the processing boundary.

D:

Encryption protects data in transit but does not change the Region where processing occurs. Residency remains a separate architectural requirement.

Question 26

An assistant drafts internal meeting notes and also proposes irreversible account closures. Which design applies controls in proportion to business impact?

  1. Use one broad approval for every account action while leaving meeting-note drafting unrestricted
  2. Allow low-risk drafting while requiring validated approval for account closure
  3. Give both operations identical unrestricted execution
  4. Require the same low-friction automatic release for both outputs because both use one FM

Explanation

Correct Answer

B:

Risk classification distinguishes advisory text from consequential actions. Explicit approval and backend checks reduce the impact of mistakes in irreversible operations.

Incorrect Answers

A:

Different closures can affect different accounts and have different consequences. High-impact execution needs validated approval of the specific proposed action, rather than a blanket authorization.

C:

Equal access ignores the different consequences. A mistaken draft can be edited, whereas an unauthorized closure may be difficult to reverse.

D:

Shared inference infrastructure does not imply equal impact. Reversible drafts and irreversible actions need controls appropriate to their different consequences.

Question 27

A support team claims GenAI reduced handling time, but ticket complexity changed during the trial. Which measurement design best supports the claim?

  1. Measure only generated tokens per agent
  2. Count all model calls as successful resolutions
  3. Compare this month's easiest tickets with last year's hardest
  4. Compare against a contemporaneous baseline with similar ticket categories

Explanation

Correct Answer

D:

Comparable groups reduce confounding from workload mix. Measure resolution quality alongside time so faster but incorrect handling is not counted as improvement.

Incorrect Answers

A:

Token volume does not demonstrate reduced work. It may rise because the assistant produces longer or less useful responses.

B:

An invocation is a technical event, not proof that a customer problem was solved. Repeated calls may indicate poor assistance.

C:

Different difficulty distributions can explain the observed speed difference. The comparison does not isolate the assistant's contribution.

Question 28

An earnings assistant must discuss announcements released minutes ago. The chosen model's pretraining predates them. Which dependency is essential?

  1. A current, authorized information source supplied through retrieval or a tool
  2. A lower sampling temperature alone
  3. A stronger role description alone
  4. A longer completion allowance alone

Explanation

Correct Answer

A:

Inference needs access to the new announcement. External evidence bridges the model's knowledge cutoff while allowing source checks and attribution.

Incorrect Answers

B:

Sampling changes token selection rather than adding recent facts. The model still lacks the newly released announcement in its inputs.

C:

A financial-analyst persona changes presentation instructions. It cannot reliably reveal an announcement that the model has never received.

D:

More output capacity permits a longer response but does not import information that was absent from pretraining and context.

Question 29

Several teams implement separate model gateways, each logging differently and bypassing different policies. What architecture improvement best reduces this inconsistency?

  1. Store every application prompt in one unreviewed string
  2. Provide shared gateway components with versioned policy and observability contracts
  3. Standardize only SDK versions while allowing each application to bypass shared enforcement
  4. Tell each team to invent its own logging vocabulary

Explanation

Correct Answer

B:

Reusable components standardize enforcement and telemetry across applications. Teams still own task-specific behavior, but core controls can be tested and maintained consistently.

Incorrect Answers

A:

Centralizing text without change control does not standardize authorization or telemetry. It also couples unrelated applications to uncontrolled modifications.

C:

Consistent libraries help maintenance but do not establish uniform authorization, budget, and logging behavior. The policy contract needs enforcement across the actual request paths.

D:

Independent naming increases interpretation effort and makes organization-wide monitoring harder. It does not establish a common operational contract.

Question 30

A document assistant performs well on short files but fails on realistic scanned contracts. What should the next feasibility test emphasize?

  1. Only the total number of uploaded files
  2. More short clean documents only
  3. Only the generator's public benchmark score
  4. Representative scans, extraction quality, context limits, and end-to-end answers

Explanation

Correct Answer

D:

Realistic inputs test the complete processing chain. A failure in extraction or context construction cannot be diagnosed by evaluating clean text alone.

Incorrect Answers

A:

Volume does not establish that text is extracted correctly. A large collection of unreadable scans can produce poor retrieval at scale.

B:

Expanding the same easy input class leaves the observed scan-related failure untested. Apparent confidence could increase without better production readiness.

C:

A general model score does not measure this application's scan extraction and document-processing path or its contract-specific requirements.

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