Question 20
Platform engineers want to reject CloudFormation templates in CI when an S3 bucket resource omits a required encryption configuration. The check must run before deployment and use organization-authored declarative rules. Which tool is the closest fit?
- AWS Config aggregation after deployment.
- CloudFormation Guard in the CI pipeline.
- CloudTrail event history inspection after stack creation.
- IAM Access Analyzer external-access findings for deployed buckets.
Explanation
Correct Answer
B:Guard evaluates structured configuration data against declarative policy rules. Running it against the template in CI lets the pipeline reject a missing encryption property before deployment. The rule must target the expected template structure, and template validation complements rather than replaces checks of the deployed resource.
Incorrect Answers
A:Config evaluates recorded resource configuration and compliance information. Aggregating those findings provides deployed-state visibility, but it does not implement the requested template rule before a stack is created.
C:CloudTrail records API activity that has occurred. Reviewing stack-creation activity is retrospective and does not evaluate an organization rule against an undeployed template.
D:External-access analysis identifies resource policies that permit access beyond a defined trust boundary. That is a different property from validating the template encryption configuration before deployment.
Question 21
A payment workload needs threat detection for suspicious API behavior using AWS-managed analytics. Which service fits this requirement?
- Amazon Macie
- AWS Config
- Amazon GuardDuty
- Amazon Inspector
Explanation
Correct Answer
C:It analyzes supported AWS activity sources for threats and generates findings; configuring the detector does not require building custom anomaly rules.
Incorrect Answers
A:Sensitive-data discovery focuses on S3 information exposure; it does not replace the requested account-level behavioral threat detector.
B:Configuration evaluation checks resource state against rules, rather than providing the requested behavioral analysis of suspicious API activity.
D:Vulnerability assessment identifies exposed software and related findings, rather than detecting anomalous API usage by a compromised identity.
Question 22
A security team must locate passport numbers in stored S3 documents. Which service provides managed sensitive-data discovery?
- GuardDuty
- Amazon Macie
- CloudTrail
- Inspector
Explanation
Correct Answer
B:Its discovery jobs inspect supported S3 objects using managed or custom identifiers, producing sensitive-data findings tied to the inspected locations.
Incorrect Answers
A:Threat findings can identify suspicious access patterns, but they do not constitute a content inventory of passport numbers in documents.
C:API audit events identify operations and callers, but the event record does not classify the sensitive contents of stored documents.
D:Package and workload vulnerability findings do not inspect S3 documents for the personally identifiable information described here.
Question 23
A retailer wants a unified security data lake with normalized supported AWS log sources and subscriber access. Which service is designed for this?
- AWS Artifact
- CloudWatch dashboard
- Amazon Security Lake
- AWS Audit Manager
Explanation
Correct Answer
C:It centralizes supported security data using OCSF and managed storage organization, enabling downstream security analysis through configured subscribers.
Incorrect Answers
A:Artifact supplies AWS compliance reports and agreements, rather than ingesting the retailer's operational security telemetry for investigation.
B:A dashboard presents metrics and query results; it does not itself establish the normalized security data lake and subscriber model.
D:Evidence collection supports audits against frameworks, rather than replacing a general security log lake for analytical subscribers.
Question 24
Compliance findings and threat findings need a central security posture view. Which AWS service family is the relevant integration point?
- Amazon GuardDuty alone
- AWS Security Hub
- An AWS Config aggregator alone
- A CloudWatch dashboard with only availability metrics
Explanation
Correct Answer
B:Security Hub capabilities consolidate security information; CSPM adds standards and control evaluation, while underlying source services still supply their findings.
Incorrect Answers
A:GuardDuty provides threat findings, but it does not replace the CSPM standards and control-compliance capabilities required by the unified posture view.
C:Aggregation consolidates configuration and compliance information but is not the complete cross-service security finding and posture workflow described here.
D:Availability visualization does not itself supply standards evaluation or central correlation of the security findings required by this design.
Question 25
GuardDuty is enabled in one Region. A workload operates in another Region where no detector exists. What should be done?
- Add an IAM allow for all Regions
- Create a global security group
- Change the console preferred Region
- Enable GuardDuty in the workload Region
Explanation
Correct Answer
D:GuardDuty configuration is Regional. A detector in another Region does not automatically establish monitoring for this previously unconfigured workload Region.
Incorrect Answers
A:API authorization does not create a detector. The missing service configuration remains even if the administrator can access every Region.
B:Security groups are VPC network controls and cannot supply a missing Regional GuardDuty detector or its analysis pipeline.
C:A console preference changes the displayed location, not which Regions have an enabled threat-detection configuration.
Question 26
An organization wants security teams to manage GuardDuty members without routinely using management-account credentials. What arrangement is appropriate?
- Configure a GuardDuty delegated administrator
- Share the management root password
- Move workloads into the management account
- Attach an S3 bucket policy
Explanation
Correct Answer
A:The service-specific delegation supports centralized member management from a chosen member account, reducing routine dependency on privileged organization management access.
Incorrect Answers
B:Sharing root eliminates individual attribution and creates unnecessary organization-wide privilege rather than establishing supported service delegation.
C:Consolidating workloads there increases management-account exposure and does not create the requested delegated security operations model.
D:A storage resource policy governs bucket access; it cannot designate an organization administrator for the GuardDuty service.
Question 27
A known penetration test produces expected GuardDuty findings. Detection must continue, while matching expected findings should be automatically archived. What is appropriate?
- Create a finding filter used only for manual console searches
- Use a narrowly scoped GuardDuty suppression rule
- Archive only the findings currently visible
- Disable the detector during the entire project
Explanation
Correct Answer
B:Suppression filters archive matching findings while preserving detection for other activity. Narrow criteria avoid concealing unrelated malicious behavior.
Incorrect Answers
A:A saved search can improve investigation but does not automatically archive future matches as a GuardDuty suppression rule does.
C:Manual archival affects existing records, not the future expected test findings that the requested automatic rule must handle.
D:Disabling detection creates a broader monitoring gap than archiving the specific, already-understood activity that the team expects.
Question 28
A CloudWatch alarm must notify an on-call distribution endpoint when a security metric breaches its threshold. Which integration is appropriate?
- A metric filter without an alarm or notification action
- An alarm dashboard widget without an alarm action
- An EventBridge archive without an enabled notification target
- An alarm action publishing to Amazon SNS
Explanation
Correct Answer
D:CloudWatch can invoke the configured notification action on alarm transitions. The SNS subscription and delivery permissions must also be configured successfully.
Incorrect Answers
A:A filter can produce a signal, but the remaining evaluation and delivery components are still needed to notify the on-call endpoint.
B:Visualizing state requires someone to watch the dashboard and does not establish the configured push-notification path to responders.
C:Archiving preserves events for replay but does not itself deliver an alarm notification to the on-call distribution endpoint.
Question 29
The SOC needs an alert when CloudTrail events show an IAM policy change. Which solution directly turns these logged events into an alarmable metric?
- CloudWatch Logs metric filter and alarm
- An EventBridge notification rule with no metric publication
- A CloudTrail event selector without a metric conversion
- A Logs Insights query run manually once a month
Explanation
Correct Answer
A:A filter matches the relevant ingested event fields and emits a metric. An alarm evaluates that metric and invokes the configured notification action.
Incorrect Answers
B:Direct event notification can be useful, but it does not implement the specific requirement to turn matched logged events into an alarmable metric.
C:Selecting audit categories changes collection but does not create a numerical series that a CloudWatch alarm can evaluate.
D:An occasional query supports investigation but does not continuously publish the matched-event metric required by this alarm design.
Question 30
A monitoring design must detect a stopped CloudTrail trail promptly. Which event should its EventBridge rule target?
- CloudTrail CreateTrail activity
- CloudTrail StopLogging API activity
- PutEventSelectors without a matching StopLogging operation
- UpdateTrail without a matching StopLogging operation
Explanation
Correct Answer
B:Matching the control-plane call provides a signal that logging was stopped, with response delivery dependent on the configured event source and permissions.
Incorrect Answers
A:Creating a trail can improve coverage but does not identify the distinct StopLogging action that disables recording on an existing trail.
C:Selector changes affect the selected event categories, whereas the requested rule targets the distinct API action that stops recording.
D:Changing trail configuration is a different administrative event and does not by itself identify the operation that explicitly stopped logging.