Question 180

A replacement endpoint must load large weights before traffic moves from the primary. The primary is healthy but scheduled for shutdown. What migration sequence reduces interruption?

  1. Delete the primary first to guarantee no overlapping charges
  2. Switch routing as soon as the replacement process starts
  3. Bring up and verify replacement capacity, switch routing gradually, then drain the primary
  4. Route all traffic before checking the replacement's inference readiness

Explanation

Correct Answer

C:

Prewarming avoids a gap while weights load. Overlapping capacity costs more temporarily but supports readiness checks and rollback.

Incorrect Answers

A:

This creates an avoidable service gap before the replacement is ready.

B:

A running process may still be loading weights and unable to serve valid inference.

D:

A created endpoint may still be loading or misconfigured. Premature routing can cause the interruption the migration is intended to avoid.

Question 181

A rarely used experimental FM occupies an expensive always-on accelerator endpoint. Which action should be evaluated?

  1. Delete the stored checkpoint while keeping the serving accelerator allocated
  2. Keep capacity forever because the checkpoint is valuable
  3. Increase minimum replicas to reduce idle cost
  4. Retire or schedule unused capacity and compare suitable on-demand serving alternatives

Explanation

Correct Answer

D:

Idle serving resources can dominate cost. Account for startup latency and model support before changing the deployment pattern.

Incorrect Answers

A:

Artifact storage and running capacity have separate costs. Removing source files does not necessarily stop an already loaded endpoint or its charges.

B:

Artifact retention does not require perpetual serving capacity.

C:

Additional always-on capacity generally increases the idle resource footprint.

Question 182

A CRM needs document summaries, but document processing exceeds its webhook timeout. Which integration fits?

  1. Extend only the worker timeout while keeping the webhook synchronous
  2. Return a fabricated summary immediately
  3. Acknowledge the event, enqueue work, and deliver the completed result asynchronously
  4. Drop any document that takes longer than the webhook timeout
  5. Keep the webhook open indefinitely

Explanation

Correct Answer

C:

Decoupling avoids holding the webhook open. Correlation connects completion to the original CRM record.

Incorrect Answers

A:

The caller's webhook deadline still expires. A longer worker allowance does not change the external integration contract.

B:

Fast fabricated content does not complete the requested processing.

D:

This silently loses valid work rather than decoupling the long-running operation.

E:

The caller has a fixed timeout, so an unbounded synchronous response cannot meet its contract.

Question 183

A document-upload event can be delivered more than once. What should the summary worker do?

  1. Assume event delivery is globally exactly once
  2. Use only the filename for all time
  3. Generate a random output record on every delivery
  4. Deduplicate using document identity and revision, with recorded processing state
  5. Use a queue visibility timeout as the sole duplicate-prevention mechanism

Explanation

Correct Answer

D:

Repeated delivery should not create duplicate outputs. Revision matters because a genuine update must still be processed.

Incorrect Answers

A:

Distributed delivery can include duplicates, so this assumption leaves side effects unprotected.

B:

A filename can contain multiple legitimate revisions and may not be globally unique.

C:

Independent identifiers make duplicate processing harder to recognize and reconcile.

E:

Visibility limits concurrent delivery for a period but does not provide permanent business-operation deduplication.

Question 184

A legacy order system exposes a fragile proprietary interface. How should an FM application access it?

  1. Use a controlled adapter exposing narrow validated business operations
  2. Replace every legacy error with success
  3. Give the model raw administrator credentials for the legacy system
  4. Let generated code modify the legacy database directly

Explanation

Correct Answer

A:

The adapter hides protocol complexity while preserving authorization and error semantics. The model does not need unrestricted legacy access.

Incorrect Answers

B:

False success conceals failed operations and corrupts the user's understanding of order state.

C:

Credentials expand privilege and expose implementation details unnecessarily.

D:

Direct writes bypass the business rules and validated interface boundary.

Question 185

Employees access an assistant using enterprise SSO, but downstream tools act as one administrator. What integration change is needed?

  1. Keep administrator access and ask the model to be careful
  2. Trust the employee name typed into the prompt
  3. Remove SSO because the backend already has credentials
  4. Propagate verified identity or delegated scope and enforce per-user authorization downstream

Explanation

Correct Answer

D:

Authentication at the UI does not constrain a broad backend identity. Tools need the caller's authorized business scope.

Incorrect Answers

A:

Instructions cannot replace downstream privilege enforcement.

B:

Prompt text is not proof of identity and can impersonate another user.

C:

Service credentials do not establish which human is authorized for a requested action.

Question 186

Several applications call Bedrock directly, bypassing required request budgets. What architecture enforces the shared consumption policy?

  1. Put the budget only in each user's prompt
  2. Measure spending only after the month ends
  3. Publish a gateway URL while retaining unrestricted direct access
  4. Require an approved gateway path and restrict direct invocation permissions

Explanation

Correct Answer

D:

A gateway can validate, meter, and route requests only if applications cannot bypass it. IAM should reflect that architecture.

Incorrect Answers

A:

Users can change prompt text, and models do not enforce account-level consumption limits.

B:

Retrospective reporting does not enforce per-request or per-client budgets.

C:

Applications can still avoid the policy path, so enforcement remains optional.

Question 187

A GenAI release changes model routing, prompts, and retrieval settings. What should the deployment record identify?

  1. The exact compatible versions of all changed components and their evaluation results
  2. Record only the deployed model identifier because prompts are configuration
  3. Whichever configuration is current when an audit occurs
  4. Only the application commit, with mutable prompt and retrieval references resolved at runtime
  5. Only the frontend commit hash

Explanation

Correct Answer

A:

Behavior depends on the combined configuration. A reproducible release needs more than the application commit alone.

Incorrect Answers

B:

Prompts and retrieval settings change behavior too. Omitting them prevents reconstruction of the tested release.

C:

A later configuration cannot reconstruct the behavior of the original release.

D:

A stable code commit can still invoke changing behavioral components. The release record must bind the evaluated combination rather than only application source.

E:

That omits the model, prompt, and retrieval changes driving output behavior.

Question 188

A public endpoint receives completion callbacks that update customer records. What should it verify?

  1. The callback's authenticity, integrity, and association with an expected job
  2. Only that the payload is valid JSON
  3. Only that the callback's job identifier has the expected string format
  4. Only that the request arrived over HTTPS

Explanation

Correct Answer

A:

An attacker must not be able to submit arbitrary completion data. Job correlation also prevents applying a valid result to the wrong record.

Incorrect Answers

B:

Syntactic validity does not prove trusted origin or correct job association.

C:

A correctly shaped identifier can be guessed or replayed. Verify origin, integrity, and association with the actual pending job before updating records.

D:

TLS protects transport but does not inherently authorize the sender to update this record.

Question 189

A malformed document repeatedly fails and blocks useful asynchronous work. What queue-processing design fits?

  1. Acknowledge every failed item as successfully summarized
  2. Delete the entire queue after one failure
  3. Retry the same bad input forever without recording errors
  4. Bound retries and route persistent failures to a dead-letter or quarantine path
  5. Return every received record to the queue without preserving its retry count or failure reason
  6. Increase retry count for every validation error without classifying failures

Explanation

Correct Answer

D:

Poison jobs need isolation and diagnostic records. Valid jobs should continue while failed inputs are repaired.

Incorrect Answers

A:

That silently loses work and misrepresents completion.

B:

Valid pending jobs should not be discarded because one input is malformed.

C:

This consumes capacity and can prevent progress without changing the defect.

E:

Undifferentiated redelivery prevents controlled isolation of persistent failures. A durable retry and quarantine policy lets valid work progress and failed inputs be repaired.

F:

Malformed inputs generally need repair rather than repeated identical execution. Unbounded retries consume capacity without changing the defect.

Question 190

A document-summary worker receives an SQS message. Processing legitimately takes longer than the queue's visibility timeout, and a second worker starts the same job before the first finishes. What should the design change?

  1. Use a suitable visibility timeout or controlled extensions, while retaining business-level idempotency
  2. Keep the short visibility timeout and assume worker execution automatically locks the message forever
  3. Use a longer message retention period as the only change
  4. Delete the message immediately on receipt before preserving recoverable job state

Explanation

Correct Answer

A:

A processing lease should cover expected work so normal execution is not prematurely redelivered. Lease management reduces overlap but does not provide an absolute exactly-once guarantee.

Incorrect Answers

B:

The visibility lease expires independently of whether the worker is still running. An active process does not indefinitely reserve the message.

C:

Retention controls how long messages may remain in the queue. It does not extend the invisibility interval after receipt.

D:

Early deletion prevents retry if the worker subsequently crashes. It replaces duplicate work with a risk of silently lost work.

AWS Certified Generative AI Developer - Professional AIP-C01 Practice Tests