Question 170
An application uses two Bedrock models and frequently changes the preferred provider. The engineering team is required to switch providers without editing every calling microservice. What should be built first?
- Use a versioned deprecation and rollback plan for model artifacts and endpoint clients.
- Put model selection behind a versioned routing adapter with AWS AppConfig configuration.
- Use version-aware cache invalidation linked to freshness requirements.
- Choose a geographic Bedrock cross-Region inference profile and verify its destination Regions.
Explanation
Correct Answer
B:The adapter abstracts model-specific requests while configuration changes routing independently of service releases; it directly supports the architectural objective to switch providers without editing every calling microservice. Embedding model IDs in each client couples every deployment to one provider; that boundary is important when selecting the implementation.
Incorrect Answers
A:Controlled retirement identifies dependent callers, preserves lineage, and gives clients a migration interval; this explains its relevance to remove old deployment access without losing the approved audit record, not the the architecture selection requirement to switch providers without editing every calling microservice after a vendor switch forces a coordinated redeployment of dozens of application consumers. Deleting a model before consumers migrate breaks inference without a recovery path; choosing it for the architecture selection would leave the underlying issue visible: a vendor switch forces a coordinated redeployment of dozens of application consumers.
C:A cache can retain speed benefits while dropping answers based on stale documents; this explains its relevance to expire or invalidate cached responses when indexed source data changes, not the the architecture selection requirement to switch providers without editing every calling microservice after a vendor switch forces a coordinated redeployment of dozens of application consumers. A very long fixed TTL is unsuitable for volatile inventory decisions; choosing it for the architecture selection would leave the underlying issue visible: a vendor switch forces a coordinated redeployment of dozens of application consumers.
D:Geographic profiles constrain request processing to their supported region set, unlike globally routed profiles; this explains its relevance to gain cross-Region capacity without routing protected prompts worldwide, not the the architecture selection requirement to switch providers without editing every calling microservice after a vendor switch forces a coordinated redeployment of dozens of application consumers. A broad global routing profile can violate a location-specific processing restriction; choosing it for the architecture selection would leave the underlying issue visible: a vendor switch forces a coordinated redeployment of dozens of application consumers.
Question 171
Production evidence: A suspicious lookup occurs with no trace showing the initiating workflow step. The original design context was: An agent takes several tool actions before giving a final answer. Which change prevents recurrence?
- Record policy outcomes and route blocked responses to safe alternatives or human review.
- Calibrate an LLM-as-a-judge rubric with human-reviewed reference cases.
- Enable agent or application tracing with protected trace access.
- Record tool calls per successful task and detect repeated action patterns.
Explanation
Correct Answer
C:Step-level records make it possible to review tool behavior and debug decision paths; that explains the reported failure: a suspicious lookup occurs with no trace showing the initiating workflow step. A hidden free-form reasoning transcript is not required to prove an API action happened; a symptom-only workaround would not restore the requirement to log accessible tool and step traces with correlation IDs.
Incorrect Answers
A:Explicit handling avoids exposing forbidden text while preserving an audit trail; this explains its relevance to build intervention logging and controlled fallback behavior into the app, not the the reported failure and its causal repair requirement to log accessible tool and step traces with correlation IDs after a suspicious lookup occurs with no trace showing the initiating workflow step. Silently replacing every blocked response with a generic claim hides policy failures; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a suspicious lookup occurs with no trace showing the initiating workflow step.
B:For work that needs to validate automated rubric ratings against independent expert judgments, automated evaluators can scale review, but their own bias and consistency need testing; the specific the reported failure and its causal repair instead requires log accessible tool and step traces with correlation IDs in light of a suspicious lookup occurs with no trace showing the initiating workflow step. A single judge's numeric score is not a ground-truth fairness guarantee; this is insufficient for the reported failure and its causal repair, given the evidence that a suspicious lookup occurs with no trace showing the initiating workflow step.
D:Efficiency metrics reveal unproductive loops that raise cost and risk; that is valuable when the goal is to measure tool efficiency and stopping correctness, but the reported failure and its causal repair instead depends on the ability to log accessible tool and step traces with correlation IDs. High model response quality does not imply economical orchestration; it does not account for the condition in the reported failure and its causal repair: a suspicious lookup occurs with no trace showing the initiating workflow step.
Question 172
Production evidence: Spending doubles but engineers cannot separate traffic growth from longer prompts. The original design context was: An application sees rising daily inference costs. Which change prevents recurrence?
- Create structured trace records for each model and tool invocation.
- Combine vector-index health metrics with source-sync freshness audits.
- Publish token-usage and estimated-cost metrics with dimensions in CloudWatch.
- Profile prefill and decode bottlenecks with token-specific metrics.
Explanation
Correct Answer
C:Attributed usage reveals which behavior or cohort drives spend; that explains the reported failure: spending doubles but engineers cannot separate traffic growth from longer prompts. A single monthly total does not identify the feature creating token bursts; a symptom-only workaround would not restore the requirement to record input and output tokens per model, tenant, and feature.
Incorrect Answers
A:The scope of this alternative is different: per-step observability distinguishes orchestration overhead from model response time; it supports trace correlated agent and tool spans per user request, while the reported failure and its causal repair needs record input and output tokens per model, tenant, and feature after spending doubles but engineers cannot separate traffic growth from longer prompts. One log line per final answer cannot expose intermediate retries; for the reported failure and its causal repair, the unresolved requirement remains to record input and output tokens per model, tenant, and feature, as shown when spending doubles but engineers cannot separate traffic growth from longer prompts.
B:Operational health includes current content and quality, not just cluster availability; that is valuable when the goal is to monitor index freshness, recall checks, and retrieval latency, but the reported failure and its causal repair instead depends on the ability to record input and output tokens per model, tenant, and feature. Green storage health does not mean embeddings match updated documents; it does not account for the condition in the reported failure and its causal repair: spending doubles but engineers cannot separate traffic growth from longer prompts.
D:For work that needs to measure input and output token throughput separately, token-stage measurements distinguish long-prompt processing from slow completion generation; the specific the reported failure and its causal repair instead requires record input and output tokens per model, tenant, and feature in light of spending doubles but engineers cannot separate traffic growth from longer prompts. Request-per-second counts conceal large differences in token workload; this is insufficient for the reported failure and its causal repair, given the evidence that spending doubles but engineers cannot separate traffic growth from longer prompts.
Question 173
An LLM is large and every worker startup takes several minutes. The incident report says: A scale-out event creates a queue while new workers repeatedly load multi-gigabyte artifacts. Which specific design change best corrects the failure?
- Profile GPU memory and model loading, then allocate suitable inference instances.
- Use staged model loading and maintain the needed minimum warm workers.
- Evaluate Bedrock prompt caching for stable repeated prompt segments.
- Evaluate Amazon Bedrock Provisioned Throughput for the selected supported model.
Explanation
Correct Answer
B:Loading weights and initializing device memory dominate startup for large self-hosted models; that explains the reported failure: a scale-out event creates a queue while new workers repeatedly load multi-gigabyte artifacts. Reducing HTTP keepalive alone does not reduce weight initialization time; a symptom-only workaround would not restore the requirement to reduce cold-start impact through controlled artifact loading and warm capacity.
Incorrect Answers
A:LLM serving must account for model parameters, activation and cache memory, and concurrent token generation; that is valuable when the goal is to size the runtime for weights, KV cache, and maximum concurrency, but the reported failure and its causal repair instead depends on the ability to reduce cold-start impact through controlled artifact loading and warm capacity. CPU autoscaling alone does not fix GPU memory exhaustion; it does not account for the condition in the reported failure and its causal repair: a scale-out event creates a queue while new workers repeatedly load multi-gigabyte artifacts.
C:The scope of this alternative is different: caching eligible shared prefixes can reduce repeated processing under supported conditions; it supports reuse stable prefixes when model and API support prompt caching, while the reported failure and its causal repair needs reduce cold-start impact through controlled artifact loading and warm capacity after a scale-out event creates a queue while new workers repeatedly load multi-gigabyte artifacts. Caching dynamic private user data indiscriminately is unsafe and less reusable; for the reported failure and its causal repair, the unresolved requirement remains to reduce cold-start impact through controlled artifact loading and warm capacity, as shown when a scale-out event creates a queue while new workers repeatedly load multi-gigabyte artifacts.
D:For work that needs to reserve supported inference capacity for steady traffic, provisioned capacity is designed for workloads needing committed throughput rather than purely bursty on-demand access; the specific the reported failure and its causal repair instead requires reduce cold-start impact through controlled artifact loading and warm capacity in light of a scale-out event creates a queue while new workers repeatedly load multi-gigabyte artifacts. Cross-Region inference profiles do not become provisioned capacity reservations; this is insufficient for the reported failure and its causal repair, given the evidence that a scale-out event creates a queue while new workers repeatedly load multi-gigabyte artifacts.
Question 174
Copying application source alone does not standardize IAM boundaries or operational controls. An architecture reviewer must still ensure the application can provide a reusable reference architecture with repeatable security and operations checks. What recommendation is justified?
- Publish parameterized IaC modules and validate them in CI for each environment.
- Run a bounded Amazon Bedrock proof of concept with golden questions and acceptance thresholds.
- Use the AWS Well-Architected Tool with a GenAI-focused workload review.
- Define shared infrastructure modules and apply the AWS Well-Architected Generative AI Lens.
- Validate prompt revisions with a golden dataset and automated acceptance gates.
Explanation
Correct Answer
D:Standard deployment patterns encode tested identity, observability, reliability, and cost choices across teams; this is the behavior to validate in a release review concerned with provide a reusable reference architecture with repeatable security and operations checks. Copying application source alone does not standardize IAM boundaries or operational controls; the proposed shortcut would therefore be an inadequate guarantee.
Incorrect Answers
A:Infrastructure as code makes endpoints, IAM, logging, and security defaults reproducible and reviewable; that is valuable when the goal is to prevent infrastructure configuration drift between test and production deployments, but the release-control decision instead depends on the ability to provide a reusable reference architecture with repeatable security and operations checks. Manual console replication can silently create different policy scopes or network paths; it does not account for the condition in the release-control decision: two assistants built from one codebase have incompatible logging, encryption, and rollback behavior.
B:An evaluation pilot tests accuracy, safety, latency, and cost against representative inputs before architectural lock-in; that is valuable when the goal is to establish a measurable feasibility decision using representative customer traffic, but the release-control decision instead depends on the ability to provide a reusable reference architecture with repeatable security and operations checks. A vendor demo on idealized prompts does not estimate production failures or cost; it does not account for the condition in the release-control decision: two assistants built from one codebase have incompatible logging, encryption, and rollback behavior.
C:The scope of this alternative is different: a structured workload review captures risks and improvement actions across relevant pillars before production approval; it supports map architectural risks to an explicit, repeatable review checklist, while the release-control decision needs provide a reusable reference architecture with repeatable security and operations checks after two assistants built from one codebase have incompatible logging, encryption, and rollback behavior. A model leaderboard says little about disaster recovery, governance, and operations; for the release-control decision, the unresolved requirement remains to provide a reusable reference architecture with repeatable security and operations checks, as shown when two assistants built from one codebase have incompatible logging, encryption, and rollback behavior.
E:Representative input-output checks expose quality regressions before promotion; this explains its relevance to run repeatable regression checks against a fixed evaluation set, not the the release-control decision requirement to provide a reusable reference architecture with repeatable security and operations checks after two assistants built from one codebase have incompatible logging, encryption, and rollback behavior. One handcrafted demo question is insufficient to test diverse user intents; choosing it for the release-control decision would leave the underlying issue visible: two assistants built from one codebase have incompatible logging, encryption, and rollback behavior.
Question 175
Production evidence: An agent lists an HR tool that it should not be allowed to execute. The original design context was: A platform team exposes multiple MCP tools used by distinct departments. Which change prevents recurrence?
- Give tool handlers a least-privilege IAM role with read-only permissions.
- Publish typed tool definitions behind an authenticated tool gateway.
- Use Model Context Protocol-compatible interfaces with authenticated tool servers.
- Issue a task-scoped role with minimal S3 object permissions and caller-aware filters.
Explanation
Correct Answer
B:Consistent discovery simplifies client integration, but the gateway still checks each action and caller; that explains the reported failure: an agent lists an HR tool that it should not be allowed to execute. A tool manifest is descriptive metadata rather than an authorization boundary; a symptom-only workaround would not restore the requirement to standardize capability discovery while independently validating caller permissions.
Incorrect Answers
A:Data-plane authorization blocks prohibited writes even when a model emits a malicious tool request; that is valuable when the goal is to restrict callable actions independently of the model's suggestions, but the reported failure and its causal repair instead depends on the ability to standardize capability discovery while independently validating caller permissions. Prompt-level denials alone cannot override permissions carried by a runtime role; it does not account for the condition in the reported failure and its causal repair: an agent lists an HR tool that it should not be allowed to execute.
C:The scope of this alternative is different: a standard tool interface describes available operations and schemas, reducing framework-specific glue; it supports make tool discovery and invocation contracts consistent across clients, while the reported failure and its causal repair needs standardize capability discovery while independently validating caller permissions after an agent lists an HR tool that it should not be allowed to execute. Protocol compatibility does not grant permissions; authentication remains necessary; for the reported failure and its causal repair, the unresolved requirement remains to standardize capability discovery while independently validating caller permissions, as shown when an agent lists an HR tool that it should not be allowed to execute.
D:The tool runtime's data-plane scope must match the action being executed; that is valuable when the goal is to avoid granting broad bucket permissions to the agent runtime, but the reported failure and its causal repair instead depends on the ability to standardize capability discovery while independently validating caller permissions. Allowing s3:* on the bucket makes prompt injection more damaging; it does not account for the condition in the reported failure and its causal repair: an agent lists an HR tool that it should not be allowed to execute.
Question 176
Support tickets contain exact error codes and natural-language problem descriptions. A large document repository changes only a small fraction of files each day. The deployment has these independent requirements: (1) combine lexical precision with semantic matching; (2) reduce unnecessary embedding work during regular index updates. Which TWO implementation actions jointly cover the stated requirements? Choose TWO.
- Filter by trusted attributes before vector or hybrid scoring.
- Configure a supported ANN vector index and tune search parameters.
- Use hybrid retrieval combining keyword scores and vector similarity.
- Use incremental synchronization that processes only changed documents.
- Connect a supported data source or build a scoped ETL connector into a knowledge base.
- Decompose complex user requests into narrower retrieval subqueries.
Explanation
Correct Answers
C:Keyword search preserves exact identifiers while semantic retrieval handles paraphrases and conceptual similarity; this fulfills combine lexical precision with semantic matching within a combined design that must also reduce unnecessary embedding work during regular index updates. Vector-only retrieval can underweight rare literal identifiers; the other required action(s) must additionally reduce unnecessary embedding work during regular index updates.
D:Change-aware ingestion avoids re-embedding unchanged source content in routine refreshes; this fulfills reduce unnecessary embedding work during regular index updates within a combined design that must also combine lexical precision with semantic matching. Rebuilding every vector daily increases processing cost without improving freshness; the other required action(s) must additionally combine lexical precision with semantic matching.
Incorrect Answers
A:Candidate restriction enforces contextual scope while ranking orders relevant allowed chunks; its proper focus is to combine metadata prefilters with semantic ranking instead of relying on prompts, rather than the combined requirements to combine lexical precision with semantic matching and reduce unnecessary embedding work during regular index updates. The FM cannot reliably undo a retrieval query that included unauthorized content; in this combined design needing combine lexical precision with semantic matching and reduce unnecessary embedding work during regular index updates, it does not directly meet the specified requirement to reduce unnecessary embedding work during regular index updates.
B:Nearest-neighbor indexing avoids exhaustive comparison for every request, with measurable speed-versus-recall tradeoffs; its proper focus is to index embeddings and benchmark recall and query time, rather than the combined requirements to combine lexical precision with semantic matching and reduce unnecessary embedding work during regular index updates. Storing vectors without a search index can cause costly full scans; in this combined design needing combine lexical precision with semantic matching and reduce unnecessary embedding work during regular index updates, it does not directly meet the specified requirement to combine lexical precision with semantic matching.
E:The connector transfers authorized source text and metadata into the retrieval ingestion pipeline; its proper focus is to ingest approved wiki content using a connector or scheduled extraction workflow, rather than the combined requirements to combine lexical precision with semantic matching and reduce unnecessary embedding work during regular index updates. Model invocation alone cannot read an enterprise system with no integration; in this combined design needing combine lexical precision with semantic matching and reduce unnecessary embedding work during regular index updates, it does not directly meet the specified requirement to reduce unnecessary embedding work during regular index updates.
F:Subquery retrieval can cover separate facets that one embedding query would blur together; its proper focus is to retrieve evidence for each subquestion instead of sending one vague query, rather than the combined requirements to combine lexical precision with semantic matching and reduce unnecessary embedding work during regular index updates. A single vector search may capture only the dominant term of a compound question; in this combined design needing combine lexical precision with semantic matching and reduce unnecessary embedding work during regular index updates, it does not directly meet the specified requirement to combine lexical precision with semantic matching.
Question 177
A tool-using agent fails intermittently and service health checks stay green. The engineering team is required to monitor tool success rate, latency, retries, and action counts. What should be built first?
- Instrument each tool call and aggregate failures per tool and step.
- Record tool calls per successful task and detect repeated action patterns.
- Combine vector-index health metrics with source-sync freshness audits.
- Create structured trace records for each model and tool invocation.
Explanation
Correct Answer
A:Tool-level metrics isolate external dependency issues from FM reasoning failures; it directly supports the architectural objective to monitor tool success rate, latency, retries, and action counts. Final-response success alone can hide repeated expensive intermediate failures; that boundary is important when selecting the implementation.
Incorrect Answers
B:For work that needs to measure tool efficiency and stopping correctness, efficiency metrics reveal unproductive loops that raise cost and risk; the specific the architecture selection instead requires monitor tool success rate, latency, retries, and action counts in light of an inventory integration degrades while model availability remains unchanged. High model response quality does not imply economical orchestration; this is insufficient for the architecture selection, given the evidence that an inventory integration degrades while model availability remains unchanged.
C:Operational health includes current content and quality, not just cluster availability; this explains its relevance to monitor index freshness, recall checks, and retrieval latency, not the the architecture selection requirement to monitor tool success rate, latency, retries, and action counts after an inventory integration degrades while model availability remains unchanged. Green storage health does not mean embeddings match updated documents; choosing it for the architecture selection would leave the underlying issue visible: an inventory integration degrades while model availability remains unchanged.
D:Per-step observability distinguishes orchestration overhead from model response time; that is valuable when the goal is to trace correlated agent and tool spans per user request, but the architecture selection instead depends on the ability to monitor tool success rate, latency, retries, and action counts. One log line per final answer cannot expose intermediate retries; it does not account for the condition in the architecture selection: an inventory integration degrades while model availability remains unchanged.
Question 178
A multinational assistant cannot move jurisdiction-specific documents outside their boundary. The engineering team is required to choose per-jurisdiction storage and processing paths before inference. What should be built first?
- Evaluate Amazon Bedrock Data Automation for supported multimodal document extraction.
- Use a controlled hybrid connectivity path and minimize transferred sensitive data.
- Use an authenticated API adapter to expose narrow ERP operations to the AI service.
- Run local filtering and use secure network routes to a permitted cloud inference endpoint.
- Partition the RAG architecture by residency domain and enforce region-aware routing.
- Issue a task-scoped role with minimal S3 object permissions and caller-aware filters.
Explanation
Correct Answer
E:Data location and inference destination both matter when governing cross-border processing; it directly supports the architectural objective to choose per-jurisdiction storage and processing paths before inference. Replicating all vector indexes into one region may violate source residency rules; that boundary is important when selecting the implementation.
Incorrect Answers
A:For work that needs to use a specialized managed document-processing component before generative synthesis, purpose-built extraction can structure document content for downstream business workflows; the specific the architecture selection instead requires choose per-jurisdiction storage and processing paths before inference in light of a user in one jurisdiction receives content indexed from prohibited overseas documents. A text summarization prompt alone cannot guarantee reliable field extraction across formats; this is insufficient for the architecture selection, given the evidence that a user in one jurisdiction receives content indexed from prohibited overseas documents.
B:Hybrid design separates locally governed source systems from cloud FM calls and permits explicit data movement policy; that is valuable when the goal is to integrate approved metadata with cloud inference over private connectivity, but the architecture selection instead depends on the ability to choose per-jurisdiction storage and processing paths before inference. Hosting other workloads on Outposts does not automatically place Bedrock inference on premises; it does not account for the condition in the architecture selection: a user in one jurisdiction receives content indexed from prohibited overseas documents.
C:The scope of this alternative is different: an integration layer translates protocol and policy without granting the model raw database authority; it supports connect GenAI workflows through a controlled adapter without database coupling, while the architecture selection needs choose per-jurisdiction storage and processing paths before inference after a user in one jurisdiction receives content indexed from prohibited overseas documents. Direct database credentials inside prompts are insecure and cannot enforce transactions; for the architecture selection, the unresolved requirement remains to choose per-jurisdiction storage and processing paths before inference, as shown when a user in one jurisdiction receives content indexed from prohibited overseas documents.
D:Edge processing can reduce payloads and protect connectivity without claiming that the FM itself runs at the edge; this explains its relevance to separate low-latency local preprocessing from remote model inference, not the the architecture selection requirement to choose per-jurisdiction storage and processing paths before inference after a user in one jurisdiction receives content indexed from prohibited overseas documents. Moving the web client to Wavelength does not move an unsupported managed FM there; choosing it for the architecture selection would leave the underlying issue visible: a user in one jurisdiction receives content indexed from prohibited overseas documents.
F:The scope of this alternative is different: the tool runtime's data-plane scope must match the action being executed; it supports avoid granting broad bucket permissions to the agent runtime, while the architecture selection needs choose per-jurisdiction storage and processing paths before inference after a user in one jurisdiction receives content indexed from prohibited overseas documents. Allowing s3:* on the bucket makes prompt injection more damaging; for the architecture selection, the unresolved requirement remains to choose per-jurisdiction storage and processing paths before inference, as shown when a user in one jurisdiction receives content indexed from prohibited overseas documents.
Question 179
A code-review note warns: Encrypting a sensitive log does not eliminate unnecessary exposure to authorized readers. The business requirement is to apply redaction and access restrictions before writing traces. Which mechanism should replace the shortcut?
- Track retrieval provenance from the source object to the final citation.
- Serve de-identified retrieval data by default with a controlled privileged lookup path.
- Write structured immutable-where-required audit records with retention and access control.
- Use AWS Organizations SCPs with IAM and application-level model allowlists.
- Catalog sources with AWS Glue metadata and explicit lineage records.
- Implement structured log redaction and least-privilege retention policies.
Explanation
Correct Answer
F:Logs can support forensics without storing unnecessary credentials or identities; this is the behavior to validate in a release review concerned with apply redaction and access restrictions before writing traces. Encrypting a sensitive log does not eliminate unnecessary exposure to authorized readers; the proposed shortcut would therefore be an inadequate guarantee.
Incorrect Answers
A:For work that needs to carry document identifiers and chunk locations into the generated response, stable source IDs and spans allow reviewers to verify claimed evidence; the specific the release-control decision instead requires apply redaction and access restrictions before writing traces in light of a debug trace contains an access token echoed by a tool response. A generated footnote without a backing retrieval record can be fabricated; this is insufficient for the release-control decision, given the evidence that a debug trace contains an access token echoed by a tool response.
B:For work that needs to maintain separate masked views and role-gated source access, separate paths prevent broad FM context access to raw identifiers while preserving legitimate workflows; the specific the release-control decision instead requires apply redaction and access restrictions before writing traces in light of a debug trace contains an access token echoed by a tool response. A model prompt cannot safely decide who may de-anonymize records; this is insufficient for the release-control decision, given the evidence that a debug trace contains an access token echoed by a tool response.
C:Audit evidence should identify who approved changes, which revision ran, and the action result; this explains its relevance to capture review events and protected application decision logs, not the the release-control decision requirement to apply redaction and access restrictions before writing traces after a debug trace contains an access token echoed by a tool response. Only storing prompt text without actors or versions cannot reconstruct governance decisions; choosing it for the release-control decision would leave the underlying issue visible: a debug trace contains an access token echoed by a tool response.
D:For work that needs to enforce service-access boundaries across accounts, organizational guardrails bound the permissions identities can receive across governed accounts; the specific the release-control decision instead requires apply redaction and access restrictions before writing traces in light of a debug trace contains an access token echoed by a tool response. An SCP sets a permission ceiling, not a grant of access by itself; this is insufficient for the release-control decision, given the evidence that a debug trace contains an access token echoed by a tool response.
E:A dataset catalog and transformation history make source provenance independently reviewable; that is valuable when the goal is to record how inputs were transformed and where they came from, but the release-control decision instead depends on the ability to apply redaction and access restrictions before writing traces. CloudTrail API events alone do not describe every semantic transformation of data; it does not account for the condition in the release-control decision: a debug trace contains an access token echoed by a tool response.
Question 180
A code-review note warns: Duplicating prompt chains in every app makes fixes and safety checks uneven. The business requirement is to publish reusable prompt-flow components with monitored I/O contracts. Which mechanism should replace the shortcut?
- Gate prompt version promotion and retain associated CloudTrail control-plane records.
- Execute structured-output and safety test cases in an automated prompt test workflow.
- Use Amazon Bedrock Prompt Management with versioned prompt templates.
- Compose modular prompt steps with explicit inputs, outputs, and failure handlers.
- Add step-level logs and X-Ray spans around prompt and tool transitions.
Explanation
Correct Answer
D:Component reuse reduces inconsistent transformation logic and supports per-step tracing; this is the behavior to validate in a release review concerned with publish reusable prompt-flow components with monitored I/O contracts. Duplicating prompt chains in every app makes fixes and safety checks uneven; the proposed shortcut would therefore be an inadequate guarantee.
Incorrect Answers
A:Approval records and API audit trails complement template versioning for accountability; this explains its relevance to keep a reviewed prompt release process with change audit events, not the the release-control decision requirement to publish reusable prompt-flow components with monitored I/O contracts after one application still sends unredacted text after shared policy logic was updated elsewhere. A model response log alone does not establish who deployed an instruction change; choosing it for the release-control decision would leave the underlying issue visible: one application still sends unredacted text after shared policy logic was updated elsewhere.
B:The scope of this alternative is different: edge cases reveal schema failures, instruction conflicts, and unsafe fallbacks that normal examples miss; it supports test malformed, adversarial, and boundary inputs before deployment, while the release-control decision needs publish reusable prompt-flow components with monitored I/O contracts after one application still sends unredacted text after shared policy logic was updated elsewhere. Validating only the happy path leaves parser failure modes untested; for the release-control decision, the unresolved requirement remains to publish reusable prompt-flow components with monitored I/O contracts, as shown when one application still sends unredacted text after shared policy logic was updated elsewhere.
C:Versioning creates a reviewable artifact with variables, allowing controlled rollout and rollback; that is valuable when the goal is to centralize parameterized prompts and promote immutable versions, but the release-control decision instead depends on the ability to publish reusable prompt-flow components with monitored I/O contracts. Copying prompt strings into application code hides drift between clients; it does not account for the condition in the release-control decision: one application still sends unredacted text after shared policy logic was updated elsewhere.
E:Tracing the boundaries reveals where context or formatting changes unexpectedly; this explains its relevance to trace intermediate prompts and transformations with secure correlation IDs, not the the release-control decision requirement to publish reusable prompt-flow components with monitored I/O contracts after one application still sends unredacted text after shared policy logic was updated elsewhere. A final answer log alone cannot reconstruct lost intermediate fields; choosing it for the release-control decision would leave the underlying issue visible: one application still sends unredacted text after shared policy logic was updated elsewhere.