Question 170

A hosted LLM saturates on long sequences while average request count remains stable. What scaling input is more informative?

  1. Only requests per day
  2. Only average request latency without token-length or queue segmentation
  3. Workload-aware signals such as token demand, concurrency, queueing, and accelerator utilization
  4. Only output grammar scores

Explanation

Correct Answer

C:

Requests differ greatly in computational cost. Sequence-aware signals reveal demand hidden by request count alone.

Incorrect Answers

A:

A daily total hides bursts and sequence-length differences.

B:

Averages can hide the workload that saturates serving. Scaling needs demand and utilization signals, not a single response-time statistic disconnected from sequence sizes.

D:

Quality metrics do not directly quantify serving capacity pressure.

Question 171

A supported Bedrock model serves predictable sustained traffic with a throughput commitment requirement. Which option should be evaluated?

  1. Select capacity only from average output length
  2. Provisioned Throughput with model eligibility, commitment, and utilization analysis
  3. Assume provisioned capacity supports every model in every Region
  4. Use unlimited retries instead of capacity planning

Explanation

Correct Answer

B:

Reserved capacity can suit stable demand where supported. Compare economics and required capacity rather than assuming it is universally cheapest.

Incorrect Answers

A:

Input tokens, concurrency, peaks, and model processing behavior also affect demand.

C:

Availability and supported configurations vary and must be verified.

D:

Retries consume resources but do not create guaranteed capacity.

Question 172

Thousands of independent summaries are needed overnight, with no interactive deadline. What deployment approach should be considered?

  1. Supported batch inference with job monitoring and output validation
  2. Issue every overnight item synchronously from one long-lived interactive request
  3. Disable failure reporting because users are offline
  4. Claim batch support for all models without checking

Explanation

Correct Answer

A:

Offline work can use asynchronous processing instead of occupying an interactive path. Verify model, input format, and regional support.

Incorrect Answers

B:

Long-lived interactive orchestration can be fragile and unnecessarily occupy client connections. A supported asynchronous batch path better matches independent offline work.

C:

Unattended workloads still need per-record outcomes and recoverable failures.

D:

Batch availability depends on the selected service and model configuration.

Question 173

A configuration update routes all requests to an incompatible endpoint. What reduces recovery time?

  1. Delete historical routing configurations
  2. Version routing configuration and provide a tested rollback to the last compatible target
  3. Disable request validation to force acceptance
  4. Increase the incompatible endpoint's capacity

Explanation

Correct Answer

B:

Routing is part of the release artifact. A reversible configuration change restores service without rebuilding unrelated application code.

Incorrect Answers

A:

Removing history makes recovery less reproducible.

C:

Invalid payloads remain semantically wrong even if a check is bypassed.

D:

More replicas do not repair a request-contract mismatch.

Question 174

A new inference image loads locally but fails in deployment because a native library is absent. What release control fits?

  1. Rebuild only the vector index
  2. Build and test the complete image in an environment representative of the target runtime
  3. Change the model checkpoint but reuse the same incomplete serving image
  4. Re-run only a source-code unit test outside the deployment container

Explanation

Correct Answer

B:

The container must include compatible dependencies. Local success outside that image does not validate deployment packaging.

Incorrect Answers

A:

Retrieval data is unrelated to the inference image's missing library.

C:

Different weights do not install the missing native runtime dependency. The failure occurs in the image environment before useful inference.

D:

Tests in a different environment can miss native libraries and ABI differences in the built image. Validate the actual deployable runtime.

Question 175

A private endpoint cannot start because its container must download weights from an unreachable repository. What should deployment planning include?

  1. An approved artifact staging and network-access path compatible with the private environment
  2. Assume private networking automatically mirrors every external repository
  3. Store only the public repository URL in environment configuration and provide no reachable artifact path
  4. Open unrestricted internet access without assessing alternatives

Explanation

Correct Answer

A:

Private hosting requires all startup dependencies to be reachable or prepackaged. Removing public access can expose hidden downloads.

Incorrect Answers

B:

Network isolation does not create artifact copies.

C:

Knowing a location does not make it accessible from the private deployment. Startup needs authorized access to staged or otherwise reachable weights.

D:

Broad egress exceeds what is necessary when controlled artifact staging can meet the requirement.

Question 176

A self-hosted FM loads successfully and serves short requests reliably. With long concurrent sequences, accelerator memory rises and the serving process is killed. Weight precision is unchanged. Which control should be evaluated first?

  1. Limit simultaneously active sequence tokens using measured runtime and KV-cache memory
  2. Increase HTTP timeouts while admitting the same unbounded workload
  3. Download the same checkpoint again before every invocation
  4. Add host disk capacity without changing accelerator allocation or scheduling

Explanation

Correct Answer

A:

The weights already load, while workload-dependent memory grows during serving. Admission should account for sequence lengths and concurrency rather than only the number of HTTP requests.

Incorrect Answers

B:

Additional waiting does not supply accelerator memory. More active long sequences may continue to exhaust the process.

C:

Repeated downloads do not reduce active-sequence memory. They add startup and I/O work without changing the observed pressure.

D:

Disk stores artifacts, but the failure is in the accelerator working set. Storage expansion alone does not constrain the active attention cache.

Question 177

A fine-tuned artifact is registered but has not passed the organization's deployment approval. What should the pipeline require?

  1. Deploy whichever model has the newest creation time
  2. An explicit approved version and successful release checks before endpoint promotion
  3. Treat registration as automatic permission for production
  4. Use the training job name as proof of readiness

Explanation

Correct Answer

B:

Registration records an artifact; it does not inherently mean organizational approval. The pipeline must enforce the intended gate.

Incorrect Answers

A:

Recency does not establish quality or approval.

C:

This conflates artifact inventory with release authorization.

D:

A completed job can still produce an unsuitable artifact.

Question 178

A model update changes response fields while old and new replicas coexist. What protects callers during the transition?

  1. Remove parsing checks until rollout finishes
  2. A backward-compatible response contract or versioned adapter for both deployments
  3. Assume all requests instantly switch at deployment start
  4. Use identical endpoint names to guarantee identical schemas

Explanation

Correct Answer

B:

Rolling updates create a mixed-version period. Clients must understand responses from either active path.

Incorrect Answers

A:

Unchecked responses can corrupt downstream processing during the highest-risk interval.

C:

In-flight work and gradual routing can preserve old responses.

D:

Names do not enforce payload compatibility.

Question 179

A model endpoint is being retired while requests are still in flight. Which shutdown sequence fits?

  1. Delete capacity first and update routing later
  2. Stop new routing, drain or safely terminate in-flight work, then remove capacity
  3. Declare every interrupted request successful
  4. Assume endpoint deletion completes all pending generations

Explanation

Correct Answer

B:

Controlled retirement avoids unnecessary failures and orphaned work. Record incomplete outcomes when a deadline prevents draining.

Incorrect Answers

A:

New requests continue reaching an unavailable target.

C:

An interrupted stream or operation may be incomplete and must not be misreported.

D:

Resource removal does not guarantee successful completion of active work.

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.

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