Certified Generative AI Engineer Associate Practice Test 49
Question 480
An engineering review considers a safeguard for this situation: Finance needs per-team spend for several deployed agent endpoints. The proposed action is: Use AI Gateway usage telemetry with endpoint/team attribution. Which observed failure most strongly justifies that action?
- Only overall cloud bill is recorded and individual agents cannot be compared
- An LLM judge sometimes overlooks the literal disclaimer requirement
- High concurrency saturates endpoint and raises latency for online users
- The team relies on deployment success alone to declare healthy service
Explanation
Correct Answer
A:Only overall cloud bill is recorded and individual agents cannot be compared. This observation motivates the specific control to Use AI Gateway usage telemetry with endpoint/team attribution. Attribution requires identity and endpoint dimensions beyond total invoices. The follow-up evidence would be: Usage reports reconcile agent tokens and billed amount by team. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“An LLM judge sometimes overlooks the literal disclaimer requirement” is associated with this technical property: This observation motivates the specific control to Build a deterministic custom scorer for required phrase presence in addition to semantic judges. The question instead turns on “Only overall cloud bill is recorded and individual agents cannot be compared”: This observation motivates the specific control to Use AI Gateway usage telemetry with endpoint/team attribution.
C:“High concurrency saturates endpoint and raises latency for online users” is associated with this technical property: This observation motivates the specific control to Move eligible bulk requests to governed batch inference with appropriate quotas. The question instead turns on “Only overall cloud bill is recorded and individual agents cannot be compared”: This observation motivates the specific control to Use AI Gateway usage telemetry with endpoint/team attribution.
D:“The team relies on deployment success alone to declare healthy service” is associated with this technical property: This observation motivates the specific control to Apply production monitoring with quality scorers and sampling policies. The question instead turns on “Only overall cloud bill is recorded and individual agents cannot be compared”: This observation motivates the specific control to Use AI Gateway usage telemetry with endpoint/team attribution.
Question 481
The team observes this failure in a GenAI application: Tone evaluation marks the reply helpful although it violates policy. After implementing the fix to Add task-specific safety and authorization checks beyond stylistic quality scoring, which measurement or test most directly demonstrates success?
- Prohibited requests are rejected consistently while harmless alternatives remain supported
- Traces show a retrieval call, calculation result and final text with handled tool errors
- A failed response links to distinct retrieval, tool and inference spans
- Authorized clients call versioned endpoint and traces capture requests
Explanation
Correct Answer
A:Prohibited requests are rejected consistently while harmless alternatives remain supported. This specifically validates the remediation to Add task-specific safety and authorization checks beyond stylistic quality scoring for the failure that Tone evaluation marks the reply helpful although it violates policy. Helpful tone does not substitute for authorized and safe behavior. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Traces show a retrieval call, calculation result and final text with handled tool errors” is associated with this technical property: Reusable agent components manage messages, tool calling and state more reliably than ad hoc text parsing. The question instead turns on “Prohibited requests are rejected consistently while harmless alternatives remain supported”: Helpful tone does not substitute for authorized and safe behavior.
C:“A failed response links to distinct retrieval, tool and inference spans” is associated with this technical property: End-to-end traces reveal which step failed and support reproducible evaluation. The question instead turns on “Prohibited requests are rejected consistently while harmless alternatives remain supported”: Helpful tone does not substitute for authorized and safe behavior.
D:“Authorized clients call versioned endpoint and traces capture requests” is associated with this technical property: Deployment lifecycle requires governed inference endpoint and observability. The question instead turns on “Prohibited requests are rejected consistently while harmless alternatives remain supported”: Helpful tone does not substitute for authorized and safe behavior.
Question 482
The team observes this failure in a GenAI application: A guardrail prompt says to ask permission but backend accepts unauthorized calls. After implementing the fix to Verify authenticated user authority and explicit approval in the action service, which measurement or test most directly demonstrates success?
- Unknown-feature test prompts yield no false procedure and request approved documentation
- Evidence-supported accuracy determines model selection
- Summaries fit configured length and retain key safety caveat
- API rejects unapproved write calls regardless of model phrasing
Explanation
Correct Answer
D:API rejects unapproved write calls regardless of model phrasing. This specifically validates the remediation to Verify authenticated user authority and explicit approval in the action service for the failure that A guardrail prompt says to ask permission but backend accepts unauthorized calls. Authorization enforced at tools cannot be bypassed by generated text. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Unknown-feature test prompts yield no false procedure and request approved documentation” is associated with this technical property: Abstention is preferable to fabricated specifics when retrieval lacks support. The question instead turns on “API rejects unapproved write calls regardless of model phrasing”: Authorization enforced at tools cannot be bypassed by generated text.
B:“Evidence-supported accuracy determines model selection” is associated with this technical property: Answer correctness must be measured against source evidence, not just readability. The question instead turns on “API rejects unapproved write calls regardless of model phrasing”: Authorization enforced at tools cannot be bypassed by generated text.
C:“Summaries fit configured length and retain key safety caveat” is associated with this technical property: Prompt editing can adjust expression without replacing underlying evidence. The question instead turns on “API rejects unapproved write calls regardless of model phrasing”: Authorization enforced at tools cannot be bypassed by generated text.
Question 483
The team observes this failure in a GenAI application: They build a bespoke multi-agent manager for straightforward document Q&A. After implementing the fix to Choose Agent Bricks Knowledge Assistant for managed document-grounded Q&A, which measurement or test most directly demonstrates success?
- Final recommendation shows fresh source timestamp or abstains from firm price claim
- Contract tests parse JSON and verify required fields and data types on diverse invoices
- Cross-account probes yield no unauthorized fields while same-account cases still work
- Acceptance set checks citations, access control and knowledge-answer relevance
Explanation
Correct Answer
D:Acceptance set checks citations, access control and knowledge-answer relevance. This specifically validates the remediation to Choose Agent Bricks Knowledge Assistant for managed document-grounded Q&A for the failure that They build a bespoke multi-agent manager for straightforward document Q&A. Knowledge Assistant is aligned to enterprise knowledge retrieval without unnecessary routing agents. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Final recommendation shows fresh source timestamp or abstains from firm price claim” is associated with this technical property: Tool freshness is a dependency of time-sensitive reasoning and action. The question instead turns on “Acceptance set checks citations, access control and knowledge-answer relevance”: Knowledge Assistant is aligned to enterprise knowledge retrieval without unnecessary routing agents.
B:“Contract tests parse JSON and verify required fields and data types on diverse invoices” is associated with this technical property: Structured constraints help guarantee downstream parseability instead of relying on a vague format request. The question instead turns on “Acceptance set checks citations, access control and knowledge-answer relevance”: Knowledge Assistant is aligned to enterprise knowledge retrieval without unnecessary routing agents.
C:“Cross-account probes yield no unauthorized fields while same-account cases still work” is associated with this technical property: Data boundaries are part of application design rather than optional prompt decoration. The question instead turns on “Acceptance set checks citations, access control and knowledge-answer relevance”: Knowledge Assistant is aligned to enterprise knowledge retrieval without unnecessary routing agents.
Question 484
A Databricks generative AI team is designing a solution with this requirement: A searchable document includes hidden instructions embedded in markdown links. Which engineering approach should it select first?
- Use parameterized queries with governed read-only permissions and validation
- Validate and bind tenant scope server-side for every tool call
- Parse, label and isolate untrusted document instructions while preserving legitimate factual content
- Select compliant deployment and data-processing path after checking vendor terms
Explanation
Correct Answer
C:Parse, label and isolate untrusted document instructions while preserving legitimate factual content directly addresses the described Databricks GenAI architecture: A searchable document includes hidden instructions embedded in markdown links. Source cleaning reduces accidental execution of embedded instructions. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Injection benchmark fails to redirect agent behavior but still retrieves relevant facts.
Incorrect Answers
A:“Use parameterized queries with governed read-only permissions and validation” is associated with this technical property: Data access security requires database controls rather than prompt-only cautions. The question instead turns on “Parse, label and isolate untrusted document instructions while preserving legitimate factual content”: Source cleaning reduces accidental execution of embedded instructions.
B:“Validate and bind tenant scope server-side for every tool call” is associated with this technical property: Model-generated arguments are not an authorization boundary. The question instead turns on “Parse, label and isolate untrusted document instructions while preserving legitimate factual content”: Source cleaning reduces accidental execution of embedded instructions.
D:“Select compliant deployment and data-processing path after checking vendor terms” is associated with this technical property: Deployment architecture must respect jurisdictional and contractual data handling. The question instead turns on “Parse, label and isolate untrusted document instructions while preserving legitimate factual content”: Source cleaning reduces accidental execution of embedded instructions.
Question 485
A Databricks generative AI team is designing a solution with this requirement: A user asks whether the second order has shipped after discussing three orders. Which engineering approach should it select first?
- Convert adjudicated production failures into regression and evaluation cases
- Resolve follow-up reference against authorized conversation state before tool call
- Increase chunk continuity or retrieve adjacent parent context based on evaluation failures
- Choose a model evaluated on structured tool-use success and error recovery
Explanation
Correct Answer
B:Resolve follow-up reference against authorized conversation state before tool call directly addresses the described Databricks GenAI architecture: A user asks whether the second order has shipped after discussing three orders. Coreference resolution should preserve scoped intent and entity continuity. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Tests of sequential order questions refer to the expected order only.
Incorrect Answers
A:“Convert adjudicated production failures into regression and evaluation cases” is associated with this technical property: Monitoring observations should feed iterative development evaluation. The question instead turns on “Resolve follow-up reference against authorized conversation state before tool call”: Coreference resolution should preserve scoped intent and entity continuity.
C:“Increase chunk continuity or retrieve adjacent parent context based on evaluation failures” is associated with this technical property: Chunk size and parent context should be tuned against grounded-answer error patterns. The question instead turns on “Resolve follow-up reference against authorized conversation state before tool call”: Coreference resolution should preserve scoped intent and entity continuity.
D:“Choose a model evaluated on structured tool-use success and error recovery” is associated with this technical property: Tool calling reliability is a distinct operational capability from general language fluency. The question instead turns on “Resolve follow-up reference against authorized conversation state before tool call”: Coreference resolution should preserve scoped intent and entity continuity.
Question 486
For the requirement that A team needs grounded answers over indexed internal training PDFs with citations, the team proposes this change: Choose Agent Bricks Knowledge Assistant for managed document-grounded Q&A. Which technical principle explains why it is appropriate?
- Data boundaries are part of application design rather than optional prompt decoration
- Explicit data contracts make evaluation and downstream workflow integration possible
- Knowledge Assistant is aligned to enterprise knowledge retrieval without unnecessary routing agents
- Answer generation and sentiment classification optimize distinct model tasks
Explanation
Correct Answer
C:Knowledge Assistant is aligned to enterprise knowledge retrieval without unnecessary routing agents. The proposed engineering step is to Choose Agent Bricks Knowledge Assistant for managed document-grounded Q&A. It directly supports the requirement that A team needs grounded answers over indexed internal training PDFs with citations. The operational test is that Acceptance set checks citations, access control and knowledge-answer relevance. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Data boundaries are part of application design rather than optional prompt decoration” is associated with this technical property: It directly supports the requirement that A customer-facing assistant may use only records for the authenticated account. The question instead turns on “Knowledge Assistant is aligned to enterprise knowledge retrieval without unnecessary routing agents”: It directly supports the requirement that A team needs grounded answers over indexed internal training PDFs with citations.
B:“Explicit data contracts make evaluation and downstream workflow integration possible” is associated with this technical property: It directly supports the requirement that Legal review requires clause-level risk summaries linked to source document identifiers. The question instead turns on “Knowledge Assistant is aligned to enterprise knowledge retrieval without unnecessary routing agents”: It directly supports the requirement that A team needs grounded answers over indexed internal training PDFs with citations.
D:“Answer generation and sentiment classification optimize distinct model tasks” is associated with this technical property: It directly supports the requirement that Employees ask natural-language questions about current internal procedures. The question instead turns on “Knowledge Assistant is aligned to enterprise knowledge retrieval without unnecessary routing agents”: It directly supports the requirement that A team needs grounded answers over indexed internal training PDFs with citations.
Question 487
An engineering review considers a safeguard for this situation: An approved assistant's answers degrade after policies change in production. The proposed action is: Monitor live traces and perform periodic re-evaluation with refreshed ground truth. Which observed failure most strongly justifies that action?
- Custom string concatenation makes it hard to inspect tool invocations or handle failure
- No one can reconstruct which model configuration produced a regression
- Long-form generation ignores the requested output length
- A static offline test remains green because references are outdated
Explanation
Correct Answer
D:A static offline test remains green because references are outdated. This observation motivates the specific control to Monitor live traces and perform periodic re-evaluation with refreshed ground truth. Production monitoring detects data shifts missed by one-time release tests. The follow-up evidence would be: Trend shows policy mismatch and updated evaluation verifies remediation. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Custom string concatenation makes it hard to inspect tool invocations or handle failure” is associated with this technical property: This observation motivates the specific control to Use an agent orchestration framework with explicit typed tool definitions and execution traces. The question instead turns on “A static offline test remains green because references are outdated”: This observation motivates the specific control to Monitor live traces and perform periodic re-evaluation with refreshed ground truth.
B:“No one can reconstruct which model configuration produced a regression” is associated with this technical property: This observation motivates the specific control to Track model, code, prompt and evaluation datasets with versioned experiment artifacts. The question instead turns on “A static offline test remains green because references are outdated”: This observation motivates the specific control to Monitor live traces and perform periodic re-evaluation with refreshed ground truth.
C:“Long-form generation ignores the requested output length” is associated with this technical property: This observation motivates the specific control to Add a bounded summary instruction preserving critical qualifier and context. The question instead turns on “A static offline test remains green because references are outdated”: This observation motivates the specific control to Monitor live traces and perform periodic re-evaluation with refreshed ground truth.
Question 488
An application intended to satisfy this requirement, An approved assistant's answers degrade after policies change in production, instead experiences: A static offline test remains green because references are outdated. Which targeted engineering correction resolves this failure?
- Choose chunks that retain header, period, currency and row key
- Monitor live traces and perform periodic re-evaluation with refreshed ground truth
- Implement task-aware moderation and safe-refusal handling with reviewable thresholds
- Require the governed Genie result and query provenance before final response
Explanation
Correct Answer
B:Monitor live traces and perform periodic re-evaluation with refreshed ground truth targets the observed failure: A static offline test remains green because references are outdated. Production monitoring detects data shifts missed by one-time release tests. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Trend shows policy mismatch and updated evaluation verifies remediation.
Incorrect Answers
A:“Choose chunks that retain header, period, currency and row key” is associated with this technical property: Tables require contextual labels for safe semantic interpretation. The question instead turns on “Monitor live traces and perform periodic re-evaluation with refreshed ground truth”: Production monitoring detects data shifts missed by one-time release tests.
C:“Implement task-aware moderation and safe-refusal handling with reviewable thresholds” is associated with this technical property: Guardrails should consider both user intent and produced content. The question instead turns on “Monitor live traces and perform periodic re-evaluation with refreshed ground truth”: Production monitoring detects data shifts missed by one-time release tests.
D:“Require the governed Genie result and query provenance before final response” is associated with this technical property: Structured analytics should be traceable to actual authorized data access. The question instead turns on “Monitor live traces and perform periodic re-evaluation with refreshed ground truth”: Production monitoring detects data shifts missed by one-time release tests.
Question 489
The team observes this failure in a GenAI application: A text-only model receives file paths and hallucinates visual values. After implementing the fix to Choose vision-capable processing or OCR extraction before text model use, which measurement or test most directly demonstrates success?
- Evaluation report shows balanced recall and cost on held-out questions
- Multi-clause test cases detect missing mandatory steps and trigger remediation
- Photo invoices yield verifiable extracted values and low-confidence flags
- Chosen model meets recall target with lower measured index bytes and latency
Explanation
Correct Answer
C:Photo invoices yield verifiable extracted values and low-confidence flags. This specifically validates the remediation to Choose vision-capable processing or OCR extraction before text model use for the failure that A text-only model receives file paths and hallucinates visual values. Input modality support is a prerequisite for accurate task execution. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Evaluation report shows balanced recall and cost on held-out questions” is associated with this technical property: Chunking is an empirical quality-cost decision rather than a universal fixed size. The question instead turns on “Photo invoices yield verifiable extracted values and low-confidence flags”: Input modality support is a prerequisite for accurate task execution.
B:“Multi-clause test cases detect missing mandatory steps and trigger remediation” is associated with this technical property: A response that merely looks fluent or a successful configuration save would not be sufficient evidence. The question instead turns on “Photo invoices yield verifiable extracted values and low-confidence flags”: Input modality support is a prerequisite for accurate task execution.
D:“Chosen model meets recall target with lower measured index bytes and latency” is associated with this technical property: Larger embedding dimension increases storage and index work without universal quality improvement. The question instead turns on “Photo invoices yield verifiable extracted values and low-confidence flags”: Input modality support is a prerequisite for accurate task execution.
Question 490
An engineering review considers a safeguard for this situation: An attacker tries to set a SQL tool parameter to another tenant's identifier. The proposed action is: Validate and bind tenant scope server-side for every tool call. Which observed failure most strongly justifies that action?
- Raw prompt logging includes unneeded national identifiers in long-retention tables
- Experiment logging retains raw examples indefinitely with broad access
- Developers assume technical download access means commercial redistribution permission
- The tool runs with broad service privileges despite natural-language tenancy claim
Explanation
Correct Answer
D:The tool runs with broad service privileges despite natural-language tenancy claim. This observation motivates the specific control to Validate and bind tenant scope server-side for every tool call. Model-generated arguments are not an authorization boundary. The follow-up evidence would be: Cross-tenant input is denied at execution even if prompt asks for it. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Raw prompt logging includes unneeded national identifiers in long-retention tables” is associated with this technical property: This observation motivates the specific control to Choose supported masking/redaction or logging minimization before persisted telemetry. The question instead turns on “The tool runs with broad service privileges despite natural-language tenancy claim”: This observation motivates the specific control to Validate and bind tenant scope server-side for every tool call.
B:“Experiment logging retains raw examples indefinitely with broad access” is associated with this technical property: This observation motivates the specific control to Apply retention, redaction and deletion rules to evaluation artifacts. The question instead turns on “The tool runs with broad service privileges despite natural-language tenancy claim”: This observation motivates the specific control to Validate and bind tenant scope server-side for every tool call.
C:“Developers assume technical download access means commercial redistribution permission” is associated with this technical property: This observation motivates the specific control to Check data provenance, license terms and documented permissible uses before training. The question instead turns on “The tool runs with broad service privileges despite natural-language tenancy claim”: This observation motivates the specific control to Validate and bind tenant scope server-side for every tool call.