Certified Generative AI Engineer Associate Practice Test 1
Question 1
The team observes this failure in a GenAI application: A web scraper searches rendered strings and loses nested attribute semantics. After implementing the fix to Parse JSON directly and normalize documented nested keys, which measurement or test most directly demonstrates success?
- Recall@k rises for held-out expected passages without excessive result count
- Sample retrieval hits prioritize policy sections and repeated footers are absent
- Second run without changes adds no duplicates and changed documents re-embed
- Sample entities retain IDs, numeric types and provenance fields
Explanation
Correct Answer
D:Sample entities retain IDs, numeric types and provenance fields. This specifically validates the remediation to Parse JSON directly and normalize documented nested keys for the failure that A web scraper searches rendered strings and loses nested attribute semantics. Structured APIs should be read as structures rather than rendered web text. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“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 “Sample entities retain IDs, numeric types and provenance fields”: Structured APIs should be read as structures rather than rendered web text.
B:“Sample retrieval hits prioritize policy sections and repeated footers are absent” is associated with this technical property: High-frequency irrelevant text dilutes retrieval quality and raises noise. The question instead turns on “Sample entities retain IDs, numeric types and provenance fields”: Structured APIs should be read as structures rather than rendered web text.
C:“Second run without changes adds no duplicates and changed documents re-embed” is associated with this technical property: Idempotent updates prevent duplicate indexed chunks and limit processing cost. The question instead turns on “Sample entities retain IDs, numeric types and provenance fields”: Structured APIs should be read as structures rather than rendered web text.
Question 2
For the requirement that Support transcripts contain account numbers irrelevant to troubleshooting, the team proposes this change: Redact or tokenize restricted fields before embedding with authorized lookup retained separately. Which technical principle explains why it is appropriate?
- Data minimization should be applied at ingestion, not left to answer prompts
- Redundant retrieval reduces useful evidence diversity under a token budget
- Hierarchical retrieval combines search granularity with coherent generation context
- Overlap trades continuity against duplication, latency and storage footprint
Explanation
Correct Answer
A:Data minimization should be applied at ingestion, not left to answer prompts. The proposed engineering step is to Redact or tokenize restricted fields before embedding with authorized lookup retained separately. It directly supports the requirement that Support transcripts contain account numbers irrelevant to troubleshooting. The operational test is that Index audits find no unmasked sample account numbers and authorized workflow still functions. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Redundant retrieval reduces useful evidence diversity under a token budget” is associated with this technical property: It directly supports the requirement that An incident knowledge index retrieves repeated overlapping paragraphs. The question instead turns on “Data minimization should be applied at ingestion, not left to answer prompts”: It directly supports the requirement that Support transcripts contain account numbers irrelevant to troubleshooting.
C:“Hierarchical retrieval combines search granularity with coherent generation context” is associated with this technical property: It directly supports the requirement that A lengthy engineering manual has chapters, headings and steps. The question instead turns on “Data minimization should be applied at ingestion, not left to answer prompts”: It directly supports the requirement that Support transcripts contain account numbers irrelevant to troubleshooting.
D:“Overlap trades continuity against duplication, latency and storage footprint” is associated with this technical property: It directly supports the requirement that A corpus produces too many nearly identical chunks and index cost exceeds budget. The question instead turns on “Data minimization should be applied at ingestion, not left to answer prompts”: It directly supports the requirement that Support transcripts contain account numbers irrelevant to troubleshooting.
Question 3
An engineering review considers a safeguard for this situation: An attacker sends a user message containing fake system tags to disable audit logging. The proposed action is: Treat user text as untrusted, enforce tool authorization outside model prompts and test injection. Which observed failure most strongly justifies that action?
- One general tool selection executes an unsafe IT command for legal question
- A plain request for structured text yields variable delimiters
- Retriever surfaces whole unrelated chapters at high token cost
- A naive tool agent treats those tags as privileged instructions
Explanation
Correct Answer
D:A naive tool agent treats those tags as privileged instructions. This observation motivates the specific control to Treat user text as untrusted, enforce tool authorization outside model prompts and test injection. Prompt-level safeguards must be backed by code-level privilege checks. The follow-up evidence would be: Attack strings cannot call restricted tools or bypass approval controls. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“One general tool selection executes an unsafe IT command for legal question” is associated with this technical property: This observation motivates the specific control to Use specialist agents with a supervisor and per-tool permission boundaries. The question instead turns on “A naive tool agent treats those tags as privileged instructions”: This observation motivates the specific control to Treat user text as untrusted, enforce tool authorization outside model prompts and test injection.
B:“A plain request for structured text yields variable delimiters” is associated with this technical property: This observation motivates the specific control to Provide validated examples and a machine-enforced output schema for the target shape. The question instead turns on “A naive tool agent treats those tags as privileged instructions”: This observation motivates the specific control to Treat user text as untrusted, enforce tool authorization outside model prompts and test injection.
C:“Retriever surfaces whole unrelated chapters at high token cost” is associated with this technical property: This observation motivates the specific control to Try smaller heading-aware chunks and compare retrieval performance on labeled queries. The question instead turns on “A naive tool agent treats those tags as privileged instructions”: This observation motivates the specific control to Treat user text as untrusted, enforce tool authorization outside model prompts and test injection.
Question 4
For the requirement that A bot handles contracts, SQL analytics and IT tickets via different tools, the team proposes this change: Use specialist agents with a supervisor and per-tool permission boundaries. Which technical principle explains why it is appropriate?
- Correctness and completeness are separate response quality dimensions
- Delegation can reduce cross-domain tool confusion when roles are explicit
- Input modality support is a prerequisite for accurate task execution
- Examples can guide style while schema checks enforce contract
Explanation
Correct Answer
B:Delegation can reduce cross-domain tool confusion when roles are explicit. The proposed engineering step is to Use specialist agents with a supervisor and per-tool permission boundaries. It directly supports the requirement that A bot handles contracts, SQL analytics and IT tickets via different tools. The operational test is that Mixed-intent tests route to the intended specialist and enforce permissions. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Correctness and completeness are separate response quality dimensions” is associated with this technical property: It directly supports the requirement that A compliance assistant cites one correct requirement but omits a second mandatory approval. The question instead turns on “Delegation can reduce cross-domain tool confusion when roles are explicit”: It directly supports the requirement that A bot handles contracts, SQL analytics and IT tickets via different tools.
C:“Input modality support is a prerequisite for accurate task execution” is associated with this technical property: It directly supports the requirement that An invoice archive includes scanned photos requiring OCR or vision. The question instead turns on “Delegation can reduce cross-domain tool confusion when roles are explicit”: It directly supports the requirement that A bot handles contracts, SQL analytics and IT tickets via different tools.
D:“Examples can guide style while schema checks enforce contract” is associated with this technical property: It directly supports the requirement that A triage model outputs inconsistent date and severity field formats. The question instead turns on “Delegation can reduce cross-domain tool confusion when roles are explicit”: It directly supports the requirement that A bot handles contracts, SQL analytics and IT tickets via different tools.
Question 5
For the requirement that An operations agent must answer questions requiring aggregations over governed BI tables, the team proposes this change: Route authorized structured questions to a governed Genie Space or conversational API. Which technical principle explains why it is appropriate?
- A single benchmark mean can mask unacceptable failure modes
- Genie-style analytics is suited to structured data rather than ungrounded numeric text generation
- Dense vectors and lexical matching capture complementary signals
- Data minimization applies to model outputs as well as retrieval
Explanation
Correct Answer
B:Genie-style analytics is suited to structured data rather than ungrounded numeric text generation. The proposed engineering step is to Route authorized structured questions to a governed Genie Space or conversational API. It directly supports the requirement that An operations agent must answer questions requiring aggregations over governed BI tables. The operational test is that Agent trace shows permitted query and correct aggregated figures. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“A single benchmark mean can mask unacceptable failure modes” is associated with this technical property: It directly supports the requirement that A model upgrade improves average quality but breaks previously reliable edge cases. The question instead turns on “Genie-style analytics is suited to structured data rather than ungrounded numeric text generation”: It directly supports the requirement that An operations agent must answer questions requiring aggregations over governed BI tables.
C:“Dense vectors and lexical matching capture complementary signals” is associated with this technical property: It directly supports the requirement that An engineering search system includes serial numbers and obscure device codes. The question instead turns on “Genie-style analytics is suited to structured data rather than ungrounded numeric text generation”: It directly supports the requirement that An operations agent must answer questions requiring aggregations over governed BI tables.
D:“Data minimization applies to model outputs as well as retrieval” is associated with this technical property: It directly supports the requirement that A support answer may include an account number retrieved for legitimate backend processing. The question instead turns on “Genie-style analytics is suited to structured data rather than ungrounded numeric text generation”: It directly supports the requirement that An operations agent must answer questions requiring aggregations over governed BI tables.
Question 6
For the requirement that A nightly source refresh modifies a subset of documents, the team proposes this change: Use stable document and chunk IDs with change detection and Delta merge semantics. Which technical principle explains why it is appropriate?
- Retrieval recall is an upstream prerequisite for grounded answer generation
- Extraction tools must match source encoding and document format
- Idempotent updates prevent duplicate indexed chunks and limit processing cost
- Embedding input length bounds what content contributes to searchable vectors
Explanation
Correct Answer
C:Idempotent updates prevent duplicate indexed chunks and limit processing cost. The proposed engineering step is to Use stable document and chunk IDs with change detection and Delta merge semantics. It directly supports the requirement that A nightly source refresh modifies a subset of documents. The operational test is that Second run without changes adds no duplicates and changed documents re-embed. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Retrieval recall is an upstream prerequisite for grounded answer generation” is associated with this technical property: It directly supports the requirement that A QA system misses the sole relevant chunk even though it exists in the index. The question instead turns on “Idempotent updates prevent duplicate indexed chunks and limit processing cost”: It directly supports the requirement that A nightly source refresh modifies a subset of documents.
B:“Extraction tools must match source encoding and document format” is associated with this technical property: It directly supports the requirement that A product FAQ is available as structured HTML with known paragraph tags. The question instead turns on “Idempotent updates prevent duplicate indexed chunks and limit processing cost”: It directly supports the requirement that A nightly source refresh modifies a subset of documents.
D:“Embedding input length bounds what content contributes to searchable vectors” is associated with this technical property: It directly supports the requirement that A RAG system uses 500-token documents and an embedding model with a 384-token input limit. The question instead turns on “Idempotent updates prevent duplicate indexed chunks and limit processing cost”: It directly supports the requirement that A nightly source refresh modifies a subset of documents.
Question 7
An engineering review considers a safeguard for this situation: An incident agent posts summaries into an internal Slack channel. The proposed action is: Use approved Slack integration with channel allowlists and action confirmation. Which observed failure most strongly justifies that action?
- Conversation memory stored only in the process disappears on deployment rollover
- The UI crashes when parser receives a free-form string
- Engineers store model binaries in local directories with no governance metadata
- The agent sends free-text messages to unverified channels from arbitrary prompts
Explanation
Correct Answer
D:The agent sends free-text messages to unverified channels from arbitrary prompts. This observation motivates the specific control to Use approved Slack integration with channel allowlists and action confirmation. User-interface integration requires target validation and side-effect controls. The follow-up evidence would be: Only approved channels receive posts after verified user action. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Conversation memory stored only in the process disappears on deployment rollover” is associated with this technical property: This observation motivates the specific control to Persist scoped state in an approved durable datastore with expiry and access policy. The question instead turns on “The agent sends free-text messages to unverified channels from arbitrary prompts”: This observation motivates the specific control to Use approved Slack integration with channel allowlists and action confirmation.
B:“The UI crashes when parser receives a free-form string” is associated with this technical property: This observation motivates the specific control to Add typed output parsing and schema validation in the pyfunc predict path. The question instead turns on “The agent sends free-text messages to unverified channels from arbitrary prompts”: This observation motivates the specific control to Use approved Slack integration with channel allowlists and action confirmation.
C:“Engineers store model binaries in local directories with no governance metadata” is associated with this technical property: This observation motivates the specific control to Register the MLflow model in Unity Catalog using an approved three-part name. The question instead turns on “The agent sends free-text messages to unverified channels from arbitrary prompts”: This observation motivates the specific control to Use approved Slack integration with channel allowlists and action confirmation.
Question 8
A Databricks generative AI team is designing a solution with this requirement: Employees ask natural-language questions about current internal procedures. Which engineering approach should it select first?
- Compose a governed data-query tool followed by a separate response-generation step
- Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities
- Require authenticated lookup before answer composition, with missing-data branch
- Use retrieval-grounded question answering with a suitable generative model
Explanation
Correct Answer
D:Use retrieval-grounded question answering with a suitable generative model directly addresses the described Databricks GenAI architecture: Employees ask natural-language questions about current internal procedures. Answer generation and sentiment classification optimize distinct model tasks. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Held-out questions are answered using linked procedure passages instead of sentiment scores.
Incorrect Answers
A:“Compose a governed data-query tool followed by a separate response-generation step” is associated with this technical property: Tool results can supply fresh structured facts that pretrained model memory cannot guarantee. The question instead turns on “Use retrieval-grounded question answering with a suitable generative model”: Answer generation and sentiment classification optimize distinct model tasks.
B:“Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities” is associated with this technical property: Tool requirements should determine orchestration rather than choosing components by popularity. The question instead turns on “Use retrieval-grounded question answering with a suitable generative model”: Answer generation and sentiment classification optimize distinct model tasks.
C:“Require authenticated lookup before answer composition, with missing-data branch” is associated with this technical property: Tool ordering matters when facts are volatile and cannot be inferred safely. The question instead turns on “Use retrieval-grounded question answering with a suitable generative model”: Answer generation and sentiment classification optimize distinct model tasks.
Question 9
A Databricks generative AI team is designing a solution with this requirement: An attacker tries to set a SQL tool parameter to another tenant's identifier. Which engineering approach should it select first?
- Validate and bind tenant scope server-side for every tool call
- Enforce entitlements and output-length constraints for licensed sources
- Use controlled pseudonymous tokens with restricted reidentification rights where appropriate
- Apply retention, redaction and deletion rules to evaluation artifacts
Explanation
Correct Answer
A:Validate and bind tenant scope server-side for every tool call directly addresses the described Databricks GenAI architecture: An attacker tries to set a SQL tool parameter to another tenant's identifier. Model-generated arguments are not an authorization boundary. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Cross-tenant input is denied at execution even if prompt asks for it.
Incorrect Answers
B:“Enforce entitlements and output-length constraints for licensed sources” is associated with this technical property: Retrieval authorization and permitted reproduction are distinct legal controls. The question instead turns on “Validate and bind tenant scope server-side for every tool call”: Model-generated arguments are not an authorization boundary.
C:“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 “Validate and bind tenant scope server-side for every tool call”: Model-generated arguments are not an authorization boundary.
D:“Apply retention, redaction and deletion rules to evaluation artifacts” is associated with this technical property: Evaluation data requires the same governance scrutiny as production data. The question instead turns on “Validate and bind tenant scope server-side for every tool call”: Model-generated arguments are not an authorization boundary.
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.