Certified Generative AI Engineer Associate Practice Test 78
Question 770
For the requirement that A maintenance assistant must retrieve failure records then compute average downtime, the team proposes this change: Connect retrieval to a deterministic aggregation tool before final narrative generation. Which technical principle explains why it is appropriate?
- Tool ordering matters when facts are volatile and cannot be inferred safely
- Deterministic computation should handle precise arithmetic while an LLM explains the result
- Closed-set classification needs a constrained output vocabulary not merely a generic topic summary
- State-changing operations require authorization gates distinct from read-only retrieval
Explanation
Correct Answer
B:Deterministic computation should handle precise arithmetic while an LLM explains the result. The proposed engineering step is to Connect retrieval to a deterministic aggregation tool before final narrative generation. It directly supports the requirement that A maintenance assistant must retrieve failure records then compute average downtime. The operational test is that Recomputed averages match source event durations and generated prose. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Tool ordering matters when facts are volatile and cannot be inferred safely” is associated with this technical property: It directly supports the requirement that An order-status agent must check current shipment events before writing a reply. The question instead turns on “Deterministic computation should handle precise arithmetic while an LLM explains the result”: It directly supports the requirement that A maintenance assistant must retrieve failure records then compute average downtime.
C:“Closed-set classification needs a constrained output vocabulary not merely a generic topic summary” is associated with this technical property: It directly supports the requirement that The support router must classify tickets into one of four named categories. The question instead turns on “Deterministic computation should handle precise arithmetic while an LLM explains the result”: It directly supports the requirement that A maintenance assistant must retrieve failure records then compute average downtime.
D:“State-changing operations require authorization gates distinct from read-only retrieval” is associated with this technical property: It directly supports the requirement that An expense agent can draft reimbursement requests but must not submit without consent. The question instead turns on “Deterministic computation should handle precise arithmetic while an LLM explains the result”: It directly supports the requirement that A maintenance assistant must retrieve failure records then compute average downtime.
Question 771
A Databricks generative AI team is designing a solution with this requirement: A support app changes its vector store provider every quarter. Which engineering approach should it select first?
- Normalize supported aliases to canonical product ID before retrieval
- Compare model-card context limits with realistic inputs and adjust architecture
- Use a retriever abstraction around the approved vector search implementation
- Use specialist agents with a supervisor and per-tool permission boundaries
Explanation
Correct Answer
C:Use a retriever abstraction around the approved vector search implementation directly addresses the described Databricks GenAI architecture: A support app changes its vector store provider every quarter. Separating retrieval contract from storage implementation reduces migration coupling. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: A test mock retriever can replace the production vector backend without changing prompts.
Incorrect Answers
A:“Normalize supported aliases to canonical product ID before retrieval” is associated with this technical property: Stable entity keys are safer than free-text guessing for structured tool use. The question instead turns on “Use a retriever abstraction around the approved vector search implementation”: Separating retrieval contract from storage implementation reduces migration coupling.
B:“Compare model-card context limits with realistic inputs and adjust architecture” is associated with this technical property: Model metadata constraints must shape processing and evaluation. The question instead turns on “Use a retriever abstraction around the approved vector search implementation”: Separating retrieval contract from storage implementation reduces migration coupling.
D:“Use specialist agents with a supervisor and per-tool permission boundaries” is associated with this technical property: Delegation can reduce cross-domain tool confusion when roles are explicit. The question instead turns on “Use a retriever abstraction around the approved vector search implementation”: Separating retrieval contract from storage implementation reduces migration coupling.
Question 772
An application intended to satisfy this requirement, A premium LLM improves accuracy slightly while multiplying cost per request, instead experiences: The deployment chooses the premium model without considering volume. Which targeted engineering correction resolves this failure?
- Route authorized structured questions to a governed Genie Space or conversational API
- Normalize supported aliases to canonical product ID before retrieval
- Plot cost, latency and quality tradeoffs under expected traffic mix
- Provide validated examples and a machine-enforced output schema for the target shape
Explanation
Correct Answer
C:Plot cost, latency and quality tradeoffs under expected traffic mix targets the observed failure: The deployment chooses the premium model without considering volume. Model selection is a multi-objective optimization with service constraints. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Chosen variant meets minimum quality at sustainable expected monthly cost.
Incorrect Answers
A:“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 “Plot cost, latency and quality tradeoffs under expected traffic mix”: Model selection is a multi-objective optimization with service constraints.
B:“Normalize supported aliases to canonical product ID before retrieval” is associated with this technical property: Stable entity keys are safer than free-text guessing for structured tool use. The question instead turns on “Plot cost, latency and quality tradeoffs under expected traffic mix”: Model selection is a multi-objective optimization with service constraints.
D:“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 “Plot cost, latency and quality tradeoffs under expected traffic mix”: Model selection is a multi-objective optimization with service constraints.
Question 773
An engineering review considers a safeguard for this situation: A Delta sync index is built from a frequently updated FAQ table. The proposed action is: Configure supported sync/refresh behavior and verify index freshness. Which observed failure most strongly justifies that action?
- The endpoint uses broad service access and returns another department's records
- Serving accepts inputs but loses access scope in downstream tool execution
- Model serving fails with module not found even though local tests pass
- Newly published answers are missing because source changes were never propagated
Explanation
Correct Answer
D:Newly published answers are missing because source changes were never propagated. This observation motivates the specific control to Configure supported sync/refresh behavior and verify index freshness. Index results reflect a materialized view whose update cadence must match source changes. The follow-up evidence would be: After controlled update, intended new record becomes retrievable within approved delay. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“The endpoint uses broad service access and returns another department's records” is associated with this technical property: This observation motivates the specific control to Enforce user-aware authorization or scoped retrieval policy rather than relying on prompt filters. The question instead turns on “Newly published answers are missing because source changes were never propagated”: This observation motivates the specific control to Configure supported sync/refresh behavior and verify index freshness.
B:“Serving accepts inputs but loses access scope in downstream tool execution” is associated with this technical property: This observation motivates the specific control to Record representative input schema including tenant context in MLflow. The question instead turns on “Newly published answers are missing because source changes were never propagated”: This observation motivates the specific control to Configure supported sync/refresh behavior and verify index freshness.
C:“Model serving fails with module not found even though local tests pass” is associated with this technical property: This observation motivates the specific control to Declare needed Python packages and artifacts when logging and packaging the pyfunc model. The question instead turns on “Newly published answers are missing because source changes were never propagated”: This observation motivates the specific control to Configure supported sync/refresh behavior and verify index freshness.
Question 774
A Databricks generative AI team is designing a solution with this requirement: A query agent writes interpolated SQL containing untrusted user text. Which engineering approach should it select first?
- Mask or tokenize restricted fields before indexing and apply access-aware lookup where needed
- Use controlled pseudonymous tokens with restricted reidentification rights where appropriate
- Select compliant deployment and data-processing path after checking vendor terms
- Use parameterized queries with governed read-only permissions and validation
Explanation
Correct Answer
D:Use parameterized queries with governed read-only permissions and validation directly addresses the described Databricks GenAI architecture: A query agent writes interpolated SQL containing untrusted user text. Data access security requires database controls rather than prompt-only cautions. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Injection attempts fail and approved parameter values return scoped results.
Incorrect Answers
A:“Mask or tokenize restricted fields before indexing and apply access-aware lookup where needed” is associated with this technical property: Masking is more reliable at ingestion than hoping an output prompt hides every identifier. 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:“Use controlled pseudonymous tokens with restricted reidentification rights where appropriate” is associated with this technical property: Privacy techniques must preserve only the minimum analytics purpose. 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:“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 “Use parameterized queries with governed read-only permissions and validation”: Data access security requires database controls rather than prompt-only cautions.
Question 775
An engineering review considers a safeguard for this situation: A policy agent must include a required disclaimer when advising on refunds. The proposed action is: Build a deterministic custom scorer for required phrase presence in addition to semantic judges. Which observed failure most strongly justifies that action?
- An LLM judge sometimes overlooks the literal disclaimer requirement
- The team relies on deployment success alone to declare healthy service
- Feedback stays in a comment thread and is not included in future evaluations
- Only overall cloud bill is recorded and individual agents cannot be compared
Explanation
Correct Answer
A:An LLM judge sometimes overlooks the literal disclaimer requirement. This observation motivates the specific control to Build a deterministic custom scorer for required phrase presence in addition to semantic judges. Code-based scoring is suitable for exact business-rule invariants. The follow-up evidence would be: The scorer rejects every missing-disclaimer case regardless of writing style. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“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 “An LLM judge sometimes overlooks the literal disclaimer requirement”: This observation motivates the specific control to Build a deterministic custom scorer for required phrase presence in addition to semantic judges.
C:“Feedback stays in a comment thread and is not included in future evaluations” is associated with this technical property: This observation motivates the specific control to Convert reviewed failure into a labeled regression case and rerun on new versions. The question instead turns on “An LLM judge sometimes overlooks the literal disclaimer requirement”: This observation motivates the specific control to Build a deterministic custom scorer for required phrase presence in addition to semantic judges.
D:“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 “An LLM judge sometimes overlooks the literal disclaimer requirement”: This observation motivates the specific control to Build a deterministic custom scorer for required phrase presence in addition to semantic judges.
Question 776
For the requirement that A customer-facing assistant may use only records for the authenticated account, the team proposes this change: Define authenticated identity context as input and tenant-scoped answer objects as output. Which technical principle explains why it is appropriate?
- Supervisor orchestration is appropriate when a request must select among specialist capabilities
- Managed building blocks can reduce lifecycle work when their capabilities fit
- Tool freshness is a dependency of time-sensitive reasoning and action
- Data boundaries are part of application design rather than optional prompt decoration
Explanation
Correct Answer
D:Data boundaries are part of application design rather than optional prompt decoration. The proposed engineering step is to Define authenticated identity context as input and tenant-scoped answer objects as output. It directly supports the requirement that A customer-facing assistant may use only records for the authenticated account. The operational test is that Cross-account probes yield no unauthorized fields while same-account cases still work. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Supervisor orchestration is appropriate when a request must select among specialist capabilities” is associated with this technical property: It directly supports the requirement that A help desk needs to route HR, IT and payroll questions to specialized agents. The question instead turns on “Data boundaries are part of application design rather than optional prompt decoration”: It directly supports the requirement that A customer-facing assistant may use only records for the authenticated account.
B:“Managed building blocks can reduce lifecycle work when their capabilities fit” is associated with this technical property: It directly supports the requirement that A small team wants fast deployment of a conventional knowledge assistant. The question instead turns on “Data boundaries are part of application design rather than optional prompt decoration”: It directly supports the requirement that A customer-facing assistant may use only records for the authenticated account.
C:“Tool freshness is a dependency of time-sensitive reasoning and action” is associated with this technical property: It directly supports the requirement that An agent plans flights using external availability that may expire. The question instead turns on “Data boundaries are part of application design rather than optional prompt decoration”: It directly supports the requirement that A customer-facing assistant may use only records for the authenticated account.
Question 777
For the requirement that A team registers a question-answer agent that expects query and user context, the team proposes this change: Log a model signature and representative input example matching real requests. Which technical principle explains why it is appropriate?
- Prompt changes can alter functional correctness and require quality control
- A declared model interface allows serving validation and client integration
- Inference service reliability requires explicit rate-limit and failure controls
- User-interface integration requires target validation and side-effect controls
Explanation
Correct Answer
B:A declared model interface allows serving validation and client integration. The proposed engineering step is to Log a model signature and representative input example matching real requests. It directly supports the requirement that A team registers a question-answer agent that expects query and user context. The operational test is that Validation accepts correct query/context records and rejects unsupported fields. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Prompt changes can alter functional correctness and require quality control” is associated with this technical property: It directly supports the requirement that The RAG prompt is changed to produce shorter answers before business release. The question instead turns on “A declared model interface allows serving validation and client integration”: It directly supports the requirement that A team registers a question-answer agent that expects query and user context.
C:“Inference service reliability requires explicit rate-limit and failure controls” is associated with this technical property: It directly supports the requirement that An application depends on a particular foundation model endpoint whose quota may be exhausted. The question instead turns on “A declared model interface allows serving validation and client integration”: It directly supports the requirement that A team registers a question-answer agent that expects query and user context.
D:“User-interface integration requires target validation and side-effect controls” is associated with this technical property: It directly supports the requirement that An incident agent posts summaries into an internal Slack channel. The question instead turns on “A declared model interface allows serving validation and client integration”: It directly supports the requirement that A team registers a question-answer agent that expects query and user context.
Question 778
The team observes this failure in a GenAI application: Embedding similarity promotes spam-like text above useful handbook sections. After implementing the fix to Filter high-frequency spam and check source authority before indexing, which measurement or test most directly demonstrates success?
- Injected document cannot trigger restricted actions and answers cite safe evidence only
- Adversarial page cannot cause unauthorized network export
- Expired sensitive experiment examples are removed under audited policy
- Top retrieved evidence excludes boilerplate and maintains legitimate recall
Explanation
Correct Answer
D:Top retrieved evidence excludes boilerplate and maintains legitimate recall. This specifically validates the remediation to Filter high-frequency spam and check source authority before indexing for the failure that Embedding similarity promotes spam-like text above useful handbook sections. Preprocessing can prevent irrelevant content from dominating semantic search. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Injected document cannot trigger restricted actions and answers cite safe evidence only” is associated with this technical property: External context must not override trusted instructions or tool authorization. The question instead turns on “Top retrieved evidence excludes boilerplate and maintains legitimate recall”: Preprocessing can prevent irrelevant content from dominating semantic search.
B:“Adversarial page cannot cause unauthorized network export” is associated with this technical property: Prompt injection becomes dangerous when untrusted content controls tool side effects. The question instead turns on “Top retrieved evidence excludes boilerplate and maintains legitimate recall”: Preprocessing can prevent irrelevant content from dominating semantic search.
C:“Expired sensitive experiment examples are removed under audited policy” is associated with this technical property: Evaluation data requires the same governance scrutiny as production data. The question instead turns on “Top retrieved evidence excludes boilerplate and maintains legitimate recall”: Preprocessing can prevent irrelevant content from dominating semantic search.
Question 779
A Databricks generative AI team is designing a solution with this requirement: An agent's token consumption suddenly doubles after a retrieval change. Which engineering approach should it select first?
- Build a deterministic custom scorer for required phrase presence in addition to semantic judges
- Build a custom scorer that checks authorized source support and required qualifiers
- Configure supported AI Gateway rate limits and usage monitoring by authorized identity
- Record prompt/response token metrics by route, version and retrieval depth
Explanation
Correct Answer
D:Record prompt/response token metrics by route, version and retrieval depth directly addresses the described Databricks GenAI architecture: An agent's token consumption suddenly doubles after a retrieval change. Token use diagnostics reveal cost regressions invisible in request counts. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Dashboard identifies the responsible version and oversized prompt stage.
Incorrect Answers
A:“Build a deterministic custom scorer for required phrase presence in addition to semantic judges” is associated with this technical property: Code-based scoring is suitable for exact business-rule invariants. The question instead turns on “Record prompt/response token metrics by route, version and retrieval depth”: Token use diagnostics reveal cost regressions invisible in request counts.
B:“Build a custom scorer that checks authorized source support and required qualifiers” is associated with this technical property: Domain quality criteria should be explicit, testable and tied to allowed evidence. The question instead turns on “Record prompt/response token metrics by route, version and retrieval depth”: Token use diagnostics reveal cost regressions invisible in request counts.
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 “Record prompt/response token metrics by route, version and retrieval depth”: Token use diagnostics reveal cost regressions invisible in request counts.
Question 780
An application intended to satisfy this requirement, A knowledge application searches English policy text using Hindi queries, instead experiences: A monolingual embedding model misses semantically equivalent policies. Which targeted engineering correction resolves this failure?
- Evaluate a multilingual embedding model with paired multilingual query set
- Evaluate fixed scenario strata and failure-critical tests before rollout
- Provide validated examples and a machine-enforced output schema for the target shape
- Choose chunks that retain header, period, currency and row key
Explanation
Correct Answer
A:Evaluate a multilingual embedding model with paired multilingual query set targets the observed failure: A monolingual embedding model misses semantically equivalent policies. Cross-lingual embedding performance cannot be assumed from English benchmarks. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Translated queries retrieve equivalent approved passages at measured recall.
Incorrect Answers
B:“Evaluate fixed scenario strata and failure-critical tests before rollout” is associated with this technical property: A single benchmark mean can mask unacceptable failure modes. The question instead turns on “Evaluate a multilingual embedding model with paired multilingual query set”: Cross-lingual embedding performance cannot be assumed from English benchmarks.
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 “Evaluate a multilingual embedding model with paired multilingual query set”: Cross-lingual embedding performance cannot be assumed from English benchmarks.
D:“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 “Evaluate a multilingual embedding model with paired multilingual query set”: Cross-lingual embedding performance cannot be assumed from English benchmarks.