Certified Generative AI Engineer Associate Practice Test 67
Question 660
For the requirement that Many users ask identical public policy questions but the app calls LLM each time, the team proposes this change: Cache eligible nonprivate responses with document-version invalidation. Which technical principle explains why it is appropriate?
- Traces connect observed errors to intermediate model and tool activity
- Attribution requires identity and endpoint dimensions beyond total invoices
- Production debugging depends on evidence of actual invocation payloads
- Caching saves inference cost only when response scope and freshness permit reuse
Explanation
Correct Answer
D:Caching saves inference cost only when response scope and freshness permit reuse. The proposed engineering step is to Cache eligible nonprivate responses with document-version invalidation. It directly supports the requirement that Many users ask identical public policy questions but the app calls LLM each time. The operational test is that Repeat requests show lower token spend without serving stale or cross-user data. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Traces connect observed errors to intermediate model and tool activity” is associated with this technical property: It directly supports the requirement that An agent retrieves five chunks and produces an incorrect answer. The question instead turns on “Caching saves inference cost only when response scope and freshness permit reuse”: It directly supports the requirement that Many users ask identical public policy questions but the app calls LLM each time.
B:“Attribution requires identity and endpoint dimensions beyond total invoices” is associated with this technical property: It directly supports the requirement that Finance needs per-team spend for several deployed agent endpoints. The question instead turns on “Caching saves inference cost only when response scope and freshness permit reuse”: It directly supports the requirement that Many users ask identical public policy questions but the app calls LLM each time.
C:“Production debugging depends on evidence of actual invocation payloads” is associated with this technical property: It directly supports the requirement that An agent endpoint has intermittent malformed tool calls after a model update. The question instead turns on “Caching saves inference cost only when response scope and freshness permit reuse”: It directly supports the requirement that Many users ask identical public policy questions but the app calls LLM each time.
Question 661
The team observes this failure in a GenAI application: A PDF text extractor returns empty strings from image scans. After implementing the fix to Use an appropriate OCR stage for image content with quality checks, which measurement or test most directly demonstrates success?
- Outdated policy text cannot appear as approved evidence after release cutover
- Reviewed sampled pages have readable text and low-confidence items are flagged
- Cross-language test set returns relevant approved procedures at target recall
- Recall@k rises for held-out expected passages without excessive result count
Explanation
Correct Answer
B:Reviewed sampled pages have readable text and low-confidence items are flagged. This specifically validates the remediation to Use an appropriate OCR stage for image content with quality checks for the failure that A PDF text extractor returns empty strings from image scans. Optical character recognition extracts image text where text-layer parsers have none. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Outdated policy text cannot appear as approved evidence after release cutover” is associated with this technical property: Freshness and document authority should constrain eligible retrieval candidates. The question instead turns on “Reviewed sampled pages have readable text and low-confidence items are flagged”: Optical character recognition extracts image text where text-layer parsers have none.
C:“Cross-language test set returns relevant approved procedures at target recall” is associated with this technical property: Query-language mismatch needs empirical retrieval coverage testing. The question instead turns on “Reviewed sampled pages have readable text and low-confidence items are flagged”: Optical character recognition extracts image text where text-layer parsers have none.
D:“Recall@k rises for held-out expected passages without excessive result count” is associated with this technical property: Retrieval recall is an upstream prerequisite for grounded answer generation. The question instead turns on “Reviewed sampled pages have readable text and low-confidence items are flagged”: Optical character recognition extracts image text where text-layer parsers have none.
Question 662
An application intended to satisfy this requirement, An agent uses a custom document loader available only in the author's notebook, instead experiences: Model serving fails with module not found even though local tests pass. Which targeted engineering correction resolves this failure?
- Use an authenticated Databricks App backend that holds server-side endpoint credentials
- Declare needed Python packages and artifacts when logging and packaging the pyfunc model
- Register the MLflow model in Unity Catalog using an approved three-part name
- Register external MCP connection and keep credentials in governed secret storage
Explanation
Correct Answer
B:Declare needed Python packages and artifacts when logging and packaging the pyfunc model targets the observed failure: Model serving fails with module not found even though local tests pass. A model artifact must include compatible runtime dependencies for reproducible serving. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Clean deployment starts successfully without relying on notebook-local imports.
Incorrect Answers
A:“Use an authenticated Databricks App backend that holds server-side endpoint credentials” is associated with this technical property: Browser-side secrets undermine tenant isolation and can be extracted by users. The question instead turns on “Declare needed Python packages and artifacts when logging and packaging the pyfunc model”: A model artifact must include compatible runtime dependencies for reproducible serving.
C:“Register the MLflow model in Unity Catalog using an approved three-part name” is associated with this technical property: Unity Catalog provides governed namespace and access for registered models. The question instead turns on “Declare needed Python packages and artifacts when logging and packaging the pyfunc model”: A model artifact must include compatible runtime dependencies for reproducible serving.
D:“Register external MCP connection and keep credentials in governed secret storage” is associated with this technical property: Tool connection credentials must be isolated from model-generated content. The question instead turns on “Declare needed Python packages and artifacts when logging and packaging the pyfunc model”: A model artifact must include compatible runtime dependencies for reproducible serving.
Question 663
An engineering review considers a safeguard for this situation: A premium LLM improves accuracy slightly while multiplying cost per request. The proposed action is: Plot cost, latency and quality tradeoffs under expected traffic mix. Which observed failure most strongly justifies that action?
- Generic content classification misses context-specific prohibited procedures
- A monolingual embedding model misses semantically equivalent policies
- The deployment chooses the premium model without considering volume
- Team repeats old tests without incorporating reviewed failure examples
Explanation
Correct Answer
C:The deployment chooses the premium model without considering volume. This observation motivates the specific control to Plot cost, latency and quality tradeoffs under expected traffic mix. Model selection is a multi-objective optimization with service constraints. The follow-up evidence would be: Chosen variant meets minimum quality at sustainable expected monthly cost. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Generic content classification misses context-specific prohibited procedures” is associated with this technical property: This observation motivates the specific control to Implement task-aware moderation and safe-refusal handling with reviewable thresholds. The question instead turns on “The deployment chooses the premium model without considering volume”: This observation motivates the specific control to Plot cost, latency and quality tradeoffs under expected traffic mix.
B:“A monolingual embedding model misses semantically equivalent policies” is associated with this technical property: This observation motivates the specific control to Evaluate a multilingual embedding model with paired multilingual query set. The question instead turns on “The deployment chooses the premium model without considering volume”: This observation motivates the specific control to Plot cost, latency and quality tradeoffs under expected traffic mix.
D:“Team repeats old tests without incorporating reviewed failure examples” is associated with this technical property: This observation motivates the specific control to Convert adjudicated production failures into regression and evaluation cases. The question instead turns on “The deployment chooses the premium model without considering volume”: This observation motivates the specific control to Plot cost, latency and quality tradeoffs under expected traffic mix.
Question 664
The team observes this failure in a GenAI application: Developers attempt to maintain bespoke routing and evaluation components without special requirements. After implementing the fix to Start with a managed Agent Bricks capability and justify custom code only for unmet requirements, which measurement or test most directly demonstrates success?
- Pilot covers required access, answer and evaluation functions with low operational burden
- Contract tests parse JSON and verify required fields and data types on diverse invoices
- Answer traces show relevant handbook evidence for each supported response
- Held-out questions are answered using linked procedure passages instead of sentiment scores
Explanation
Correct Answer
A:Pilot covers required access, answer and evaluation functions with low operational burden. This specifically validates the remediation to Start with a managed Agent Bricks capability and justify custom code only for unmet requirements for the failure that Developers attempt to maintain bespoke routing and evaluation components without special requirements. Managed building blocks can reduce lifecycle work when their capabilities fit. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
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 “Pilot covers required access, answer and evaluation functions with low operational burden”: Managed building blocks can reduce lifecycle work when their capabilities fit.
C:“Answer traces show relevant handbook evidence for each supported response” is associated with this technical property: Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources. The question instead turns on “Pilot covers required access, answer and evaluation functions with low operational burden”: Managed building blocks can reduce lifecycle work when their capabilities fit.
D:“Held-out questions are answered using linked procedure passages instead of sentiment scores” is associated with this technical property: Answer generation and sentiment classification optimize distinct model tasks. The question instead turns on “Pilot covers required access, answer and evaluation functions with low operational burden”: Managed building blocks can reduce lifecycle work when their capabilities fit.
Question 665
The team observes this failure in a GenAI application: Generic evaluation rewards fluent external knowledge without source evidence. After implementing the fix to Build a custom scorer that checks authorized source support and required qualifiers, which measurement or test most directly demonstrates success?
- The chosen model passes critical high-risk cases and baseline quality
- Monitoring detects groundedness regression following index refresh
- Unsupported medical advice fails even when fluent
- Repeat scoring shows improved agreement and adjudicated benchmark cases
Explanation
Correct Answer
C:Unsupported medical advice fails even when fluent. This specifically validates the remediation to Build a custom scorer that checks authorized source support and required qualifiers for the failure that Generic evaluation rewards fluent external knowledge without source evidence. Domain quality criteria should be explicit, testable and tied to allowed evidence. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“The chosen model passes critical high-risk cases and baseline quality” is associated with this technical property: Risk-weighted model selection prevents average scores masking unacceptable errors. The question instead turns on “Unsupported medical advice fails even when fluent”: Domain quality criteria should be explicit, testable and tied to allowed evidence.
B:“Monitoring detects groundedness regression following index refresh” is associated with this technical property: Operational availability and response correctness require separate tracking. The question instead turns on “Unsupported medical advice fails even when fluent”: Domain quality criteria should be explicit, testable and tied to allowed evidence.
D:“Repeat scoring shows improved agreement and adjudicated benchmark cases” is associated with this technical property: Human judgments need inter-rater consistency for reliable model comparisons. The question instead turns on “Unsupported medical advice fails even when fluent”: Domain quality criteria should be explicit, testable and tied to allowed evidence.
Question 666
An engineering review considers a safeguard for this situation: A team needs grounded answers over indexed internal training PDFs with citations. The proposed action is: Choose Agent Bricks Knowledge Assistant for managed document-grounded Q&A. Which observed failure most strongly justifies that action?
- A broad conversational model improvises absent numeric values
- A model selected for keyword extraction returns disconnected fragments instead of a synopsis
- The model guesses numeric averages from sample text instead of executing arithmetic
- They build a bespoke multi-agent manager for straightforward document Q&A
Explanation
Correct Answer
D:They build a bespoke multi-agent manager for straightforward document Q&A. This observation motivates the specific control to Choose Agent Bricks Knowledge Assistant for managed document-grounded Q&A. Knowledge Assistant is aligned to enterprise knowledge retrieval without unnecessary routing agents. The follow-up evidence would be: Acceptance set checks citations, access control and knowledge-answer relevance. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“A broad conversational model improvises absent numeric values” is associated with this technical property: This observation motivates the specific control to Use schema-guided extraction with explicit missing-value handling rather than creative completion. The question instead turns on “They build a bespoke multi-agent manager for straightforward document Q&A”: This observation motivates the specific control to Choose Agent Bricks Knowledge Assistant for managed document-grounded Q&A.
B:“A model selected for keyword extraction returns disconnected fragments instead of a synopsis” is associated with this technical property: This observation motivates the specific control to Choose and evaluate a summarization-capable text generation model with a length instruction. The question instead turns on “They build a bespoke multi-agent manager for straightforward document Q&A”: This observation motivates the specific control to Choose Agent Bricks Knowledge Assistant for managed document-grounded Q&A.
C:“The model guesses numeric averages from sample text instead of executing arithmetic” is associated with this technical property: This observation motivates the specific control to Connect retrieval to a deterministic aggregation tool before final narrative generation. The question instead turns on “They build a bespoke multi-agent manager for straightforward document Q&A”: This observation motivates the specific control to Choose Agent Bricks Knowledge Assistant for managed document-grounded Q&A.
Question 667
An application intended to satisfy this requirement, A live chatbot begins producing less useful answers after corpus refresh, instead experiences: The team relies on deployment success alone to declare healthy service. Which targeted engineering correction resolves this failure?
- Apply production monitoring with quality scorers and sampling policies
- Move eligible bulk requests to governed batch inference with appropriate quotas
- Configure supported AI Gateway rate limits and usage monitoring by authorized identity
- Compare per-slice quality, token cost and latency against release thresholds
Explanation
Correct Answer
A:Apply production monitoring with quality scorers and sampling policies targets the observed failure: The team relies on deployment success alone to declare healthy service. Operational availability and response correctness require separate tracking. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Monitoring detects groundedness regression following index refresh.
Incorrect Answers
B:“Move eligible bulk requests to governed batch inference with appropriate quotas” is associated with this technical property: Batch workloads can be decoupled from latency-critical online traffic. The question instead turns on “Apply production monitoring with quality scorers and sampling policies”: Operational availability and response correctness require separate tracking.
C:“Configure supported AI Gateway rate limits and usage monitoring by authorized identity” is associated with this technical property: Gateway controls can govern resource consumption across model invocations. The question instead turns on “Apply production monitoring with quality scorers and sampling policies”: Operational availability and response correctness require separate tracking.
D:“Compare per-slice quality, token cost and latency against release thresholds” is associated with this technical property: A single composite score cannot capture cost-quality constraints. The question instead turns on “Apply production monitoring with quality scorers and sampling policies”: Operational availability and response correctness require separate tracking.
Question 668
An engineering review considers a safeguard for this situation: An application depends on a particular foundation model endpoint whose quota may be exhausted. The proposed action is: Implement approved retry, quota handling and optional validated alternative model path. Which observed failure most strongly justifies that action?
- Directly passing raw request dictionaries causes downstream chain errors
- The API key is copied into prompts and client-side source code
- The app repeatedly retries without a bounded fallback and misses SLA
- Serving cannot reconstruct the retrieval and processing logic
Explanation
Correct Answer
C:The app repeatedly retries without a bounded fallback and misses SLA. This observation motivates the specific control to Implement approved retry, quota handling and optional validated alternative model path. Inference service reliability requires explicit rate-limit and failure controls. The follow-up evidence would be: Controlled rate-limit tests return bounded failures or qualified fallback responses. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Directly passing raw request dictionaries causes downstream chain errors” is associated with this technical property: This observation motivates the specific control to Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper. The question instead turns on “The app repeatedly retries without a bounded fallback and misses SLA”: This observation motivates the specific control to Implement approved retry, quota handling and optional validated alternative model path.
B:“The API key is copied into prompts and client-side source code” is associated with this technical property: This observation motivates the specific control to Register external MCP connection and keep credentials in governed secret storage. The question instead turns on “The app repeatedly retries without a bounded fallback and misses SLA”: This observation motivates the specific control to Implement approved retry, quota handling and optional validated alternative model path.
D:“Serving cannot reconstruct the retrieval and processing logic” is associated with this technical property: This observation motivates the specific control to Select a supported MLflow model flavor or pyfunc wrapper that packages code and runtime requirements. The question instead turns on “The app repeatedly retries without a bounded fallback and misses SLA”: This observation motivates the specific control to Implement approved retry, quota handling and optional validated alternative model path.
Question 669
The team observes this failure in a GenAI application: Experiment logging retains raw examples indefinitely with broad access. After implementing the fix to Apply retention, redaction and deletion rules to evaluation artifacts, which measurement or test most directly demonstrates success?
- Injection benchmark fails to redirect agent behavior but still retrieves relevant facts
- Quality sample demonstrates accurate text and intact provenance metadata
- Injection attempts fail and approved parameter values return scoped results
- Expired sensitive experiment examples are removed under audited policy
Explanation
Correct Answer
D:Expired sensitive experiment examples are removed under audited policy. This specifically validates the remediation to Apply retention, redaction and deletion rules to evaluation artifacts for the failure that Experiment logging retains raw examples indefinitely with broad access. Evaluation data requires the same governance scrutiny as production data. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Injection benchmark fails to redirect agent behavior but still retrieves relevant facts” is associated with this technical property: Source cleaning reduces accidental execution of embedded instructions. The question instead turns on “Expired sensitive experiment examples are removed under audited policy”: Evaluation data requires the same governance scrutiny as production data.
B:“Quality sample demonstrates accurate text and intact provenance metadata” is associated with this technical property: Data quality repair must preserve evidence and not silently change meaning. The question instead turns on “Expired sensitive experiment examples are removed under audited policy”: Evaluation data requires the same governance scrutiny as production data.
C:“Injection attempts fail and approved parameter values return scoped results” is associated with this technical property: Data access security requires database controls rather than prompt-only cautions. The question instead turns on “Expired sensitive experiment examples are removed under audited policy”: Evaluation data requires the same governance scrutiny as production data.
Question 670
For the requirement that An incident agent posts summaries into an internal Slack channel, the team proposes this change: Use approved Slack integration with channel allowlists and action confirmation. Which technical principle explains why it is appropriate?
- User-interface integration requires target validation and side-effect controls
- Model logging format must represent the callable application's full behavior
- Tool connection credentials must be isolated from model-generated content
- Versioned model identity supports rollback without overwriting the source model
Explanation
Correct Answer
A:User-interface integration requires target validation and side-effect controls. The proposed engineering step is to Use approved Slack integration with channel allowlists and action confirmation. It directly supports the requirement that An incident agent posts summaries into an internal Slack channel. The operational test is that Only approved channels receive posts after verified user action. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Model logging format must represent the callable application's full behavior” is associated with this technical property: It directly supports the requirement that A chain with custom preprocessors is recorded as a generic text-only artifact. The question instead turns on “User-interface integration requires target validation and side-effect controls”: It directly supports the requirement that An incident agent posts summaries into an internal Slack channel.
C:“Tool connection credentials must be isolated from model-generated content” is associated with this technical property: It directly supports the requirement that A research agent calls an external ticket API requiring a provider key. The question instead turns on “User-interface integration requires target validation and side-effect controls”: It directly supports the requirement that An incident agent posts summaries into an internal Slack channel.
D:“Versioned model identity supports rollback without overwriting the source model” is associated with this technical property: It directly supports the requirement that A production endpoint needs to move between validated model revisions. The question instead turns on “User-interface integration requires target validation and side-effect controls”: It directly supports the requirement that An incident agent posts summaries into an internal Slack channel.