Question 220

A log delivery pipeline through Data Firehose reaches S3 in batches instead of one object per event. What explains this?

  1. Assume successful ingestion means an S3 object must appear for every input record
  2. Treat batching alone as proof of data loss
  3. Expect lower retention to disable buffering
  4. Delivery buffering aggregates records by configured size or time behavior

Explanation

Correct Answer

D:

Batching improves delivery efficiency and introduces expected latency.

Incorrect Answers

A:

The delivery pipeline can aggregate multiple accepted records into a buffered output object.

B:

Delayed grouped delivery can be normal; inspect delivery metrics before inferring missing records.

C:

Storage lifetime does not select the delivery buffer's size and time behavior.

Question 221

A federated access broker must retain the originating user identifier across supported role sessions for audit correlation. What STS feature should be evaluated?

  1. SourceIdentity with appropriate trust-policy enforcement
  2. Only a random session name with no identity mapping
  3. Only the account alias
  4. The role creation date

Explanation

Correct Answer

A:

Source identity can persist across supported chained sessions and appear in audit context; the broker must supply a validated identity.

Incorrect Answers

B:

An uncorrelated random name does not establish the originating person.

C:

An account alias cannot distinguish individual federated users.

D:

Role age is unrelated to the current human identity.

Question 222

A CodeBuild job runs commands successfully but cannot create its CloudWatch log stream. What should be corrected first?

  1. The repository's default branch name
  2. The build role's log-group and log-stream permissions
  3. The deployment group's minimum healthy hosts
  4. The application container health check

Explanation

Correct Answer

B:

Log delivery requires CloudWatch Logs authorization independently of command execution and source download permissions.

Incorrect Answers

A:

Branch selection has no effect on the build role's log permissions.

C:

Deployment capacity settings cannot authorize build logging.

D:

Runtime application health does not govern CodeBuild log-stream creation.

Question 223

Security requires notification whenever root performs an API action. What detection pattern fits?

  1. Alert on every instance CPU spike
  2. Watch only IAM user sign-in names
  3. Check only whether MFA is registered
  4. Match relevant CloudTrail root-identity events and route alerts through an authorized target

Explanation

Correct Answer

D:

Identity fields distinguish root activity; verify event coverage and exclude documented service contexts only when justified.

Incorrect Answers

A:

CPU changes do not identify root API use.

B:

Root is not an ordinary IAM user and API use may not be console sign-in.

C:

Enrollment state is not an activity stream.

Question 224

A service has repeating daily demand plus occasional spikes. What combination can address both?

  1. Use predictive scaling only and ignore unexpected actual demand
  2. Use a fixed desired count sized only for the daily minimum
  3. Predictive capacity planning with reactive scaling policies
  4. Use only an alarm notification with no scaling action

Explanation

Correct Answer

C:

Forecasting prepares for patterns while measured-demand policies respond to deviations.

Incorrect Answers

A:

A forecast can miss anomalies and needs a reactive path for unpredicted spikes.

B:

That cannot accommodate either the daily peak or occasional bursts.

D:

Notification informs people but does not automatically add serving capacity.

Question 225

A new automated configuration repair should be proven on a small representative fleet subset before wider execution. Which rollout fits?

  1. Start every production instance simultaneously
  2. Choose targets solely by random unverified event text
  3. Declare success when the first command is submitted
  4. Use a canary target set, validate results, then expand under controlled concurrency

Explanation

Correct Answer

D:

A small initial scope exposes defects before they reach the full fleet while explicit validation determines promotion.

Incorrect Answers

A:

That removes the limited-exposure stage.

B:

Untrusted selection can include unintended resources.

C:

Submission does not prove the repair completed or remained healthy.

Question 226

Many instances write application logs. What stream organization helps preserve source identity?

  1. Merge all records into one stream and remove host fields
  2. Reuse one constant instance identifier in every event
  3. Retain only a daily total line count
  4. Distinct streams or metadata carrying instance identity

Explanation

Correct Answer

D:

Source identification makes parallel events attributable without relying on interleaved unlabelled text.

Incorrect Answers

A:

The logs lose a reliable way to distinguish which source produced an event.

B:

A shared identifier cannot distinguish individual hosts.

C:

Aggregated counts discard the event-level source evidence needed for troubleshooting.

Question 227

A known malicious source IP must be explicitly denied at a subnet boundary. Which VPC feature supports explicit deny entries?

  1. A network ACL with correctly ordered rules
  2. A security group with a deny rule
  3. An instance profile denying s3:GetObject
  4. A route-table tag called blocked

Explanation

Correct Answer

A:

Network ACLs evaluate numbered rules and support deny decisions; stateless return paths must also be considered.

Incorrect Answers

B:

Security groups support allow rules rather than explicit denies.

C:

That policy limits an API operation rather than packets from an IP.

D:

A tag does not create a packet-filter decision.

Question 228

A service spans three AZs but all are fully utilized. What must planning include to survive losing one zone?

  1. Provision only enough total capacity for the normal three-zone load
  2. Assume equal instance counts prove failover capacity
  3. Enough healthy-zone capacity or tested scaling headroom to absorb displaced load
  4. Depend only on a shorter DNS TTL

Explanation

Correct Answer

C:

Distribution alone does not guarantee the remaining zones can handle total demand.

Incorrect Answers

A:

A zone failure removes part of that capacity and leaves no demonstrated absorption margin.

B:

Balanced placement does not establish that surviving instances can serve the displaced demand.

D:

Traffic can move faster while the surviving capacity remains insufficient.

Question 229

A producer submits ten events using PutEvents. The HTTP request succeeds but two entries fail. What must it do?

  1. Wait for an EventBridge target DLQ to receive producer errors
  2. Retry all entries without examining results
  3. Inspect each entry and retry only failed entries with duplicate-safe processing
  4. Mark all ten delivered because HTTP succeeded

Explanation

Correct Answer

C:

Batch-level transport success does not imply every entry was accepted; per-entry errors identify retry candidates.

Incorrect Answers

A:

Target DLQs address target delivery, not failed producer submission.

B:

Accepted entries could be unnecessarily published again.

D:

Individual entry errors remain actionable despite request-level success.

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.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests