Question 140

A provisioned table throttles because nearly all writes target one partition key. What change addresses the structural bottleneck?

  1. Distribute writes across a better-partitioned key design
  2. Raise retries without backoff while keeping the same hot key
  3. Add an unrelated index and leave all writes on the original hot key
  4. Increase total table capacity without examining the per-key access pattern

Explanation

Correct Answer

A:

Adding aggregate capacity alone may not resolve concentrated demand on one hot key.

Incorrect Answers

B:

More immediate requests intensify pressure on the same partitioned access pattern.

C:

An unused query index does not redistribute those concentrated base-table writes.

D:

More aggregate capacity may not remove the structural concentration on one key and its applicable limits.

Question 141

A public login workflow must be exercised every few minutes even when no customers visit. Which monitoring pattern fits?

  1. A scheduled CloudWatch Synthetics canary
  2. Use only passive application access logs
  3. Use only a TCP port check
  4. Run a container vulnerability scan on the same schedule

Explanation

Correct Answer

A:

Synthetic requests proactively test the workflow independent of real customer traffic.

Incorrect Answers

B:

An idle application produces no synthetic transactions to exercise the login workflow proactively.

C:

A successful connection does not execute authentication and validate the user workflow.

D:

Package assessment does not verify that the live login transaction succeeds.

Question 142

An application uses related KMS multi-Region keys for regional cryptographic operations. What still needs regional administration?

  1. Only an S3 ACL for all key authorization
  2. Nothing because every policy automatically replicates
  3. Only a single global endpoint for every operation
  4. Regional key policies, grants, and relevant key configuration

Explanation

Correct Answer

D:

Related keys share key material and identifiers but are independently managed for permissions and supported settings.

Incorrect Answers

A:

S3 access controls do not replace KMS authorization.

B:

Multi-Region cryptographic interoperability does not imply universal configuration synchronization.

C:

KMS operations use regional endpoints and applicable regional keys.

Question 143

A finding-update stream sends multiple revisions of the same security finding. How should a ticket integration avoid duplicates?

  1. Discard every update after the first
  2. Correlate by stable finding identity and update an existing ticket
  3. Open a new incident for every event regardless of identity
  4. Use only a random ticket suffix

Explanation

Correct Answer

B:

Finding revisions represent evolving evidence; durable identity mapping supports one tracked incident with refreshed state.

Incorrect Answers

A:

That can hide changed severity, remediation, or closure information.

C:

Updates to one finding could create a large duplicate workload.

D:

Randomness prevents reliable correlation.

Question 144

A multi-account policy must guard against accidental public S3 access. Which preventive control is appropriate?

  1. Only a longer object key
  2. Only an annual public-access inventory
  3. Only a bucket's default encryption setting
  4. S3 Block Public Access at the intended account or organization-governed scope

Explanation

Correct Answer

D:

The settings constrain public ACL and policy paths; effective settings and legitimate access patterns must be reviewed.

Incorrect Answers

A:

Object-name obscurity is not a public-access boundary.

B:

An inventory detects exposure after the fact rather than preventing the configuration.

C:

Encrypted objects can still have overly broad authorization.

Question 145

Developers can edit build scripts but must not retrieve production database credentials during compilation. What is the strongest direct permission boundary here?

  1. Deny the build identity access to production secrets and keep retrieval in the runtime role
  2. Document that build scripts should not read the secret
  3. Rely only on secret-value masking in logs
  4. Rename the secret to an unpredictable name

Explanation

Correct Answer

A:

Untrusted build commands execute with build credentials, so secret access must be excluded from that identity.

Incorrect Answers

B:

A convention does not enforce the production credential boundary.

C:

Masking output does not prevent the script from reading or exfiltrating an accessible secret.

D:

Obscurity cannot replace authorization when the identity has broad secret permissions.

Question 146

Idle workers repeatedly receive empty SQS responses and waste requests. What change reduces empty polling?

  1. Set WaitTimeSeconds to zero for every receive request
  2. Enable long polling with a suitable wait time
  3. Add workers while the queue is idle
  4. Reduce the visibility timeout of received messages

Explanation

Correct Answer

B:

The receive request can wait for available work instead of returning immediately when the queue is empty.

Incorrect Answers

A:

Short polling returns sooner and can increase empty responses when no messages are available.

C:

More consumers can generate more empty requests without increasing available work.

D:

Visibility controls in-flight redelivery rather than how long an empty receive request waits.

Question 147

An ECS rolling deployment repeatedly starts tasks that never reach steady state. The team wants service-native failure detection and rollback. What should it enable?

  1. A manual source branch rename
  2. Only a larger desired count
  3. The ECS deployment circuit breaker with rollback
  4. Only an ALB access log

Explanation

Correct Answer

C:

The rolling controller can mark a failed deployment and restore the last completed deployment when configured for rollback.

Incorrect Answers

A:

Repository naming cannot change the service's deployment failure handling.

B:

More failing tasks do not correct the revision or enable rollback.

D:

Logs provide evidence but do not themselves roll back a failed deployment.

Question 148

A composite alert should suppress actions during planned maintenance while component alarms remain visible. What feature can help?

  1. Delete component alarms during maintenance
  2. A suitable action suppressor or maintenance condition in the alarm design
  3. Raise thresholds permanently to avoid maintenance notifications
  4. Disable the underlying telemetry publisher

Explanation

Correct Answer

B:

Suppression controls notification behavior without discarding the underlying alarm evidence.

Incorrect Answers

A:

That removes state visibility and diagnostic history rather than suppressing only the aggregate actions.

C:

Permanent sensitivity changes also affect later unplanned failures.

D:

Removing observations conceals component state instead of preserving it during action suppression.

Question 149

A blue/green release must verify the replacement environment before production traffic moves. Where should smoke testing run?

  1. In a pre-traffic validation step against the replacement environment
  2. Only after deleting the old environment
  3. During source download before deployment
  4. Only against the old production endpoint

Explanation

Correct Answer

A:

Testing the candidate endpoint before cutover can reject a broken revision while existing traffic remains on the old environment.

Incorrect Answers

B:

Recovery capacity would already be lost before candidate health is known.

C:

The replacement environment does not exist yet for runtime smoke checks.

D:

Passing checks on the previous version does not validate the candidate.

Question 150

Average latency remains low, but some customers experience very slow requests. Which statistic exposes this tail behavior?

  1. A high latency percentile such as p99
  2. Use only Average over the same request population
  3. Use only Minimum latency
  4. Use only request count

Explanation

Correct Answer

A:

Tail percentiles reveal slower request experience that an average can conceal.

Incorrect Answers

B:

A mean can remain low while a small portion of requests are extremely slow.

C:

The fastest request says little about the experience of the slowest customers.

D:

Traffic volume does not quantify the latency distribution of the served requests.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests