Question 390

An HTTPS incident subscriber intermittently returns server errors. Which SNS controls help investigate and handle delivery attempts?

  1. Only a subscription email confirmation
  2. Increase the unrelated source log retention
  3. Supported endpoint delivery retry policy and delivery-status logging
  4. Only the topic display name

Explanation

Correct Answer

C:

Retry behavior depends on endpoint protocol and policy; status logging provides attempt evidence for supported delivery paths.

Incorrect Answers

A:

An HTTPS endpoint is not an email subscription and has its own delivery behavior.

B:

Source history does not configure SNS endpoint retries.

D:

A label does not govern HTTP retry timing or capture delivery outcomes.

Question 391

A CDK deployment requires asset storage and deployment roles in a new account/Region environment. What preparation is needed?

  1. Create an application user record
  2. Enable an ALB listener
  3. Bootstrap the target environment with the required CDK resources
  4. Bootstrap only an unrelated developer account

Explanation

Correct Answer

C:

Bootstrap infrastructure supports asset publication and deployment role workflows for that environment.

Incorrect Answers

A:

Application database identities do not provision CDK deployment infrastructure.

B:

Load balancing does not supply CDK staging buckets or roles.

D:

Resources in another environment do not automatically satisfy the target's asset and role requirements.

Question 392

A compromised EC2 instance must be isolated from application traffic while retaining an approved investigation path. What response fits?

  1. Replace its attached security-group set with approved quarantine groups
  2. Add an outbound deny rule to the existing security group
  3. Add a restrictive group while leaving permissive groups attached
  4. Terminate immediately before capturing evidence

Explanation

Correct Answer

A:

Leaving permissive groups attached would preserve their combined allows; investigation access needs explicit limited rules.

Incorrect Answers

B:

Security groups express allows rather than explicit deny rules.

C:

Security-group permissions combine, so the permissive access remains.

D:

Termination can destroy volatile evidence and the requested investigation access.

Question 393

A stack is UPDATE_ROLLBACK_FAILED after an external dependency prevents restoration. What should the operator generally do next?

  1. Mark the pipeline successful without recovering the stack
  2. Delete the template file locally
  3. Submit unrelated updates indefinitely
  4. Fix the blocking condition and continue the update rollback

Explanation

Correct Answer

D:

Recovery requires addressing the failed operation before CloudFormation can return the stack to a stable state.

Incorrect Answers

A:

That hides the failed control-plane state and leaves future operations blocked.

B:

Local file deletion does not change the running stack's status.

C:

Normal updates cannot bypass an unresolved rollback state safely.

Question 394

A build succeeds only when a previous build left temporary files in a reused environment. How should the pipeline be corrected?

  1. Increase concurrent builds
  2. Skip the failed compilation command
  3. Make temporary files an assumed permanent dependency
  4. Declare dependencies and generate required outputs in each clean build

Explanation

Correct Answer

D:

Reproducibility requires explicit inputs rather than undocumented state from earlier executions.

Incorrect Answers

A:

More concurrency can produce more inconsistent state, not reproducibility.

B:

Omitting compilation hides the dependency rather than producing the required package.

C:

Build environment reuse is not a reliable persistence contract.

Question 395

A rare intermittent error is absent from sampled traces. What should investigators consider?

  1. Assume absence from sampled traces proves the error did not happen
  2. Sampling policy and complementary logs or metrics
  3. Increase sampling only after deleting application error logs
  4. Treat one successful sampled request as representative of all users

Explanation

Correct Answer

B:

Sampled traces are not a complete record of every request, so absence is not proof the error never occurred.

Incorrect Answers

A:

Sampling can omit a real request, so independent error evidence remains important.

C:

Removing complementary evidence weakens diagnosis and does not recover past unsampled traces.

D:

A passing sample cannot disprove a rare failing execution path.

Question 396

Security staff need a machine-readable inventory of components inside each release. What should the build publish?

  1. A mutable tag without metadata
  2. Only a CPU benchmark report
  3. A software bill of materials linked to the release digest
  4. Only a list of repository contributors

Explanation

Correct Answer

C:

An SBOM records component identities for vulnerability assessment and traceability of that specific artifact.

Incorrect Answers

A:

The tag supplies neither a component inventory nor durable artifact identity.

B:

Performance results cannot identify bundled component versions.

D:

Contributor identities do not enumerate the dependencies included in the package.

Question 397

Applications require different configuration per environment, with access scoped to each environment. Which Parameter Store organization fits?

  1. A shared root password in each path
  2. Separate environment paths and matching IAM resource permissions
  3. One public parameter containing every environment secret
  4. Only different parameter descriptions

Explanation

Correct Answer

B:

Hierarchy provides organization, while authorization must explicitly restrict which paths identities may read.

Incorrect Answers

A:

Path naming cannot compensate for unsafe credential reuse.

C:

Combining values broadens exposure and defeats environment-specific access.

D:

Descriptions do not enforce read boundaries.

Question 398

An AWS Config evaluation marks a resource noncompliant, but a user fixes it before automatic remediation starts. What should the runbook do first?

  1. Delete the resource whenever evaluation data is old
  2. Apply the old snapshot unconditionally
  3. Disable the recorder before every run
  4. Re-read the resource and verify that the unsafe condition still exists

Explanation

Correct Answer

D:

Evaluation snapshots can be stale; current-state validation avoids undoing a legitimate intervening correction.

Incorrect Answers

A:

Age alone is not evidence that deletion is appropriate.

B:

Stale evidence does not prove the resource still needs correction.

C:

Stopping recording creates visibility gaps without validating state.

Question 399

An EKS application legitimately takes several minutes to start, but liveness checks restart it too soon. What probe design fits?

  1. Set readiness to succeed unconditionally
  2. Remove all probes permanently
  3. Use a startup probe sized for initialization before normal liveness evaluation
  4. Increase only the Service port number

Explanation

Correct Answer

C:

Startup checking protects slow initialization while preserving liveness detection after startup succeeds.

Incorrect Answers

A:

Traffic eligibility does not prevent the liveness probe from restarting the container.

B:

That also removes detection of later hung processes.

D:

Port naming changes do not adjust probe timing.

Question 400

A collector must emit a heartbeat every minute. Silence should alert operators. What alarm policy fits?

  1. Treat all missing heartbeat periods as healthy
  2. Depend only on error events sent by the same stopped collector
  3. Increase log retention instead of configuring missing-data behavior
  4. Treat missing heartbeat data as breaching

Explanation

Correct Answer

D:

For an expected continuous signal, missing observations indicate a possible failure worth detecting.

Incorrect Answers

A:

The required continuous publisher can fail silently, and that policy would hide the exact condition being monitored.

B:

A stopped process may be unable to publish its own failure event.

C:

Historical storage does not evaluate whether the current heartbeat is absent.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests