Question 340
A custom vector database has slow queries during large index rebuilds. Searches meet quality requirements outside those periods. Which operational change should be evaluated?
- Increase approximate-search speed settings only during every rebuild
- Restart the generator whenever index building begins
- Disable all index updates permanently
- Build replacement indexes with isolated capacity and switch traffic after validation
Explanation
Correct Answer
D:Separating heavy build work can reduce contention with live searches. The cutover still needs compatible metadata, permissions, and rollback.
Incorrect Answers
A:Less search work may reduce latency but can compromise recall without addressing shared build-resource contention.
B:The measured slowdown is in the database path. Generator restarts add disruption without isolating index-building work.
C:Avoiding updates sacrifices corpus freshness and does not provide a sustainable maintenance process.
Question 341
Model processing duration is stable, but end-to-end latency rises with queue wait. What intervention targets the cause?
- Increase accepted backlog indefinitely
- Increase the per-request timeout while leaving arrival rate and available capacity unchanged
- Attribute the full delay to slower token generation
- Adjust admission, capacity, or scheduling using queue-age and demand measurements
Explanation
Correct Answer
D:The delay is before execution. Optimizing prompt prose alone does not remove a saturated waiting line.
Incorrect Answers
A:More waiting work can worsen deadline misses without increasing capacity.
B:More patience may delay failure but does not remove accumulated waiting work. Admission, scheduling, or capacity must address the queue pressure.
C:Measured processing is stable, so that diagnosis conflicts with the evidence.
Question 342
A developer lowers temperature to improve deterministic extraction. What test is needed?
- Compare extraction accuracy and repeatability on representative cases under controlled conditions
- Change the dataset simultaneously and attribute all gains to temperature
- Assume zero temperature guarantees factual truth
- Measure only whether sentences sound creative
Explanation
Correct Answer
A:Lower variability can help but does not guarantee correct fields. Evaluate both stability and task correctness.
Incorrect Answers
B:Confounding prevents isolating the parameter's effect.
C:Deterministic output can be consistently wrong.
D:Creativity is not the extraction acceptance criterion.
Question 343
A self-hosted serving engine supports continuous batching. Static batches wait for every sequence to finish before admitting new requests, leaving capacity underused when sequence lengths vary. Which change should be evaluated?
- Change only the API gateway's response compression setting
- Pad every generation to the maximum completion length before releasing it
- Admit new eligible sequences as completed sequences release capacity, subject to memory limits
- Increase the static batch size without checking active-token memory
Explanation
Correct Answer
C:Continuous batching can reduce idle capacity caused by waiting for the longest sequence. Test throughput, tail latency, and memory under the actual workload.
Incorrect Answers
A:Transport compression does not alter scheduling within the inference engine.
B:Artificially extending finished work wastes resources and preserves the wait for the longest sequence.
D:Larger batches can worsen memory pressure and do not guarantee prompt admission when completed slots remain unused.
Question 344
A read-only public-answer service has occasional slow inference stragglers. Two approved compatible targets are available, and an experiment may issue a delayed duplicate. What condition should govern this hedge?
- Return both completions concatenated without selecting a coherent validated result
- Measure tail-latency gains against extra cost and load, and cancel or disregard the losing request safely
- Issue every request to both targets immediately and call the extra work free
- Use the same strategy on irreversible payment tools without idempotency
Explanation
Correct Answer
B:Hedging can reduce waiting for a straggler while consuming duplicate capacity. Limit its use, preserve target eligibility, and account for requests that continue after cancellation.
Incorrect Answers
A:Two answers can conflict or repeat content. The application still needs a defined outcome and normal output checks.
C:Duplicate inference consumes capacity and can increase load. Immediate universal duplication ignores the intended tail-focused tradeoff.
D:A read-only inference hedge is not permission to duplicate transactional side effects. Tool operations need separate safeguards.
Question 345
A team must decide whether adding inference capacity will improve response time. Which TWO measurements are most useful? Choose TWO.
- Only the number of model names in the catalog
- Queue wait and age under representative load
- Actual inference utilization and service time by token workload
- Only total invocation count, without queue delay or workload segmentation
- Only time to first token for one unloaded development request
Explanation
Correct Answers
B:Growing waits indicate demand exceeding available processing or scheduling capacity.
C:These distinguish saturated inference from another bottleneck and help estimate added capacity benefit.
Incorrect Answers
A:Catalog breadth does not indicate current capacity demand.
D:Request count cannot show whether serving is saturated by long sequences or whether time is spent waiting elsewhere. Queue and utilization measurements localize the constraint.
E:A single low-load sample does not establish production saturation or the likely value of added capacity. Measure representative demand and serving behavior.
Question 346
A slow answer may originate in authentication, retrieval, tool use, or inference. What observability design fits?
- Only one total duration at the frontend
- Correlated spans across stages with timing, status, and relevant version identifiers
- Only a vector-index storage graph
- Only the final answer text
Explanation
Correct Answer
B:A distributed trace localizes the critical path. Protect sensitive payloads while preserving operational metadata.
Incorrect Answers
A:That shows the symptom but not which dependency caused it.
C:Storage volume does not cover authentication, tools, or inference.
D:Content alone does not establish stage timings.
Question 347
A dashboard should show hallucination rates. What must the application add?
- A defined assessment process with sampled or automated labels and an explicit denominator
- Assume CloudWatch automatically knows truth for arbitrary answers
- Rename the HTTP error metric hallucinations
- Count every answer without a citation as factually false
Explanation
Correct Answer
A:Hallucination is not inferred reliably from HTTP success. Document the evaluator's coverage and error limits.
Incorrect Answers
B:Telemetry requires meaningful measurements supplied by the application or evaluation system.
C:Transport failures and unsupported claims measure different phenomena.
D:Some tasks require no external source, while cited answers can still be wrong. The metric needs a defined evidence-based rubric.
Question 348
A tool returns quickly but often receives invalid model-generated arguments. What should monitoring include?
- Only average tool duration
- Only model output token count
- Argument-validation failure rate and successful task outcomes alongside tool latency
- Only the number of tools registered
Explanation
Correct Answer
C:Fast responses can still represent failed work. Separate model selection and argument errors from dependency availability.
Incorrect Answers
A:A fast rejection looks healthy under latency-only monitoring.
B:Token volume cannot identify which tool arguments were invalid.
D:Catalog size does not describe runtime effectiveness.
Question 349
A token-usage alarm triggers constantly during expected business peaks. What should be improved?
- Lower the threshold further without analysis
- Treat each alarm as proof of an attack
- Use workload-aware baselines and actionable thresholds tied to impact or budgets
- Disable every usage alarm permanently
Explanation
Correct Answer
C:Expected seasonality can create noise. Alert design should identify deviations requiring a concrete response.
Incorrect Answers
A:More expected alerts can increase fatigue.
B:High usage can be legitimate; diagnosis requires context.
D:That removes visibility into real spikes or budget breaches.
Question 350
The ingestion pipeline reports success but searchable document counts steadily fall. What monitoring is useful?
- Assume fewer documents always improve relevance
- Reconcile source revisions, processed records, indexed records, and retrieval coverage
- Only monitor generator response time
- Only count successful HTTP requests to ingestion
Explanation
Correct Answer
B:Pipeline success can conceal partial omissions. Stage-level counts and sampled searches reveal completeness issues.
Incorrect Answers
A:Unintended loss of required sources is a data-quality defect.
C:A fast model can answer from an incomplete corpus.
D:Request acceptance does not establish complete indexing.