Question 220
A log delivery pipeline through Data Firehose reaches S3 in batches instead of one object per event. What explains this?
- Assume successful ingestion means an S3 object must appear for every input record
- Treat batching alone as proof of data loss
- Expect lower retention to disable buffering
- 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?
- SourceIdentity with appropriate trust-policy enforcement
- Only a random session name with no identity mapping
- Only the account alias
- 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?
- The repository's default branch name
- The build role's log-group and log-stream permissions
- The deployment group's minimum healthy hosts
- 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?
- Alert on every instance CPU spike
- Watch only IAM user sign-in names
- Check only whether MFA is registered
- 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?
- Use predictive scaling only and ignore unexpected actual demand
- Use a fixed desired count sized only for the daily minimum
- Predictive capacity planning with reactive scaling policies
- 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?
- Start every production instance simultaneously
- Choose targets solely by random unverified event text
- Declare success when the first command is submitted
- 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?
- Merge all records into one stream and remove host fields
- Reuse one constant instance identifier in every event
- Retain only a daily total line count
- 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?
- A network ACL with correctly ordered rules
- A security group with a deny rule
- An instance profile denying s3:GetObject
- 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?
- Provision only enough total capacity for the normal three-zone load
- Assume equal instance counts prove failover capacity
- Enough healthy-zone capacity or tested scaling headroom to absorb displaced load
- 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?
- Wait for an EventBridge target DLQ to receive producer errors
- Retry all entries without examining results
- Inspect each entry and retry only failed entries with duplicate-safe processing
- 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?
- CloudTrail log-file integrity validation using digest files
- Only gzip compression
- Only a bucket name containing audit
- 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.