Question 320

An offline deployment agent must verify that a package came from the authorized release signer. What evidence is needed?

  1. A verifiable digital signature and trusted verification key
  2. The package's compression ratio
  3. A checksum stored beside the package by any uploader
  4. A readable file name containing approved

Explanation

Correct Answer

A:

Signature verification authenticates the signer and detects content modification, assuming the trust key is protected.

Incorrect Answers

B:

Compression characteristics cannot establish release authorization.

C:

An attacker who replaces the package could replace an unauthenticated checksum as well.

D:

A name is an assertion, not cryptographic evidence of origin.

Question 321

A short CPU spike disappears in a one-hour average. What query change exposes the event better?

  1. Increase the aggregation period to one day
  2. Keep the one-hour average and add only a different graph color
  3. Query only the minimum for the same hour
  4. Use a shorter appropriate period and examine maximum or finer-resolution data

Explanation

Correct Answer

D:

Aggregation can dilute brief peaks; available collection resolution limits what can be recovered.

Incorrect Answers

A:

Longer averages smooth away a short spike even more.

B:

Visual styling does not recover the event's finer timing or peak magnitude.

C:

The lowest utilization does not expose the high-utilization spike.

Question 322

A trail records only one Region, but an incident involved API activity elsewhere. What configuration reduces this future gap?

  1. Only increasing EC2 monitoring frequency
  2. A multi-Region trail with appropriate event selectors and protected delivery
  3. Only an alarm-name change
  4. Only a larger dashboard time range

Explanation

Correct Answer

B:

Region coverage and event-type selection jointly determine what is collected; central storage should preserve the resulting evidence.

Incorrect Answers

A:

Instance metrics do not extend CloudTrail's Region scope.

C:

Names do not enable additional regional audit collection.

D:

Visualization cannot display events never collected by that trail.

Question 323

A primary regional application should receive traffic unless unhealthy, then a secondary should serve it. Which Route 53 policy fits?

  1. Failover routing with suitable health evaluation
  2. Use simple routing with no health association
  3. Use geolocation routing based only on client location
  4. Create only a secondary record without defining the primary failover relationship

Explanation

Correct Answer

A:

Primary and secondary records express active/passive selection based on the configured health signal.

Incorrect Answers

B:

It does not express a primary-to-secondary health-driven fallback decision.

C:

Geography is a different routing criterion from the stated primary health requirement.

D:

A record alone does not establish the requested health-driven failover design.

Question 324

An approved temporary exception permits one resource to remain noncompliant for seven days. What should automatic remediation consult?

  1. An unverified tag writable by any workload
  2. A permanent wildcard exemption for the account
  3. A controlled exception record with scope and expiration
  4. Only the initial event timestamp

Explanation

Correct Answer

C:

A time-bounded exception prevents an intentional temporary state from being repeatedly reverted while ensuring later reevaluation.

Incorrect Answers

A:

An attacker or application could exempt itself without authorization.

B:

That exceeds the approved resource and time scope.

D:

The timestamp does not prove approval or exception scope.

Question 325

A fleet command should stop dispatching new work after a small number of failures. Which control fits?

  1. Set only MaxConcurrency
  2. Increase the command timeout
  3. MaxErrors
  4. Use only a schedule for later executions

Explanation

Correct Answer

C:

The threshold bounds additional dispatch after failures; already-running invocations may still complete.

Incorrect Answers

A:

A concurrency ceiling bounds parallel work, not the cumulative failure threshold for further dispatch.

B:

Waiting longer per target does not define how many failed targets should halt new work.

D:

Invocation timing does not control failure-based dispatch within the current execution.

Question 326

Pods should scale out as their measured CPU demand rises. Which Kubernetes component directly adjusts replica count?

  1. Use only a node autoscaler
  2. Use only a Vertical Pod Autoscaler
  3. Horizontal Pod Autoscaler
  4. Set only a PodDisruptionBudget

Explanation

Correct Answer

C:

HPA changes pod replicas based on configured metrics; nodes still need enough schedulable capacity.

Incorrect Answers

A:

Adding nodes creates placement capacity but does not directly change the Deployment's desired replica count.

B:

Vertical recommendations or changes concern resources per pod rather than directly providing horizontal replica scaling.

D:

A disruption budget limits certain voluntary disruptions instead of adjusting replicas in response to CPU demand.

Question 327

An ECS CodeDeploy blue/green release needs testers to reach green tasks before production cutover. What configuration provides that path?

  1. Send test requests to the current production listener without identifying the candidate task set
  2. Increase desired task count without defining a separate candidate traffic route
  3. Perform validation only after shifting all production traffic
  4. A test listener routed to the replacement target group

Explanation

Correct Answer

D:

The test listener exposes candidate tasks independently while the production listener continues serving the original task set.

Incorrect Answers

A:

Those requests can exercise the existing version rather than the green replacement.

B:

More tasks alone do not provide the required pre-cutover validation endpoint.

C:

That exposes customers before the replacement has passed the requested test.

Question 328

A contractor needs temporary download access to one release package in S3 without an IAM account. Which mechanism fits?

  1. Make the entire artifact bucket public for the contractor's visit
  2. Issue a permanent administrator access key
  3. Create only an S3 DNS alias
  4. A short-lived presigned URL issued by an appropriately authorized identity

Explanation

Correct Answer

D:

The URL delegates a bounded object request without making the whole bucket public.

Incorrect Answers

A:

That broadens access beyond one object and does not provide a bounded per-link request.

B:

The credential scope and lifetime exceed temporary access to one package.

C:

A hostname does not authorize retrieval of a private object.

Question 329

A repository must reject accidental pushes that overwrite existing release tags. Which ECR control directly addresses this?

  1. Enable image scanning while keeping release tags mutable
  2. Enable lifecycle expiration as the only control
  3. Pin consumers to a tag but leave publishers free to overwrite it
  4. Enable tag immutability for release tags

Explanation

Correct Answer

D:

The repository rejects conflicting tag replacement according to its configured immutability policy.

Incorrect Answers

A:

Scanning assesses image vulnerabilities and does not block overwriting an existing tag.

B:

Expiration removes eligible images; it does not impose write-once tag semantics.

C:

The tag can still move to different image content without immutability enforcement.

Question 330

A customer-managed symmetric KMS key rotates its key material. What happens to data encrypted with prior material?

  1. KMS retains prior material needed to decrypt existing ciphertext
  2. Every S3 object is automatically rewritten by rotation
  3. All old ciphertext must immediately be discarded
  4. The key ARN must change on each rotation

Explanation

Correct Answer

A:

Rotation changes material for new cryptographic use while the key can still decrypt older ciphertext; it does not bulk rewrite stored objects.

Incorrect Answers

B:

Key rotation does not perform an object-by-object re-encryption job.

C:

Existing encrypted data remains decryptable through the key.

D:

Automatic material rotation preserves the logical key identity.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests