Question 230

Auditors must detect modification of delivered CloudTrail log files. What feature supports verification?

  1. CloudTrail log-file integrity validation using digest files
  2. Only gzip compression
  3. Only a bucket name containing audit
  4. Only a dashboard screenshot

Explanation

Correct Answer

A:

Cryptographic digests support checking delivered log integrity; enabling delivery does not mean validation is automatically performed by an auditor.

Incorrect Answers

B:

Compression reduces size but does not prove authenticity.

C:

A label cannot reveal file tampering.

D:

An image of activity cannot cryptographically validate original log files.

Question 231

Logs from several hosts show misleading event order because clocks differ. What should be corrected?

  1. Sort events only by ingestion time and discard source timestamps
  2. Increase log retention without correcting clocks
  3. Rename streams to reflect a preferred ordering
  4. Reliable time synchronization and consistent event timestamps

Explanation

Correct Answer

D:

Comparable timestamps are necessary for cross-host incident correlation.

Incorrect Answers

A:

Ingestion delay can differ by host and obscure the actual event order.

B:

More historical data does not repair misleading timestamps.

C:

Names cannot correct a host clock or establish true cross-host chronology.

Question 232

A latency incident coincides with deployment and database saturation. What is the strongest analysis approach?

  1. Attribute the failure to the newest deployment solely because its timestamp is close
  2. Correlate traces, metrics, logs, and change records before selecting a cause
  3. Use only the database saturation metric and disregard application traces
  4. Discard evidence from healthy components before examining dependencies

Explanation

Correct Answer

B:

Multiple evidence types can distinguish the failing mechanism from merely simultaneous changes.

Incorrect Answers

A:

Temporal correlation is a hypothesis that needs supporting evidence from the failing request path.

C:

Saturation can be a cause or consequence; request evidence helps distinguish the direction.

D:

Healthy observations can help narrow scope and test alternative causal explanations.

Question 233

Two Regions may both process payments during failover. What must protect against duplicate business transactions?

  1. Deduplicate only within each Region using unrelated local records
  2. A defined ownership or idempotency design across regional processors
  3. Use DNS failover as the sole transaction uniqueness mechanism
  4. Assign a new payment identifier after every retry

Explanation

Correct Answer

B:

Regional availability does not itself prevent both sites from applying the same business operation.

Incorrect Answers

A:

The same logical payment can still be accepted once by each independent regional processor.

C:

Cached routing and overlapping execution can leave both processors active.

D:

Changing identity prevents recognition that repeated attempts represent the same business transaction.

Question 234

An SQS FIFO producer retries a send after losing its acknowledgement. How can it avoid enqueueing another copy within the deduplication interval?

  1. Assume deduplication remains effective indefinitely
  2. Reuse the same MessageDeduplicationId for the same logical message
  3. Generate a new deduplication ID for each retry
  4. Change only the consumer visibility timeout

Explanation

Correct Answer

B:

FIFO send deduplication suppresses repeat submissions within its supported window; consumers still need processing-side idempotency.

Incorrect Answers

A:

The send-side deduplication interval is bounded.

C:

Different identifiers make retries look like separate logical messages.

D:

Visibility controls received messages rather than duplicate producer submissions.

Question 235

A security team needs centrally governed WAF protections across eligible accounts in an organization. Which service is designed for this?

  1. An S3 lifecycle policy in each account
  2. A standalone security group in the management account
  3. AWS Firewall Manager with supported prerequisites and policy scope
  4. A CloudWatch dashboard shared by URL

Explanation

Correct Answer

C:

Organization-aware policies can apply and monitor supported protections centrally, subject to integration and resource prerequisites.

Incorrect Answers

A:

Object expiration does not manage web application firewalls.

B:

That group does not centrally attach WAF protections to member-account resources.

D:

A dashboard observes data but does not enforce WAF policy deployment.

Question 236

A time-sensitive EventBridge notification must not be delivered hours after its operational value expires. Which target setting bounds delivery age?

  1. Increase only the target function timeout
  2. Configure MaximumEventAgeInSeconds within supported limits
  3. Extend queue retention to its maximum
  4. Use a timestamp only in the rule name

Explanation

Correct Answer

B:

The event-age policy stops stale delivery attempts; coordinate retry count and failed-event handling with that deadline.

Incorrect Answers

A:

One invocation timeout does not bound the age of repeated delivery attempts.

C:

Longer retention preserves older events instead of bounding EventBridge delivery age.

D:

Rule naming does not enforce an event-age cutoff.

Question 237

A baseline rollout should stop spreading after excessive account failures. Which StackSets operation setting addresses this?

  1. A larger maximum session duration only
  2. Template description length
  3. Artifact compression level
  4. Failure tolerance with appropriate concurrency

Explanation

Correct Answer

D:

Tolerance bounds failed targets before further rollout proceeds, while concurrency controls simultaneous work.

Incorrect Answers

A:

Session duration does not define operation failure tolerance.

B:

Documentation does not limit the rollout's failure spread.

C:

Compression cannot determine how many failed accounts are acceptable.

Question 238

A release can publish Lambda versions but cannot update the production alias. Which permission boundary should be examined?

  1. Only permission to read CloudWatch logs
  2. Only the function's invocation permission
  3. Only ECR image scanning permissions
  4. Authorization to update the specific alias in the deployment identity

Explanation

Correct Answer

D:

Publishing code and changing the routing reference are separate API operations with separate authorization.

Incorrect Answers

A:

Observing executions cannot authorize alias routing changes.

B:

Calling a function is distinct from changing its deployment routing.

C:

Registry scanning does not confer Lambda alias administration.

Question 239

An ALB stops routing to an unhealthy target, but the instance is never replaced by its group. What should be checked?

  1. Assume ALB target removal automatically terminates every associated EC2 instance
  2. Change only target-group deregistration delay
  3. Whether the Auto Scaling group uses the relevant ELB health checks
  4. Increase application log retention

Explanation

Correct Answer

C:

Routing exclusion and instance replacement are separate mechanisms with separate health configuration.

Incorrect Answers

A:

Routing exclusion and Auto Scaling replacement are separate mechanisms.

B:

Draining affects in-flight requests rather than the group's health-source selection.

D:

Retaining evidence does not enable ELB health checks in the Auto Scaling group.

Question 240

Operations needs an inventory of installed applications across managed instances. Which Systems Manager capability fits?

  1. Inventory collection configured for the fleet
  2. A CloudFormation Output listing the AMI
  3. Session Manager port forwarding only
  4. An ALB health check

Explanation

Correct Answer

A:

Inventory captures supported node metadata for centralized querying and compliance analysis.

Incorrect Answers

B:

The image identifier does not reflect subsequent software changes.

C:

An interactive connection does not automatically inventory installed software.

D:

Endpoint health does not enumerate installed applications.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests