Question 430 A deterministic workflow must fetch three customer facts, compute a balance and format one response, but an engineer adds an unbounded agent planning loop. Why does the current approach fail under these conditions? SDK response objects are not necessarily serving wire-format values; pyfunc output must satisfy the declared interface. Tool data and developer instructions have different trust levels; accidental string interpolation can blur that boundary. Lossy natural-language summary cannot be an authoritative intermediate representation for exact arithmetic. A known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost. ExplanationCorrect Answer D:Build a fixed chain of validated retrieval, deterministic calculation and response formatting components with explicit error exits. Other Answers A:A known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost. B:That mechanism describes another problem: A simple retrieval-plus-generation chain forwards raw tool output without escaping delimiters, allowing a document to overwrite the next prompt instruction. It does not explain this case, where a known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost. C:A known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost.
Question 431 A deterministic workflow must fetch three customer facts, compute a balance and format one response, but an engineer adds an unbounded agent planning loop. Which observation would establish that the requirement is now met? Inject adversarial delimiter text in retrieval output and confirm it does not alter allowed tool behavior. Run test customers including missing account IDs and verify the exact stage order and returned totals. Invoke the serving interface and verify real JSON serialization and schema conformance on success and error paths. Compare end-to-end totals with source-row arithmetic on tables containing many small entries. ExplanationCorrect Answer B:A known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost. Other Answers A:Run test customers including missing account IDs and verify the exact stage order and returned totals. C:Run test customers including missing account IDs and verify the exact stage order and returned totals. D:Run test customers including missing account IDs and verify the exact stage order and returned totals.
Question 432 A deterministic workflow must fetch three customer facts, compute a balance and format one response, but an engineer adds an unbounded agent planning loop. What lasting control best prevents recurrence of the identified issue? Separate exact transformations from language generation and test order-dependency invariants. Maintain signature fixtures and separate post-processing tests for provider SDK updates. Use structured stage inputs and adversarial prompt-construction tests for every chain template. Keep simple chains minimal and enforce typed stage contracts in unit tests. ExplanationCorrect Answer D:A known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost. Other Answers A:This control addresses a different exposure: A two-stage chain first summarizes a table and then extracts a total, but the summary drops small line items and yields a wrong total. It would not prevent this failure, because a known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost. B:That a known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost. C:A known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost.
Question 433 A simple retrieval-plus-generation chain forwards raw tool output without escaping delimiters, allowing a document to overwrite the next prompt instruction. What is the most targeted corrective step for this observed failure? Build a fixed chain of validated retrieval, deterministic calculation and response formatting components with explicit error exits. Serialize retrieved text into a bounded clearly labeled untrusted context field and apply a prompt-injection safe instruction hierarchy. Calculate the total from validated structured rows before invoking summarization, then present the checked number in the response. Remove the client-side secret and use approved service or user authorization through a backend with only required endpoint permissions. ExplanationCorrect Answer B:The action targets the stated cause: Tool data and developer instructions have different trust levels; accidental string interpolation can blur that boundary. Check the repair by: inject adversarial delimiter text in retrieval output and confirm it does not alter allowed tool behavior. Other Answers A:Tool data and developer instructions have different trust levels; accidental string interpolation can blur that boundary. C:Tool data and developer instructions have different trust levels; accidental string interpolation can blur that boundary. D:Tool data and developer instructions have different trust levels; accidental string interpolation can blur that boundary.
Question 434 A simple retrieval-plus-generation chain forwards raw tool output without escaping delimiters, allowing a document to overwrite the next prompt instruction. What is the decisive mechanism behind the observed result? Tool data and developer instructions have different trust levels; accidental string interpolation can blur that boundary. A known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost. Lossy natural-language summary cannot be an authoritative intermediate representation for exact arithmetic. Browser code exposes embedded secrets to users; endpoint access must be authenticated and authorized at a trusted server boundary. ExplanationCorrect Answer A:Serialize retrieved text into a bounded clearly labeled untrusted context field and apply a prompt-injection safe instruction hierarchy. Other Answers B:That mechanism describes another problem: A deterministic workflow must fetch three customer facts, compute a balance and format one response, but an engineer adds an unbounded agent planning loop. It does not explain this case, where tool data and developer instructions have different trust levels; accidental string interpolation can blur that boundary. C:Tool data and developer instructions have different trust levels; accidental string interpolation can blur that boundary. D:Tool data and developer instructions have different trust levels; accidental string interpolation can blur that boundary.
Question 435 A simple retrieval-plus-generation chain forwards raw tool output without escaping delimiters, allowing a document to overwrite the next prompt instruction. Which verification is strongest for this particular failure mode? Compare end-to-end totals with source-row arithmetic on tables containing many small entries. Inject adversarial delimiter text in retrieval output and confirm it does not alter allowed tool behavior. Run test customers including missing account IDs and verify the exact stage order and returned totals. Inspect compiled assets for tokens, test requests with and without required permissions, and verify audit identity. ExplanationCorrect Answer B:Tool data and developer instructions have different trust levels; accidental string interpolation can blur that boundary. Other Answers A:Inject adversarial delimiter text in retrieval output and confirm it does not alter allowed tool behavior. C:Inject adversarial delimiter text in retrieval output and confirm it does not alter allowed tool behavior. D:Inject adversarial delimiter text in retrieval output and confirm it does not alter allowed tool behavior.
Question 436 A simple retrieval-plus-generation chain forwards raw tool output without escaping delimiters, allowing a document to overwrite the next prompt instruction. What change to engineering governance would reduce this risk over time? Keep simple chains minimal and enforce typed stage contracts in unit tests. Separate exact transformations from language generation and test order-dependency invariants. Use managed identities, secret rotation and least-privilege endpoint grants instead of hard-coded personal tokens. Use structured stage inputs and adversarial prompt-construction tests for every chain template. ExplanationCorrect Answer D:Tool data and developer instructions have different trust levels; accidental string interpolation can blur that boundary. Other Answers A:That tool data and developer instructions have different trust levels; accidental string interpolation can blur that boundary. B:Tool data and developer instructions have different trust levels; accidental string interpolation can blur that boundary. C:This control addresses a different exposure: A web application invokes an LLM serving endpoint using a developer's long-lived personal access token baked into front-end JavaScript. It would not prevent this failure, because tool data and developer instructions have different trust levels; accidental string interpolation can blur that boundary.
Question 437 A two-stage chain first summarizes a table and then extracts a total, but the summary drops small line items and yields a wrong total. Which engineering action most directly addresses this specific requirement? Serialize retrieved text into a bounded clearly labeled untrusted context field and apply a prompt-injection safe instruction hierarchy. Use a supported more frequent or continuous synchronization configuration consistent with the ingestion and search latency budget. Calculate the total from validated structured rows before invoking summarization, then present the checked number in the response. Build a fixed chain of validated retrieval, deterministic calculation and response formatting components with explicit error exits. ExplanationCorrect Answer C:The action targets the stated cause: Lossy natural-language summary cannot be an authoritative intermediate representation for exact arithmetic. Check the repair by: compare end-to-end totals with source-row arithmetic on tables containing many small entries. Other Answers A:Lossy natural-language summary cannot be an authoritative intermediate representation for exact arithmetic. B:Lossy natural-language summary cannot be an authoritative intermediate representation for exact arithmetic. D:Lossy natural-language summary cannot be an authoritative intermediate representation for exact arithmetic.
Question 438 A two-stage chain first summarizes a table and then extracts a total, but the summary drops small line items and yields a wrong total. What architectural constraint is most directly responsible? Lossy natural-language summary cannot be an authoritative intermediate representation for exact arithmetic. A known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost. Tool data and developer instructions have different trust levels; accidental string interpolation can blur that boundary. Search freshness is bounded by synchronization lag; a nightly index cannot satisfy an intraday response SLO. ExplanationCorrect Answer A:Calculate the total from validated structured rows before invoking summarization, then present the checked number in the response. Other Answers B:Lossy natural-language summary cannot be an authoritative intermediate representation for exact arithmetic. C:Lossy natural-language summary cannot be an authoritative intermediate representation for exact arithmetic. D:That mechanism describes another problem: A customer incident dashboard requires new notes searchable within minutes, yet the current search index refreshes only once nightly. It does not explain this case, where lossy natural-language summary cannot be an authoritative intermediate representation for exact arithmetic.
Question 439 A two-stage chain first summarizes a table and then extracts a total, but the summary drops small line items and yields a wrong total. What validation evidence would most specifically confirm the resolution? Run test customers including missing account IDs and verify the exact stage order and returned totals. Inject adversarial delimiter text in retrieval output and confirm it does not alter allowed tool behavior. Compare end-to-end totals with source-row arithmetic on tables containing many small entries. Insert timestamped synthetic incidents and measure time to first successful search result at representative load. ExplanationCorrect Answer C:Lossy natural-language summary cannot be an authoritative intermediate representation for exact arithmetic. Other Answers A:Compare end-to-end totals with source-row arithmetic on tables containing many small entries. B:Compare end-to-end totals with source-row arithmetic on tables containing many small entries. D:Compare end-to-end totals with source-row arithmetic on tables containing many small entries.
Question 440 A RAG application is registered with its prompt but not the embedding model identity, so the loaded retriever queries a differently encoded index. Which design change directly satisfies the stated constraints? Replace local paths with deployable source files and declare the retriever resource/configuration dependencies in the bundle. Increase retrieval top-k to compensate for missing results, leaving the model revision used for query embeddings unspecified. Capture a representative typed input example and infer or declare a serving signature that includes required contextual fields and output schema. Package retriever configuration, compatible embedding model revision, model flavor, code dependencies, input examples and signature. ExplanationCorrect Answer D:The action targets the stated cause: End-to-end RAG compatibility depends on a shared embedding space and reproducible model artifacts beyond the generator prompt. Check the repair by: load the registered pipeline in a clean environment and verify vector dimensions and a known retrieval result. Other Answers A:End-to-end RAG compatibility depends on a shared embedding space and reproducible model artifacts beyond the generator prompt. B:Increasing k cannot repair an embedding-space mismatch. The deployed artifact must pin a compatible retriever and embedding model revision. C:End-to-end RAG compatibility depends on a shared embedding space and reproducible model artifacts beyond the generator prompt.