Certified Generative AI Engineer Associate Practice Test 2
Question 10
An engineering review considers a safeguard for this situation: A marketplace model promises strong generic benchmark scores. The proposed action is: Validate model-card claims on an application-specific held-out dataset. Which observed failure most strongly justifies that action?
- Domain-specific entity extraction tests show high error despite leaderboard ranking
- Candidate model produces fluent answers but malformed tool arguments under load
- A guardrail prompt says to ask permission but backend accepts unauthorized calls
- The LLM assumes a country and answers with jurisdiction-specific obligations
Explanation
Correct Answer
A:Domain-specific entity extraction tests show high error despite leaderboard ranking. This observation motivates the specific control to Validate model-card claims on an application-specific held-out dataset. Published benchmarks do not guarantee performance on a specialized dataset. The follow-up evidence would be: Selection record includes measured accuracy, costs and failures. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“Candidate model produces fluent answers but malformed tool arguments under load” is associated with this technical property: This observation motivates the specific control to Choose a model evaluated on structured tool-use success and error recovery. The question instead turns on “Domain-specific entity extraction tests show high error despite leaderboard ranking”: This observation motivates the specific control to Validate model-card claims on an application-specific held-out dataset.
C:“A guardrail prompt says to ask permission but backend accepts unauthorized calls” is associated with this technical property: This observation motivates the specific control to Verify authenticated user authority and explicit approval in the action service. The question instead turns on “Domain-specific entity extraction tests show high error despite leaderboard ranking”: This observation motivates the specific control to Validate model-card claims on an application-specific held-out dataset.
D:“The LLM assumes a country and answers with jurisdiction-specific obligations” is associated with this technical property: This observation motivates the specific control to Require verified region input or clarify before selecting jurisdictional sources. The question instead turns on “Domain-specific entity extraction tests show high error despite leaderboard ranking”: This observation motivates the specific control to Validate model-card claims on an application-specific held-out dataset.
Question 11
An engineering review considers a safeguard for this situation: A query agent writes interpolated SQL containing untrusted user text. The proposed action is: Use parameterized queries with governed read-only permissions and validation. Which observed failure most strongly justifies that action?
- The assistant could disclose licensed material to users without viewing rights
- The model treats those strings as trustworthy operational steps
- Naive masking replaces every identifier with same stars and destroys correlation
- A malicious input changes the SQL predicate and accesses forbidden rows
Explanation
Correct Answer
D:A malicious input changes the SQL predicate and accesses forbidden rows. This observation motivates the specific control to Use parameterized queries with governed read-only permissions and validation. Data access security requires database controls rather than prompt-only cautions. The follow-up evidence would be: Injection attempts fail and approved parameter values return scoped results. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“The assistant could disclose licensed material to users without viewing rights” is associated with this technical property: This observation motivates the specific control to Enforce entitlements and output-length constraints for licensed sources. The question instead turns on “A malicious input changes the SQL predicate and accesses forbidden rows”: This observation motivates the specific control to Use parameterized queries with governed read-only permissions and validation.
B:“The model treats those strings as trustworthy operational steps” is associated with this technical property: This observation motivates the specific control to Parse, label and isolate untrusted document instructions while preserving legitimate factual content. The question instead turns on “A malicious input changes the SQL predicate and accesses forbidden rows”: This observation motivates the specific control to Use parameterized queries with governed read-only permissions and validation.
C:“Naive masking replaces every identifier with same stars and destroys correlation” is associated with this technical property: This observation motivates the specific control to Use controlled pseudonymous tokens with restricted reidentification rights where appropriate. The question instead turns on “A malicious input changes the SQL predicate and accesses forbidden rows”: This observation motivates the specific control to Use parameterized queries with governed read-only permissions and validation.
Question 12
For the requirement that A multi-turn agent must recover an in-progress task after a server restart, the team proposes this change: Persist scoped state in an approved durable datastore with expiry and access policy. Which technical principle explains why it is appropriate?
- Durable application memory needs storage and governance beyond model context
- Unity Catalog provides governed namespace and access for registered models
- A chain release depends on compatible data and index readiness
- A vector index needs consistent row identity to synchronize source mutations
Explanation
Correct Answer
A:Durable application memory needs storage and governance beyond model context. The proposed engineering step is to Persist scoped state in an approved durable datastore with expiry and access policy. It directly supports the requirement that A multi-turn agent must recover an in-progress task after a server restart. The operational test is that Authorized user resumes task after restart; another user cannot read the session. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Unity Catalog provides governed namespace and access for registered models” is associated with this technical property: It directly supports the requirement that A business wants controlled model versions shared across workspaces. The question instead turns on “Durable application memory needs storage and governance beyond model context”: It directly supports the requirement that A multi-turn agent must recover an in-progress task after a server restart.
C:“A chain release depends on compatible data and index readiness” is associated with this technical property: It directly supports the requirement that A production retriever depends on a Delta sync index updated with the corpus. The question instead turns on “Durable application memory needs storage and governance beyond model context”: It directly supports the requirement that A multi-turn agent must recover an in-progress task after a server restart.
D:“A vector index needs consistent row identity to synchronize source mutations” is associated with this technical property: It directly supports the requirement that A Delta table holds product descriptions and needs a searchable embedding index. The question instead turns on “Durable application memory needs storage and governance beyond model context”: It directly supports the requirement that A multi-turn agent must recover an in-progress task after a server restart.
Question 13
A Databricks generative AI team is designing a solution with this requirement: A triage model outputs inconsistent date and severity field formats. Which engineering approach should it select first?
- Review model-card licensing and usage restrictions before selection
- Convert adjudicated production failures into regression and evaluation cases
- Choose vision-capable processing or OCR extraction before text model use
- Provide validated examples and a machine-enforced output schema for the target shape
Explanation
Correct Answer
D:Provide validated examples and a machine-enforced output schema for the target shape directly addresses the described Databricks GenAI architecture: A triage model outputs inconsistent date and severity field formats. Examples can guide style while schema checks enforce contract. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Parse success and normalized severity values meet acceptance criteria.
Incorrect Answers
A:“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 “Provide validated examples and a machine-enforced output schema for the target shape”: Examples can guide style while schema checks enforce contract.
B:“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 “Provide validated examples and a machine-enforced output schema for the target shape”: Examples can guide style while schema checks enforce contract.
C:“Choose vision-capable processing or OCR extraction before text model use” is associated with this technical property: Input modality support is a prerequisite for accurate task execution. The question instead turns on “Provide validated examples and a machine-enforced output schema for the target shape”: Examples can guide style while schema checks enforce contract.
Question 14
For the requirement that A model upgrade improves average quality but breaks previously reliable edge cases, the team proposes this change: Evaluate fixed scenario strata and failure-critical tests before rollout. Which technical principle explains why it is appropriate?
- A single benchmark mean can mask unacceptable failure modes
- Prompt-level safeguards must be backed by code-level privilege checks
- Fluency is not evidence of grounded correctness
- Authorization enforced at tools cannot be bypassed by generated text
Explanation
Correct Answer
A:A single benchmark mean can mask unacceptable failure modes. The proposed engineering step is to Evaluate fixed scenario strata and failure-critical tests before rollout. It directly supports the requirement that A model upgrade improves average quality but breaks previously reliable edge cases. The operational test is that Release gate checks per-slice regression and disallows critical behavior loss. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Prompt-level safeguards must be backed by code-level privilege checks” is associated with this technical property: It directly supports the requirement that An attacker sends a user message containing fake system tags to disable audit logging. The question instead turns on “A single benchmark mean can mask unacceptable failure modes”: It directly supports the requirement that A model upgrade improves average quality but breaks previously reliable edge cases.
C:“Fluency is not evidence of grounded correctness” is associated with this technical property: It directly supports the requirement that A RAG bot answers a policy question with a plausible paragraph unsupported by retrieval. The question instead turns on “A single benchmark mean can mask unacceptable failure modes”: It directly supports the requirement that A model upgrade improves average quality but breaks previously reliable edge cases.
D:“Authorization enforced at tools cannot be bypassed by generated text” is associated with this technical property: It directly supports the requirement that An agent proposes updating customer credit limits from a chat message. The question instead turns on “A single benchmark mean can mask unacceptable failure modes”: It directly supports the requirement that A model upgrade improves average quality but breaks previously reliable edge cases.
Question 15
The team observes this failure in a GenAI application: An agent returns a table not linked to executed data query. After implementing the fix to Require the governed Genie result and query provenance before final response, which measurement or test most directly demonstrates success?
- Red-team prompts trigger refusal and benign requests remain available
- Response amounts reconcile with query output and user role scope
- Exception questions retrieve both base rule and exception while latency remains within budget
- Translated queries retrieve equivalent approved passages at measured recall
Explanation
Correct Answer
B:Response amounts reconcile with query output and user role scope. This specifically validates the remediation to Require the governed Genie result and query provenance before final response for the failure that An agent returns a table not linked to executed data query. Structured analytics should be traceable to actual authorized data access. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Red-team prompts trigger refusal and benign requests remain available” is associated with this technical property: Guardrails should consider both user intent and produced content. The question instead turns on “Response amounts reconcile with query output and user role scope”: Structured analytics should be traceable to actual authorized data access.
C:“Exception questions retrieve both base rule and exception while latency remains within budget” is associated with this technical property: Chunk size and parent context should be tuned against grounded-answer error patterns. The question instead turns on “Response amounts reconcile with query output and user role scope”: Structured analytics should be traceable to actual authorized data access.
D:“Translated queries retrieve equivalent approved passages at measured recall” is associated with this technical property: Cross-lingual embedding performance cannot be assumed from English benchmarks. The question instead turns on “Response amounts reconcile with query output and user role scope”: Structured analytics should be traceable to actual authorized data access.
Question 16
The team observes this failure in a GenAI application: Team demands an exact answer string for every possible response. After implementing the fix to Use a rubric-based safety judge with calibrated examples when no single reference exists, which measurement or test most directly demonstrates success?
- Monitoring detects groundedness regression following index refresh
- Usage reports reconcile agent tokens and billed amount by team
- Dashboard flags unsupported answer rate before broad user complaints
- Adversarial drafts receive consistent safety classifications
Explanation
Correct Answer
D:Adversarial drafts receive consistent safety classifications. This specifically validates the remediation to Use a rubric-based safety judge with calibrated examples when no single reference exists for the failure that Team demands an exact answer string for every possible response. Reference-free judgments can evaluate properties without one canonical text. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“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 “Adversarial drafts receive consistent safety classifications”: Reference-free judgments can evaluate properties without one canonical text.
B:“Usage reports reconcile agent tokens and billed amount by team” is associated with this technical property: Attribution requires identity and endpoint dimensions beyond total invoices. The question instead turns on “Adversarial drafts receive consistent safety classifications”: Reference-free judgments can evaluate properties without one canonical text.
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 “Adversarial drafts receive consistent safety classifications”: Reference-free judgments can evaluate properties without one canonical text.
Question 17
A Databricks generative AI team is designing a solution with this requirement: A customer-facing assistant may use only records for the authenticated account. Which engineering approach should it select first?
- Define authenticated identity context as input and tenant-scoped answer objects as output
- Use schema-guided extraction with explicit missing-value handling rather than creative completion
- Choose the Information Extraction capability and define stable target schema
- Use retrieval-grounded question answering with a suitable generative model
Explanation
Correct Answer
A:Define authenticated identity context as input and tenant-scoped answer objects as output directly addresses the described Databricks GenAI architecture: A customer-facing assistant may use only records for the authenticated account. Data boundaries are part of application design rather than optional prompt decoration. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Cross-account probes yield no unauthorized fields while same-account cases still work.
Incorrect Answers
B:“Use schema-guided extraction with explicit missing-value handling rather than creative completion” is associated with this technical property: Entity extraction should preserve evidence spans and avoid inventing unavailable fields. The question instead turns on “Define authenticated identity context as input and tenant-scoped answer objects as output”: Data boundaries are part of application design rather than optional prompt decoration.
C:“Choose the Information Extraction capability and define stable target schema” is associated with this technical property: Structured extraction differs from open-ended multi-step research orchestration. The question instead turns on “Define authenticated identity context as input and tenant-scoped answer objects as output”: Data boundaries are part of application design rather than optional prompt decoration.
D:“Use retrieval-grounded question answering with a suitable generative model” is associated with this technical property: Answer generation and sentiment classification optimize distinct model tasks. The question instead turns on “Define authenticated identity context as input and tenant-scoped answer objects as output”: Data boundaries are part of application design rather than optional prompt decoration.
Question 18
An engineering review considers a safeguard for this situation: An FAQ retriever delivers one sentence without the exception in the next paragraph. The proposed action is: Increase chunk continuity or retrieve adjacent parent context based on evaluation failures. Which observed failure most strongly justifies that action?
- It uses vector retrieval from policy PDFs to guess numerical warehouse totals
- The model answers with the general rule and misses the required exception
- A naive tool agent treats those tags as privileged instructions
- The answer model invents undocumented steps to appear helpful
Explanation
Correct Answer
B:The model answers with the general rule and misses the required exception. This observation motivates the specific control to Increase chunk continuity or retrieve adjacent parent context based on evaluation failures. Chunk size and parent context should be tuned against grounded-answer error patterns. The follow-up evidence would be: Exception questions retrieve both base rule and exception while latency remains within budget. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“It uses vector retrieval from policy PDFs to guess numerical warehouse totals” is associated with this technical property: This observation motivates the specific control to Route authorized structured questions to a governed Genie Space or conversational API. The question instead turns on “The model answers with the general rule and misses the required exception”: This observation motivates the specific control to Increase chunk continuity or retrieve adjacent parent context based on evaluation failures.
C:“A naive tool agent treats those tags as privileged instructions” is associated with this technical property: This observation motivates the specific control to Treat user text as untrusted, enforce tool authorization outside model prompts and test injection. The question instead turns on “The model answers with the general rule and misses the required exception”: This observation motivates the specific control to Increase chunk continuity or retrieve adjacent parent context based on evaluation failures.
D:“The answer model invents undocumented steps to appear helpful” is associated with this technical property: This observation motivates the specific control to Prompt for evidence-conditioned answers and explicit unsupported-status handling. The question instead turns on “The model answers with the general rule and misses the required exception”: This observation motivates the specific control to Increase chunk continuity or retrieve adjacent parent context based on evaluation failures.
Question 19
The team observes this failure in a GenAI application: The agent attempts a network call not required by the user's question. After implementing the fix to Constrain external tools, allowlisted destinations and approval for data egress, which measurement or test most directly demonstrates success?
- Data flow diagram and processing logs show approved region and retention
- Approved dataset manifest contains rights status for each source
- Authorized investigation correlates cases while general readers cannot recover identity
- Adversarial page cannot cause unauthorized network export
Explanation
Correct Answer
D:Adversarial page cannot cause unauthorized network export. This specifically validates the remediation to Constrain external tools, allowlisted destinations and approval for data egress for the failure that The agent attempts a network call not required by the user's question. Prompt injection becomes dangerous when untrusted content controls tool side effects. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Data flow diagram and processing logs show approved region and retention” is associated with this technical property: Deployment architecture must respect jurisdictional and contractual data handling. The question instead turns on “Adversarial page cannot cause unauthorized network export”: Prompt injection becomes dangerous when untrusted content controls tool side effects.
B:“Approved dataset manifest contains rights status for each source” is associated with this technical property: Availability of source data does not imply redistribution or model-training rights. The question instead turns on “Adversarial page cannot cause unauthorized network export”: Prompt injection becomes dangerous when untrusted content controls tool side effects.
C:“Authorized investigation correlates cases while general readers cannot recover identity” is associated with this technical property: Privacy techniques must preserve only the minimum analytics purpose. The question instead turns on “Adversarial page cannot cause unauthorized network export”: Prompt injection becomes dangerous when untrusted content controls tool side effects.
Question 20
An engineering review considers a safeguard for this situation: An enterprise wants a reusable agent with controlled serving and observability. The proposed action is: Package an agent via supported Agent Framework deployment and serving path. Which observed failure most strongly justifies that action?
- Team chooses by satisfaction score without evidence-groundedness tests
- A standalone notebook prototype cannot be accessed consistently by app clients
- Custom string concatenation makes it hard to inspect tool invocations or handle failure
- Candidate model produces fluent answers but malformed tool arguments under load
Explanation
Correct Answer
B:A standalone notebook prototype cannot be accessed consistently by app clients. This observation motivates the specific control to Package an agent via supported Agent Framework deployment and serving path. Deployment lifecycle requires governed inference endpoint and observability. The follow-up evidence would be: Authorized clients call versioned endpoint and traces capture requests. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Team chooses by satisfaction score without evidence-groundedness tests” is associated with this technical property: This observation motivates the specific control to Compare groundedness and factuality on verified reference examples. The question instead turns on “A standalone notebook prototype cannot be accessed consistently by app clients”: This observation motivates the specific control to Package an agent via supported Agent Framework deployment and serving path.
C:“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 standalone notebook prototype cannot be accessed consistently by app clients”: This observation motivates the specific control to Package an agent via supported Agent Framework deployment and serving path.
D:“Candidate model produces fluent answers but malformed tool arguments under load” is associated with this technical property: This observation motivates the specific control to Choose a model evaluated on structured tool-use success and error recovery. The question instead turns on “A standalone notebook prototype cannot be accessed consistently by app clients”: This observation motivates the specific control to Package an agent via supported Agent Framework deployment and serving path.