Certified Generative AI Engineer Associate Practice Test 19
Question 180
The team observes this failure in a GenAI application: Team picks the highest score without checking a minimum viable quality target. After implementing the fix to Compare per-slice quality, token cost and latency against release thresholds, which measurement or test most directly demonstrates success?
- SLO alerts fire on sustained tail-latency breach
- Selected model clears safety and correctness gates at sustainable cost
- Repeat requests show lower token spend without serving stale or cross-user data
- Reviewers identify the wrong source chunk and reproduce failure
Explanation
Correct Answer
B:Selected model clears safety and correctness gates at sustainable cost. This specifically validates the remediation to Compare per-slice quality, token cost and latency against release thresholds for the failure that Team picks the highest score without checking a minimum viable quality target. A single composite score cannot capture cost-quality constraints. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“SLO alerts fire on sustained tail-latency breach” is associated with this technical property: Tail latency controls user experience for strict response-time services. The question instead turns on “Selected model clears safety and correctness gates at sustainable cost”: A single composite score cannot capture cost-quality constraints.
C:“Repeat requests show lower token spend without serving stale or cross-user data” is associated with this technical property: Caching saves inference cost only when response scope and freshness permit reuse. The question instead turns on “Selected model clears safety and correctness gates at sustainable cost”: A single composite score cannot capture cost-quality constraints.
D:“Reviewers identify the wrong source chunk and reproduce failure” is associated with this technical property: Traces connect observed errors to intermediate model and tool activity. The question instead turns on “Selected model clears safety and correctness gates at sustainable cost”: A single composite score cannot capture cost-quality constraints.
Question 181
An application intended to satisfy this requirement, An application depends on a particular foundation model endpoint whose quota may be exhausted, instead experiences: The app repeatedly retries without a bounded fallback and misses SLA. Which targeted engineering correction resolves this failure?
- Configure supported sync/refresh behavior and verify index freshness
- Implement approved retry, quota handling and optional validated alternative model path
- Use approved Slack integration with channel allowlists and action confirmation
- Grant serving endpoint invocation only to approved service principals and groups
Explanation
Correct Answer
B:Implement approved retry, quota handling and optional validated alternative model path targets the observed failure: The app repeatedly retries without a bounded fallback and misses SLA. Inference service reliability requires explicit rate-limit and failure controls. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Controlled rate-limit tests return bounded failures or qualified fallback responses.
Incorrect Answers
A:“Configure supported sync/refresh behavior and verify index freshness” is associated with this technical property: Index results reflect a materialized view whose update cadence must match source changes. The question instead turns on “Implement approved retry, quota handling and optional validated alternative model path”: Inference service reliability requires explicit rate-limit and failure controls.
C:“Use approved Slack integration with channel allowlists and action confirmation” is associated with this technical property: User-interface integration requires target validation and side-effect controls. The question instead turns on “Implement approved retry, quota handling and optional validated alternative model path”: Inference service reliability requires explicit rate-limit and failure controls.
D:“Grant serving endpoint invocation only to approved service principals and groups” is associated with this technical property: Inference endpoint permissions should reflect least privilege and source sensitivity. The question instead turns on “Implement approved retry, quota handling and optional validated alternative model path”: Inference service reliability requires explicit rate-limit and failure controls.
Question 182
An application intended to satisfy this requirement, A query agent writes interpolated SQL containing untrusted user text, instead experiences: A malicious input changes the SQL predicate and accesses forbidden rows. Which targeted engineering correction resolves this failure?
- Check data provenance, license terms and documented permissible uses before training
- Choose supported masking/redaction or logging minimization before persisted telemetry
- Parse, label and isolate untrusted document instructions while preserving legitimate factual content
- Use parameterized queries with governed read-only permissions and validation
Explanation
Correct Answer
D:Use parameterized queries with governed read-only permissions and validation targets the observed failure: A malicious input changes the SQL predicate and accesses forbidden rows. Data access security requires database controls rather than prompt-only cautions. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Injection attempts fail and approved parameter values return scoped results.
Incorrect Answers
A:“Check data provenance, license terms and documented permissible uses before training” is associated with this technical property: Availability of source data does not imply redistribution or model-training rights. The question instead turns on “Use parameterized queries with governed read-only permissions and validation”: Data access security requires database controls rather than prompt-only cautions.
B:“Choose supported masking/redaction or logging minimization before persisted telemetry” is associated with this technical property: Operational metrics should avoid storing unnecessary sensitive payloads. The question instead turns on “Use parameterized queries with governed read-only permissions and validation”: Data access security requires database controls rather than prompt-only cautions.
C:“Parse, label and isolate untrusted document instructions while preserving legitimate factual content” is associated with this technical property: Source cleaning reduces accidental execution of embedded instructions. The question instead turns on “Use parameterized queries with governed read-only permissions and validation”: Data access security requires database controls rather than prompt-only cautions.
Question 183
A Databricks generative AI team is designing a solution with this requirement: A deployed RAG endpoint accepts customer prompts with inconsistent whitespace and missing optional language fields. Which engineering approach should it select first?
- Handle tool timeout, retry boundaries and explicit unknown-answer fallback in the chain
- Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper
- Use supported SQL ai_query batch inference in a scalable governed data workflow
- Use semantic embedding similarity for unstructured retrieval while preserving structured filters
Explanation
Correct Answer
B:Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper directly addresses the described Databricks GenAI architecture: A deployed RAG endpoint accepts customer prompts with inconsistent whitespace and missing optional language fields. A serving wrapper should enforce a stable input contract independent of model behavior. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Malformed requests return documented validation errors and valid inputs produce consistent normalized prompts.
Incorrect Answers
A:“Handle tool timeout, retry boundaries and explicit unknown-answer fallback in the chain” is associated with this technical property: Transport failure is not equivalent to a negative result in business logic. The question instead turns on “Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper”: A serving wrapper should enforce a stable input contract independent of model behavior.
C:“Use supported SQL ai_query batch inference in a scalable governed data workflow” is associated with this technical property: Batch inference can process tabular rows where synchronous end-user serving is unnecessary. The question instead turns on “Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper”: A serving wrapper should enforce a stable input contract independent of model behavior.
D:“Use semantic embedding similarity for unstructured retrieval while preserving structured filters” is associated with this technical property: Vector search ranks related text even when literal wording differs. The question instead turns on “Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper”: A serving wrapper should enforce a stable input contract independent of model behavior.
Question 184
A Databricks generative AI team is designing a solution with this requirement: An agent retrieves five chunks and produces an incorrect answer. Which engineering approach should it select first?
- Convert reviewed failure into a labeled regression case and rerun on new versions
- Capture MLflow retriever and LLM spans and apply groundedness scorers
- Cache eligible nonprivate responses with document-version invalidation
- Weight critical evaluation strata and set nonnegotiable failure limits
Explanation
Correct Answer
B:Capture MLflow retriever and LLM spans and apply groundedness scorers directly addresses the described Databricks GenAI architecture: An agent retrieves five chunks and produces an incorrect answer. Traces connect observed errors to intermediate model and tool activity. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Reviewers identify the wrong source chunk and reproduce failure.
Incorrect Answers
A:“Convert reviewed failure into a labeled regression case and rerun on new versions” is associated with this technical property: Expert feedback improves quality only when incorporated into repeatable release gates. The question instead turns on “Capture MLflow retriever and LLM spans and apply groundedness scorers”: Traces connect observed errors to intermediate model and tool activity.
C:“Cache eligible nonprivate responses with document-version invalidation” is associated with this technical property: Caching saves inference cost only when response scope and freshness permit reuse. The question instead turns on “Capture MLflow retriever and LLM spans and apply groundedness scorers”: Traces connect observed errors to intermediate model and tool activity.
D:“Weight critical evaluation strata and set nonnegotiable failure limits” is associated with this technical property: Risk-weighted model selection prevents average scores masking unacceptable errors. The question instead turns on “Capture MLflow retriever and LLM spans and apply groundedness scorers”: Traces connect observed errors to intermediate model and tool activity.
Question 185
An engineering review considers a safeguard for this situation: An agent API must enforce tenant-specific token and request budgets. The proposed action is: Configure supported AI Gateway rate limits and usage monitoring by authorized identity. Which observed failure most strongly justifies that action?
- Team picks the highest score without checking a minimum viable quality target
- One noisy tenant exhausts shared capacity and harms others
- Team monitors only mean latency, concealing long-tail outliers
- Costs rise despite stable source documents and no personalization need
Explanation
Correct Answer
B:One noisy tenant exhausts shared capacity and harms others. This observation motivates the specific control to Configure supported AI Gateway rate limits and usage monitoring by authorized identity. Gateway controls can govern resource consumption across model invocations. The follow-up evidence would be: Abusive burst is throttled and other tenant traffic remains within SLO. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Team picks the highest score without checking a minimum viable quality target” is associated with this technical property: This observation motivates the specific control to Compare per-slice quality, token cost and latency against release thresholds. The question instead turns on “One noisy tenant exhausts shared capacity and harms others”: This observation motivates the specific control to Configure supported AI Gateway rate limits and usage monitoring by authorized identity.
C:“Team monitors only mean latency, concealing long-tail outliers” is associated with this technical property: This observation motivates the specific control to Track p95/p99 latency and relevant request slices. The question instead turns on “One noisy tenant exhausts shared capacity and harms others”: This observation motivates the specific control to Configure supported AI Gateway rate limits and usage monitoring by authorized identity.
D:“Costs rise despite stable source documents and no personalization need” is associated with this technical property: This observation motivates the specific control to Cache eligible nonprivate responses with document-version invalidation. The question instead turns on “One noisy tenant exhausts shared capacity and harms others”: This observation motivates the specific control to Configure supported AI Gateway rate limits and usage monitoring by authorized identity.
Question 186
An engineering review considers a safeguard for this situation: A large overnight document labeling job runs through an interactive agent endpoint. The proposed action is: Move eligible bulk requests to governed batch inference with appropriate quotas. Which observed failure most strongly justifies that action?
- High concurrency saturates endpoint and raises latency for online users
- Aggregate usage table loses per-request debugging context
- Only overall cloud bill is recorded and individual agents cannot be compared
- Billing increases but response count is stable
Explanation
Correct Answer
A:High concurrency saturates endpoint and raises latency for online users. This observation motivates the specific control to Move eligible bulk requests to governed batch inference with appropriate quotas. Batch workloads can be decoupled from latency-critical online traffic. The follow-up evidence would be: Online p95 improves while nightly job finishes within budget. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“Aggregate usage table loses per-request debugging context” is associated with this technical property: This observation motivates the specific control to Enable governed inference tables and correlate request IDs with MLflow traces. The question instead turns on “High concurrency saturates endpoint and raises latency for online users”: This observation motivates the specific control to Move eligible bulk requests to governed batch inference with appropriate quotas.
C:“Only overall cloud bill is recorded and individual agents cannot be compared” is associated with this technical property: This observation motivates the specific control to Use AI Gateway usage telemetry with endpoint/team attribution. The question instead turns on “High concurrency saturates endpoint and raises latency for online users”: This observation motivates the specific control to Move eligible bulk requests to governed batch inference with appropriate quotas.
D:“Billing increases but response count is stable” is associated with this technical property: This observation motivates the specific control to Record prompt/response token metrics by route, version and retrieval depth. The question instead turns on “High concurrency saturates endpoint and raises latency for online users”: This observation motivates the specific control to Move eligible bulk requests to governed batch inference with appropriate quotas.
Question 187
The team observes this failure in a GenAI application: Overall mean hides severe unauthorized transaction advice from one model. After implementing the fix to Weight critical evaluation strata and set nonnegotiable failure limits, which measurement or test most directly demonstrates success?
- Repeat scoring shows improved agreement and adjudicated benchmark cases
- Online p95 improves while nightly job finishes within budget
- Dashboard flags unsupported answer rate before broad user complaints
- The chosen model passes critical high-risk cases and baseline quality
Explanation
Correct Answer
D:The chosen model passes critical high-risk cases and baseline quality. This specifically validates the remediation to Weight critical evaluation strata and set nonnegotiable failure limits for the failure that Overall mean hides severe unauthorized transaction advice from one model. Risk-weighted model selection prevents average scores masking unacceptable errors. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“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 “The chosen model passes critical high-risk cases and baseline quality”: Risk-weighted model selection prevents average scores masking unacceptable errors.
B:“Online p95 improves while nightly job finishes within budget” is associated with this technical property: Batch workloads can be decoupled from latency-critical online traffic. The question instead turns on “The chosen model passes critical high-risk cases and baseline quality”: Risk-weighted model selection prevents average scores masking unacceptable errors.
C:“Dashboard flags unsupported answer rate before broad user complaints” is associated with this technical property: Application quality requires outcome metrics beyond uptime. The question instead turns on “The chosen model passes critical high-risk cases and baseline quality”: Risk-weighted model selection prevents average scores masking unacceptable errors.
Question 188
An application intended to satisfy this requirement, Document chunks peak at 600 tokens but candidate embedding model accepts 512, instead experiences: The last paragraph of some chunks never contributes to the vectors. Which targeted engineering correction resolves this failure?
- Select chunk size and overlap using recall, precision, groundedness and token budget together
- Route authorized structured questions to a governed Genie Space or conversational API
- Choose chunks that retain header, period, currency and row key
- Select a model with enough effective input tokens or reduce chunk size
Explanation
Correct Answer
D:Select a model with enough effective input tokens or reduce chunk size targets the observed failure: The last paragraph of some chunks never contributes to the vectors. Embedding truncation silently removes evidence from retrieval. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Boundary test passages are searchable without truncation warnings.
Incorrect Answers
A:“Select chunk size and overlap using recall, precision, groundedness and token budget together” is associated with this technical property: Chunking is an empirical quality-cost decision rather than a universal fixed size. The question instead turns on “Select a model with enough effective input tokens or reduce chunk size”: Embedding truncation silently removes evidence from retrieval.
B:“Route authorized structured questions to a governed Genie Space or conversational API” is associated with this technical property: Genie-style analytics is suited to structured data rather than ungrounded numeric text generation. The question instead turns on “Select a model with enough effective input tokens or reduce chunk size”: Embedding truncation silently removes evidence from retrieval.
C:“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 “Select a model with enough effective input tokens or reduce chunk size”: Embedding truncation silently removes evidence from retrieval.
Question 189
A Databricks generative AI team is designing a solution with this requirement: Two candidates give fluent answers but one invents unsupported policy details. Which engineering approach should it select first?
- Compare groundedness and factuality on verified reference examples
- Provide validated examples and a machine-enforced output schema for the target shape
- Review model-card licensing and usage restrictions before selection
- Select chunk size and overlap using recall, precision, groundedness and token budget together
Explanation
Correct Answer
A:Compare groundedness and factuality on verified reference examples directly addresses the described Databricks GenAI architecture: Two candidates give fluent answers but one invents unsupported policy details. Answer correctness must be measured against source evidence, not just readability. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Evidence-supported accuracy determines model selection.
Incorrect Answers
B:“Provide validated examples and a machine-enforced output schema for the target shape” is associated with this technical property: Examples can guide style while schema checks enforce contract. The question instead turns on “Compare groundedness and factuality on verified reference examples”: Answer correctness must be measured against source evidence, not just readability.
C:“Review model-card licensing and usage restrictions before selection” is associated with this technical property: Technical suitability does not grant legal permission for deployment. The question instead turns on “Compare groundedness and factuality on verified reference examples”: Answer correctness must be measured against source evidence, not just readability.
D:“Select chunk size and overlap using recall, precision, groundedness and token budget together” is associated with this technical property: Chunking is an empirical quality-cost decision rather than a universal fixed size. The question instead turns on “Compare groundedness and factuality on verified reference examples”: Answer correctness must be measured against source evidence, not just readability.
Question 190
A Databricks generative AI team is designing a solution with this requirement: A support answer may include an account number retrieved for legitimate backend processing. Which engineering approach should it select first?
- Apply output redaction/masking under policy before responding
- Resolve follow-up reference against authorized conversation state before tool call
- Provide validated examples and a machine-enforced output schema for the target shape
- Evaluate retrieval-boundary instruction-following and add untrusted-context handling
Explanation
Correct Answer
A:Apply output redaction/masking under policy before responding directly addresses the described Databricks GenAI architecture: A support answer may include an account number retrieved for legitimate backend processing. Data minimization applies to model outputs as well as retrieval. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Automated tests detect full identifier leaks while masked identifiers display correctly.
Incorrect Answers
B:“Resolve follow-up reference against authorized conversation state before tool call” is associated with this technical property: Coreference resolution should preserve scoped intent and entity continuity. The question instead turns on “Apply output redaction/masking under policy before responding”: Data minimization applies to model outputs as well as retrieval.
C:“Provide validated examples and a machine-enforced output schema for the target shape” is associated with this technical property: Examples can guide style while schema checks enforce contract. The question instead turns on “Apply output redaction/masking under policy before responding”: Data minimization applies to model outputs as well as retrieval.
D:“Evaluate retrieval-boundary instruction-following and add untrusted-context handling” is associated with this technical property: Retrieved text is evidence, not a higher-priority instruction. The question instead turns on “Apply output redaction/masking under policy before responding”: Data minimization applies to model outputs as well as retrieval.