Question 840
A security architecture review for a central security service delegation plan contains 2 independently assessed work items: (1) Aggregate AWS Config compliance data from many accounts and Regions; (2) Apply common permission guardrails across member AWS accounts. Which actions directly implement those requirements? Choose TWO.
- Create trusted cross-account IAM roles and controlled STS assumption paths
- Configure an AWS Config aggregator with appropriate authorization
- Configure a delegated administrator for AWS Security Hub
- Configure AWS Organizations service control policies at the appropriate hierarchy
Explanation
Correct Answers
B:Config aggregators centralize resource configuration and compliance views without themselves changing the member resources; in a central security service delegation plan, this is one of the independently required safeguards because it addresses the requirement to aggregate AWS Config compliance data from many accounts and Regions.
D:SCPs constrain affected principals' maximum permissions in member accounts, independently from the IAM policies that grant actions; in a central security service delegation plan, this is one of the independently required safeguards because it addresses the requirement to apply common permission guardrails across member AWS accounts.
Incorrect Answers
A:Cross-account role sessions supply temporary access bounded by the target role's trust and permission policies; in a central security service delegation plan, that supports the requirement to give security staff cross-account administrative access without sharing root passwords, which is distinct from the 2 enumerated security work items.
C:Delegated administration allows a designated member account to administer a security service's supported organization-wide features; in a central security service delegation plan, that supports the requirement to provide a central place to manage security findings for multiple accounts, which is distinct from the 2 enumerated security work items.
Question 841
During a cross-account delegation audit, the security team has this work item: An assumed role is denied by a resource policy that names the wrong principal. Which AWS action is the most direct implementation?
- Grant tightly scoped iam:PassRole to the approved service role
- Review IAM Access Analyzer external access findings for supported resource policies
- Update the resource policy to reference the intended role or session principal
- Test the applicable policies with IAM policy simulator and check CloudTrail evidence
Explanation
Correct Answer
C:Authorization depends on the actual principal ARN and context used by the request; similar role names are not interchangeable identities; this behavior fulfills the reported condition: an assumed role is denied by a resource policy that names the wrong principal during a cross-account delegation audit.
Incorrect Answers
A:Passing a role to a service requires separate iam:PassRole authorization and is not implied by ec2:RunInstances alone; its scope is the reported condition: a developer can create roles but cannot pass them to an EC2 service, rather than the reported condition: an assumed role is denied by a resource policy that names the wrong principal for a cross-account delegation audit.
B:Access Analyzer analyzes policy-based access outside the chosen trust boundary; it does not inspect live network packet contents; its scope is the reported condition: a developer needs to see whether an S3 bucket is exposed beyond an account trust zone, rather than the reported condition: an assumed role is denied by a resource policy that names the wrong principal for a cross-account delegation audit.
D:Simulation clarifies modeled permissions, while CloudTrail supplies the actual actor and error context for the failed request; this would help with the reported condition: an operator needs to determine why a specific AWS API call is denied, leaving the reported condition: an assumed role is denied by a resource policy that names the wrong principal unresolved in a cross-account delegation audit.
Question 842
The logging access troubleshooting session cannot pass unless both of these outcomes are demonstrated: A VPC flow-log destination rejects writes after an IAM role change; A trail reports S3 delivery errors after a bucket-policy hardening change. Which two-part plan is suitable?
- Repair the CloudWatch Logs publishing role or destination resource permissions; and restore the precise S3 bucket policy statements that permit CloudTrail delivery
- Repair the CloudWatch Logs publishing role or destination resource permissions; and expand or create Flow Logs coverage for that network interface or containing subnet
- Review the key policy for the CloudTrail log-encryption service permissions; and restore the precise S3 bucket policy statements that permit CloudTrail delivery
- Expand or create Flow Logs coverage for that network interface or containing subnet; and review the key policy for the CloudTrail log-encryption service permissions
Explanation
Correct Answer
A:Two different security outcomes are required in this logging access troubleshooting session; A correctly configured flow-log source cannot publish if the delivery principal lacks access to create streams or put events supports “A VPC flow-log destination rejects writes after an IAM role change,” while A restrictive destination policy can block PutObject even when the trail and event selectors remain configured correctly supports “A trail reports S3 delivery errors after a bucket-policy hardening change”; neither check is assumed to follow from the other.
Incorrect Answers
B:This option is only partly effective: A correctly configured flow-log source cannot publish if the delivery principal lacks access to create streams or put events supports “A VPC flow-log destination rejects writes after an IAM role change”; but Flow Logs capture only interfaces covered by the configured scope and supported traffic records supports “Flow logs show no records for a new ENI outside the original logging scope,” not the required “A trail reports S3 delivery errors after a bucket-policy hardening change” outcome.
C:The option has a useful control for “A trail reports S3 delivery errors after a bucket-policy hardening change” because A restrictive destination policy can block PutObject even when the trail and event selectors remain configured correctly; its other control applies to “CloudTrail events stop arriving after the KMS key policy is tightened” because SSE-KMS log delivery requires usable cryptographic authorization; an S3 write allowance alone cannot fix rejected key operations; it misses the first requirement, “A VPC flow-log destination rejects writes after an IAM role change.”.
D:Flow Logs capture only interfaces covered by the configured scope and supported traffic records is pertinent to “Flow logs show no records for a new ENI outside the original logging scope,” and SSE-KMS log delivery requires usable cryptographic authorization; an S3 write allowance alone cannot fix rejected key operations is pertinent to “CloudTrail events stop arriving after the KMS key policy is tightened”; the requested controls for “A VPC flow-log destination rejects writes after an IAM role change” and “A trail reports S3 delivery errors after a bucket-policy hardening change” are absent.
Question 843
A security review for a stored-data encryption architecture identifies one priority: Keep hardware-security-module key operations under a customer-managed HSM cluster. Which control is the best choice?
- Use a KMS encryption context for supported symmetric KMS operations
- Grant kms:Decrypt through the key policy and necessary IAM authorization
- Constrain the KMS key policy using kms:ViaService where supported
- Use AWS CloudHSM for supported HSM-controlled key workloads
Explanation
Correct Answer
D:CloudHSM gives customers dedicated HSM administration and key control with different operations from a managed KMS key; for a stored-data encryption architecture, this is the measure that delivers the requirement to keep hardware-security-module key operations under a customer-managed HSM cluster.
Incorrect Answers
A:An encryption context is cryptographically bound as additional authenticated data, so changing it invalidates decryption; this would help with the requirement to protect encryption operations with authenticated associated data that must match at decryption, leaving the requirement to keep hardware-security-module key operations under a customer-managed HSM cluster unresolved in a stored-data encryption architecture.
B:KMS cryptographic permissions depend on key-policy access and any required identity policy, which is distinct from metadata visibility; this addresses the requirement to allow an authorized principal to use a KMS key for decryption rather than just list it, not the requirement to keep hardware-security-module key operations under a customer-managed HSM cluster, which is needed in a stored-data encryption architecture.
C:Service-context conditions limit when the KMS key may be used through an approved integrated AWS service; its purpose is the requirement to limit sensitive KMS key use to one AWS service integration, but the acceptance criterion in a stored-data encryption architecture is the requirement to keep hardware-security-module key operations under a customer-managed HSM cluster.
Question 844
An assessment of the public application protection review has two findings. Finding one: Distribute incoming web traffic globally while reducing direct exposure of the origin. Finding two: Prevent viewers from directly fetching private S3 objects behind CloudFront. Which combination remediates both?
- Associate a regional AWS WAF web ACL with the load balancer; and configure CloudFront origin access control and restrict the bucket policy
- Enroll eligible resources in AWS Shield Advanced; and associate a regional AWS WAF web ACL with the load balancer
- Put a CloudFront distribution in front of the supported origin; and configure CloudFront origin access control and restrict the bucket policy
- Put a CloudFront distribution in front of the supported origin; and enroll eligible resources in AWS Shield Advanced
Explanation
Correct Answer
C:The implementation has a specific control for each objective: CloudFront terminates viewer connections at edge locations and can integrate WAF protections before forwarding allowed requests for “Distribute incoming web traffic globally while reducing direct exposure of the origin”; Origin access control lets CloudFront sign origin requests so the S3 bucket can reject direct public reads for “Prevent viewers from directly fetching private S3 objects behind CloudFront”; the combined option satisfies the two-part request.
Incorrect Answers
A:While origin access control lets CloudFront sign origin requests so the S3 bucket can reject direct public reads is relevant to “Prevent viewers from directly fetching private S3 objects behind CloudFront,” the other component targets “Protect an Application Load Balancer from application-layer attack signatures,” where WAF evaluates supported HTTP(S) requests at the ALB, which is not the same as changing instance network security-group rules; the first acceptance criterion (“Distribute incoming web traffic globally while reducing direct exposure of the origin”) is not met.
B:The first proposed action addresses “Provide enhanced DDoS protections and response-team assistance for critical internet services”: Shield Advanced adds enhanced protection capabilities and access to specialized response support subject to its subscription and service scope; the second addresses “Protect an Application Load Balancer from application-layer attack signatures”: WAF evaluates supported HTTP(S) requests at the ALB, which is not the same as changing instance network security-group rules; the combination does not achieve the required “Distribute incoming web traffic globally while reducing direct exposure of the origin” and “Prevent viewers from directly fetching private S3 objects behind CloudFront” outcomes in this public application protection review.
D:The first check would be covered, since cloudFront terminates viewer connections at edge locations and can integrate WAF protections before forwarding allowed requests; yet the second choice is associated with “Provide enhanced DDoS protections and response-team assistance for critical internet services,” for which shield Advanced adds enhanced protection capabilities and access to specialized response support subject to its subscription and service scope; no corresponding control satisfies “Prevent viewers from directly fetching private S3 objects behind CloudFront.”.
Question 845
A change request in the active security incident investigation will be approved only if it delivers both outcomes: Determine whether a suspicious instance communicated with a known bad endpoint; Identify the cause of a series of unexpected security-group modifications. What should be included?
- Correlate VPC Flow Logs with GuardDuty network-related findings; and restore the snapshot into a forensic VPC with restricted analyst access
- Correlate VPC Flow Logs with GuardDuty network-related findings; and query CloudTrail management events for AuthorizeSecurityGroupIngress and related calls
- Restore the snapshot into a forensic VPC with restricted analyst access; and copy artifacts to a separately administered account with S3 Object Lock
- Copy artifacts to a separately administered account with S3 Object Lock; and query CloudTrail management events for AuthorizeSecurityGroupIngress and related calls
Explanation
Correct Answer
B:For the first acceptance test, “Determine whether a suspicious instance communicated with a known bad endpoint,” flow records summarize accepted or rejected traffic metadata, supporting a timeline without claiming packet-payload visibility; for the second, “Identify the cause of a series of unexpected security-group modifications,” control-plane audit records identify the actor, request parameters, and timing of security-group changes; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
A:Flow records summarize accepted or rejected traffic metadata, supporting a timeline without claiming packet-payload visibility supports the “Determine whether a suspicious instance communicated with a known bad endpoint” acceptance test; An isolated environment allows disk inspection while keeping suspicious binaries and network behavior away from the production data plane is pertinent to “Examine a suspect EBS snapshot without exposing it to normal production workloads” instead; the change therefore omits the separate requirement “Identify the cause of a series of unexpected security-group modifications.”.
C:Neither action is targeted at the two acceptance tests: An isolated environment allows disk inspection while keeping suspicious binaries and network behavior away from the production data plane is about “Examine a suspect EBS snapshot without exposing it to normal production workloads,” and Independent permissions and immutable retention reduce the possibility that a compromised production identity can alter stored evidence is about “Protect collected incident evidence from modifications by production administrators”; the intended “Determine whether a suspicious instance communicated with a known bad endpoint” and “Identify the cause of a series of unexpected security-group modifications” requirements remain unsatisfied.
D:The mechanism for “Identify the cause of a series of unexpected security-group modifications” is present: Control-plane audit records identify the actor, request parameters, and timing of security-group changes; the additional mechanism relates to “Protect collected incident evidence from modifications by production administrators”: Independent permissions and immutable retention reduce the possibility that a compromised production identity can alter stored evidence; nothing here completes “Determine whether a suspicious instance communicated with a known bad endpoint.”.
Question 846
For a security posture assessment, engineers have been assigned this security outcome: Report audit findings from multiple security tools in a common format. What implementation best fits?
- Enable an appropriate AWS Config managed rule and compliance evaluation
- Cross-reference CloudTrail API activity with AWS Config configuration history
- Consolidate compatible findings in AWS Security Hub
- Associate an AWS Systems Manager Automation remediation action with a Config rule
- Enable AWS Config recorders and delivery to controlled storage
Explanation
Correct Answer
C:Finding normalization enables shared prioritization, while raw evidence may remain in the originating tool; this behavior fulfills the requirement to report audit findings from multiple security tools in a common format during a security posture assessment.
Incorrect Answers
A:For the different objective “Detect when an S3 bucket deviates from an encryption baseline,” config rules evaluate recorded resource configurations against expected controls and report compliance states; the scenario instead requires “Report audit findings from multiple security tools in a common format,” which is a separate security mechanism.
B:CloudTrail identifies calling principals, while Config describes recorded resource state changes and compliance impacts; this addresses the requirement to demonstrate which account actions changed a security posture setting, not the requirement to report audit findings from multiple security tools in a common format, which is needed in a security posture assessment.
D:Config detects a violation and automation can apply a predefined corrective runbook with authorized permissions; the important distinction in a security posture assessment is that this supports the requirement to create automated remediation for noncompliant resources detected by Config instead of the requirement to report audit findings from multiple security tools in a common format.
E:Configuration item history supports reconstruction of resource state changes rather than tracking only a current compliance flag; this addresses the requirement to preserve compliance history of changes to resource configurations, not the requirement to report audit findings from multiple security tools in a common format, which is needed in a security posture assessment.
Question 847
During a permissions and authorization review, reviewers document two independent acceptance criteria. First: Delegate permissions to modify one resource's policy without granting broad IAM administration. Second: Permit an application to decrypt only with one designated customer-managed KMS key. Which combined implementation satisfies both?
- Grant the resource's specific policy-management actions for its ARN; and enable S3 Block Public Access at the desired account or bucket level
- Grant the resource's specific policy-management actions for its ARN; and authorize kms:Decrypt through appropriate key policy and IAM conditions
- Enable S3 Block Public Access at the desired account or bucket level; and narrow the IAM role trust policy Principal and conditions
- Narrow the IAM role trust policy Principal and conditions; and authorize kms:Decrypt through appropriate key policy and IAM conditions
Explanation
Correct Answer
B:The first control addresses the check “Delegate permissions to modify one resource's policy without granting broad IAM administration”: Service-specific resource policy API rights can be scoped independently from unrelated IAM user and role management privileges; the other addresses “Permit an application to decrypt only with one designated customer-managed KMS key”: KMS requires key-policy authorization and, where applicable, identity-based permissions; a broad S3 permission does not grant cryptographic key use; these two mechanisms cover the complete permissions and authorization review.
Incorrect Answers
A:Service-specific resource policy API rights can be scoped independently from unrelated IAM user and role management privileges; this is relevant to the first objective (“Delegate permissions to modify one resource's policy without granting broad IAM administration”); however, the other action is meant for “Prevent a public S3 bucket policy even when administrators mistakenly add one”: Block Public Access controls can reject or restrict public-access configurations independently of normal bucket-policy permits; it leaves the required “Permit an application to decrypt only with one designated customer-managed KMS key” behavior unimplemented.
C:The first action belongs to “Prevent a public S3 bucket policy even when administrators mistakenly add one” because block Public Access controls can reject or restrict public-access configurations independently of normal bucket-policy permits; the second belongs to “Ensure a role can be assumed only by the approved external account and principal” because the trust policy governs who may assume the role; the role permission policy governs what the resulting session may do; these are not the required checks, “Delegate permissions to modify one resource's policy without granting broad IAM administration” and “Permit an application to decrypt only with one designated customer-managed KMS key.”.
D:KMS requires key-policy authorization and, where applicable, identity-based permissions; a broad S3 permission does not grant cryptographic key use; this fulfills the second objective (“Permit an application to decrypt only with one designated customer-managed KMS key”); the other action is intended for “Ensure a role can be assumed only by the approved external account and principal”: The trust policy governs who may assume the role; the role permission policy governs what the resulting session may do; it does not meet the requested “Delegate permissions to modify one resource's policy without granting broad IAM administration” check.
Question 848
A security review for a data collection failure analysis identifies one priority: An S3 log archive is editable by identities outside the security account. Which control is the best choice?
- Restore the precise S3 bucket policy statements that permit CloudTrail delivery
- Fix the delivery role's S3 write and applicable KMS permissions
- Allow the needed logs query API actions on appropriate resources
- Add restrictive bucket controls and object retention, not just lifecycle rules
- Grant least-privilege S3 object read access and any required KMS decrypt rights
Explanation
Correct Answer
D:Access authorization and retention safeguards protect evidence; lifecycle configuration determines object aging rather than who can modify it; this is the direct solution to the reported condition: an S3 log archive is editable by identities outside the security account in a data collection failure analysis.
Incorrect Answers
A:For the different objective “A trail reports S3 delivery errors after a bucket-policy hardening change,” A restrictive destination policy can block PutObject even when the trail and event selectors remain configured correctly; the scenario instead requires “An S3 log archive is editable by identities outside the security account,” which is a separate security mechanism.
B:The Firehose role must be authorized for destination storage and encryption, separately from the upstream log producer; its scope is the reported condition: a Kinesis Firehose delivery stream cannot write log objects to S3, rather than the reported condition: an S3 log archive is editable by identities outside the security account for a data collection failure analysis.
C:Reading log streams and running Logs Insights queries involve different API permissions; query execution is subject to IAM authorization; its purpose is the reported condition: CloudWatch Logs Insights users receive an authorization error during queries, but the acceptance criterion in a data collection failure analysis is the reported condition: an S3 log archive is editable by identities outside the security account.
E:Successful logging and successful analysis are separate permissions; encryption can require an additional key grant to readers; this would help with the reported condition: a destination bucket accepts logs but investigators cannot read them, leaving the reported condition: an S3 log archive is editable by identities outside the security account unresolved in a data collection failure analysis.
Question 849
An implementation in the storage encryption control review must solve two separate problems, not merely strengthen one safeguard: Encrypt application messages stored in an SQS queue; Encrypt new EC2 EBS volumes by default in an account and Region. Which change meets the full request?
- Enable RDS storage encryption and select a suitable KMS key; and enable EBS encryption by default with the approved KMS key
- Snapshot it, copy the snapshot with encryption, and create a replacement encrypted volume; and enable RDS storage encryption and select a suitable KMS key
- Configure SQS server-side encryption with a suitable KMS key; and enable EBS encryption by default with the approved KMS key
- Configure SQS server-side encryption with a suitable KMS key; and snapshot it, copy the snapshot with encryption, and create a replacement encrypted volume
Explanation
Correct Answer
C:This pairing handles the first requirement (“Encrypt application messages stored in an SQS queue”) because queue-side encryption protects message bodies at rest while application authorization still uses SQS IAM and resource policies; it handles the second (“Encrypt new EC2 EBS volumes by default in an account and Region”) because EBS account settings make newly created volumes and snapshots use encryption settings without individually configuring every launch path; both acceptance criteria are therefore addressed.
Incorrect Answers
A:This solves the second problem (“Encrypt new EC2 EBS volumes by default in an account and Region”): EBS account settings make newly created volumes and snapshots use encryption settings without individually configuring every launch path; however, the first action addresses “Encrypt an RDS database's storage at creation”: RDS at-rest encryption protects supported storage components and must be planned at creation or through an appropriate snapshot migration; it does not satisfy “Encrypt application messages stored in an SQS queue.”.
B:Both mechanisms have legitimate uses, but for other requirements: EBS volume encryption is established on creation; an encrypted snapshot copy enables a controlled migration of existing data supports “Migrate an unencrypted EBS volume to encrypted storage”; RDS at-rest encryption protects supported storage components and must be planned at creation or through an appropriate snapshot migration supports “Encrypt an RDS database's storage at creation”; this does not resolve the stated “Encrypt application messages stored in an SQS queue” and “Encrypt new EC2 EBS volumes by default in an account and Region” findings.
D:One action is correctly chosen for “Encrypt application messages stored in an SQS queue”: Queue-side encryption protects message bodies at rest while application authorization still uses SQS IAM and resource policies; the companion action relates to “Migrate an unencrypted EBS volume to encrypted storage”: EBS volume encryption is established on creation; an encrypted snapshot copy enables a controlled migration of existing data; the other requested outcome, “Encrypt new EC2 EBS volumes by default in an account and Region,” remains outstanding.
Question 850
Before closing the VPC connectivity and segmentation rollout, a team must demonstrate the following: Record mirrored packets from an EC2 network interface for deep analysis; plus Assess whether a prohibited network path is possible before deployment. Which paired change would complete the work?
- Configure VPC Traffic Mirroring to an approved traffic analysis target; and use VPC Network Access Analyzer with a defined access scope
- Configure VPC Traffic Mirroring to an approved traffic analysis target; and configure AWS Firewall Manager security-group policies
- Restrict Lambda's VPC security group and egress routes; and use VPC Network Access Analyzer with a defined access scope
- Configure AWS Firewall Manager security-group policies; and restrict Lambda's VPC security group and egress routes
Explanation
Correct Answer
A:The implementation has a specific control for each objective: Traffic Mirroring captures packet copies from supported ENIs, unlike Flow Logs which only publish traffic metadata for “Record mirrored packets from an EC2 network interface for deep analysis”; Network Access Analyzer checks configured resource paths against network access requirements rather than sampling live packets for “Assess whether a prohibited network path is possible before deployment”; the combined option satisfies the two-part request.
Incorrect Answers
B:The first check would be covered, since traffic Mirroring captures packet copies from supported ENIs, unlike Flow Logs which only publish traffic metadata; yet the second choice is associated with “Enforce uniform security-group policies across a multi-account organization,” for which firewall Manager applies centralized security policy management to in-scope accounts and resources, subject to organizational prerequisites; no corresponding control satisfies “Assess whether a prohibited network path is possible before deployment.”.
C:While network Access Analyzer checks configured resource paths against network access requirements rather than sampling live packets is relevant to “Assess whether a prohibited network path is possible before deployment,” the other component targets “Prevent a Lambda function in a VPC from having unnecessary internet egress,” where VPC-connected Lambda traffic follows configured network controls; attachment alone does not grant general outbound internet access; the first acceptance criterion (“Record mirrored packets from an EC2 network interface for deep analysis”) is not met.
D:The first proposed action addresses “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; the second addresses “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; the combination does not achieve the required “Record mirrored packets from an EC2 network interface for deep analysis” and “Assess whether a prohibited network path is possible before deployment” outcomes in this VPC connectivity and segmentation rollout.