Question 980
Two security control owners share a central log collection migration. One is responsible for this outcome: Record AWS management API activity in every Region into protected storage. The other needs: Confirm that delivered CloudTrail log objects have not been altered. Which implementation covers both?
- Configure a multi-Region CloudTrail trail with an S3 destination; and enable CloudTrail log file integrity validation and verify digest files
- Configure a multi-Region CloudTrail trail with an S3 destination; and create a subscription filter to an authorized Kinesis delivery destination
- Enable CloudTrail S3 data event logging for the selected object resources; and enable CloudTrail log file integrity validation and verify digest files
- Create a subscription filter to an authorized Kinesis delivery destination; and enable CloudTrail S3 data event logging for the selected object resources
Explanation
Correct Answer
A:Two different security outcomes are required in this central log collection migration; A multi-Region trail records supported management events across current and newly added Regions in the account supports “Record AWS management API activity in every Region into protected storage,” while Signed digest chains allow validation of log-file integrity after delivery; enabling the feature alone is not equivalent to performing verification supports “Confirm that delivered CloudTrail log objects have not been altered”; neither check is assumed to follow from the other.
Incorrect Answers
B:This option is only partly effective: A multi-Region trail records supported management events across current and newly added Regions in the account supports “Record AWS management API activity in every Region into protected storage”; but CloudWatch Logs subscriptions forward matching log events continuously, unlike Logs Insights which is primarily an interactive query tool supports “Stream application log events from CloudWatch Logs toward an external SIEM,” not the required “Confirm that delivered CloudTrail log objects have not been altered” outcome.
C:The option has a useful control for “Confirm that delivered CloudTrail log objects have not been altered” because signed digest chains allow validation of log-file integrity after delivery; enabling the feature alone is not equivalent to performing verification; its other control applies to “Audit S3 GetObject operations instead of only bucket-policy changes” because object-level data-plane reads are not included in ordinary management-event history unless data events are configured; it misses the first requirement, “Record AWS management API activity in every Region into protected storage.”.
D:CloudWatch Logs subscriptions forward matching log events continuously, unlike Logs Insights which is primarily an interactive query tool is pertinent to “Stream application log events from CloudWatch Logs toward an external SIEM,” and Object-level data-plane reads are not included in ordinary management-event history unless data events are configured is pertinent to “Audit S3 GetObject operations instead of only bucket-policy changes”; the requested controls for “Record AWS management API activity in every Region into protected storage” and “Confirm that delivered CloudTrail log objects have not been altered” are absent.
Question 981
A security review for a private certificate and credential audit identifies one priority: Store a nonrotating application configuration value with optional encryption. Which control is the best choice?
- Use Systems Manager Parameter Store with a SecureString parameter when sensitive
- Configure supported AWS KMS automatic key rotation
- Configure AWS Secrets Manager rotation with a compatible rotation implementation
- Review Secrets Manager API events in CloudTrail
Explanation
Correct Answer
A:Parameter Store organizes configuration parameters and can encrypt selected values, but does not reproduce every Secrets Manager rotation integration; for a private certificate and credential audit, this is the measure that delivers the requirement to store a nonrotating application configuration value with optional encryption.
Incorrect Answers
B:For the different objective “Rotate cryptographic key material for eligible symmetric customer-managed KMS keys,” key rotation changes key material while keeping the logical key identifier for supported symmetric customer-managed keys; the scenario instead requires “Store a nonrotating application configuration value with optional encryption,” which is a separate security mechanism.
C:Secrets Manager schedules secret rotation, coordinating updates to the stored value and underlying system credentials; this addresses the requirement to rotate a database password automatically on an approved schedule, not the requirement to store a nonrotating application configuration value with optional encryption, which is needed in a private certificate and credential audit.
D:CloudTrail records supported secret-management API calls and caller identities, while secret values themselves should not be logged; this addresses the requirement to track when a production secret was retrieved by an unexpected identity, not the requirement to store a nonrotating application configuration value with optional encryption, which is needed in a private certificate and credential audit.
Question 982
A security architecture review for a security incident runbook exercise contains 2 independently assessed work items: (1) Recover a known-good workload after an incident while retaining compromised images for evidence; (2) Stop further use of a disclosed IAM user's long-term API key. Which actions directly implement those requirements? Choose TWO.
- Inspect the AssumeRole event and session identity fields in CloudTrail
- Route the finding event through EventBridge to an SNS topic
- Deactivate the affected access key and replace it through a controlled process
- Launch replacement capacity from a verified hardened AMI
Explanation
Correct Answers
C:An inactive access key cannot authenticate future signed API requests, allowing responders to eliminate the exposed credential while tracing historical use; in a security incident runbook exercise, this is one of the independently required safeguards because it addresses the requirement to stop further use of a disclosed IAM user's long-term API key.
D:Rebuilding from trusted images avoids continuing to use an altered instance filesystem, while forensic copies can remain isolated; in a security incident runbook exercise, this is one of the independently required safeguards because it addresses the requirement to recover a known-good workload after an incident while retaining compromised images for evidence.
Incorrect Answers
A:CloudTrail records role assumption request context and subsequent session identity information that can tie activity to the originating caller; in a security incident runbook exercise, that supports the requirement to determine which principal originally assumed a suspicious cross-account role, which is distinct from the 2 enumerated security work items.
B:SNS fan-out notifies multiple subscribed responders after EventBridge selects the events requiring immediate attention; in a security incident runbook exercise, that supports the requirement to send incident alerts to an on-call distribution group after matching a security finding, which is distinct from the 2 enumerated security work items.
Question 983
An assessment of the multi-account infrastructure deployment has two findings. Finding one: Prevent deployment of a CloudFormation stack that violates defined policy requirements. Finding two: Require an explicit review before changing production infrastructure templates. Which combination remediates both?
- Deploy CloudFormation StackSets with appropriate execution permissions; and use version-controlled AWS CloudFormation templates with approved parameters
- Use version-controlled AWS CloudFormation templates with approved parameters; and use CloudFormation change sets and an approval workflow
- Apply CloudFormation Hooks or supported predeployment policy checks; and deploy CloudFormation StackSets with appropriate execution permissions
- Apply CloudFormation Hooks or supported predeployment policy checks; and use CloudFormation change sets and an approval workflow
Explanation
Correct Answer
D:The implementation has a specific control for each objective: Preprovision checks can assess proposed resource configurations and fail noncompliant operations before creation for “Prevent deployment of a CloudFormation stack that violates defined policy requirements”; Change sets preview resource modifications, replacements and deletions so operators can assess consequences prior to execution for “Require an explicit review before changing production infrastructure templates”; the combined option satisfies the two-part request.
Incorrect Answers
A:The first proposed action addresses “Distribute standardized infrastructure stacks to many AWS accounts and Regions”: StackSets manage stack instances across accounts and Regions from a central deployment model; the second addresses “Deploy the same reviewed infrastructure security settings across environments”: Infrastructure as code expresses resource baselines reproducibly and makes unauthorized differences easier to investigate; the combination does not achieve the required “Prevent deployment of a CloudFormation stack that violates defined policy requirements” and “Require an explicit review before changing production infrastructure templates” outcomes in this multi-account infrastructure deployment.
B:While change sets preview resource modifications, replacements and deletions so operators can assess consequences prior to execution is relevant to “Require an explicit review before changing production infrastructure templates,” the other component targets “Deploy the same reviewed infrastructure security settings across environments,” where infrastructure as code expresses resource baselines reproducibly and makes unauthorized differences easier to investigate; the first acceptance criterion (“Prevent deployment of a CloudFormation stack that violates defined policy requirements”) is not met.
C:The first check would be covered, since preprovision checks can assess proposed resource configurations and fail noncompliant operations before creation; yet the second choice is associated with “Distribute standardized infrastructure stacks to many AWS accounts and Regions,” for which stackSets manage stack instances across accounts and Regions from a central deployment model; no corresponding control satisfies “Require an explicit review before changing production infrastructure templates.”.
Question 984
During a VPC connectivity and segmentation rollout, reviewers document two independent acceptance criteria. First: Assess whether a prohibited network path is possible before deployment. Second: Inspect selected VPC traffic with managed stateful firewall policies. Which combined implementation satisfies both?
- Use VPC Network Access Analyzer with a defined access scope; and configure AWS Firewall Manager security-group policies
- Use VPC Network Access Analyzer with a defined access scope; and deploy AWS Network Firewall with appropriate routing through firewall endpoints
- Configure AWS Firewall Manager security-group policies; and restrict Lambda's VPC security group and egress routes
- Restrict Lambda's VPC security group and egress routes; and deploy AWS Network Firewall with appropriate routing through firewall endpoints
Explanation
Correct Answer
B:The first control addresses the check “Assess whether a prohibited network path is possible before deployment”: Network Access Analyzer checks configured resource paths against network access requirements rather than sampling live packets; the other addresses “Inspect selected VPC traffic with managed stateful firewall policies”: Network Firewall provides network filtering including stateful inspection when traffic is explicitly routed through its endpoints; these two mechanisms cover the complete VPC connectivity and segmentation rollout.
Incorrect Answers
A:Network Access Analyzer checks configured resource paths against network access requirements rather than sampling live packets; this is relevant to the first objective (“Assess whether a prohibited network path is possible before deployment”); however, the other action is meant for “Enforce uniform security-group policies across a multi-account organization”: Firewall Manager applies centralized security policy management to in-scope accounts and resources, subject to organizational prerequisites; it leaves the required “Inspect selected VPC traffic with managed stateful firewall policies” behavior unimplemented.
C:The first action belongs to “Enforce uniform security-group policies across a multi-account organization” because firewall Manager applies centralized security policy management to in-scope accounts and resources, subject to organizational prerequisites; the second belongs to “Prevent a Lambda function in a VPC from having unnecessary internet egress” because VPC-connected Lambda traffic follows configured network controls; attachment alone does not grant general outbound internet access; these are not the required checks, “Assess whether a prohibited network path is possible before deployment” and “Inspect selected VPC traffic with managed stateful firewall policies.”.
D:Network Firewall provides network filtering including stateful inspection when traffic is explicitly routed through its endpoints; this fulfills the second objective (“Inspect selected VPC traffic with managed stateful firewall policies”); the other action is intended for “Prevent a Lambda function in a VPC from having unnecessary internet egress”: VPC-connected Lambda traffic follows configured network controls; attachment alone does not grant general outbound internet access; it does not meet the requested “Assess whether a prohibited network path is possible before deployment” check.
Question 985
An AWS team is correcting two gaps in the credential and federation review: Require IAM users to activate MFA before performing sensitive API operations; and Run a workload in a different account without storing destination-account access keys. Which proposed set of controls fixes both gaps?
- Apply a policy condition on aws:MultiFactorAuthPresent in the applicable context; and set an appropriate role maximum session duration and request a bounded session
- Apply a policy condition on aws:MultiFactorAuthPresent in the applicable context; and use STS AssumeRole with a cross-account role trust policy
- Set an appropriate role maximum session duration and request a bounded session; and inspect CloudTrail userIdentity and role session context
- Inspect CloudTrail userIdentity and role session context; and use STS AssumeRole with a cross-account role trust policy
Explanation
Correct Answer
B:For “Require IAM users to activate MFA before performing sensitive API operations,” the governing behavior is: The MFA context key can restrict supported requests according to whether MFA was present in the authenticated session; for the separate check “Run a workload in a different account without storing destination-account access keys,” it is: AssumeRole issues expiring credentials for a trusted principal, and the assumed role's permissions determine permitted destination actions; this is why the two controls belong together in the proposed change.
Incorrect Answers
A:The first part is appropriate for “Require IAM users to activate MFA before performing sensitive API operations” because the MFA context key can restrict supported requests according to whether MFA was present in the authenticated session; the second part addresses a different issue (“Restrict the duration of an elevated administrative session”) because temporary credentials expire at the resulting session lifetime, reducing exposure relative to unrestricted long-term keys; it does not fulfill the “Run a workload in a different account without storing destination-account access keys” test.
C:This combination targets different outcomes: Temporary credentials expire at the resulting session lifetime, reducing exposure relative to unrestricted long-term keys helps with “Restrict the duration of an elevated administrative session”; CloudTrail's assumed-role identity fields identify the session and support tracing back to the initiating role assumption helps with “Trace which workforce user started an assumed-role API call”; neither implements the required “Require IAM users to activate MFA before performing sensitive API operations” and “Run a workload in a different account without storing destination-account access keys” outcomes together.
D:Only the second requirement is covered: AssumeRole issues expiring credentials for a trusted principal, and the assumed role's permissions determine permitted destination actions supports “Run a workload in a different account without storing destination-account access keys”; by contrast, CloudTrail's assumed-role identity fields identify the session and support tracing back to the initiating role assumption concerns “Trace which workforce user started an assumed-role API call,” leaving “Require IAM users to activate MFA before performing sensitive API operations” unresolved.
Question 986
For a network and application telemetry plan, engineers have been assigned this security outcome: Capture DNS query names resolved through Route 53 Resolver in a VPC. What implementation best fits?
- Create a subscription filter to an authorized Kinesis delivery destination
- Enable VPC Flow Logs at the required VPC, subnet, or ENI scope
- Enable WAF logging to a supported delivery destination
- Configure Route 53 Resolver query logging for the relevant VPCs
Explanation
Correct Answer
D:Resolver query logs provide domain query details and can be centralized for DNS-based security analysis; this is the direct solution to the requirement to capture DNS query names resolved through Route 53 Resolver in a VPC in a network and application telemetry plan.
Incorrect Answers
A:For the different objective “Stream application log events from CloudWatch Logs toward an external SIEM,” CloudWatch Logs subscriptions forward matching log events continuously, unlike Logs Insights which is primarily an interactive query tool; the scenario instead requires “Capture DNS query names resolved through Route 53 Resolver in a VPC,” which is a separate security mechanism.
B:Flow Logs describe traffic metadata and accept/reject disposition, not packet payloads or every application-level transaction; this would help with the requirement to record accepted and rejected IP flows on selected VPC network interfaces, leaving the requirement to capture DNS query names resolved through Route 53 Resolver in a VPC unresolved in a network and application telemetry plan.
C:WAF log records include matched rule and request metadata for supported web requests passing through the associated ACL; the important distinction in a network and application telemetry plan is that this supports the requirement to record requests allowed or blocked by AWS WAF web ACLs instead of the requirement to capture DNS query names resolved through Route 53 Resolver in a VPC.
Question 987
A security review for a data-retention policy deployment identifies one priority: Move cold S3 archive objects into a lower-cost storage class after a defined age. Which control is the best choice?
- Define an AWS Backup plan and assign protected resources
- Configure the log group's retention setting
- Create an Amazon Data Lifecycle Manager policy
- Configure separate versioned-bucket Lifecycle expiration rules
- Configure S3 Lifecycle transition actions
Explanation
Correct Answer
E:Lifecycle transition automates storage-class movement after configured criteria without itself enforcing tamper-proof retention; for a data-retention policy deployment, this is the measure that delivers the requirement to move cold S3 archive objects into a lower-cost storage class after a defined age.
Incorrect Answers
A:For the different objective “Establish policy-based backups across several supported resource types,” backup plans specify schedules, backup rules and lifecycle, enabling centrally managed recovery point creation; the scenario instead requires “Move cold S3 archive objects into a lower-cost storage class after a defined age,” which is a separate security mechanism.
B:CloudWatch deletes log events after the configured age, separate from S3 Lifecycle on archived objects; this addresses the requirement to retain CloudWatch Logs events only for a fixed number of days, not the requirement to move cold S3 archive objects into a lower-cost storage class after a defined age, which is needed in a data-retention policy deployment.
C:Data Lifecycle Manager orchestrates eligible EBS snapshot and AMI lifecycles using schedules and retention rules; its scope is the requirement to automate retention of daily EBS snapshots across matching volumes, rather than the requirement to move cold S3 archive objects into a lower-cost storage class after a defined age for a data-retention policy deployment.
D:Versioned buckets can retain noncurrent versions with distinct expiration behavior from the current version; this addresses the requirement to delete expired object versions while keeping active S3 versions longer, not the requirement to move cold S3 archive objects into a lower-cost storage class after a defined age, which is needed in a data-retention policy deployment.
Question 988
An assessment of the VPC connectivity and segmentation rollout has two findings. Finding one: Prevent a development VPC from reaching the production CIDR through a central hub. Finding two: Capture which AWS API modified a VPC route during an outage. Which combination remediates both?
- Use separate Transit Gateway route tables and association rules; and review CloudTrail control-plane events for route table updates
- Configure MACsec on supported dedicated Direct Connect connections; and use separate Transit Gateway route tables and association rules
- Remove or withhold the prohibited route in the Transit Gateway route table; and review CloudTrail control-plane events for route table updates
- Remove or withhold the prohibited route in the Transit Gateway route table; and configure MACsec on supported dedicated Direct Connect connections
Explanation
Correct Answer
C:The implementation has a specific control for each objective: Traffic isolation needs effective route-table segmentation; attachment to the same transit hub does not imply unrestricted transit for “Prevent a development VPC from reaching the production CIDR through a central hub”; CloudTrail records authorized route table API operations, not the packet-level paths of normal client connections for “Capture which AWS API modified a VPC route during an outage”; the combined option satisfies the two-part request.
Incorrect Answers
A:While CloudTrail records authorized route table API operations, not the packet-level paths of normal client connections is relevant to “Capture which AWS API modified a VPC route during an outage,” the other component targets “Provide separate routing policy for isolated environments sharing Transit Gateway,” where transit Gateway routing isolation can prevent attachments from learning or reaching destinations outside their intended segment; the first acceptance criterion (“Prevent a development VPC from reaching the production CIDR through a central hub”) is not met.
B:The first proposed action addresses “Encrypt suitable Direct Connect links at Layer 2 where supported”: MACsec protects supported physical Direct Connect link traffic at Layer 2 and is distinct from IPsec at the VPN layer; the second addresses “Provide separate routing policy for isolated environments sharing Transit Gateway”: Transit Gateway routing isolation can prevent attachments from learning or reaching destinations outside their intended segment; the combination does not achieve the required “Prevent a development VPC from reaching the production CIDR through a central hub” and “Capture which AWS API modified a VPC route during an outage” outcomes in this VPC connectivity and segmentation rollout.
D:The first check would be covered, since traffic isolation needs effective route-table segmentation; attachment to the same transit hub does not imply unrestricted transit; yet the second choice is associated with “Encrypt suitable Direct Connect links at Layer 2 where supported,” for which MACsec protects supported physical Direct Connect link traffic at Layer 2 and is distinct from IPsec at the VPN layer; no corresponding control satisfies “Capture which AWS API modified a VPC route during an outage.”.
Question 989
A security review for a suspicious activity investigation identifies one priority: Find exposed internet-facing EC2 software vulnerabilities. Which control is the best choice?
- Enable Amazon Inspector EC2 vulnerability scanning
- Use Amazon Detective to pivot through related entities
- Enable GuardDuty S3 Protection for supported object activity
- Run IAM Access Analyzer external-access analysis
Explanation
Correct Answer
A:Inspector assesses supported workloads for package vulnerabilities and prioritizes exploitable exposures rather than analyzing account API anomalies; that AWS behavior meets the requirement to find exposed internet-facing EC2 software vulnerabilities, the decisive objective for a suspicious activity investigation.
Incorrect Answers
B:Detective organizes security telemetry into related entities and investigation views, assisting root-cause analysis rather than supplying a prevention rule; the important distinction in a suspicious activity investigation is that this supports the requirement to investigate relationships among a GuardDuty finding, IAM identities, and communicating IP addresses instead of the requirement to find exposed internet-facing EC2 software vulnerabilities.
C:GuardDuty S3 Protection analyzes relevant S3 object activity for potential threats, while ordinary CloudTrail management history does not cover all object operations; this would help with the requirement to detect anomalous API activity against S3 objects with managed threat monitoring, leaving the requirement to find exposed internet-facing EC2 software vulnerabilities unresolved in a suspicious activity investigation.
D:Access Analyzer evaluates supported resource policies for access outside the configured zone of trust, highlighting unexpected sharing; this would help with the requirement to identify externally accessible resources implied by resource policies, leaving the requirement to find exposed internet-facing EC2 software vulnerabilities unresolved in a suspicious activity investigation.
Question 990
During a governed multi-account deployment, the security team has this work item: Share a supported network resource with other member accounts without duplicating it. Which AWS action is the most direct implementation?
- Use AWS Resource Access Manager with explicit shares
- Use version-controlled AWS CloudFormation templates with approved parameters
- Use AWS Resource Groups with matching resource tags
- Apply AWS Firewall Manager organization policies
Explanation
Correct Answer
A:RAM supports cross-account sharing of eligible resources, subject to organization and resource-specific controls; this is the direct solution to the requirement to share a supported network resource with other member accounts without duplicating it in a governed multi-account deployment.
Incorrect Answers
B:For the different objective “Deploy the same reviewed infrastructure security settings across environments,” infrastructure as code expresses resource baselines reproducibly and makes unauthorized differences easier to investigate; the scenario instead requires “Share a supported network resource with other member accounts without duplicating it,” which is a separate security mechanism.
C:Resource Groups presents collections of resources for management; it does not create new IAM or VPC security boundaries; its scope is the requirement to manage a fleet of AWS instances as an operational grouping without a new account, rather than the requirement to share a supported network resource with other member accounts without duplicating it for a governed multi-account deployment.
D:Firewall Manager centrally scopes security policy enforcement across accounts and supported resource types; its scope is the requirement to enforce standard firewall and WAF policies for many accounts centrally, rather than the requirement to share a supported network resource with other member accounts without duplicating it for a governed multi-account deployment.