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.

Question 31

A design review identifies one vector store shared by every assistant and no degraded response when it fails. Which change best addresses this dependency risk?

  1. Define retrieval failure handling and test a safe degraded user response
  2. Present cached answers without checking their scope or age
  3. Retry retrieval forever inside each request
  4. Assume generator availability guarantees application availability

Explanation

Correct Answer

A:

A retrieval outage should produce a controlled outcome rather than unsupported claims. Dependency-aware tests expose how the application behaves when evidence is unavailable.

Incorrect Answers

B:

Blind reuse can reveal unauthorized or obsolete information. A fallback requires explicit freshness and authorization rules to be trustworthy.

C:

Unbounded waiting can exhaust resources and violate response deadlines. It does not provide a usable failure mode for customers.

D:

The generator can remain healthy while retrieval fails. An evidence-dependent workflow needs both components to complete its intended task.

Question 32

Two approved models differ: one excels at image interpretation, the other at low-cost text classification. The workload classifies short text only. How should selection proceed?

  1. Benchmark text accuracy, latency, and cost on representative classification inputs
  2. Choose the highest general benchmark scorer without testing the classification workload
  3. Select the image leader without text testing
  4. Choose solely by model parameter count

Explanation

Correct Answer

A:

Selection should follow the actual task and constraints. An unrelated modality advantage does not justify paying more when a smaller model meets acceptance thresholds.

Incorrect Answers

B:

Broad capability rankings may not reflect this task's label accuracy or operating cost. Selection should use representative inputs and the application's thresholds.

C:

Image capability does not establish performance on this text-only workload. The additional capability may have no operational value.

D:

Parameter count is an incomplete proxy for application quality. Task-specific evaluation can favor a smaller, more efficient model.

Question 33

A service must switch between supported Bedrock message models without spreading provider-specific fields throughout business code. Which design helps most?

  1. Store provider-specific credentials in customer prompts
  2. Assume every model accepts identical native JSON
  3. Expose every native request format to each business handler
  4. Use a common Converse adapter with isolated model-specific extensions

Explanation

Correct Answer

D:

A standard message interface reduces provider coupling. Keep capability differences and extra inference fields in the adapter rather than assuming all models behave identically.

Incorrect Answers

A:

Prompts are not an appropriate credential distribution mechanism. This also fails to isolate request-shape differences in application code.

B:

Native schemas and supported features vary. An unverified shared body can cause validation failures or silently incorrect configuration.

C:

Duplicating provider details increases change effort. A model migration would require coordinated edits across unrelated business paths.

Question 34

A fallback model accepts text but not the image inputs used by the primary. What must the routing layer do?

  1. Select the fallback solely by its lower price
  2. Convert the image bytes into arbitrary plain characters
  3. Route image requests anyway and discard validation errors
  4. Check required modalities and exclude incompatible fallbacks for image requests

Explanation

Correct Answer

D:

Fallback eligibility depends on request capabilities, not only availability. The application must preserve input semantics or explicitly provide a supported degradation path.

Incorrect Answers

A:

Price matters only among models capable of the task. An inexpensive incompatible model does not meet the application's functional requirement.

B:

An encoding is not equivalent to visual understanding. A text-only model cannot infer the image content from an unsupported raw-byte representation.

C:

Ignoring errors cannot make the fallback understand images. The application would fail or produce answers from incomplete evidence.

Question 35

A legal workflow must compare all clauses in a long agreement in one inference. Which model characteristic requires direct verification before selection?

  1. Only the maximum number of response sentences
  2. The supported context capacity for the complete formatted request and output
  3. Only the vector index storage capacity
  4. Only the model's training-data volume

Explanation

Correct Answer

B:

The usable budget includes instructions, documents, conversation, and completion. Counting only file characters can understate the model's actual token requirements.

Incorrect Answers

A:

Sentence count does not establish input capacity. A short answer can still require reading a long agreement and its instructions.

C:

Storage size governs indexed data, not the generator's inference context. A large repository does not enlarge the selected model's limits.

D:

Training scale does not specify request capacity. The application must verify supported inference limits for the chosen model and configuration.

Question 36

A model is available in one Region, while the deployment is planned for another. What should the release checklist verify?

  1. Only whether an S3 bucket can be created there
  2. Only whether the model appears in a global marketing article
  3. Only whether the SDK installs successfully
  4. Supported invocation modes, model availability, and approved routing from the deployment Region

Explanation

Correct Answer

D:

Model access is not uniform across locations and modes. Validate the intended request path rather than assuming catalog presence elsewhere guarantees this deployment works.

Incorrect Answers

A:

Storage availability is independent of model inference support. A bucket can exist where the desired model invocation path is unavailable.

B:

A broad announcement does not prove availability for the application's Region, account, and selected inference mode.

C:

Client installation proves neither regional service support nor authorization. An installed SDK can still receive unavailable-model errors.

Question 37

A primary model fails transiently. The approved fallback has different refusal and formatting behavior. What should happen before enabling automatic failover?

  1. Disable all output checks during an outage
  2. Assume any successful HTTP response is an acceptable substitute
  3. Reuse the primary's benchmark score for the fallback
  4. Evaluate the fallback against the same application safety and schema contracts

Explanation

Correct Answer

D:

Failover changes more than endpoint availability. Testing verifies that a reachable replacement still produces acceptable outputs and respects operational constraints.

Incorrect Answers

A:

Removing checks makes degraded infrastructure a reason to accept untrusted results. The outage does not relax the business contract.

B:

Transport success does not establish content validity. The fallback can return an unsafe or unusable answer with a successful status.

C:

Different models can behave differently on the same task. The primary's measured quality cannot establish the replacement's performance.

Question 38

A model endpoint times out on nearly every call, consuming the entire application deadline. Which resilience pattern reduces repeated calls during the outage?

  1. Treat all validation errors as endpoint outages
  2. Open a circuit after a failure threshold and probe recovery cautiously
  3. Increase every client's timeout indefinitely
  4. Immediately retry the same endpoint without a limit

Explanation

Correct Answer

B:

A circuit breaker temporarily stops predictable failures and permits controlled recovery tests. It preserves request capacity for approved fallbacks or clear unavailable responses.

Incorrect Answers

A:

Invalid requests need correction, not circuit-based avoidance of a healthy service. Classifying failures is essential to an effective breaker.

C:

Longer waits delay failure recognition and tie up more concurrent work. They do not establish a recovery policy.

D:

Repeated attempts consume time and resources while the endpoint remains unhealthy. They can worsen overload instead of isolating the failure.

Question 39

A domain-customized model passed evaluation but its deployment cannot be traced to a particular artifact. What should the team add?

  1. A registered version linking model artifact, configuration, evaluation, and approval
  2. Only an endpoint's human-friendly nickname
  3. Only a copy of the public base-model description
  4. Only the date of the last customer request

Explanation

Correct Answer

A:

Versioned lineage identifies what was deployed and why it was accepted. It enables reproducible promotion and rollback without treating a mutable filename as sufficient provenance.

Incorrect Answers

B:

A nickname can stay unchanged across replacements. It does not identify the exact weights or the evidence supporting their release.

C:

The base description omits the domain-specific artifact and its evaluation. It does not document the actual customized deployment.

D:

Traffic timing says nothing about the deployed model artifact. It cannot reconstruct a previous production version.

Question 40

After a customized-model update, output quality drops. The old weights exist, but their tokenizer and serving configuration were overwritten. What was missing?

  1. A higher temperature during rollback
  2. A rollback plan that preserves only model weights and recreates the tokenizer from current defaults
  3. A higher-throughput endpoint that continues loading the incompatible tokenizer
  4. A complete versioned deployment bundle and a tested rollback procedure

Explanation

Correct Answer

D:

A deployable version includes compatible preprocessing and serving settings, not just weights. Restoring the whole bundle avoids mixing incompatible components during recovery.

Incorrect Answers

A:

Sampling changes do not restore the tokenizer or server configuration. They could introduce more variability during an already uncertain recovery.

B:

The old weights can depend on a particular tokenizer and serving configuration. Reconstructing from new defaults may fail to reproduce the prior working deployment.

C:

More serving capacity does not restore artifact compatibility. Rollback requires the complete compatible bundle, not just resources to run it faster.

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