Question 30
A document assistant performs well on short files but fails on realistic scanned contracts. What should the next feasibility test emphasize?
- Only the total number of uploaded files
- More short clean documents only
- Only the generator's public benchmark score
- 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?
- Define retrieval failure handling and test a safe degraded user response
- Present cached answers without checking their scope or age
- Retry retrieval forever inside each request
- 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?
- Benchmark text accuracy, latency, and cost on representative classification inputs
- Choose the highest general benchmark scorer without testing the classification workload
- Select the image leader without text testing
- 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?
- Store provider-specific credentials in customer prompts
- Assume every model accepts identical native JSON
- Expose every native request format to each business handler
- 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?
- Select the fallback solely by its lower price
- Convert the image bytes into arbitrary plain characters
- Route image requests anyway and discard validation errors
- 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?
- Only the maximum number of response sentences
- The supported context capacity for the complete formatted request and output
- Only the vector index storage capacity
- 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?
- Only whether an S3 bucket can be created there
- Only whether the model appears in a global marketing article
- Only whether the SDK installs successfully
- 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?
- Disable all output checks during an outage
- Assume any successful HTTP response is an acceptable substitute
- Reuse the primary's benchmark score for the fallback
- 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?
- Treat all validation errors as endpoint outages
- Open a circuit after a failure threshold and probe recovery cautiously
- Increase every client's timeout indefinitely
- 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?
- A registered version linking model artifact, configuration, evaluation, and approval
- Only an endpoint's human-friendly nickname
- Only a copy of the public base-model description
- 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?
- A higher temperature during rollback
- A rollback plan that preserves only model weights and recreates the tokenizer from current defaults
- A higher-throughput endpoint that continues loading the incompatible tokenizer
- 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.