Amazon AWS Certified Generative AI Developer - Professional AIP-C01 Practice Test 31
Question 300
An insurance customer asks one question about coverage limits for claims in two jurisdictions. Retrieval returns only the first country’s policy. What query approach is appropriate?
- Disable jurisdiction metadata because it creates extra filtering work.
- Choose a single policy based on the most frequent keyword and apply it to both countries.
- Split the question into jurisdiction-tagged subqueries, retrieve each authorized policy and reconcile the separate conclusions with citations.
- Concatenate unrelated policy paragraphs and let the model assume both regions have identical law.
Explanation
Correct Answer
C:Identify both locations as distinct legal constraints and retrieve the applicable dated source for each before synthesis. Preserve country, entity and source-version metadata, then compare limits and disclose differences. If any country lacks adequate evidence, qualify that portion instead of generalizing the other jurisdiction’s rule.
Incorrect Answers
A:Jurisdiction metadata is essential to correct legal retrieval, not an optional performance feature. Optimize indexed filters rather than remove the source boundary. The country filter distinguishes legally different coverage limits. Removing it can retrieve the wrong jurisdiction's policy and produce an unsupported shared answer.
B:Keyword frequency cannot establish the legal scope of an insurance contract. One country’s policy may not apply elsewhere. Explicitly decompose by jurisdiction. Popularity of one phrase does not show that both countries use the same rules. Split the request into separate scoped retrieval questions first.
D:Unlabeled concatenation can cause cross-source confusion and fabricate a universal coverage limit. Maintain separate evidence before reconciliation. Merge results only after each country has authoritative passages and effective dates. Missing second-country evidence should trigger qualification or clarification, not invented equivalence.
Question 301
An employee asks about an internal product by its informal nickname, but the knowledge-base index contains only the official catalogue name. Which retrieval improvement should preserve the employee’s actual intent?
- Use vetted synonym/alias expansion and test retrieved sources against the original query and product ID.
- Increase semantic vector-search depth without introducing a verified mapping from employee nicknames to catalogue identifiers.
- Delete the original query so there is no record of what the employee requested.
- Replace every informal term with the most popular product regardless of context.
Explanation
Correct Answer
A:Maintain an approved alias map tied to canonical product identifiers and expand the query only where the mapping is unambiguous. Retain the original wording for relevance evaluation, apply access restrictions, and compare recall on synonym and near-collision tests. Ask for clarification when a nickname names multiple products.
Incorrect Answers
B:A deeper nearest-neighbor result list may contain more documents, but it does not guarantee the informal name maps to the correct official product. An alias map supported by product ownership and ambiguity tests can resolve intent before retrieval. Keep the original query available for relevance auditing.
C:Without the original query, the system cannot audit whether rewriting changed meaning or introduced an unintended product. Preserve a privacy-safe trace of the transformation. Preserve the submitted nickname and resolved catalog identifier to diagnose incorrect alias expansion. An auditor must see how the search interpreted the user's intended item.
D:Popularity is not evidence that the selected product matches the user’s request. A wrong mapping can lead to inaccurate instructions or ordering errors. Validate aliases by context. A popular product could be unrelated to the employee's actual request. Use approved alias dictionaries, context and clarification rather than replace rare names arbitrarily.
Question 302
A regional inference profile has exhausted its invocation quota. The application can use a backup model, but some candidate regions are prohibited for its customer data. What must the failover policy do?
- Send the same invalid request indefinitely to the throttled model and hope capacity appears.
- Select only approved fallback models after validating API compatibility, quality and permitted destination regions.
- Tell customers that a response succeeded before any fallback inference completes.
- Invoke the fastest model worldwide without checking its data residency or authorization.
Explanation
Correct Answer
B:Keep a vetted fallback list with compatible features, prompts and response schemas, and constrain routing by data classification and region. Test both quality and latency after failover and log effective destinations. When no compliant alternative exists, provide a truthful degraded response rather than transferring restricted prompts.
Incorrect Answers
A:Unbounded retries worsen congestion and cannot ensure timely service. Apply bounded backoff and approved alternatives when appropriate. A quota error indicates capacity pressure, not a prompt flaw that repetition cures. Apply bounded backoff and choose an allowed fallback only after checking regional policy.
C:A claimed success without a verified model response is misleading. Return pending or unavailable status until valid inference or approved fallback completes. An unanswered request is not a success; return pending or controlled unavailable status until an authorized permitted model actually responds.
D:Global speed is not sufficient for a regulated workload. A fast region can still violate legal transfer requirements and model authorization policy. A global destination may process restricted prompts in prohibited regions. Resolve each candidate's processing destinations and invoke only compliant backup profiles.
Question 303
After a prompt deployment, a customer assistant starts exposing snippets from confidential support tickets. Which operational response should be triggered?
- Add a generated-response redaction filter while leaving the underlying ticket retrieval permissions unchanged.
- Hide the security dashboard until the public reports stop.
- Alert on policy-violation rates, contain affected retrieval or tool access, and roll back the implicated version while investigating.
- Assume a previously approved model cannot develop a disclosure regression.
Explanation
Correct Answer
C:Correlate the leak with the precise prompt, model, retrieval and permissions changes. Suspend or restrict the affected path, revert the unsafe configuration, preserve incident evidence and retest cross-user authorization before re-enabling it. Monitor both source access and generated disclosures; a prompt edit can expose an already overbroad data path.
Incorrect Answers
A:Output masking may reduce some visible strings but does not revoke the agent’s access to confidential tickets or prevent another response shape from revealing details. Contain the affected retrieval path, verify the authorized identity scope and investigate the prompt change. Restore controlled access before relying on downstream response filters.
B:Suppressing alerts removes evidence while sensitive data may still leave the application. Containment must affect actual access and response behavior. A privacy incident requires immediate containment, evidence retention and source-access investigation. Suppressed dashboards leave restricted ticket excerpts retrievable to unauthorized customers.
D:Risk changes with configurations, source data and user behavior. Previous approval is not proof that new versions remain safe. Measure ongoing violations. Model weights may be unchanged, but a prompt revision can weaken retrieval authorization or output filters. Compare the effective deployment and isolate the leaking path.
Question 304
A GenAI helpdesk product has excellent infrastructure uptime and low p95 latency, but customer satisfaction is declining. What dashboard design best supports diagnosis?
- Suppress bad user feedback as long as the model invocation returns HTTP 200.
- Replace customer outcomes with average response word count.
- Show only CPU utilization because service quality always follows compute health.
- Correlate operational metrics with accepted resolutions, correction burden, source-grounded accuracy and user cohorts.
Explanation
Correct Answer
D:Use a service scorecard that connects latency and errors to business outcomes, including repeat contacts, factuality corrections, successful case closures and satisfaction by relevant cohort. Annotate prompt, model and retrieval deployments to locate regressions. Fast answers can still be wrong or unhelpful; measure what users need.
Incorrect Answers
A:Filtering out negative evidence biases monitoring and hides real harm. Preserve representative feedback and investigate discrepancies between uptime and user outcomes. Successful inference does not imply that customers received useful or accurate help. Keep complaint categories, accepted-case outcomes and factual correction rates beside uptime.
B:Long responses may be costly or confusing, while concise answers can solve a case. Word count is not a validated quality measure. More words can conceal hallucinations and confuse customers. Pair operational latency with grounded accuracy, recontact counts and whether the user’s task was resolved.
C:Infrastructure health is necessary but not sufficient for user value. A service can be online while giving ungrounded or irrelevant advice. CPU and p95 latency say little about citation validity or failed CRM actions. Trace model and tool outcomes to end-user success metrics.
Question 305
A backend has valid temporary AWS credentials and can list S3 objects, but `bedrock:InvokeModel` returns AccessDenied for a newly selected model. What should it verify?
- Model access, the actual model or inference-profile ARN, and the workload role’s resource-scoped Bedrock authorization.
- Assume S3 read permission automatically grants all Bedrock invocation permissions.
- Keep retrying the denied call without changing identity, model access or policy.
- Increase model output length because a larger answer enables model access.
Explanation
Correct Answer
A:Authentication is not the same as permission to invoke a specific model. Check supported account/model access requirements, resource ARN and policy scope for the runtime operation, including profile-related permissions if used. Test the call with the actual role and inspect the denial context before broadening rights. S3 read permissions prove only access to S3. Evaluate the effective `bedrock:InvokeModel` grant, the model ARN or inference profile selected, region availability and any explicit deny; reproduce a permitted and prohibited model invocation using the same workload identity.
Incorrect Answers
B:S3 and Bedrock have distinct action and resource policies. Reading an object provides no automatic right to invoke a paid foundation model. An S3 list operation tests a different service action. The invoking role needs allowed Bedrock model resources, model access and compatible regional permissions.
C:A stable AccessDenied response normally requires policy, entitlement or identity correction, not blind retries. Record the error and avoid noisy repeated calls. An unchanged IAM denial is normally not transient. Inspect the evaluated role, resource ARN and explicit denies instead of retrying the same rejected request.
D:Generation settings are evaluated only after an authorized request reaches inference. A larger output limit does not fix an IAM authorization failure. Token generation begins only after access checks. Increasing output length cannot authorize a denied model or inference profile.
Question 306
A user asks whether a warranty covers both replacement labor and international shipping, but the retriever answers only the first clause. What should query planning do?
- Combine every warranty version without tracking region or effective date.
- Ask the model to extrapolate shipping coverage from the labor clause.
- Break the compound request into separately verifiable claims, retrieve sources for each, and reconcile citations in the final answer.
- Retrieve only the single most similar paragraph and ignore the remaining request.
Explanation
Correct Answer
C:Decompose the two obligations and locate authoritative coverage evidence for each, applying product, date and jurisdiction filters. Validate that both conclusions are supported and distinguish unknown terms from negative coverage. A final response should cite each governing clause and preserve relevant exceptions instead of favoring the first subquestion.
Incorrect Answers
A:Outdated or foreign warranty versions can conflict. Filter eligible documents before synthesis to avoid a misleading universal answer. Warranty labor and shipping terms may differ by region, customer tier and amendment date. Resolve those conditions before combining clauses from multiple editions.
B:One covered service does not imply another is included. Generated inference about a contractual term can fabricate entitlements. Retrieve the specific shipping rule. Coverage for replacement labor cannot establish international freight eligibility. Decompose the question and retrieve a supported answer for shipping separately.
D:A single top result may address only one of several intents. Use controlled subqueries and evidence reconciliation rather than omit the other half. The first passage might contain the labor policy but omit a separate exclusion for shipping. Require evidence coverage for each requested component.
Question 307
A GenAI router’s configuration is changed manually outside CI/CD. Quality and cost statistics now differ between environments. Which control should engineering introduce?
- Permit every environment to choose models by an undocumented local preference.
- Ask users to guess which backend handled their requests.
- Version routing policies as deployment artifacts and monitor per-route quality, cost and decision traces.
- Record only the total number of chat sessions without the selected model route.
Explanation
Correct Answer
C:Treat routing as version-controlled configuration with reviewed changes, environment constraints and rollback. Log selected model, policy version, reason, business task and privacy-safe outcome metrics. Compare matched cohorts after changes so cost improvements are not hiding factuality or latency regressions. Record the exact policy revision and model route for each response so apparent cost reductions can be separated from shifts to weaker models or forbidden regions. Staged promotion and rollback should be tested on identical request cohorts.
Incorrect Answers
A:Untracked rules can produce divergent behavior and make incidents irreproducible. Align changes with a controlled promotion process. A local model preference can change cost, quality or compliance invisibly. Store reviewed routing revisions centrally and associate them with request traces. Capture which route produced the customer-facing answer.
B:End users cannot reliably infer backend selection from prose. The service must capture real routing metadata while protecting unnecessary internal detail. Similar-looking responses may come from distinct models, and user guesses cannot reconstruct the effective route. Log the selected model and policy revision.
D:Overall session counts cannot attribute cost or quality shifts to a particular model or decision rule. Record the route used for each invocation. A single total masks expensive or weak fallback paths. Attribute per-route token spend, accepted-answer quality, errors and which configuration made the selection.
Question 308
After a content ingestion update, the rate of unsupported technical claims rises. The model version is unchanged. What should the team investigate first?
- Monitor grounding and citation failures by source version, then review the changed corpus and ingestion mappings.
- Increase output tokens until the model has room to invent missing clauses.
- Delete all factuality tests so the error rate returns to zero.
- Assume the model’s unchanged weights prove the new content is accurate.
Explanation
Correct Answer
A:Compare recent answers against authoritative source passages and correlate regressions with ingestion jobs, chunk versions, metadata filters and citation resolution. Look for malformed tables, stale records or lost qualifiers. Repair the affected source/index pipeline and retest known failures before changing the model. Trace the changed document versions and index sync through retrieval to the failed answer citations. If the same model produces new hallucinations only after ingestion, compare source relevance and chunk provenance before changing model parameters.
Incorrect Answers
B:More generated text can increase the number of unsupported details. Fix source grounding and declare uncertainty where evidence is missing. Longer output can make unsupported engineering claims sound more persuasive. Test source retrieval and citation support on the documents added in the last ingestion.
C:Removing tests hides the problem rather than reducing user-facing errors. Preserve and expand a regression set around the affected source categories. Keep the failed factuality cases as frozen regression inputs, compare before and after sync, and repair source chunking or eligibility rather than hide errors.
D:Even unchanged models can become unreliable when their retrieved evidence changes. The source corpus is part of application behavior and requires versioned validation. Changing retrieval evidence can alter outputs from identical model weights. Trace source versions and the selected passages in failed responses.
Question 309
The acronym “CAR” means customer account review in finance but computer-assisted repair in engineering. A search assistant serves both departments. How should query rewriting work?
- Remove all literal acronym matches because embeddings are always sufficient.
- Select whichever meaning is alphabetically first without checking user purpose.
- Expand the acronym into both definitions for every query and merge all resulting documents.
- Use authenticated department and surrounding context to disambiguate the acronym, asking for clarification if needed.
Explanation
Correct Answer
D:Condition expansion on verified task context and authoritative glossary mappings, retaining the original query and source scope. Test ambiguous cross-department cases and ask a targeted follow-up when neither interpretation is reliable. Apply permissions before retrieval so expanding an acronym does not expose another group’s documents.
Incorrect Answers
A:Exact acronym matching is valuable for technical identifiers and rare terms. Hybrid retrieval can combine it with semantic relevance. Acronyms such as CAR are exact identifiers in both departments. Retain lexical matches and use the caller’s department to disambiguate semantic expansion.
B:Alphabetic order has no relationship to business intent and can produce consistent but wrong advice. Use context and explicit uncertainty. An alphabetical choice ignores the employee's job context. Seek a department signal or clarification and preserve verified source scope. Finance and engineering would otherwise receive opposite expansions.
C:Blind expansion introduces unrelated evidence and can leak documents if one meaning belongs to a restricted department. Disambiguate before ranking. Retrieving finance and engineering records together may confuse meanings and expose restricted information. Expand only the interpretation permitted for the user and task.
Question 310
A partner integrates a public GenAI gateway but sends unbounded input text and requests huge model outputs. What contract should the API edge enforce?
- Allow callers to choose arbitrary unapproved models and inference profiles.
- Accept any payload size because downstream models will silently truncate harmlessly.
- Validate request sizes, model allowlists and output-token budgets before submitting an authorized invocation.
- Rate-limit only successful responses, not expensive requests that are later rejected.
Explanation
Correct Answer
C:Apply server-side schema, media size, token and model validation at the gateway; enforce authentication, tenant quotas and allowed output budgets. Reject oversized or unsupported requests with actionable errors before spending inference capacity. Test maliciously large documents and repeated failures as well as normal inputs. Reject an oversized request before incurring model charges and return a typed limit error that clients can handle. Verify both the allowed maximum output and the actual token budget for authenticated callers, including long pasted documents.
Incorrect Answers
A:Client-controlled model selection can violate IAM, budget or residency requirements. Restrict selection to an approved capability and region catalog. Enforce approved model/Region allowlists at the gateway; a valid-looking request must not authorize an expensive or noncompliant inference route. Record the rejected model selection as a typed authorization error.
B:Unsupported or oversized requests can fail unpredictably or consume preprocessing resources. Silent truncation may omit important clauses. Enforce explicit limits. Reject invalid content size before expensive preprocessing and Bedrock invocation. Silent truncation can omit critical clauses and create misleading outputs.
D:Failed requests can still use gateway and downstream resources. Protect the entry point with appropriate admission and rate controls for all requests. Rejected or malformed calls can still consume significant gateway resources or reach downstream services. Apply admission and token quotas before work begins.