Question 30
A CodePipeline artifact bucket must reject unencrypted HTTP transport from any action. Which bucket-policy condition directly enforces this?
- Increase the artifact retention period
- Require an object tag named HTTPS
- Deny requests where aws:SecureTransport is false
- Enable bucket versioning alone
Explanation
Correct Answer
C:The request context distinguishes TLS transport; the deny applies even when an identity otherwise allows access.
Incorrect Answers
A:Keeping artifacts longer does not change request transport security.
B:Tags describe objects and cannot prove the transport used for an API request.
D:Version history does not require encrypted network connections.
Question 31
A Step Functions Map processes many records against a rate-limited API. How can the workflow avoid overwhelming that API?
- Set an appropriate concurrency limit and handle throttling
- Set concurrency equal to the entire input size
- Retry throttled items immediately without backoff
- Catch throttling errors and discard the affected records
Explanation
Correct Answer
A:Bounding simultaneous iterations controls demand instead of assuming the downstream service scales without limit.
Incorrect Answers
B:That permits all requests at once and can exceed the downstream API's safe request rate.
C:Synchronized immediate retries can intensify the rate-limit problem.
D:Discarding work avoids retries by losing required processing rather than controlling pressure safely.
Question 32
Security findings from several Regions should be visible in an aggregation Region. What should be configured?
- Only a shared dashboard title
- Disable every source Region after enabling the aggregator
- Only an SNS topic in the management account
- Supported Security Hub cross-Region aggregation and linked Regions
Explanation
Correct Answer
D:Aggregation brings eligible regional findings together; service enablement and organization configuration still need attention.
Incorrect Answers
A:Presentation labels do not configure aggregation.
B:Removing source coverage can stop the expected findings from being produced.
C:A topic does not itself establish finding synchronization across Regions.
Question 33
An S3 bucket policy should authorize one external workload role. What principal scope fits?
- Specify the intended role principal and only necessary actions and resources
- Allow Principal * with no conditions
- Use the role's human-readable description as the principal
- List only the external account's billing email
Explanation
Correct Answer
A:A constrained resource policy limits who can access the bucket; other applicable controls still participate in evaluation.
Incorrect Answers
B:That broadens potential access beyond the intended role.
C:A description is not an IAM principal identifier.
D:An email address is not the required workload role principal.
Question 34
A deployment needs the exact source commit identifier from its current pipeline execution. How should it obtain the value?
- Read the newest object by modification time
- Use a source action output variable with a namespace
- Query the branch HEAD just before deployment
- Hardcode the previous successful commit
Explanation
Correct Answer
B:The variable is bound to that execution, avoiding a separate lookup of a moving repository reference.
Incorrect Answers
A:Concurrent executions can make newest-object selection point to a different package.
C:HEAD might have advanced beyond the revision packaged by the execution.
D:A fixed value does not identify the revision currently being delivered.
Question 35
A workload's long-lived access key appears in a public repository. What should incident response prioritize?
- Rename the IAM user without changing the key
- Wait until the next annual review
- Disable or revoke the exposed key, investigate its use, and replace the credential safely
- Delete only the repository commit and keep the key active
Explanation
Correct Answer
C:Removing the public text alone cannot invalidate copies; CloudTrail evidence helps determine actions performed.
Incorrect Answers
A:Renaming does not invalidate the exposed secret.
B:The credential remains usable throughout that delay.
D:Anyone who copied the credential could still use it.
Question 36
An automatic security-group correction can disrupt a legacy integration. What should the controlled workflow retain?
- No pre-change data because the API is idempotent
- Only the final success message
- The prior configuration and a bounded rollback path with verification
- Only the triggering event ID
Explanation
Correct Answer
C:Capturing the changed rules supports restoration if checks reveal an unacceptable operational effect.
Incorrect Answers
A:Idempotence does not recreate the old configuration after an incorrect desired-state decision.
B:A success string cannot reconstruct removed rule details.
D:The identifier correlates work but does not capture all prior settings.
Question 37
A new WAF rule may match legitimate checkout traffic. How can engineers evaluate it safely before enforcement?
- Use a network ACL to inspect checkout JSON
- Start by blocking every request and discard logs
- Change only the rule description
- Use Count mode and inspect sampled requests and metrics
Explanation
Correct Answer
D:Observation reveals matches without immediately blocking them, supporting tuning before a controlled enforcement change.
Incorrect Answers
A:Network ACLs do not parse HTTP request bodies.
B:That maximizes disruption and removes tuning evidence.
C:Descriptions do not provide match observations.
Question 38
A log-processing function writes logs that are included in its own input subscription. What risk should be prevented?
- Assume Lambda reserved concurrency automatically removes the feedback loop
- Increase log retention to break the recursion
- Add more parallel subscriptions to the same processor output
- Recursive log processing and unbounded invocation growth
Explanation
Correct Answer
D:Exclude the processor's own output from its intake or otherwise break the feedback loop.
Incorrect Answers
A:A ceiling limits simultaneous executions but does not stop processed events from generating new matching logs.
B:Retention changes stored history rather than which new events reach the processor.
C:Additional delivery paths can multiply feedback rather than exclude self-generated events.
Question 39
A team adds a unique request ID as a custom metric dimension and costs surge. What explains this?
- Treat the request identifier as an unlimited free label
- Each unique dimension combination creates another metric series
- Increase alarm evaluation periods to merge the series
- Assume one namespace always contains exactly one billable metric
Explanation
Correct Answer
B:Unbounded identifiers produce high cardinality; request IDs belong in logs or traces instead.
Incorrect Answers
A:CloudWatch dimensions participate in metric identity; unique request IDs create high-cardinality series.
C:Alarm timing does not collapse distinct dimension combinations into one metric.
D:A namespace can contain many metric identities differentiated by names and dimension combinations.
Question 40
An investigation must link a deployment change, the AWS caller, and the resulting application failures. What evidence model fits?
- Assume any event in the same account caused the outage
- Retain only average monthly latency
- Correlate deployment IDs, CloudTrail identity and timestamps, and application request or trace identifiers
- Use only the final incident ticket title
Explanation
Correct Answer
C:Shared identifiers and synchronized time help reconstruct causality across control-plane and application evidence.
Incorrect Answers
A:Account co-location alone does not establish a causal relationship.
B:Aggregation hides the detailed timing and request context needed.
D:A title cannot reconstruct the individual actions and failures.