Question 190

An application error spike begins immediately after a release, while infrastructure metrics remain normal. What evidence best tests the release hypothesis?

  1. Change all networking controls before examining logs
  2. Use only the monthly cost report
  3. Assume normal CPU proves the release is healthy
  4. Correlate deployment identifiers with request traces and application exceptions

Explanation

Correct Answer

D:

Version-specific errors and timing help link the regression to changed code; healthy infrastructure alone cannot establish application correctness.

Incorrect Answers

A:

Unrelated changes complicate diagnosis and lack evidence.

B:

Aggregated cost cannot explain a newly introduced exception path.

C:

Logical failures can occur without high resource utilization.

Question 191

A container unexpectedly uses old environment access keys instead of its intended task role. What should be inspected?

  1. Grant the task role more permissions without checking the caller
  2. Only the container image tag spelling
  3. Credential-provider precedence and injected environment variables
  4. Only the task's CPU shares

Explanation

Correct Answer

C:

Explicit environment credentials can be selected before workload-role providers; remove unintended overrides and verify identity.

Incorrect Answers

A:

The request may never use that role, so changing it can leave the failure unchanged.

B:

A tag is not the credential provider order.

D:

CPU allocation does not determine SDK credential selection.

Question 192

A database migration is backward incompatible with the previous application version. What should release testing verify before enabling automatic application rollback?

  1. Only that the new image starts
  2. Only that the artifact checksum is correct
  3. That deployment alarms are disabled
  4. Compatibility of old and new application versions with transitional schema changes

Explanation

Correct Answer

D:

Application rollback is unsafe if the retained version cannot operate against the migrated database; staged schema evolution must be tested.

Incorrect Answers

A:

Startup does not establish compatibility of the old release after migration.

B:

Package integrity cannot prove database interaction remains valid.

C:

Removing alarms does not make an incompatible rollback safe.

Question 193

An order API should remain responsive when fulfillment workers are temporarily unavailable. Which architecture fits?

  1. Wait synchronously for a fulfillment worker before acknowledging every request
  2. Durably queue accepted work and process it asynchronously
  3. Return success before storing accepted work durably
  4. Use unlimited immediate client retries against the unavailable workers

Explanation

Correct Answer

B:

A buffer separates request acceptance from worker availability, subject to retention and capacity planning.

Incorrect Answers

A:

Worker unavailability would keep the API dependent on the failed processing tier.

C:

A crash could lose orders that the API already acknowledged.

D:

Retries preserve the tight dependency and can overload recovery rather than buffer work durably.

Question 194

A new managed node with Environment=Test must automatically receive a common association. How should targets be selected?

  1. A DNS wildcard record
  2. A local laptop hostname file
  3. A hardcoded list containing only yesterday's instances
  4. A tag-based State Manager association

Explanation

Correct Answer

D:

Matching nodes can receive the declared association without maintaining a static instance-ID list.

Incorrect Answers

A:

DNS naming does not select Systems Manager association targets.

B:

Client-side names do not define managed-node targeting.

C:

New nodes are absent from that fixed list.

Question 195

A team uses AWS CDK and wants to review the generated CloudFormation before deployment. Which command serves that purpose?

  1. aws cloudformation delete-stack
  2. docker push
  3. cdk destroy
  4. cdk synth

Explanation

Correct Answer

D:

Synthesis emits the infrastructure template for inspection; it does not itself deploy all resources.

Incorrect Answers

A:

Deleting a stack cannot generate a CDK template.

B:

Image publication does not synthesize CDK infrastructure.

C:

Destruction removes deployed resources instead of previewing generated definitions.

Question 196

A release terminates old targets while customer requests are still in progress. What setting helps allow established requests to finish first?

  1. Deleting the target group immediately
  2. A shorter artifact download timeout
  3. Disabling health checks
  4. An appropriate target-group deregistration delay with coordinated shutdown

Explanation

Correct Answer

D:

Draining separates removal from new traffic selection from the final shutdown of active work.

Incorrect Answers

A:

Immediate deletion removes the managed draining path.

B:

Package transfer timing does not drain application requests.

C:

That removes useful routing signals and does not preserve in-flight requests.

Question 197

Routine patching is scheduled during maintenance windows, but an urgent critical vulnerability needs an immediate approved response. Which approach fits?

  1. Invoke a targeted approved patch workflow outside the routine schedule
  2. Disable the SSM Agent to avoid schedule conflicts
  3. Open all inbound ports to accelerate patching
  4. Wait indefinitely because patching can only run in a window

Explanation

Correct Answer

A:

Maintenance windows organize scheduled work; emergency remediation can use separately authorized execution with suitable safeguards.

Incorrect Answers

B:

The agent is needed for the managed operation.

C:

Exposure does not grant package repository access safely.

D:

Patch operations are not restricted to scheduled maintenance-window invocations.

Question 198

Accounts must receive baseline resources in three approved Regions. What must StackSets targeting include?

  1. Only a Region name in an output
  2. The intended accounts or OUs and all three deployment Regions
  3. One DNS record per Region
  4. Only the stack's home Region

Explanation

Correct Answer

B:

Account targeting alone does not instantiate regional resources everywhere required.

Incorrect Answers

A:

An output reports information rather than selecting deployment targets.

C:

DNS does not provision the baseline resources.

D:

Regional resources are not automatically copied to every Region.

Question 199

A workflow calls an API that occasionally throttles. Which design handles transient failure without immediately failing the workflow?

  1. Increase only log retention
  2. Retry every error forever
  3. A bounded Retry policy with backoff for appropriate errors
  4. Catch every error and report success

Explanation

Correct Answer

C:

Selective retries absorb transient faults while limiting attempts and avoiding repeated permanent failures.

Incorrect Answers

A:

More history does not change execution behavior.

B:

Unbounded repetition can hide permanent faults and duplicate side effects.

D:

That conceals failure instead of performing controlled recovery.

Question 200

An S3-backed source must distinguish successive uploads at the same key for reliable revision tracking. What bucket feature is required for that source setup?

  1. S3 Versioning
  2. Bucket website hosting
  3. S3 Transfer Acceleration
  4. A default object ACL

Explanation

Correct Answer

A:

Version identifiers distinguish object revisions even when their key remains unchanged.

Incorrect Answers

B:

Website endpoints do not supply source revision history.

C:

Accelerated transfer changes upload paths, not object revision identity.

D:

ACL defaults cannot create distinct versions of repeated uploads.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests