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.

Question 151

A failover updates DNS, but some clients briefly keep reaching the old endpoint. What explains this?

  1. Assume changing the authoritative record flushes every resolver immediately
  2. Assume DNS redirects established TCP sessions to the new server
  3. Lower only the new record's TTL and expect old cached answers to expire immediately
  4. Resolvers and clients can retain cached answers until their effective cache lifetime ends

Explanation

Correct Answer

D:

DNS failover is not an instantaneous replacement of all established connections or cached addresses.

Incorrect Answers

A:

Existing cached answers can remain valid until the cache's effective expiration.

B:

A record update does not migrate already established connections.

C:

A newly published TTL does not retroactively shorten previously cached responses.

Question 152

A synthetic canary passes, but users in one geography fail. What should be examined?

  1. Assume one passing probe proves every user path is healthy
  2. Increase only the canary timeout without examining the failing region
  3. Disable real-user monitoring because synthetic checks pass
  4. Canary coverage and real-user or regional telemetry

Explanation

Correct Answer

D:

A limited synthetic path may not represent all user locations, identities, or workflows.

Incorrect Answers

A:

A canary observes its configured location and workflow rather than all client networks and geographies.

B:

A probe timing change does not explain a geography-specific user failure.

C:

That removes evidence from the users whose path differs from the probe.

Question 153

A fleet remediation should stop if failures exceed a defined threshold and limit simultaneous changes. Which controls fit?

  1. Only a longer log retention period
  2. One unbounded parallel invocation per instance
  3. Only a resource naming convention
  4. Automation rate controls for concurrency and errors

Explanation

Correct Answer

D:

These controls bound the number of simultaneous targets and stop further scheduling when failures cross the configured threshold.

Incorrect Answers

A:

Retention preserves evidence without restricting execution.

B:

That can expose the entire fleet to a defective change.

C:

Names do not enforce execution limits.

Question 154

A team wants a stable rollback target for a Lambda deployment. Which resource should be retained?

  1. Only $LATEST after overwriting its code
  2. The previous published version referenced by a releasable alias
  3. An invocation request ID
  4. A CloudWatch metric name

Explanation

Correct Answer

B:

Published versions preserve code and qualifying configuration, giving the alias a concrete earlier target.

Incorrect Answers

A:

The mutable unpublished version does not retain the prior code automatically.

C:

Request identifiers cannot recreate a previously deployed function version.

D:

A metric identifies observations rather than executable function code.

Question 155

Member accounts must not individually stop a centrally administered organization trail. Which design fits?

  1. Create a trail only in one member account
  2. Rely on application access logs alone
  3. Create an organization trail from the authorized central administration context
  4. Ask each developer to create a personal trail

Explanation

Correct Answer

C:

The organization trail applies centrally across member accounts rather than depending on independently managed local trails.

Incorrect Answers

A:

A local trail does not automatically cover sibling accounts.

B:

Application logs do not provide the required organization control-plane audit trail.

D:

Personal ownership lacks centralized organization-wide administration.

Question 156

Before rebuilding a suspected compromised EBS-backed host, investigators need a disk copy. What action belongs in the response?

  1. Create controlled EBS snapshots and preserve identifiers and access controls
  2. Rely only on the replacement host's new empty volume
  3. Assume a snapshot captures RAM
  4. Format the original volume before snapshotting

Explanation

Correct Answer

A:

Snapshots preserve block storage for investigation; memory and application consistency require separate consideration.

Incorrect Answers

B:

New storage does not contain the original disk evidence.

C:

EBS snapshots capture volume data rather than volatile process memory.

D:

Formatting modifies evidence before preservation.

Question 157

A template uses AWS::Serverless::Function and must expand serverless shorthand into deployable resources. What declaration enables this?

  1. An IAM permission boundary
  2. An S3 object tag
  3. Transform: AWS::Serverless-2016-10-31
  4. An Output named Serverless

Explanation

Correct Answer

C:

The SAM transform declaration expands supported AWS::Serverless shorthand into CloudFormation resources. It must be declared in the template; merely naming an output Serverless does not enable the transformation.

Incorrect Answers

A:

Permission limits do not transform template syntax.

B:

Artifact metadata cannot declare a template transform.

D:

Output labels do not enable SAM processing.

Question 158

A fleet's monitoring configuration must be reapplied when instances drift. Which Systems Manager capability fits?

  1. A single manual Run Command invocation
  2. State Manager associations
  3. A repository release tag
  4. An S3 storage-class transition

Explanation

Correct Answer

B:

Scheduled associations apply declared configuration across targeted managed nodes rather than relying on one-time commands.

Incorrect Answers

A:

One execution does not continuously maintain the desired configuration.

C:

Version metadata does not apply state to managed nodes.

D:

Storage tier changes do not configure instance monitoring agents.

Question 159

A broker assumes a broad role but wants each issued session limited to one project prefix. What mechanism can narrow that session?

  1. Use an unrelated service-linked role
  2. Change only the role description
  3. Pass an appropriate session policy with the AssumeRole request
  4. Attach a wider allow to the session to exceed the role

Explanation

Correct Answer

C:

Session policies restrict the resulting session within the role's granted permissions; they cannot add authority the role lacks.

Incorrect Answers

A:

Service-linked roles have service-specific purposes and are not general broker sessions.

B:

Descriptions do not constrain the resulting credentials.

D:

Session policies cannot expand the base role permissions.

Question 160

A VPC-connected CodeBuild job in private subnets must download dependencies from public registries. No proxy exists. What network design provides access?

  1. A public ALB in front of CodeBuild
  2. A route directly to an internet gateway only
  3. Private routes through a NAT gateway with appropriate security rules
  4. A larger build compute size

Explanation

Correct Answer

C:

Build interfaces do not receive public IP addresses; NAT provides outbound internet connectivity from private addresses.

Incorrect Answers

A:

Load balancers handle inbound application requests, not arbitrary outbound dependency downloads.

B:

An internet-gateway route does not supply public addresses to CodeBuild's private interfaces.

D:

Additional CPU and memory do not create an internet route.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests