Question 80

A team already operates Aurora PostgreSQL and needs transactional metadata alongside compatible vector search. Which candidate deserves evaluation?

  1. A relational table containing vectors as opaque strings with no suitable similarity operator or index
  2. Only an S3 object listing API
  3. A standalone semantic-search store selected without evaluating the required transactional metadata behavior
  4. Aurora PostgreSQL with an appropriate pgvector-based design

Explanation

Correct Answer

D:

A compatible extension can support vector operations near relational metadata. Evaluate retrieval scale, index behavior, and operational requirements before selecting it.

Incorrect Answers

A:

Storing serialized coordinates does not itself provide an efficient vector-search design. The compatible extension and retrieval operators need evaluation.

B:

Object listing retrieves keys and metadata but is not itself semantic vector search over document embeddings.

C:

A vector-only candidate may serve retrieval well but fail the stated co-location and transaction needs. Evaluate the combined relational and semantic workload.

Question 81

A vector deployment adds shards, but a routing key sends most traffic to one shard. What should the team investigate?

  1. Partition-key distribution and hot-shard workload before adding more capacity
  2. Only total cluster CPU averaged across all shards
  3. Assume more shards automatically balance every routing key
  4. Only total vector count without the distribution of queries and updates across shards

Explanation

Correct Answer

A:

Uneven routing can concentrate work despite ample total resources. Rebalancing or changing partitioning may address the bottleneck more directly than aggregate scaling.

Incorrect Answers

B:

A healthy average can hide one overloaded shard. Inspect routing-key distribution and per-shard workload before adding aggregate capacity.

C:

A fixed hot key can remain concentrated. Distribution depends on routing behavior, not merely shard count.

D:

Uniform storage volume does not imply uniform request load. A hot routing key can concentrate work on one shard despite ample capacity elsewhere.

Question 82

A document moves to a new URL while its content and stable identifier remain unchanged. What preserves citation continuity?

  1. Delete revision metadata because the content is unchanged
  2. Change all answer text to match the new URL string
  3. Treat the moved document as unrelated with no migration record
  4. Maintain identity-to-location mapping and update resolvable source references

Explanation

Correct Answer

D:

Stable identifiers allow location changes without confusing source lineage. Citation resolution should follow the current authorized location while preserving revision information.

Incorrect Answers

A:

Revision and location history remain useful for audits. Removing them weakens traceability without solving citation resolution.

B:

Editing prose does not establish a maintained provenance mapping. Many historical references may still require resolution.

C:

This breaks continuity and can leave old references unresolved. Location change alone does not erase source identity.

Question 83

Two vector-store options meet accuracy requirements, but differ in idle capacity charges and operational work. What comparison is most appropriate?

  1. Compare only the advertised cost of one query
  2. Estimate total cost under realistic ingestion, query, storage, and maintenance workloads
  3. Choose solely by storage price per gigabyte without estimating query and update demand
  4. Compare only the FM's output-token price

Explanation

Correct Answer

B:

A complete comparison includes ongoing operations as well as query charges. An apparently cheap search price can hide idle infrastructure or maintenance expense.

Incorrect Answers

A:

A single unit price omits storage, updates, idle periods, and administration. It may misrepresent the production workload's total cost.

C:

A storage unit price omits search capacity, ingestion, idle resources, and maintenance. The cheaper storage tier can have a higher total operating cost.

D:

Generation costs do not distinguish vector-store operation. Retrieval infrastructure has its own usage and maintenance profile.

Question 84

Deleting a custom Bedrock knowledge base is being used as the entire database-cleanup procedure. What must operators verify separately?

  1. The data-source deletion policy and whether underlying vector-store resources remain
  2. That no costs can remain after configuration deletion
  3. That the model's training parameters were erased
  4. That all source S3 buckets were automatically removed

Explanation

Correct Answer

A:

Knowledge-base resource deletion does not necessarily delete the vector store itself. Inspect retained data and infrastructure before declaring cleanup complete.

Incorrect Answers

B:

Independent resources can continue incurring charges. Cleanup requires an inventory of the underlying storage and related infrastructure.

C:

The retrieval configuration does not represent model training weights. Deleting it does not perform a model unlearning operation.

D:

Source repositories have independent lifecycles. Deleting a knowledge-base configuration is not a general delete command for connected buckets.

Question 85

A support query may concern either engineering procedures or employment policies. These repositories have different permissions. Which retrieval architecture fits?

  1. Query every domain using one unrestricted service identity
  2. Route to authorized domain indexes and preserve source-specific access checks
  3. Remove metadata so every document competes equally
  4. Merge all content and trust the model to hide restricted results

Explanation

Correct Answer

B:

Domain routing can improve relevance while respecting distinct eligibility rules. Authorization must remain enforced even when the intent router chooses an index.

Incorrect Answers

A:

A broad identity can expose content outside the user's scope. Routing convenience does not justify collapsing access controls.

C:

Equal ranking is not equivalent to authorized retrieval. Removing metadata can destroy the information needed to enforce domain boundaries.

D:

Post-retrieval discretion is not a reliable permission boundary. Restricted text should not enter an unauthorized user's context.

Question 86

A document's department attribute is supplied by an untrusted uploader. Which control prevents that value from becoming an unauthorized access grant?

  1. Derive or verify access labels against an authoritative ownership source
  2. Accept any department named in the file contents
  3. Ask the model to choose labels without verification
  4. Treat a strong embedding match as label validation

Explanation

Correct Answer

A:

Security-relevant labels must be trustworthy. An ingestion gate should reject or correct attributes that conflict with verified ownership and permissions.

Incorrect Answers

B:

A document can claim any ownership in prose. Self-asserted text is not authority to assign access labels.

C:

Generated classification can assist review but cannot authorize ownership. The resulting label still needs an accountable policy basis.

D:

Semantic similarity does not establish organizational ownership. A malicious or mislabeled document can match legitimate departmental queries.

Question 87

A vector-store backup restores successfully in a test account. What additional test establishes application-level recoverability?

  1. Run representative authorized retrieval and generation workflows against the restore
  2. Check only that a database identifier exists
  3. Check only the backup file's compressed size
  4. Verify only that the restored database accepts a health-check connection

Explanation

Correct Answer

A:

A restored resource can exist while mappings or permissions are broken. End-to-end tests verify usable evidence and application behavior after recovery.

Incorrect Answers

B:

Resource existence does not establish completeness or compatibility. The restored index may be inaccessible or semantically incorrect.

C:

Size is a storage property, not evidence that retrieval works. Different corrupt or incomplete backups can have plausible sizes.

D:

Connectivity is necessary but does not validate the restored vector mapping, permissions, or retrieval behavior. Representative application queries test recoverability beyond resource existence.

Question 88

A troubleshooting procedure is split exactly between a prerequisite and its dependent instruction. Retrieved chunks routinely omit one half. Which segmentation experiment targets this defect?

  1. Replace every chunk with a document title
  2. Retrieve only the highest-scoring tiny chunk and prohibit adjacent context
  3. Use bounded overlap or structure-aware boundaries and measure complete-procedure recall
  4. Increase the response sampling temperature
  5. Remove headings before segmentation

Explanation

Correct Answer

C:

Overlap can keep adjacent dependencies together; structural boundaries preserve meaningful units. Measure evidence completeness because overlap also creates redundancy.

Incorrect Answers

A:

Titles identify documents but omit procedural details. The required dependency would still be absent.

B:

A single narrow hit may still omit its dependent instruction. Precision alone does not ensure procedural completeness.

D:

Sampling operates after context selection. It cannot restore a prerequisite omitted from every selected chunk.

E:

Headings often indicate procedure boundaries. Removing them discards a useful cue for coherent chunks.

Question 89

Short paragraphs retrieve precisely, but answering requires their surrounding section. Which custom retrieval pattern combines both needs?

  1. Discard child-to-parent identifiers after indexing
  2. Return adjacent documents based only on filename order
  3. Retrieve child chunks and expand selected hits to their authorized parent sections
  4. Embed only entire books and return every matched book

Explanation

Correct Answer

C:

Small units support precise matching while parent expansion restores context. Deduplicate parents and respect the final context budget.

Incorrect Answers

A:

Expansion needs a reliable relationship between chunks and sections. Removing identifiers prevents that controlled operation.

B:

Filename proximity does not establish contextual relationships. It can introduce unrelated material instead of the correct parent section.

D:

Large representations can dilute specific signals. Returning full books also defeats the requirement for bounded surrounding context.

Question 90

A team proposes doubling chunk size because one question improved. What evidence should guide adoption?

  1. Approve solely on the successful question
  2. Evaluate only grammatical fluency
  3. Compare retrieval and answer metrics across representative question types under a fixed context budget
  4. Compare only total indexed bytes

Explanation

Correct Answer

C:

Larger chunks can improve context while diluting matching precision. A diverse controlled evaluation exposes both effects.

Incorrect Answers

A:

One example cannot characterize the effect on narrow factual and multi-step questions. The change may regress other categories.

B:

A fluent response can lack the relevant source. Segmentation primarily changes available evidence and must be assessed accordingly.

D:

Storage measures resource consumption rather than whether retrieved passages contain usable evidence.

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