Question 380

A candidate extraction model disagrees with benchmark labels on several examples. Reviewers discover that some reference totals were calculated incorrectly. What should happen before comparing models again?

  1. Adjudicate and version corrected labels, then rescore all compared candidates on the same corrected set
  2. Correct labels only for the preferred model's run
  3. Remove all disagreements without documenting the selection rule
  4. Count every disagreement as a candidate error even when the reference is demonstrably wrong

Explanation

Correct Answer

A:

A reference is evaluation evidence, not infallible truth. Consistent rescoring prevents one candidate from being compared against different ground truth.

Incorrect Answers

B:

Unequal reference sets make the comparison unfair and uninterpretable.

C:

Selective deletion can bias the benchmark and conceal its original labeling defects.

D:

That rewards conformity to bad labels rather than correct extraction.

Question 381

Executives need to understand whether a candidate is ready, while engineers need failure details. What report design fits?

  1. Suppress all limitations to make the decision easier
  2. Summarize acceptance outcomes and risks, with traceable metrics and detailed failure slices
  3. Provide only raw invocation logs
  4. Show only a single unlabeled score

Explanation

Correct Answer

B:

Different audiences need different depth. Both views should derive from the same evidence and definitions.

Incorrect Answers

A:

Missing limitations can cause overconfidence in the recommendation.

C:

Raw data alone does not communicate readiness or meaningful trends.

D:

An unexplained aggregate conceals quality, risk, and uncertainty.

Question 382

Two agents complete the same authorized task correctly using different valid tool sequences. An evaluator currently fails any sequence that differs from one recorded reference. Which TWO changes improve the assessment? Choose TWO.

  1. Delete all tool traces and score only response fluency
  2. Accept any trajectory whose final text claims success
  3. Reward the trajectory with the most tool calls regardless of outcome
  4. Retain explicit dependency and resource-budget checks where they are required
  5. Check required outcomes and safety invariants rather than exact incidental step order

Explanation

Correct Answers

D:

Flexibility does not mean ignoring prerequisites, permissions, or unlimited work. Test necessary properties even when multiple implementations are valid.

E:

Equivalent valid trajectories should receive credit when they satisfy the task and constraints. Sequence equality is too rigid unless the workflow explicitly mandates that order.

Incorrect Answers

A:

Without execution evidence, the evaluator cannot verify the required operations or safety boundaries.

B:

Generated assertions do not prove that the required business outcome occurred.

C:

More calls can indicate wasted work or unsafe loops rather than better performance.

Question 383

A new model-backed extraction release must preserve structure, facts, and permission boundaries. Which THREE checks directly address these requirements? Choose THREE.

  1. Count generated sentences as successful extractions
  2. Approve solely because the endpoint responds quickly
  3. Use only the model's self-reported confidence
  4. Test authenticated access boundaries on restricted records
  5. Compare extracted facts with the source record
  6. Validate the output schema and allowed field values

Explanation

Correct Answers

D:

Permission tests ensure the application does not expose data outside the caller's scope.

E:

Factual checks detect plausible but incorrect values even when syntax is valid.

F:

Structural checks establish that downstream consumers can safely interpret the result.

Incorrect Answers

A:

Output volume does not demonstrate required field correctness.

B:

Latency does not establish structure, truth, or authorization.

C:

Uncalibrated confidence does not independently validate any of the required boundaries.

Question 384

Requests fail only after conversation history grows. The service reports an input-size limit error. What should be inspected first?

  1. The fully assembled token budget including history, tools, retrieved context, and completion allowance
  2. Only the last message's character count
  3. Only the HTTP request size limit
  4. Increase retries without changing request size
  5. Increase only the requested maximum completion tokens

Explanation

Correct Answer

A:

Hidden assembly growth can exceed model limits. Measure the actual request rather than the latest user message alone.

Incorrect Answers

B:

Other prompt sections can dominate the submitted input.

C:

A payload can fit the transport limit yet exceed the selected model's token capacity. Measure model-specific assembled input.

D:

An oversized request remains oversized on identical retries.

E:

A larger output reservation can further reduce space available for input. The complete budget must remain within supported limits.

Question 385

A prompt template contains an unresolved {{customer_tier}} marker in production answers. What is the likely repair?

  1. Re-embed the entire corpus
  2. Validate required template variables and render the final prompt before invocation
  3. Treat the marker as verified customer data
  4. Increase generation temperature

Explanation

Correct Answer

B:

An unresolved placeholder points to assembly or binding failure. Model tuning cannot reliably supply the missing application value.

Incorrect Answers

A:

Retrieval representation does not repair prompt interpolation.

C:

A literal placeholder is not an actual account attribute.

D:

Sampling does not bind missing template variables.

Question 386

An adapter places prior assistant messages into the user role. What should be corrected?

  1. Conversation role mapping and message ordering according to the API contract
  2. Only the system prompt wording while preserving incorrect message roles
  3. Only the vector similarity metric
  4. Only the output token limit

Explanation

Correct Answer

A:

Role mistakes change how history is interpreted. Compare the assembled request with the intended dialogue structure.

Incorrect Answers

B:

Instruction edits do not restore the conversation protocol. The adapter must serialize earlier turns with the correct roles and order.

C:

Retrieval scoring is unrelated to conversation serialization.

D:

More completion capacity does not repair role semantics.

Question 387

A query returns no passages after a department filter is added, although eligible records exist. What should be checked?

  1. Immediately remove all authorization filtering permanently
  2. The stored metadata field name, type, value, and filter expression
  3. Increase response creativity
  4. Assume the corpus is empty without inspecting metadata
  5. Raise top-k while preserving an incorrect exact-match predicate

Explanation

Correct Answer

B:

A logically intended filter can fail because of schema mismatches. Inspect representative indexed records and the actual query.

Incorrect Answers

A:

That can restore results by exposing unauthorized data rather than fixing the defect.

C:

Generation cannot retrieve records excluded by the search predicate.

D:

Known eligible records make filter validation the more direct diagnostic.

E:

A larger result limit does not admit records excluded by a mismatched field type or filter value.

Question 388

A private deployment cannot reach the runtime endpoint and times out before receiving an API response. What diagnostic path fits?

  1. Inspect DNS, endpoint configuration, routing, and network controls before changing model permissions
  2. Increase the inference role's model-resource scope without examining DNS or endpoint reachability
  3. Grant administrator permissions as the first network fix
  4. Switch request serialization while retaining the same unresolved private endpoint hostname

Explanation

Correct Answer

A:

A connection timeout differs from an explicit access denial. Verify reachability at the failing layer.

Incorrect Answers

B:

Broader model permissions do not repair a failed network connection. First verify the layer that prevents the request from reaching the service.

C:

Broader IAM rights do not repair DNS or blocked traffic.

D:

A new JSON body cannot be processed if DNS or connectivity prevents transmission. Diagnose the network path before payload-level changes.

Question 389

A custom RAG application logs valid search results, but its model receives an empty context. Where should investigation focus?

  1. The retrieval-response parsing and context-assembly boundary
  2. Replace the generator as the first step
  3. Increase source-file retention
  4. Immediately rebuild the searchable corpus

Explanation

Correct Answer

A:

Evidence exists upstream but disappears before inference. Inspect field mappings and selection logic on the actual payload.

Incorrect Answers

B:

The generator cannot use context it was never given.

C:

Retention duration does not repair response parsing.

D:

The logs already demonstrate returned passages; rebuilding does not target the observed loss.

Question 390

A streaming client parses every token chunk as a complete JSON object and reports repeated syntax errors. What should change?

  1. Parse each network frame independently and concatenate parsed objects
  2. Remove all quote characters from chunks
  3. Assemble the stream according to its event and content boundaries before parsing the completed object
  4. Ask every chunk to contain a full copy of the answer
  5. Treat parse errors as evidence of a vector mismatch

Explanation

Correct Answer

C:

Individual chunks can split strings and tokens. Incremental transport fragments are not necessarily standalone JSON documents.

Incorrect Answers

A:

Transport frames need not align with semantic JSON boundaries. Parsing must follow the documented stream framing and content assembly rules.

B:

That corrupts valid JSON rather than reconstructing it.

D:

That is not how the existing stream contract works and creates duplication.

E:

The failure follows the client's framing assumption, not embedding geometry.

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