Certified Generative AI Engineer Associate Practice Test 50
Question 490
An engineering review considers a safeguard for this situation: An attacker tries to set a SQL tool parameter to another tenant's identifier. The proposed action is: Validate and bind tenant scope server-side for every tool call. Which observed failure most strongly justifies that action?
- Raw prompt logging includes unneeded national identifiers in long-retention tables
- Experiment logging retains raw examples indefinitely with broad access
- Developers assume technical download access means commercial redistribution permission
- The tool runs with broad service privileges despite natural-language tenancy claim
Explanation
Correct Answer
D:The tool runs with broad service privileges despite natural-language tenancy claim. This observation motivates the specific control to Validate and bind tenant scope server-side for every tool call. Model-generated arguments are not an authorization boundary. The follow-up evidence would be: Cross-tenant input is denied at execution even if prompt asks for it. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Raw prompt logging includes unneeded national identifiers in long-retention tables” is associated with this technical property: This observation motivates the specific control to Choose supported masking/redaction or logging minimization before persisted telemetry. The question instead turns on “The tool runs with broad service privileges despite natural-language tenancy claim”: This observation motivates the specific control to Validate and bind tenant scope server-side for every tool call.
B:“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 tool runs with broad service privileges despite natural-language tenancy claim”: This observation motivates the specific control to Validate and bind tenant scope server-side for every tool call.
C:“Developers assume technical download access means commercial redistribution permission” is associated with this technical property: This observation motivates the specific control to Check data provenance, license terms and documented permissible uses before training. The question instead turns on “The tool runs with broad service privileges despite natural-language tenancy claim”: This observation motivates the specific control to Validate and bind tenant scope server-side for every tool call.
Question 491
An application intended to satisfy this requirement, An incident agent posts summaries into an internal Slack channel, instead experiences: The agent sends free-text messages to unverified channels from arbitrary prompts. Which targeted engineering correction resolves this failure?
- Prefer supported managed MCP servers when their existing tools fit the task
- Configure supported workload identity and scoped service credentials for the endpoint
- Use approved Slack integration with channel allowlists and action confirmation
- Log a model signature and representative input example matching real requests
Explanation
Correct Answer
C:Use approved Slack integration with channel allowlists and action confirmation targets the observed failure: The agent sends free-text messages to unverified channels from arbitrary prompts. User-interface integration requires target validation and side-effect controls. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Only approved channels receive posts after verified user action.
Incorrect Answers
A:“Prefer supported managed MCP servers when their existing tools fit the task” is associated with this technical property: Managed service tools reduce custom hosting and leverage workspace authorization. The question instead turns on “Use approved Slack integration with channel allowlists and action confirmation”: User-interface integration requires target validation and side-effect controls.
B:“Configure supported workload identity and scoped service credentials for the endpoint” is associated with this technical property: Production service identities should not depend on individual user credentials. The question instead turns on “Use approved Slack integration with channel allowlists and action confirmation”: User-interface integration requires target validation and side-effect controls.
D:“Log a model signature and representative input example matching real requests” is associated with this technical property: A declared model interface allows serving validation and client integration. The question instead turns on “Use approved Slack integration with channel allowlists and action confirmation”: User-interface integration requires target validation and side-effect controls.
Question 492
For the requirement that A help desk needs to route HR, IT and payroll questions to specialized agents, the team proposes this change: Use a Multiagent Supervisor to delegate to narrowly scoped specialists. Which technical principle explains why it is appropriate?
- Supervisor orchestration is appropriate when a request must select among specialist capabilities
- Tool results can supply fresh structured facts that pretrained model memory cannot guarantee
- Tool freshness is a dependency of time-sensitive reasoning and action
- State-changing operations require authorization gates distinct from read-only retrieval
Explanation
Correct Answer
A:Supervisor orchestration is appropriate when a request must select among specialist capabilities. The proposed engineering step is to Use a Multiagent Supervisor to delegate to narrowly scoped specialists. It directly supports the requirement that A help desk needs to route HR, IT and payroll questions to specialized agents. The operational test is that Traces show correct specialist selection and domain restrictions on mixed test cases. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Tool results can supply fresh structured facts that pretrained model memory cannot guarantee” is associated with this technical property: It directly supports the requirement that An inventory assistant needs live stock totals and a readable customer explanation. The question instead turns on “Supervisor orchestration is appropriate when a request must select among specialist capabilities”: It directly supports the requirement that A help desk needs to route HR, IT and payroll questions to specialized agents.
C:“Tool freshness is a dependency of time-sensitive reasoning and action” is associated with this technical property: It directly supports the requirement that An agent plans flights using external availability that may expire. The question instead turns on “Supervisor orchestration is appropriate when a request must select among specialist capabilities”: It directly supports the requirement that A help desk needs to route HR, IT and payroll questions to specialized agents.
D:“State-changing operations require authorization gates distinct from read-only retrieval” is associated with this technical property: It directly supports the requirement that An expense agent can draft reimbursement requests but must not submit without consent. The question instead turns on “Supervisor orchestration is appropriate when a request must select among specialist capabilities”: It directly supports the requirement that A help desk needs to route HR, IT and payroll questions to specialized agents.
Question 493
An application intended to satisfy this requirement, A hosted model sometimes returns verbose markdown but the client expects text and citations fields, instead experiences: The UI crashes when parser receives a free-form string. Which targeted engineering correction resolves this failure?
- Apply authorized metadata or row-level eligibility filters before returning results
- Include retriever configuration and embedding dependencies in deployment validation
- Implement approved retry, quota handling and optional validated alternative model path
- Add typed output parsing and schema validation in the pyfunc predict path
Explanation
Correct Answer
D:Add typed output parsing and schema validation in the pyfunc predict path targets the observed failure: The UI crashes when parser receives a free-form string. Preprocessing and postprocessing are deployable model behavior and need independent tests. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that All accepted requests return the specified response object with citations or explicit unavailable evidence.
Incorrect Answers
A:“Apply authorized metadata or row-level eligibility filters before returning results” is associated with this technical property: Similarity score is not authorization or publication status. The question instead turns on “Add typed output parsing and schema validation in the pyfunc predict path”: Preprocessing and postprocessing are deployable model behavior and need independent tests.
B:“Include retriever configuration and embedding dependencies in deployment validation” is associated with this technical property: A deployable RAG model requires all retrieval components, not just a text generator. The question instead turns on “Add typed output parsing and schema validation in the pyfunc predict path”: Preprocessing and postprocessing are deployable model behavior and need independent tests.
C:“Implement approved retry, quota handling and optional validated alternative model path” is associated with this technical property: Inference service reliability requires explicit rate-limit and failure controls. The question instead turns on “Add typed output parsing and schema validation in the pyfunc predict path”: Preprocessing and postprocessing are deployable model behavior and need independent tests.
Question 494
An engineering review considers a safeguard for this situation: A RAG system uses 500-token documents and an embedding model with a 384-token input limit. The proposed action is: Reduce chunk tokens to fit effective embedding context with explicit truncation tests. Which observed failure most strongly justifies that action?
- Long chunks are silently truncated and critical paragraph ends disappear
- A scanned-image OCR tool produces noise on native HTML pages
- Top retrieved hits are identical legal and navigation boilerplate rather than substance
- Embedding and query retrieval quality falls for cross-language paraphrases
Explanation
Correct Answer
A:Long chunks are silently truncated and critical paragraph ends disappear. This observation motivates the specific control to Reduce chunk tokens to fit effective embedding context with explicit truncation tests. Embedding input length bounds what content contributes to searchable vectors. The follow-up evidence would be: Retrieval evaluations confirm relevant tail passages are indexed and retrievable. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“A scanned-image OCR tool produces noise on native HTML pages” is associated with this technical property: This observation motivates the specific control to Parse relevant HTML elements using an HTML parser such as BeautifulSoup. The question instead turns on “Long chunks are silently truncated and critical paragraph ends disappear”: This observation motivates the specific control to Reduce chunk tokens to fit effective embedding context with explicit truncation tests.
C:“Top retrieved hits are identical legal and navigation boilerplate rather than substance” is associated with this technical property: This observation motivates the specific control to Remove irrelevant repeated chrome before chunking and index creation. The question instead turns on “Long chunks are silently truncated and critical paragraph ends disappear”: This observation motivates the specific control to Reduce chunk tokens to fit effective embedding context with explicit truncation tests.
D:“Embedding and query retrieval quality falls for cross-language paraphrases” is associated with this technical property: This observation motivates the specific control to Evaluate multilingual embedding and optional query translation on representative pairs. The question instead turns on “Long chunks are silently truncated and critical paragraph ends disappear”: This observation motivates the specific control to Reduce chunk tokens to fit effective embedding context with explicit truncation tests.
Question 495
A Databricks generative AI team is designing a solution with this requirement: A nightly Delta pipeline categorizes millions of support records before analysts use them. Which engineering approach should it select first?
- Use supported SQL ai_query batch inference in a scalable governed data workflow
- Use governed model versions and aliases or equivalent approved promotion controls
- Use approved Slack integration with channel allowlists and action confirmation
- Apply authorized metadata or row-level eligibility filters before returning results
Explanation
Correct Answer
A:Use supported SQL ai_query batch inference in a scalable governed data workflow directly addresses the described Databricks GenAI architecture: A nightly Delta pipeline categorizes millions of support records before analysts use them. Batch inference can process tabular rows where synchronous end-user serving is unnecessary. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Results are reproducibly attached to rows and retries avoid duplicate output.
Incorrect Answers
B:“Use governed model versions and aliases or equivalent approved promotion controls” is associated with this technical property: Versioned model identity supports rollback without overwriting the source model. The question instead turns on “Use supported SQL ai_query batch inference in a scalable governed data workflow”: Batch inference can process tabular rows where synchronous end-user serving is unnecessary.
C:“Use approved Slack integration with channel allowlists and action confirmation” is associated with this technical property: User-interface integration requires target validation and side-effect controls. The question instead turns on “Use supported SQL ai_query batch inference in a scalable governed data workflow”: Batch inference can process tabular rows where synchronous end-user serving is unnecessary.
D:“Apply authorized metadata or row-level eligibility filters before returning results” is associated with this technical property: Similarity score is not authorization or publication status. The question instead turns on “Use supported SQL ai_query batch inference in a scalable governed data workflow”: Batch inference can process tabular rows where synchronous end-user serving is unnecessary.
Question 496
An engineering review considers a safeguard for this situation: Retrieval returns no passages on a newly launched internal feature. The proposed action is: Prompt for evidence-conditioned answers and explicit unsupported-status handling. Which observed failure most strongly justifies that action?
- The answer model invents undocumented steps to appear helpful
- Aggregate score hides a critical regression on regulated claims
- Agent searches all orders because previous turn identifiers were discarded
- Team chooses by satisfaction score without evidence-groundedness tests
Explanation
Correct Answer
A:The answer model invents undocumented steps to appear helpful. This observation motivates the specific control to Prompt for evidence-conditioned answers and explicit unsupported-status handling. Abstention is preferable to fabricated specifics when retrieval lacks support. The follow-up evidence would be: Unknown-feature test prompts yield no false procedure and request approved documentation. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“Aggregate score hides a critical regression on regulated claims” is associated with this technical property: This observation motivates the specific control to Evaluate fixed scenario strata and failure-critical tests before rollout. The question instead turns on “The answer model invents undocumented steps to appear helpful”: This observation motivates the specific control to Prompt for evidence-conditioned answers and explicit unsupported-status handling.
C:“Agent searches all orders because previous turn identifiers were discarded” is associated with this technical property: This observation motivates the specific control to Resolve follow-up reference against authorized conversation state before tool call. The question instead turns on “The answer model invents undocumented steps to appear helpful”: This observation motivates the specific control to Prompt for evidence-conditioned answers and explicit unsupported-status handling.
D:“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 “The answer model invents undocumented steps to appear helpful”: This observation motivates the specific control to Prompt for evidence-conditioned answers and explicit unsupported-status handling.
Question 497
An engineering review considers a safeguard for this situation: A larger language model improves answer similarity by one point but triples cost. The proposed action is: Compare per-slice quality, token cost and latency against release thresholds. Which observed failure most strongly justifies that action?
- High concurrency saturates endpoint and raises latency for online users
- Feedback stays in a comment thread and is not included in future evaluations
- Only final output is logged so engineers cannot diagnose retrieval versus generation
- Team picks the highest score without checking a minimum viable quality target
Explanation
Correct Answer
D:Team picks the highest score without checking a minimum viable quality target. This observation motivates the specific control to Compare per-slice quality, token cost and latency against release thresholds. A single composite score cannot capture cost-quality constraints. The follow-up evidence would be: Selected model clears safety and correctness gates at sustainable cost. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“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 picks the highest score without checking a minimum viable quality target”: This observation motivates the specific control to Compare per-slice quality, token cost and latency against release thresholds.
B:“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 picks the highest score without checking a minimum viable quality target”: This observation motivates the specific control to Compare per-slice quality, token cost and latency against release thresholds.
C:“Only final output is logged so engineers cannot diagnose retrieval versus generation” is associated with this technical property: This observation motivates the specific control to Capture MLflow retriever and LLM spans and apply groundedness scorers. The question instead turns on “Team picks the highest score without checking a minimum viable quality target”: This observation motivates the specific control to Compare per-slice quality, token cost and latency against release thresholds.
Question 498
An application intended to satisfy this requirement, An FAQ retriever delivers one sentence without the exception in the next paragraph, instead experiences: The model answers with the general rule and misses the required exception. Which targeted engineering correction resolves this failure?
- Choose an orchestration pattern that passes validated state and scoped conversation context
- Increase chunk continuity or retrieve adjacent parent context based on evaluation failures
- Benchmark long-context model or retrieval decomposition against actual evidence span
- Require verified region input or clarify before selecting jurisdictional sources
Explanation
Correct Answer
B:Increase chunk continuity or retrieve adjacent parent context based on evaluation failures targets the observed failure: The model answers with the general rule and misses the required exception. Chunk size and parent context should be tuned against grounded-answer error patterns. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Exception questions retrieve both base rule and exception while latency remains within budget.
Incorrect Answers
A:“Choose an orchestration pattern that passes validated state and scoped conversation context” is associated with this technical property: Explicit state management is safer than assuming an isolated LLM call remembers prior inputs. 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:“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 “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:“Require verified region input or clarify before selecting jurisdictional sources” is associated with this technical property: Missing essential context should be surfaced instead of silently inferred. 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 499
An engineering review considers a safeguard for this situation: A customer assistant gives courteous instructions for a prohibited account change. The proposed action is: Add task-specific safety and authorization checks beyond stylistic quality scoring. Which observed failure most strongly justifies that action?
- Tone evaluation marks the reply helpful although it violates policy
- A monolingual embedding model misses semantically equivalent policies
- A standalone notebook prototype cannot be accessed consistently by app clients
- The largest available reasoning model breaches budget without measurable answer improvements
Explanation
Correct Answer
A:Tone evaluation marks the reply helpful although it violates policy. This observation motivates the specific control to Add task-specific safety and authorization checks beyond stylistic quality scoring. Helpful tone does not substitute for authorized and safe behavior. The follow-up evidence would be: Prohibited requests are rejected consistently while harmless alternatives remain supported. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
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 “Tone evaluation marks the reply helpful although it violates policy”: This observation motivates the specific control to Add task-specific safety and authorization checks beyond stylistic quality scoring.
C:“A standalone notebook prototype cannot be accessed consistently by app clients” is associated with this technical property: This observation motivates the specific control to Package an agent via supported Agent Framework deployment and serving path. The question instead turns on “Tone evaluation marks the reply helpful although it violates policy”: This observation motivates the specific control to Add task-specific safety and authorization checks beyond stylistic quality scoring.
D:“The largest available reasoning model breaches budget without measurable answer improvements” is associated with this technical property: This observation motivates the specific control to Benchmark smaller capable candidates on quality and latency for actual workload. The question instead turns on “Tone evaluation marks the reply helpful although it violates policy”: This observation motivates the specific control to Add task-specific safety and authorization checks beyond stylistic quality scoring.
Question 500
An engineering review considers a safeguard for this situation: A medium-size knowledge base needs affordable index storage and fast search. The proposed action is: Compare validated retrieval quality against vector dimensionality and compute cost. Which observed failure most strongly justifies that action?
- Logs show final answer only and engineers cannot find erroneous intermediate reasoning data
- Team chooses maximal embedding dimension without measuring relevance gain
- A standalone notebook prototype cannot be accessed consistently by app clients
- A naive tool agent treats those tags as privileged instructions
Explanation
Correct Answer
B:Team chooses maximal embedding dimension without measuring relevance gain. This observation motivates the specific control to Compare validated retrieval quality against vector dimensionality and compute cost. Larger embedding dimension increases storage and index work without universal quality improvement. The follow-up evidence would be: Chosen model meets recall target with lower measured index bytes and latency. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Logs show final answer only and engineers cannot find erroneous intermediate reasoning data” is associated with this technical property: This observation motivates the specific control to Instrument MLflow traces across retriever, tools and model spans. The question instead turns on “Team chooses maximal embedding dimension without measuring relevance gain”: This observation motivates the specific control to Compare validated retrieval quality against vector dimensionality and compute cost.
C:“A standalone notebook prototype cannot be accessed consistently by app clients” is associated with this technical property: This observation motivates the specific control to Package an agent via supported Agent Framework deployment and serving path. The question instead turns on “Team chooses maximal embedding dimension without measuring relevance gain”: This observation motivates the specific control to Compare validated retrieval quality against vector dimensionality and compute cost.
D:“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 “Team chooses maximal embedding dimension without measuring relevance gain”: This observation motivates the specific control to Compare validated retrieval quality against vector dimensionality and compute cost.