Certified Generative AI Engineer Associate Practice Test 75
Question 740
An engineering review considers a safeguard for this situation: A policy assistant needs factual answers from a private handbook. The proposed action is: Build a retrieval step that selects authorized passages before prompting the answer model. Which observed failure most strongly justifies that action?
- A sentiment classifier returns positive or negative labels instead of answers
- LLM replies cite nonexistent paragraphs because no authoritative text is supplied
- The model invents labels that the dispatch workflow cannot handle
- They build a bespoke multi-agent manager for straightforward document Q&A
Explanation
Correct Answer
B:LLM replies cite nonexistent paragraphs because no authoritative text is supplied. This observation motivates the specific control to Build a retrieval step that selects authorized passages before prompting the answer model. Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources. The follow-up evidence would be: Answer traces show relevant handbook evidence for each supported response. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“A sentiment classifier returns positive or negative labels instead of answers” is associated with this technical property: This observation motivates the specific control to Use retrieval-grounded question answering with a suitable generative model. The question instead turns on “LLM replies cite nonexistent paragraphs because no authoritative text is supplied”: This observation motivates the specific control to Build a retrieval step that selects authorized passages before prompting the answer model.
C:“The model invents labels that the dispatch workflow cannot handle” is associated with this technical property: This observation motivates the specific control to Supply the allowed label vocabulary and validate each response against its enum. The question instead turns on “LLM replies cite nonexistent paragraphs because no authoritative text is supplied”: This observation motivates the specific control to Build a retrieval step that selects authorized passages before prompting the answer model.
D:“They build a bespoke multi-agent manager for straightforward document Q&A” is associated with this technical property: This observation motivates the specific control to Choose Agent Bricks Knowledge Assistant for managed document-grounded Q&A. The question instead turns on “LLM replies cite nonexistent paragraphs because no authoritative text is supplied”: This observation motivates the specific control to Build a retrieval step that selects authorized passages before prompting the answer model.
Question 741
An engineering review considers a safeguard for this situation: A RAG corpus contains invalid Unicode symbols and duplicated OCR headers. The proposed action is: Normalize encoding, repair OCR where justified and retain original source reference. Which observed failure most strongly justifies that action?
- A malicious input changes the SQL predicate and accesses forbidden rows
- The tool runs with broad service privileges despite natural-language tenancy claim
- Retrieved text has garbled words that degrade grounded answers
- Sensitive identifiers appear in retrieved chunks and generated summaries
Explanation
Correct Answer
C:Retrieved text has garbled words that degrade grounded answers. This observation motivates the specific control to Normalize encoding, repair OCR where justified and retain original source reference. Data quality repair must preserve evidence and not silently change meaning. The follow-up evidence would be: Quality sample demonstrates accurate text and intact provenance metadata. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“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 “Retrieved text has garbled words that degrade grounded answers”: This observation motivates the specific control to Normalize encoding, repair OCR where justified and retain original source reference.
B:“The tool runs with broad service privileges despite natural-language tenancy claim” is associated with this technical property: This observation motivates the specific control to Validate and bind tenant scope server-side for every tool call. The question instead turns on “Retrieved text has garbled words that degrade grounded answers”: This observation motivates the specific control to Normalize encoding, repair OCR where justified and retain original source reference.
D:“Sensitive identifiers appear in retrieved chunks and generated summaries” is associated with this technical property: This observation motivates the specific control to Mask or tokenize restricted fields before indexing and apply access-aware lookup where needed. The question instead turns on “Retrieved text has garbled words that degrade grounded answers”: This observation motivates the specific control to Normalize encoding, repair OCR where justified and retain original source reference.
Question 742
The team observes this failure in a GenAI application: A scanned-image OCR tool produces noise on native HTML pages. After implementing the fix to Parse relevant HTML elements using an HTML parser such as BeautifulSoup, which measurement or test most directly demonstrates success?
- Test queries retrieve full clause meaning with original heading metadata
- Recall@k rises for held-out expected passages without excessive result count
- Parsed heading and FAQ answer match the original DOM without menus
- Sample retrieval hits prioritize policy sections and repeated footers are absent
Explanation
Correct Answer
C:Parsed heading and FAQ answer match the original DOM without menus. This specifically validates the remediation to Parse relevant HTML elements using an HTML parser such as BeautifulSoup for the failure that A scanned-image OCR tool produces noise on native HTML pages. Extraction tools must match source encoding and document format. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Test queries retrieve full clause meaning with original heading metadata” is associated with this technical property: Structure-aware chunking preserves context and filters better than indiscriminate splitting. The question instead turns on “Parsed heading and FAQ answer match the original DOM without menus”: Extraction tools must match source encoding and document format.
B:“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 “Parsed heading and FAQ answer match the original DOM without menus”: Extraction tools must match source encoding and document format.
D:“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 “Parsed heading and FAQ answer match the original DOM without menus”: Extraction tools must match source encoding and document format.
Question 743
An engineering review considers a safeguard for this situation: An assistant retains transient order selections and a separate verified customer preference. The proposed action is: Store short-lived workflow state separately from approved persistent preferences. Which observed failure most strongly justifies that action?
- A developer edits the production prompt in place and loses previous behavior
- One global memory table stores both without retention or purpose separation
- A deployment hardcodes an artifact path and cannot roll back quickly
- Team sends one interactive HTTP request per row from a notebook loop
Explanation
Correct Answer
B:One global memory table stores both without retention or purpose separation. This observation motivates the specific control to Store short-lived workflow state separately from approved persistent preferences. Different memory lifetimes require different access, consent and deletion controls. The follow-up evidence would be: Short-lived task state expires and verified preference remains only under policy. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“A developer edits the production prompt in place and loses previous behavior” is associated with this technical property: This observation motivates the specific control to Track prompt versions and promote with a stable alias after evaluation. The question instead turns on “One global memory table stores both without retention or purpose separation”: This observation motivates the specific control to Store short-lived workflow state separately from approved persistent preferences.
C:“A deployment hardcodes an artifact path and cannot roll back quickly” is associated with this technical property: This observation motivates the specific control to Use governed model versions and aliases or equivalent approved promotion controls. The question instead turns on “One global memory table stores both without retention or purpose separation”: This observation motivates the specific control to Store short-lived workflow state separately from approved persistent preferences.
D:“Team sends one interactive HTTP request per row from a notebook loop” is associated with this technical property: This observation motivates the specific control to Use supported SQL ai_query batch inference in a scalable governed data workflow. The question instead turns on “One global memory table stores both without retention or purpose separation”: This observation motivates the specific control to Store short-lived workflow state separately from approved persistent preferences.
Question 744
For the requirement that The RAG prompt is changed to produce shorter answers before business release, the team proposes this change: Gate prompt promotion on fixed accuracy, completeness, safety and cost tests. Which technical principle explains why it is appropriate?
- Vector search ranks related text even when literal wording differs
- Prompt changes can alter functional correctness and require quality control
- Tool connection credentials must be isolated from model-generated content
- Hosted model APIs separate application logic from model infrastructure operations
Explanation
Correct Answer
B:Prompt changes can alter functional correctness and require quality control. The proposed engineering step is to Gate prompt promotion on fixed accuracy, completeness, safety and cost tests. It directly supports the requirement that The RAG prompt is changed to produce shorter answers before business release. The operational test is that The new version meets release criteria or is rejected with recorded metrics. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Vector search ranks related text even when literal wording differs” is associated with this technical property: It directly supports the requirement that A knowledge agent asks meaning-based questions over incident narratives. The question instead turns on “Prompt changes can alter functional correctness and require quality control”: It directly supports the requirement that The RAG prompt is changed to produce shorter answers before business release.
C:“Tool connection credentials must be isolated from model-generated content” is associated with this technical property: It directly supports the requirement that A research agent calls an external ticket API requiring a provider key. The question instead turns on “Prompt changes can alter functional correctness and require quality control”: It directly supports the requirement that The RAG prompt is changed to produce shorter answers before business release.
D:“Hosted model APIs separate application logic from model infrastructure operations” is associated with this technical property: It directly supports the requirement that A team needs a supported hosted language model for summarization without managing GPUs. The question instead turns on “Prompt changes can alter functional correctness and require quality control”: It directly supports the requirement that The RAG prompt is changed to produce shorter answers before business release.
Question 745
An application intended to satisfy this requirement, A deployed RAG endpoint accepts customer prompts with inconsistent whitespace and missing optional language fields, instead experiences: Directly passing raw request dictionaries causes downstream chain errors. Which targeted engineering correction resolves this failure?
- Test source table and index sync before promoting agent to production
- Configure supported workload identity and scoped service credentials for the endpoint
- Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper
- Enforce user-aware authorization or scoped retrieval policy rather than relying on prompt filters
Explanation
Correct Answer
C:Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper targets the observed failure: Directly passing raw request dictionaries causes downstream chain errors. A serving wrapper should enforce a stable input contract independent of model behavior. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Malformed requests return documented validation errors and valid inputs produce consistent normalized prompts.
Incorrect Answers
A:“Test source table and index sync before promoting agent to production” is associated with this technical property: A chain release depends on compatible data and index readiness. The question instead turns on “Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper”: A serving wrapper should enforce a stable input contract independent of model behavior.
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 “Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper”: A serving wrapper should enforce a stable input contract independent of model behavior.
D:“Enforce user-aware authorization or scoped retrieval policy rather than relying on prompt filters” is associated with this technical property: Model-serving authentication alone does not automatically implement row-level retrieval access. The question instead turns on “Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper”: A serving wrapper should enforce a stable input contract independent of model behavior.
Question 746
An engineering review considers a safeguard for this situation: A deployment changes prompt, retriever and model together. The proposed action is: Version and test retriever, prompt and answer model independently before combined rollout. Which observed failure most strongly justifies that action?
- Model serving infers a bare-string input and rejects client dictionaries
- A quality regression cannot be attributed to the responsible component
- Any workspace member can invoke it despite not being on the finance team
- Model serving fails with module not found even though local tests pass
Explanation
Correct Answer
B:A quality regression cannot be attributed to the responsible component. This observation motivates the specific control to Version and test retriever, prompt and answer model independently before combined rollout. Component-level CI isolates root causes that end-to-end scores may hide. The follow-up evidence would be: Release report identifies changed component and passes regression cases. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Model serving infers a bare-string input and rejects client dictionaries” is associated with this technical property: This observation motivates the specific control to Log a model signature and representative input example matching real requests. The question instead turns on “A quality regression cannot be attributed to the responsible component”: This observation motivates the specific control to Version and test retriever, prompt and answer model independently before combined rollout.
C:“Any workspace member can invoke it despite not being on the finance team” is associated with this technical property: This observation motivates the specific control to Grant serving endpoint invocation only to approved service principals and groups. The question instead turns on “A quality regression cannot be attributed to the responsible component”: This observation motivates the specific control to Version and test retriever, prompt and answer model independently before combined rollout.
D:“Model serving fails with module not found even though local tests pass” is associated with this technical property: This observation motivates the specific control to Declare needed Python packages and artifacts when logging and packaging the pyfunc model. The question instead turns on “A quality regression cannot be attributed to the responsible component”: This observation motivates the specific control to Version and test retriever, prompt and answer model independently before combined rollout.
Question 747
An engineering review considers a safeguard for this situation: A chain's model signature omits the tenant field used for retrieval. The proposed action is: Record representative input schema including tenant context in MLflow. Which observed failure most strongly justifies that action?
- Agent treats an empty tool response as proof that the answer is no
- Serving accepts inputs but loses access scope in downstream tool execution
- The app repeatedly retries without a bounded fallback and misses SLA
- The deployed chain generates generic answers without retrieving any knowledge
Explanation
Correct Answer
B:Serving accepts inputs but loses access scope in downstream tool execution. This observation motivates the specific control to Record representative input schema including tenant context in MLflow. Model packaging must preserve fields required to enforce data boundaries. The follow-up evidence would be: Serving test shows scoped retrieval and rejects missing mandatory scope. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Agent treats an empty tool response as proof that the answer is no” is associated with this technical property: This observation motivates the specific control to Handle tool timeout, retry boundaries and explicit unknown-answer fallback in the chain. The question instead turns on “Serving accepts inputs but loses access scope in downstream tool execution”: This observation motivates the specific control to Record representative input schema including tenant context in MLflow.
C:“The app repeatedly retries without a bounded fallback and misses SLA” is associated with this technical property: This observation motivates the specific control to Implement approved retry, quota handling and optional validated alternative model path. The question instead turns on “Serving accepts inputs but loses access scope in downstream tool execution”: This observation motivates the specific control to Record representative input schema including tenant context in MLflow.
D:“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 “Serving accepts inputs but loses access scope in downstream tool execution”: This observation motivates the specific control to Record representative input schema including tenant context in MLflow.
Question 748
An application intended to satisfy this requirement, A healthcare support bot must respond concisely without changing factual policy, instead experiences: A prompt emphasizing empathy leads to unsupported reassurance. Which targeted engineering correction resolves this failure?
- Pair appropriate embedding model with keyword/hybrid matching for identifiers
- Implement task-aware moderation and safe-refusal handling with reviewable thresholds
- Plot cost, latency and quality tradeoffs under expected traffic mix
- Specify tone and brevity separately from factual evidence and noninvention constraints
Explanation
Correct Answer
D:Specify tone and brevity separately from factual evidence and noninvention constraints targets the observed failure: A prompt emphasizing empathy leads to unsupported reassurance. Style instructions should not override content validity. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Sample responses are concise and friendly while preserving all required cautions.
Incorrect Answers
A:“Pair appropriate embedding model with keyword/hybrid matching for identifiers” is associated with this technical property: Dense vectors and lexical matching capture complementary signals. The question instead turns on “Specify tone and brevity separately from factual evidence and noninvention constraints”: Style instructions should not override content validity.
B:“Implement task-aware moderation and safe-refusal handling with reviewable thresholds” is associated with this technical property: Guardrails should consider both user intent and produced content. The question instead turns on “Specify tone and brevity separately from factual evidence and noninvention constraints”: Style instructions should not override content validity.
C:“Plot cost, latency and quality tradeoffs under expected traffic mix” is associated with this technical property: Model selection is a multi-objective optimization with service constraints. The question instead turns on “Specify tone and brevity separately from factual evidence and noninvention constraints”: Style instructions should not override content validity.
Question 749
An application intended to satisfy this requirement, A production retriever depends on a Delta sync index updated with the corpus, instead experiences: Code deployment succeeds while new documents are absent from search. Which targeted engineering correction resolves this failure?
- Test source table and index sync before promoting agent to production
- Configure supported sync/refresh behavior and verify index freshness
- Register the MLflow model in Unity Catalog using an approved three-part name
- Declare needed Python packages and artifacts when logging and packaging the pyfunc model
Explanation
Correct Answer
A:Test source table and index sync before promoting agent to production targets the observed failure: Code deployment succeeds while new documents are absent from search. A chain release depends on compatible data and index readiness. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Smoke tests retrieve newly approved documents before production traffic switch.
Incorrect Answers
B:“Configure supported sync/refresh behavior and verify index freshness” is associated with this technical property: Index results reflect a materialized view whose update cadence must match source changes. The question instead turns on “Test source table and index sync before promoting agent to production”: A chain release depends on compatible data and index readiness.
C:“Register the MLflow model in Unity Catalog using an approved three-part name” is associated with this technical property: Unity Catalog provides governed namespace and access for registered models. The question instead turns on “Test source table and index sync before promoting agent to production”: A chain release depends on compatible data and index readiness.
D:“Declare needed Python packages and artifacts when logging and packaging the pyfunc model” is associated with this technical property: A model artifact must include compatible runtime dependencies for reproducible serving. The question instead turns on “Test source table and index sync before promoting agent to production”: A chain release depends on compatible data and index readiness.
Question 750
The team observes this failure in a GenAI application: A generic conversation design accepts account IDs supplied by untrusted users. After implementing the fix to Define authenticated identity context as input and tenant-scoped answer objects as output, which measurement or test most directly demonstrates success?
- Answer traces show relevant handbook evidence for each supported response
- No submit call occurs without approval token and audit records exact submitted payload
- Cross-account probes yield no unauthorized fields while same-account cases still work
- Acceptance set checks citations, access control and knowledge-answer relevance
Explanation
Correct Answer
C:Cross-account probes yield no unauthorized fields while same-account cases still work. This specifically validates the remediation to Define authenticated identity context as input and tenant-scoped answer objects as output for the failure that A generic conversation design accepts account IDs supplied by untrusted users. Data boundaries are part of application design rather than optional prompt decoration. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Answer traces show relevant handbook evidence for each supported response” is associated with this technical property: Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources. The question instead turns on “Cross-account probes yield no unauthorized fields while same-account cases still work”: Data boundaries are part of application design rather than optional prompt decoration.
B:“No submit call occurs without approval token and audit records exact submitted payload” is associated with this technical property: State-changing operations require authorization gates distinct from read-only retrieval. The question instead turns on “Cross-account probes yield no unauthorized fields while same-account cases still work”: Data boundaries are part of application design rather than optional prompt decoration.
D:“Acceptance set checks citations, access control and knowledge-answer relevance” is associated with this technical property: Knowledge Assistant is aligned to enterprise knowledge retrieval without unnecessary routing agents. The question instead turns on “Cross-account probes yield no unauthorized fields while same-account cases still work”: Data boundaries are part of application design rather than optional prompt decoration.