Certified Generative AI Engineer Associate Practice Test 48
Question 470
The team observes this failure in a GenAI application: A malicious input changes the SQL predicate and accesses forbidden rows. After implementing the fix to Use parameterized queries with governed read-only permissions and validation, which measurement or test most directly demonstrates success?
- Approved dataset manifest contains rights status for each source
- Expired sensitive experiment examples are removed under audited policy
- Injection attempts fail and approved parameter values return scoped results
- Authorized investigation correlates cases while general readers cannot recover identity
Explanation
Correct Answer
C:Injection attempts fail and approved parameter values return scoped results. This specifically validates the remediation to Use parameterized queries with governed read-only permissions and validation for the failure that A malicious input changes the SQL predicate and accesses forbidden rows. Data access security requires database controls rather than prompt-only cautions. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“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 “Injection attempts fail and approved parameter values return scoped results”: Data access security requires database controls rather than prompt-only cautions.
B:“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 “Injection attempts fail and approved parameter values return scoped results”: Data access security requires database controls rather than prompt-only cautions.
D:“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 “Injection attempts fail and approved parameter values return scoped results”: Data access security requires database controls rather than prompt-only cautions.
Question 471
For the requirement that A team proposes the largest chunk size without analyzing retrieval failures, the team proposes this change: Select chunk size and overlap using recall, precision, groundedness and token budget together. Which technical principle explains why it is appropriate?
- Monitoring observations should feed iterative development evaluation
- Chunking is an empirical quality-cost decision rather than a universal fixed size
- Embedding truncation silently removes evidence from retrieval
- Delegation can reduce cross-domain tool confusion when roles are explicit
Explanation
Correct Answer
B:Chunking is an empirical quality-cost decision rather than a universal fixed size. The proposed engineering step is to Select chunk size and overlap using recall, precision, groundedness and token budget together. It directly supports the requirement that A team proposes the largest chunk size without analyzing retrieval failures. The operational test is that Evaluation report shows balanced recall and cost on held-out questions. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Monitoring observations should feed iterative development evaluation” is associated with this technical property: It directly supports the requirement that A complaint about incomplete answers is reported but never reaches benchmark. The question instead turns on “Chunking is an empirical quality-cost decision rather than a universal fixed size”: It directly supports the requirement that A team proposes the largest chunk size without analyzing retrieval failures.
C:“Embedding truncation silently removes evidence from retrieval” is associated with this technical property: It directly supports the requirement that Document chunks peak at 600 tokens but candidate embedding model accepts 512. The question instead turns on “Chunking is an empirical quality-cost decision rather than a universal fixed size”: It directly supports the requirement that A team proposes the largest chunk size without analyzing retrieval failures.
D:“Delegation can reduce cross-domain tool confusion when roles are explicit” is associated with this technical property: It directly supports the requirement that A bot handles contracts, SQL analytics and IT tickets via different tools. The question instead turns on “Chunking is an empirical quality-cost decision rather than a universal fixed size”: It directly supports the requirement that A team proposes the largest chunk size without analyzing retrieval failures.
Question 472
An engineering review considers a safeguard for this situation: A deployed agent calls a governed knowledge index using a shared engineer token. The proposed action is: Configure supported workload identity and scoped service credentials for the endpoint. Which observed failure most strongly justifies that action?
- The deployed chain generates generic answers without retrieving any knowledge
- Code deployment succeeds while new documents are absent from search
- Revoking the engineer's personal token unexpectedly breaks production access
- The agent sends free-text messages to unverified channels from arbitrary prompts
Explanation
Correct Answer
C:Revoking the engineer's personal token unexpectedly breaks production access. This observation motivates the specific control to Configure supported workload identity and scoped service credentials for the endpoint. Production service identities should not depend on individual user credentials. The follow-up evidence would be: Endpoint retrieves approved documents after employee token revocation with auditable service identity. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“The deployed chain generates generic answers without retrieving any knowledge” is associated with this technical property: This observation motivates the specific control to Include retriever configuration and embedding dependencies in deployment validation. The question instead turns on “Revoking the engineer's personal token unexpectedly breaks production access”: This observation motivates the specific control to Configure supported workload identity and scoped service credentials for the endpoint.
B:“Code deployment succeeds while new documents are absent from search” is associated with this technical property: This observation motivates the specific control to Test source table and index sync before promoting agent to production. The question instead turns on “Revoking the engineer's personal token unexpectedly breaks production access”: This observation motivates the specific control to Configure supported workload identity and scoped service credentials for the endpoint.
D:“The agent sends free-text messages to unverified channels from arbitrary prompts” is associated with this technical property: This observation motivates the specific control to Use approved Slack integration with channel allowlists and action confirmation. The question instead turns on “Revoking the engineer's personal token unexpectedly breaks production access”: This observation motivates the specific control to Configure supported workload identity and scoped service credentials for the endpoint.
Question 473
The team observes this failure in a GenAI application: Developers increase overlap despite redundant boundaries and hit capacity. After implementing the fix to Reduce excessive overlap while checking boundary-question recall, which measurement or test most directly demonstrates success?
- Index count falls and boundary reference questions remain answerable
- Labeled relevance ordering improves without discarding the true policy passage
- Answer can cite both matching step and applicable prerequisite section
- Outdated policy text cannot appear as approved evidence after release cutover
Explanation
Correct Answer
A:Index count falls and boundary reference questions remain answerable. This specifically validates the remediation to Reduce excessive overlap while checking boundary-question recall for the failure that Developers increase overlap despite redundant boundaries and hit capacity. Overlap trades continuity against duplication, latency and storage footprint. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Labeled relevance ordering improves without discarding the true policy passage” is associated with this technical property: Second-stage reranking can improve relevance where first-stage vectors are approximate. The question instead turns on “Index count falls and boundary reference questions remain answerable”: Overlap trades continuity against duplication, latency and storage footprint.
C:“Answer can cite both matching step and applicable prerequisite section” is associated with this technical property: Hierarchical retrieval combines search granularity with coherent generation context. The question instead turns on “Index count falls and boundary reference questions remain answerable”: Overlap trades continuity against duplication, latency and storage footprint.
D:“Outdated policy text cannot appear as approved evidence after release cutover” is associated with this technical property: Freshness and document authority should constrain eligible retrieval candidates. The question instead turns on “Index count falls and boundary reference questions remain answerable”: Overlap trades continuity against duplication, latency and storage footprint.
Question 474
For the requirement that An invoice assistant must always return fields vendor and amount as valid JSON, the team proposes this change: Specify explicit JSON fields and enforce a structured output schema with validation. Which technical principle explains why it is appropriate?
- Structured constraints help guarantee downstream parseability instead of relying on a vague format request
- Entity extraction should preserve evidence spans and avoid inventing unavailable fields
- Structured extraction differs from open-ended multi-step research orchestration
- Knowledge Assistant is aligned to enterprise knowledge retrieval without unnecessary routing agents
Explanation
Correct Answer
A:Structured constraints help guarantee downstream parseability instead of relying on a vague format request. The proposed engineering step is to Specify explicit JSON fields and enforce a structured output schema with validation. It directly supports the requirement that An invoice assistant must always return fields vendor and amount as valid JSON. The operational test is that Contract tests parse JSON and verify required fields and data types on diverse invoices. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Entity extraction should preserve evidence spans and avoid inventing unavailable fields” is associated with this technical property: It directly supports the requirement that An operations team must extract purchase-order numbers and totals from vendor letters. The question instead turns on “Structured constraints help guarantee downstream parseability instead of relying on a vague format request”: It directly supports the requirement that An invoice assistant must always return fields vendor and amount as valid JSON.
C:“Structured extraction differs from open-ended multi-step research orchestration” is associated with this technical property: It directly supports the requirement that Accounts payable must turn a large archive of invoices into normalized JSON fields. The question instead turns on “Structured constraints help guarantee downstream parseability instead of relying on a vague format request”: It directly supports the requirement that An invoice assistant must always return fields vendor and amount as valid JSON.
D:“Knowledge Assistant is aligned to enterprise knowledge retrieval without unnecessary routing agents” is associated with this technical property: It directly supports the requirement that A team needs grounded answers over indexed internal training PDFs with citations. The question instead turns on “Structured constraints help guarantee downstream parseability instead of relying on a vague format request”: It directly supports the requirement that An invoice assistant must always return fields vendor and amount as valid JSON.
Question 475
An engineering review considers a safeguard for this situation: An agent maps transaction IDs into audit records and must retain exact digits. The proposed action is: Write a code-based scorer that compares expected identifiers and formats. Which observed failure most strongly justifies that action?
- Semantic similarity judges overlook a single wrong identifier
- An LLM judge sometimes overlooks the literal disclaimer requirement
- A generic relevance judge scores a plausible but wrong amount as good
- The team lacks requests and tool spans for production failures
Explanation
Correct Answer
A:Semantic similarity judges overlook a single wrong identifier. This observation motivates the specific control to Write a code-based scorer that compares expected identifiers and formats. Exact-data correctness requires deterministic comparison not just prose similarity. The follow-up evidence would be: One-digit corruption reliably fails while correct IDs pass. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“An LLM judge sometimes overlooks the literal disclaimer requirement” is associated with this technical property: This observation motivates the specific control to Build a deterministic custom scorer for required phrase presence in addition to semantic judges. The question instead turns on “Semantic similarity judges overlook a single wrong identifier”: This observation motivates the specific control to Write a code-based scorer that compares expected identifiers and formats.
C:“A generic relevance judge scores a plausible but wrong amount as good” is associated with this technical property: This observation motivates the specific control to Choose an evaluator using verified ground-truth expected values for numerical correctness. The question instead turns on “Semantic similarity judges overlook a single wrong identifier”: This observation motivates the specific control to Write a code-based scorer that compares expected identifiers and formats.
D:“The team lacks requests and tool spans for production failures” is associated with this technical property: This observation motivates the specific control to Enable appropriately governed inference logging and trace retention. The question instead turns on “Semantic similarity judges overlook a single wrong identifier”: This observation motivates the specific control to Write a code-based scorer that compares expected identifiers and formats.
Question 476
For the requirement that A security reviewer finds an unsafe tool action that automated tests missed, the team proposes this change: Convert reviewed failure into a labeled regression case and rerun on new versions. Which technical principle explains why it is appropriate?
- Request-level observability supports diagnosis while usage aggregates support planning
- Expert feedback improves quality only when incorporated into repeatable release gates
- Operational availability and response correctness require separate tracking
- Reference-free judgments can evaluate properties without one canonical text
Explanation
Correct Answer
B:Expert feedback improves quality only when incorporated into repeatable release gates. The proposed engineering step is to Convert reviewed failure into a labeled regression case and rerun on new versions. It directly supports the requirement that A security reviewer finds an unsafe tool action that automated tests missed. The operational test is that New evaluation fails unsafe old version and passes remediated agent. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Request-level observability supports diagnosis while usage aggregates support planning” is associated with this technical property: It directly supports the requirement that Operators want to connect individual serving failures to the model version and response. The question instead turns on “Expert feedback improves quality only when incorporated into repeatable release gates”: It directly supports the requirement that A security reviewer finds an unsafe tool action that automated tests missed.
C:“Operational availability and response correctness require separate tracking” is associated with this technical property: It directly supports the requirement that A live chatbot begins producing less useful answers after corpus refresh. The question instead turns on “Expert feedback improves quality only when incorporated into repeatable release gates”: It directly supports the requirement that A security reviewer finds an unsafe tool action that automated tests missed.
D:“Reference-free judgments can evaluate properties without one canonical text” is associated with this technical property: It directly supports the requirement that A conversational drafting agent must be evaluated for harmful content without a fixed ideal sentence. The question instead turns on “Expert feedback improves quality only when incorporated into repeatable release gates”: It directly supports the requirement that A security reviewer finds an unsafe tool action that automated tests missed.
Question 477
An engineering review considers a safeguard for this situation: A legitimate analytics tool returns both a customer email and a detailed payment token. The proposed action is: Apply policy-based redaction to tool output and answer rendering. Which observed failure most strongly justifies that action?
- The LLM includes the full payment token in a support response
- A malicious input changes the SQL predicate and accesses forbidden rows
- Experiment logging retains raw examples indefinitely with broad access
- An external foundation model sends full prompts to an incompatible region
Explanation
Correct Answer
A:The LLM includes the full payment token in a support response. This observation motivates the specific control to Apply policy-based redaction to tool output and answer rendering. Data minimization is a separate control from model answer quality. The follow-up evidence would be: Test cases preserve needed last-four digits but never expose payment tokens. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“A malicious input changes the SQL predicate and accesses forbidden rows” is associated with this technical property: This observation motivates the specific control to Use parameterized queries with governed read-only permissions and validation. The question instead turns on “The LLM includes the full payment token in a support response”: This observation motivates the specific control to Apply policy-based redaction to tool output and answer rendering.
C:“Experiment logging retains raw examples indefinitely with broad access” is associated with this technical property: This observation motivates the specific control to Apply retention, redaction and deletion rules to evaluation artifacts. The question instead turns on “The LLM includes the full payment token in a support response”: This observation motivates the specific control to Apply policy-based redaction to tool output and answer rendering.
D:“An external foundation model sends full prompts to an incompatible region” is associated with this technical property: This observation motivates the specific control to Select compliant deployment and data-processing path after checking vendor terms. The question instead turns on “The LLM includes the full payment token in a support response”: This observation motivates the specific control to Apply policy-based redaction to tool output and answer rendering.
Question 478
An application intended to satisfy this requirement, Every policy page includes a long navigation footer repeated hundreds of times, instead experiences: Top retrieved hits are identical legal and navigation boilerplate rather than substance. Which targeted engineering correction resolves this failure?
- Reduce excessive overlap while checking boundary-question recall
- Reduce chunk tokens to fit effective embedding context with explicit truncation tests
- Remove irrelevant repeated chrome before chunking and index creation
- Evaluate multilingual embedding and optional query translation on representative pairs
Explanation
Correct Answer
C:Remove irrelevant repeated chrome before chunking and index creation targets the observed failure: Top retrieved hits are identical legal and navigation boilerplate rather than substance. High-frequency irrelevant text dilutes retrieval quality and raises noise. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Sample retrieval hits prioritize policy sections and repeated footers are absent.
Incorrect Answers
A:“Reduce excessive overlap while checking boundary-question recall” is associated with this technical property: Overlap trades continuity against duplication, latency and storage footprint. The question instead turns on “Remove irrelevant repeated chrome before chunking and index creation”: High-frequency irrelevant text dilutes retrieval quality and raises noise.
B:“Reduce chunk tokens to fit effective embedding context with explicit truncation tests” is associated with this technical property: Embedding input length bounds what content contributes to searchable vectors. The question instead turns on “Remove irrelevant repeated chrome before chunking and index creation”: High-frequency irrelevant text dilutes retrieval quality and raises noise.
D:“Evaluate multilingual embedding and optional query translation on representative pairs” is associated with this technical property: Query-language mismatch needs empirical retrieval coverage testing. The question instead turns on “Remove irrelevant repeated chrome before chunking and index creation”: High-frequency irrelevant text dilutes retrieval quality and raises noise.
Question 479
For the requirement that The support router must classify tickets into one of four named categories, the team proposes this change: Supply the allowed label vocabulary and validate each response against its enum. Which technical principle explains why it is appropriate?
- Matching a source paragraph is not equivalent to structured field extraction
- Structured extraction differs from open-ended multi-step research orchestration
- Closed-set classification needs a constrained output vocabulary not merely a generic topic summary
- Decomposing requirements into measurable stage constraints prevents expensive architecture surprises
Explanation
Correct Answer
C:Closed-set classification needs a constrained output vocabulary not merely a generic topic summary. The proposed engineering step is to Supply the allowed label vocabulary and validate each response against its enum. It directly supports the requirement that The support router must classify tickets into one of four named categories. The operational test is that Test tickets yield only authorized labels and ambiguous inputs trigger defined fallback behavior. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Matching a source paragraph is not equivalent to structured field extraction” is associated with this technical property: It directly supports the requirement that A claims project requires exact claim amount fields, not narrative document search. The question instead turns on “Closed-set classification needs a constrained output vocabulary not merely a generic topic summary”: It directly supports the requirement that The support router must classify tickets into one of four named categories.
B:“Structured extraction differs from open-ended multi-step research orchestration” is associated with this technical property: It directly supports the requirement that Accounts payable must turn a large archive of invoices into normalized JSON fields. The question instead turns on “Closed-set classification needs a constrained output vocabulary not merely a generic topic summary”: It directly supports the requirement that The support router must classify tickets into one of four named categories.
D:“Decomposing requirements into measurable stage constraints prevents expensive architecture surprises” is associated with this technical property: It directly supports the requirement that A retail recommendation assistant has a strict latency target at peak traffic. The question instead turns on “Closed-set classification needs a constrained output vocabulary not merely a generic topic summary”: It directly supports the requirement that The support router must classify tickets into one of four named categories.
Question 480
An engineering review considers a safeguard for this situation: Finance needs per-team spend for several deployed agent endpoints. The proposed action is: Use AI Gateway usage telemetry with endpoint/team attribution. Which observed failure most strongly justifies that action?
- Only overall cloud bill is recorded and individual agents cannot be compared
- An LLM judge sometimes overlooks the literal disclaimer requirement
- High concurrency saturates endpoint and raises latency for online users
- The team relies on deployment success alone to declare healthy service
Explanation
Correct Answer
A:Only overall cloud bill is recorded and individual agents cannot be compared. This observation motivates the specific control to Use AI Gateway usage telemetry with endpoint/team attribution. Attribution requires identity and endpoint dimensions beyond total invoices. The follow-up evidence would be: Usage reports reconcile agent tokens and billed amount by team. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“An LLM judge sometimes overlooks the literal disclaimer requirement” is associated with this technical property: This observation motivates the specific control to Build a deterministic custom scorer for required phrase presence in addition to semantic judges. The question instead turns on “Only overall cloud bill is recorded and individual agents cannot be compared”: This observation motivates the specific control to Use AI Gateway usage telemetry with endpoint/team attribution.
C:“High concurrency saturates endpoint and raises latency for online users” is associated with this technical property: This observation motivates the specific control to Move eligible bulk requests to governed batch inference with appropriate quotas. The question instead turns on “Only overall cloud bill is recorded and individual agents cannot be compared”: This observation motivates the specific control to Use AI Gateway usage telemetry with endpoint/team attribution.
D:“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 “Only overall cloud bill is recorded and individual agents cannot be compared”: This observation motivates the specific control to Use AI Gateway usage telemetry with endpoint/team attribution.