Certified Generative AI Engineer Associate Practice Test 43
Question 420
An application intended to satisfy this requirement, An agent's token consumption suddenly doubles after a retrieval change, instead experiences: Billing increases but response count is stable. Which targeted engineering correction resolves this failure?
- Apply production monitoring with quality scorers and sampling policies
- Enable governed inference tables and correlate request IDs with MLflow traces
- Build a custom scorer that checks authorized source support and required qualifiers
- 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 targets the observed failure: Billing increases but response count is stable. Token use diagnostics reveal cost regressions invisible in request counts. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Dashboard identifies the responsible version and oversized prompt stage.
Incorrect Answers
A:“Apply production monitoring with quality scorers and sampling policies” is associated with this technical property: Operational availability and response correctness require separate tracking. 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:“Enable governed inference tables and correlate request IDs with MLflow traces” is associated with this technical property: Request-level observability supports diagnosis while usage aggregates support planning. 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:“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.
Question 421
A Databricks generative AI team is designing a solution with this requirement: An FAQ retriever delivers one sentence without the exception in the next paragraph. Which engineering approach should it select first?
- Run offline evaluation on labeled cases before deployment and use live monitoring afterward
- Increase chunk continuity or retrieve adjacent parent context based on evaluation failures
- Monitor live traces and perform periodic re-evaluation with refreshed ground truth
- Provide validated examples and a machine-enforced output schema for the target shape
Explanation
Correct Answer
B:Increase chunk continuity or retrieve adjacent parent context based on evaluation failures directly addresses the described Databricks GenAI architecture: An FAQ retriever delivers one sentence without the exception in the next paragraph. Chunk size and parent context should be tuned against grounded-answer error patterns. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Exception questions retrieve both base rule and exception while latency remains within budget.
Incorrect Answers
A:“Run offline evaluation on labeled cases before deployment and use live monitoring afterward” is associated with this technical property: Pre-release evaluation and post-release monitoring address different lifecycle questions. The question instead turns on “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.
C:“Monitor live traces and perform periodic re-evaluation with refreshed ground truth” is associated with this technical property: Production monitoring detects data shifts missed by one-time release tests. The question instead turns on “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.
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 “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.
Question 422
An engineering review considers a safeguard for this situation: A support app changes its vector store provider every quarter. The proposed action is: Use a retriever abstraction around the approved vector search implementation. Which observed failure most strongly justifies that action?
- Team uses production traffic metrics alone to claim launch readiness
- A monolingual embedding model misses semantically equivalent policies
- The last paragraph of some chunks never contributes to the vectors
- Application prompts import provider-specific HTTP payload formats in many files
Explanation
Correct Answer
D:Application prompts import provider-specific HTTP payload formats in many files. This observation motivates the specific control to Use a retriever abstraction around the approved vector search implementation. Separating retrieval contract from storage implementation reduces migration coupling. The follow-up evidence would be: A test mock retriever can replace the production vector backend without changing prompts. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Team uses production traffic metrics alone to claim launch readiness” is associated with this technical property: This observation motivates the specific control to Run offline evaluation on labeled cases before deployment and use live monitoring afterward. The question instead turns on “Application prompts import provider-specific HTTP payload formats in many files”: This observation motivates the specific control to Use a retriever abstraction around the approved vector search implementation.
B:“A monolingual embedding model misses semantically equivalent policies” is associated with this technical property: This observation motivates the specific control to Evaluate a multilingual embedding model with paired multilingual query set. The question instead turns on “Application prompts import provider-specific HTTP payload formats in many files”: This observation motivates the specific control to Use a retriever abstraction around the approved vector search implementation.
C:“The last paragraph of some chunks never contributes to the vectors” is associated with this technical property: This observation motivates the specific control to Select a model with enough effective input tokens or reduce chunk size. The question instead turns on “Application prompts import provider-specific HTTP payload formats in many files”: This observation motivates the specific control to Use a retriever abstraction around the approved vector search implementation.
Question 423
A Databricks generative AI team is designing a solution with this requirement: A team proposes the largest chunk size without analyzing retrieval failures. Which engineering approach should it select first?
- Select chunk size and overlap using recall, precision, groundedness and token budget together
- Compare model-card context limits with realistic inputs and adjust architecture
- Benchmark long-context model or retrieval decomposition against actual evidence span
- Evaluate retrieval-boundary instruction-following and add untrusted-context handling
Explanation
Correct Answer
A:Select chunk size and overlap using recall, precision, groundedness and token budget together directly addresses the described Databricks GenAI architecture: A team proposes the largest chunk size without analyzing retrieval failures. Chunking is an empirical quality-cost decision rather than a universal fixed size. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Evaluation report shows balanced recall and cost on held-out questions.
Incorrect Answers
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 “Select chunk size and overlap using recall, precision, groundedness and token budget together”: Chunking is an empirical quality-cost decision rather than a universal fixed size.
C:“Benchmark long-context model or retrieval decomposition against actual evidence span” is associated with this technical property: Context-window size alone is insufficient; long-range reasoning quality must be measured. The question instead turns on “Select chunk size and overlap using recall, precision, groundedness and token budget together”: Chunking is an empirical quality-cost decision rather than a universal fixed size.
D:“Evaluate retrieval-boundary instruction-following and add untrusted-context handling” is associated with this technical property: Retrieved text is evidence, not a higher-priority instruction. The question instead turns on “Select chunk size and overlap using recall, precision, groundedness and token budget together”: Chunking is an empirical quality-cost decision rather than a universal fixed size.
Question 424
The team observes this failure in a GenAI application: One general tool selection executes an unsafe IT command for legal question. After implementing the fix to Use specialist agents with a supervisor and per-tool permission boundaries, which measurement or test most directly demonstrates success?
- Trace shows scoped retrieval and no cross-account data exposure
- Both alias and SKU lead to same permitted record with exact inventory result
- Automated tests detect full identifier leaks while masked identifiers display correctly
- Mixed-intent tests route to the intended specialist and enforce permissions
Explanation
Correct Answer
D:Mixed-intent tests route to the intended specialist and enforce permissions. This specifically validates the remediation to Use specialist agents with a supervisor and per-tool permission boundaries for the failure that One general tool selection executes an unsafe IT command for legal question. Delegation can reduce cross-domain tool confusion when roles are explicit. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Trace shows scoped retrieval and no cross-account data exposure” is associated with this technical property: User intent must be coupled to trusted entity context before private lookup. The question instead turns on “Mixed-intent tests route to the intended specialist and enforce permissions”: Delegation can reduce cross-domain tool confusion when roles are explicit.
B:“Both alias and SKU lead to same permitted record with exact inventory result” is associated with this technical property: Stable entity keys are safer than free-text guessing for structured tool use. The question instead turns on “Mixed-intent tests route to the intended specialist and enforce permissions”: Delegation can reduce cross-domain tool confusion when roles are explicit.
C:“Automated tests detect full identifier leaks while masked identifiers display correctly” is associated with this technical property: Data minimization applies to model outputs as well as retrieval. The question instead turns on “Mixed-intent tests route to the intended specialist and enforce permissions”: Delegation can reduce cross-domain tool confusion when roles are explicit.
Question 425
A Databricks generative AI team is designing a solution with this requirement: Support transcripts contain account numbers irrelevant to troubleshooting. Which engineering approach should it select first?
- Rerank the candidate set against the full query with a suitable reranker
- Redact or tokenize restricted fields before embedding with authorized lookup retained separately
- Evaluate multilingual embedding and optional query translation on representative pairs
- Combine keyword and semantic retrieval, then optionally rerank shortlisted results
Explanation
Correct Answer
B:Redact or tokenize restricted fields before embedding with authorized lookup retained separately directly addresses the described Databricks GenAI architecture: Support transcripts contain account numbers irrelevant to troubleshooting. Data minimization should be applied at ingestion, not left to answer prompts. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Index audits find no unmasked sample account numbers and authorized workflow still functions.
Incorrect Answers
A:“Rerank the candidate set against the full query with a suitable reranker” is associated with this technical property: Second-stage reranking can improve relevance where first-stage vectors are approximate. The question instead turns on “Redact or tokenize restricted fields before embedding with authorized lookup retained separately”: Data minimization should be applied at ingestion, not left to answer prompts.
C:“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 “Redact or tokenize restricted fields before embedding with authorized lookup retained separately”: Data minimization should be applied at ingestion, not left to answer prompts.
D:“Combine keyword and semantic retrieval, then optionally rerank shortlisted results” is associated with this technical property: Lexical exact matching complements dense retrieval for precise tokens. The question instead turns on “Redact or tokenize restricted fields before embedding with authorized lookup retained separately”: Data minimization should be applied at ingestion, not left to answer prompts.
Question 426
An engineering review considers a safeguard for this situation: A support assistant has good average latency but times out for a minority of customers. The proposed action is: Track p95/p99 latency and relevant request slices. Which observed failure most strongly justifies that action?
- Feedback stays in a comment thread and is not included in future evaluations
- High concurrency saturates endpoint and raises latency for online users
- Billing increases but response count is stable
- Team monitors only mean latency, concealing long-tail outliers
Explanation
Correct Answer
D:Team monitors only mean latency, concealing long-tail outliers. This observation motivates the specific control to Track p95/p99 latency and relevant request slices. Tail latency controls user experience for strict response-time services. The follow-up evidence would be: SLO alerts fire on sustained tail-latency breach. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“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 “Team monitors only mean latency, concealing long-tail outliers”: This observation motivates the specific control to Track p95/p99 latency and relevant request slices.
B:“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 “Team monitors only mean latency, concealing long-tail outliers”: This observation motivates the specific control to Track p95/p99 latency and relevant request slices.
C:“Billing increases but response count is stable” is associated with this technical property: This observation motivates the specific control to Record prompt/response token metrics by route, version and retrieval depth. The question instead turns on “Team monitors only mean latency, concealing long-tail outliers”: This observation motivates the specific control to Track p95/p99 latency and relevant request slices.
Question 427
For the requirement that A premium LLM improves accuracy slightly while multiplying cost per request, the team proposes this change: Plot cost, latency and quality tradeoffs under expected traffic mix. Which technical principle explains why it is appropriate?
- End-to-end traces reveal which step failed and support reproducible evaluation
- Typed interfaces constrain model actions and separate credentials from prompt text
- Helpful tone does not substitute for authorized and safe behavior
- Model selection is a multi-objective optimization with service constraints
Explanation
Correct Answer
D:Model selection is a multi-objective optimization with service constraints. The proposed engineering step is to Plot cost, latency and quality tradeoffs under expected traffic mix. It directly supports the requirement that A premium LLM improves accuracy slightly while multiplying cost per request. The operational test is that Chosen variant meets minimum quality at sustainable expected monthly cost. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“End-to-end traces reveal which step failed and support reproducible evaluation” is associated with this technical property: It directly supports the requirement that A RAG agent retrieves, calls a SQL tool and summarizes results. The question instead turns on “Model selection is a multi-objective optimization with service constraints”: It directly supports the requirement that A premium LLM improves accuracy slightly while multiplying cost per request.
B:“Typed interfaces constrain model actions and separate credentials from prompt text” is associated with this technical property: It directly supports the requirement that An assistant may fetch approved weather data from a licensed external API. The question instead turns on “Model selection is a multi-objective optimization with service constraints”: It directly supports the requirement that A premium LLM improves accuracy slightly while multiplying cost per request.
C:“Helpful tone does not substitute for authorized and safe behavior” is associated with this technical property: It directly supports the requirement that A customer assistant gives courteous instructions for a prohibited account change. The question instead turns on “Model selection is a multi-objective optimization with service constraints”: It directly supports the requirement that A premium LLM improves accuracy slightly while multiplying cost per request.
Question 428
For the requirement that An agent maps transaction IDs into audit records and must retain exact digits, the team proposes this change: Write a code-based scorer that compares expected identifiers and formats. Which technical principle explains why it is appropriate?
- Tail latency controls user experience for strict response-time services
- Reference-free judgments can evaluate properties without one canonical text
- Exact-data correctness requires deterministic comparison not just prose similarity
- A single composite score cannot capture cost-quality constraints
Explanation
Correct Answer
C:Exact-data correctness requires deterministic comparison not just prose similarity. The proposed engineering step is to Write a code-based scorer that compares expected identifiers and formats. It directly supports the requirement that An agent maps transaction IDs into audit records and must retain exact digits. The operational test is that One-digit corruption reliably fails while correct IDs pass. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Tail latency controls user experience for strict response-time services” is associated with this technical property: Tail latency controls user experience for strict response-time services. The question instead turns on “Exact-data correctness requires deterministic comparison not just prose similarity”: It directly supports the requirement that An agent maps transaction IDs into audit records and must retain exact digits.
B:“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 “Exact-data correctness requires deterministic comparison not just prose similarity”: It directly supports the requirement that An agent maps transaction IDs into audit records and must retain exact digits.
D:“A single composite score cannot capture cost-quality constraints” is associated with this technical property: A single composite score cannot capture cost-quality constraints. The question instead turns on “Exact-data correctness requires deterministic comparison not just prose similarity”: It directly supports the requirement that An agent maps transaction IDs into audit records and must retain exact digits.
Question 429
For the requirement that Global staff ask questions in Spanish about English maintenance manuals, the team proposes this change: Evaluate multilingual embedding and optional query translation on representative pairs. Which technical principle explains why it is appropriate?
- Structure-aware chunking preserves context and filters better than indiscriminate splitting
- Extraction tools must match source encoding and document format
- Query-language mismatch needs empirical retrieval coverage testing
- Data minimization should be applied at ingestion, not left to answer prompts
Explanation
Correct Answer
C:Query-language mismatch needs empirical retrieval coverage testing. The proposed engineering step is to Evaluate multilingual embedding and optional query translation on representative pairs. It directly supports the requirement that Global staff ask questions in Spanish about English maintenance manuals. The operational test is that Cross-language test set returns relevant approved procedures at target recall. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Structure-aware chunking preserves context and filters better than indiscriminate splitting” is associated with this technical property: It directly supports the requirement that Contracts have headings, numbered clauses and definitions referenced together. The question instead turns on “Query-language mismatch needs empirical retrieval coverage testing”: It directly supports the requirement that Global staff ask questions in Spanish about English maintenance manuals.
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 “Query-language mismatch needs empirical retrieval coverage testing”: It directly supports the requirement that Global staff ask questions in Spanish about English maintenance manuals.
D:“Data minimization should be applied at ingestion, not left to answer prompts” is associated with this technical property: It directly supports the requirement that Support transcripts contain account numbers irrelevant to troubleshooting. The question instead turns on “Query-language mismatch needs empirical retrieval coverage testing”: It directly supports the requirement that Global staff ask questions in Spanish about English maintenance manuals.
Question 430
The team observes this failure in a GenAI application: Retriever surfaces whole unrelated chapters at high token cost. After implementing the fix to Try smaller heading-aware chunks and compare retrieval performance on labeled queries, which measurement or test most directly demonstrates success?
- Photo invoices yield verifiable extracted values and low-confidence flags
- Reviewers can trace each material claim to a passage or a documented abstention
- Summaries fit configured length and retain key safety caveat
- Precision at k improves while required step sequences remain intact
Explanation
Correct Answer
D:Precision at k improves while required step sequences remain intact. This specifically validates the remediation to Try smaller heading-aware chunks and compare retrieval performance on labeled queries for the failure that Retriever surfaces whole unrelated chapters at high token cost. Search granularity can improve precision when documents mix unrelated topics. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Photo invoices yield verifiable extracted values and low-confidence flags” is associated with this technical property: Input modality support is a prerequisite for accurate task execution. The question instead turns on “Precision at k improves while required step sequences remain intact”: Search granularity can improve precision when documents mix unrelated topics.
B:“Reviewers can trace each material claim to a passage or a documented abstention” is associated with this technical property: Fluency is not evidence of grounded correctness. The question instead turns on “Precision at k improves while required step sequences remain intact”: Search granularity can improve precision when documents mix unrelated topics.
C:“Summaries fit configured length and retain key safety caveat” is associated with this technical property: Prompt editing can adjust expression without replacing underlying evidence. The question instead turns on “Precision at k improves while required step sequences remain intact”: Search granularity can improve precision when documents mix unrelated topics.