Question 590
The multi-account infrastructure deployment cannot pass unless both of these outcomes are demonstrated: Detect manual changes to a resource after CloudFormation deployment; Prevent deployment of a CloudFormation stack that violates defined policy requirements. Which two-part plan is suitable?
- Use CloudFormation change sets and an approval workflow; and use version-controlled AWS CloudFormation templates with approved parameters
- Use version-controlled AWS CloudFormation templates with approved parameters; and apply CloudFormation Hooks or supported predeployment policy checks
- Run CloudFormation drift detection on supported stack resources; and use CloudFormation change sets and an approval workflow
- Run CloudFormation drift detection on supported stack resources; and apply CloudFormation Hooks or supported predeployment policy checks
Explanation
Correct Answer
D:Two different security outcomes are required in this multi-account infrastructure deployment; Drift detection compares actual supported resource properties with declared template expectations supports “Detect manual changes to a resource after CloudFormation deployment,” while Preprovision checks can assess proposed resource configurations and fail noncompliant operations before creation supports “Prevent deployment of a CloudFormation stack that violates defined policy requirements”; neither check is assumed to follow from the other.
Incorrect Answers
A:Change sets preview resource modifications, replacements and deletions so operators can assess consequences prior to execution is pertinent to “Require an explicit review before changing production infrastructure templates,” and Infrastructure as code expresses resource baselines reproducibly and makes unauthorized differences easier to investigate is pertinent to “Deploy the same reviewed infrastructure security settings across environments”; the requested controls for “Detect manual changes to a resource after CloudFormation deployment” and “Prevent deployment of a CloudFormation stack that violates defined policy requirements” are absent.
B:The option has a useful control for “Prevent deployment of a CloudFormation stack that violates defined policy requirements” because preprovision checks can assess proposed resource configurations and fail noncompliant operations before creation; its other control applies to “Deploy the same reviewed infrastructure security settings across environments” because infrastructure as code expresses resource baselines reproducibly and makes unauthorized differences easier to investigate; it misses the first requirement, “Detect manual changes to a resource after CloudFormation deployment.”.
C:This option is only partly effective: Drift detection compares actual supported resource properties with declared template expectations supports “Detect manual changes to a resource after CloudFormation deployment”; but Change sets preview resource modifications, replacements and deletions so operators can assess consequences prior to execution supports “Require an explicit review before changing production infrastructure templates,” not the required “Prevent deployment of a CloudFormation stack that violates defined policy requirements” outcome.
Question 591
Two security control owners share a permissions and authorization review. One is responsible for this outcome: An operator needs to determine why a specific AWS API call is denied. The other needs: A developer needs to see whether an S3 bucket is exposed beyond an account trust zone. Which implementation covers both?
- Grant tightly scoped iam:PassRole to the approved service role; and update the resource policy to reference the intended role or session principal
- Update the resource policy to reference the intended role or session principal; and review IAM Access Analyzer external access findings for supported resource policies
- Test the applicable policies with IAM policy simulator and check CloudTrail evidence; and grant tightly scoped iam:PassRole to the approved service role
- Test the applicable policies with IAM policy simulator and check CloudTrail evidence; and review IAM Access Analyzer external access findings for supported resource policies
Explanation
Correct Answer
D:Two different security outcomes are required in this permissions and authorization review; Simulation clarifies modeled permissions, while CloudTrail supplies the actual actor and error context for the failed request supports “An operator needs to determine why a specific AWS API call is denied,” while Access Analyzer analyzes policy-based access outside the chosen trust boundary; it does not inspect live network packet contents supports “A developer needs to see whether an S3 bucket is exposed beyond an account trust zone”; neither check is assumed to follow from the other.
Incorrect Answers
A:Passing a role to a service requires separate iam:PassRole authorization and is not implied by ec2:RunInstances alone is pertinent to “A developer can create roles but cannot pass them to an EC2 service,” and Authorization depends on the actual principal ARN and context used by the request; similar role names are not interchangeable identities is pertinent to “An assumed role is denied by a resource policy that names the wrong principal”; the requested controls for “An operator needs to determine why a specific AWS API call is denied” and “A developer needs to see whether an S3 bucket is exposed beyond an account trust zone” are absent.
B:The option has a useful control for “A developer needs to see whether an S3 bucket is exposed beyond an account trust zone” because access Analyzer analyzes policy-based access outside the chosen trust boundary; it does not inspect live network packet contents; its other control applies to “An assumed role is denied by a resource policy that names the wrong principal” because authorization depends on the actual principal ARN and context used by the request; similar role names are not interchangeable identities; it misses the first requirement, “An operator needs to determine why a specific AWS API call is denied.”.
C:This option is only partly effective: Simulation clarifies modeled permissions, while CloudTrail supplies the actual actor and error context for the failed request supports “An operator needs to determine why a specific AWS API call is denied”; but Passing a role to a service requires separate iam:PassRole authorization and is not implied by ec2:RunInstances alone supports “A developer can create roles but cannot pass them to an EC2 service,” not the required “A developer needs to see whether an S3 bucket is exposed beyond an account trust zone” outcome.
Question 592
An implementation in the logging access troubleshooting session must solve two separate problems, not merely strengthen one safeguard: A destination bucket accepts logs but investigators cannot read them; An organization trail omits a recently joined account's events. Which change meets the full request?
- Fix the delivery role's S3 write and applicable KMS permissions; and add restrictive bucket controls and object retention, not just lifecycle rules
- Add restrictive bucket controls and object retention, not just lifecycle rules; and confirm the trail is an organization trail and organizational settings are active
- Grant least-privilege S3 object read access and any required KMS decrypt rights; and fix the delivery role's S3 write and applicable KMS permissions
- Grant least-privilege S3 object read access and any required KMS decrypt rights; and confirm the trail is an organization trail and organizational settings are active
Explanation
Correct Answer
D:This pairing handles the first requirement (“A destination bucket accepts logs but investigators cannot read them”) because successful logging and successful analysis are separate permissions; encryption can require an additional key grant to readers; it handles the second (“An organization trail omits a recently joined account's events”) because A standard account trail does not automatically provide comprehensive member-account management coverage across an organization; both acceptance criteria are therefore addressed.
Incorrect Answers
A:Both mechanisms have legitimate uses, but for other requirements: The Firehose role must be authorized for destination storage and encryption, separately from the upstream log producer supports “A Kinesis Firehose delivery stream cannot write log objects to S3”; Access authorization and retention safeguards protect evidence; lifecycle configuration determines object aging rather than who can modify it supports “An S3 log archive is editable by identities outside the security account”; this does not resolve the stated “A destination bucket accepts logs but investigators cannot read them” and “An organization trail omits a recently joined account's events” findings.
B:This solves the second problem (“An organization trail omits a recently joined account's events”): A standard account trail does not automatically provide comprehensive member-account management coverage across an organization; however, the first action addresses “An S3 log archive is editable by identities outside the security account”: Access authorization and retention safeguards protect evidence; lifecycle configuration determines object aging rather than who can modify it; it does not satisfy “A destination bucket accepts logs but investigators cannot read them.”.
C:One action is correctly chosen for “A destination bucket accepts logs but investigators cannot read them”: Successful logging and successful analysis are separate permissions; encryption can require an additional key grant to readers; the companion action relates to “A Kinesis Firehose delivery stream cannot write log objects to S3”: The Firehose role must be authorized for destination storage and encryption, separately from the upstream log producer; the other requested outcome, “An organization trail omits a recently joined account's events,” remains outstanding.
Question 593
A change request in the key and certificate lifecycle review will be approved only if it delivers both outcomes: Track when a production secret was retrieved by an unexpected identity; Rotate a database password automatically on an approved schedule. What should be included?
- Review Secrets Manager API events in CloudTrail; and configure AWS Secrets Manager rotation with a compatible rotation implementation
- Review Secrets Manager API events in CloudTrail; and use a supported dynamic reference to Secrets Manager or Parameter Store
- Use Systems Manager Parameter Store with a SecureString parameter when sensitive; and configure AWS Secrets Manager rotation with a compatible rotation implementation
- Use a supported dynamic reference to Secrets Manager or Parameter Store; and use Systems Manager Parameter Store with a SecureString parameter when sensitive
Explanation
Correct Answer
A:For the first acceptance test, “Track when a production secret was retrieved by an unexpected identity,” CloudTrail records supported secret-management API calls and caller identities, while secret values themselves should not be logged; for the second, “Rotate a database password automatically on an approved schedule,” Secrets Manager schedules secret rotation, coordinating updates to the stored value and underlying system credentials; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
B:CloudTrail records supported secret-management API calls and caller identities, while secret values themselves should not be logged supports the “Track when a production secret was retrieved by an unexpected identity” acceptance test; Dynamic references allow CloudFormation to resolve supported secret values without embedding them in the plaintext template source is pertinent to “Avoid passing a secret in plaintext through a CloudFormation template” instead; the change therefore omits the separate requirement “Rotate a database password automatically on an approved schedule.”.
C:The mechanism for “Rotate a database password automatically on an approved schedule” is present: Secrets Manager schedules secret rotation, coordinating updates to the stored value and underlying system credentials; the additional mechanism relates to “Store a nonrotating application configuration value with optional encryption”: Parameter Store organizes configuration parameters and can encrypt selected values, but does not reproduce every Secrets Manager rotation integration; nothing here completes “Track when a production secret was retrieved by an unexpected identity.”.
D:Neither action is targeted at the two acceptance tests: Dynamic references allow CloudFormation to resolve supported secret values without embedding them in the plaintext template source is about “Avoid passing a secret in plaintext through a CloudFormation template,” and Parameter Store organizes configuration parameters and can encrypt selected values, but does not reproduce every Secrets Manager rotation integration is about “Store a nonrotating application configuration value with optional encryption”; the intended “Track when a production secret was retrieved by an unexpected identity” and “Rotate a database password automatically on an approved schedule” requirements remain unsatisfied.
Question 594
An architect is reviewing an internet-facing API threat assessment. The acceptance criterion reads: Provide enhanced DDoS protections and response-team assistance for critical internet services. Which approach satisfies it?
- Enroll eligible resources in AWS Shield Advanced
- Put a CloudFront distribution in front of the supported origin
- Use AWS Shield Standard protections on supported AWS resources
- Associate a regional AWS WAF web ACL with the load balancer
Explanation
Correct Answer
A:Shield Advanced adds enhanced protection capabilities and access to specialized response support subject to its subscription and service scope; that AWS behavior meets the requirement to provide enhanced DDoS protections and response-team assistance for critical internet services, the decisive objective for an internet-facing API threat assessment.
Incorrect Answers
B:CloudFront terminates viewer connections at edge locations and can integrate WAF protections before forwarding allowed requests; this would help with the requirement to distribute incoming web traffic globally while reducing direct exposure of the origin, leaving the requirement to provide enhanced DDoS protections and response-team assistance for critical internet services unresolved in an internet-facing API threat assessment.
C:Shield Standard provides built-in network and transport layer DDoS protection for supported services without requiring a WAF rule; its purpose is the requirement to provide baseline Layer 3 and Layer 4 DDoS mitigation for supported AWS resources without an extra security subscription, but the acceptance criterion in an internet-facing API threat assessment is the requirement to provide enhanced DDoS protections and response-team assistance for critical internet services.
D:WAF evaluates supported HTTP(S) requests at the ALB, which is not the same as changing instance network security-group rules; the important distinction in an internet-facing API threat assessment is that this supports the requirement to protect an Application Load Balancer from application-layer attack signatures instead of the requirement to provide enhanced DDoS protections and response-team assistance for critical internet services.
Question 595
During an account compromise response review, the security team has this work item: Prepare a containment response that can be undone after false-positive verification. Which AWS action is the most direct implementation?
- Attach a restrictive isolation security group and verify existing connections
- Share only the approved snapshot with a dedicated reviewer role and matching KMS permissions
- Define response severity criteria using impact, scope, and data sensitivity
- Record baseline access settings and include rollback steps in the incident runbook
Explanation
Correct Answer
D:A recovery path reduces operational risk when isolation rules or credential revocations affect legitimate systems; this behavior fulfills the requirement to prepare a containment response that can be undone after false-positive verification during an account compromise response review.
Incorrect Answers
A:For the different objective “Prepare a repeatable EC2 quarantine plan that preserves the host and accounts for established sessions,” security groups constrain permitted instance traffic, but stateful connection tracking must be considered when isolating sessions already established; the scenario instead requires “Prepare a containment response that can be undone after false-positive verification,” which is a separate security mechanism.
B:Cross-account encrypted snapshot access requires both snapshot sharing authorization and usable cryptographic-key permissions; its scope is the requirement to limit access to customer forensic snapshots during external review, rather than the requirement to prepare a containment response that can be undone after false-positive verification for an account compromise response review.
C:Incident classification maps technical indicators to business risk and dispatch responsibilities instead of assuming every alert is equally urgent; this would help with the requirement to recognize when a confirmed finding requires higher-severity escalation, leaving the requirement to prepare a containment response that can be undone after false-positive verification unresolved in an account compromise response review.
Question 596
An AWS team is correcting two gaps in the AWS Organizations policy program: Centralize access assignment audits for workforce roles; and Transfer governance of routine security operations away from the management account. Which proposed set of controls fixes both gaps?
- Review IAM Identity Center assignments and provisioned permission sets; and register a supported security-service delegated administrator in a member account
- Review IAM Identity Center assignments and provisioned permission sets; and restrict Organizations membership API actions to a central administrative role
- Design a documented break-glass role and tightly secured emergency credential process; and register a supported security-service delegated administrator in a member account
- Restrict Organizations membership API actions to a central administrative role; and design a documented break-glass role and tightly secured emergency credential process
Explanation
Correct Answer
A:For “Centralize access assignment audits for workforce roles,” the governing behavior is: Central assignments reveal which users and groups can obtain roles in each managed account; for the separate check “Transfer governance of routine security operations away from the management account,” it is: Service-specific delegation limits day-to-day use of the most privileged organization account without bypassing the overall service guardrails; this is why the two controls belong together in the proposed change.
Incorrect Answers
B:The first part is appropriate for “Centralize access assignment audits for workforce roles” because central assignments reveal which users and groups can obtain roles in each managed account; the second part addresses a different issue (“Limit who can invite or remove accounts from an organization”) because organizations permissions control account relationships and policy attachment at the organization boundary; it does not fulfill the “Transfer governance of routine security operations away from the management account” test.
C:Only the second requirement is covered: Service-specific delegation limits day-to-day use of the most privileged organization account without bypassing the overall service guardrails supports “Transfer governance of routine security operations away from the management account”; by contrast, Tested alternate access can preserve incident-response authority while separate logging and approval reduce abuse risk concerns “Define an emergency administrator access route that does not depend on a compromised identity provider,” leaving “Centralize access assignment audits for workforce roles” unresolved.
D:This combination targets different outcomes: Organizations permissions control account relationships and policy attachment at the organization boundary helps with “Limit who can invite or remove accounts from an organization”; Tested alternate access can preserve incident-response authority while separate logging and approval reduce abuse risk helps with “Define an emergency administrator access route that does not depend on a compromised identity provider”; neither implements the required “Centralize access assignment audits for workforce roles” and “Transfer governance of routine security operations away from the management account” outcomes together.
Question 597
The permissions and authorization review cannot pass unless both of these outcomes are demonstrated: Prevent use of wildcards for sensitive KMS administration capabilities; Explain why an IAM inline policy attached to a user does not affect an assumed role. Which two-part plan is suitable?
- Apply an appropriate Organizations SCP deny to member accounts; and define a narrow support role with resource ARNs and bounded session duration
- Define a narrow support role with resource ARNs and bounded session duration; and add required permissions to the assumed role rather than the original user
- Replace broad key-administration grants with explicit actions and principals; and apply an appropriate Organizations SCP deny to member accounts
- Replace broad key-administration grants with explicit actions and principals; and add required permissions to the assumed role rather than the original user
Explanation
Correct Answer
D:Two different security outcomes are required in this permissions and authorization review; Key policy authorization can be restricted by principal and operation, avoiding an unnecessarily permissive wildcard on high-impact crypto controls supports “Prevent use of wildcards for sensitive KMS administration capabilities,” while After STS assumption, AWS evaluates the role session's applicable permissions, not arbitrary identity policies of the caller supports “Explain why an IAM inline policy attached to a user does not affect an assumed role”; neither check is assumed to follow from the other.
Incorrect Answers
A:SCPs constrain member-account principals including their root identities, but do not grant permissions and have management-account exceptions is pertinent to “Prevent member account administrators from disabling baseline security controls,” and Resource-scoped role policies and temporary sessions limit both what support staff can touch and how long credentials persist is pertinent to “Grant temporary support access to one project rather than an entire account”; the requested controls for “Prevent use of wildcards for sensitive KMS administration capabilities” and “Explain why an IAM inline policy attached to a user does not affect an assumed role” are absent.
B:The option has a useful control for “Explain why an IAM inline policy attached to a user does not affect an assumed role” because after STS assumption, AWS evaluates the role session's applicable permissions, not arbitrary identity policies of the caller; its other control applies to “Grant temporary support access to one project rather than an entire account” because resource-scoped role policies and temporary sessions limit both what support staff can touch and how long credentials persist; it misses the first requirement, “Prevent use of wildcards for sensitive KMS administration capabilities.”.
C:This option is only partly effective: Key policy authorization can be restricted by principal and operation, avoiding an unnecessarily permissive wildcard on high-impact crypto controls supports “Prevent use of wildcards for sensitive KMS administration capabilities”; but SCPs constrain member-account principals including their root identities, but do not grant permissions and have management-account exceptions supports “Prevent member account administrators from disabling baseline security controls,” not the required “Explain why an IAM inline policy attached to a user does not affect an assumed role” outcome.
Question 598
In a CloudWatch alerting deployment, engineers must cover two different requirements: Notify operators after an IAM policy is modified in a sensitive account. In addition, Notify an incident channel when a CloudWatch alarm changes to ALARM state. Which option implements both?
- Match CloudTrail management API events using an EventBridge rule; and attach an Amazon SNS action to the alarm
- Match CloudTrail management API events using an EventBridge rule; and configure AWS Cost Anomaly Detection notifications
- Configure Security Hub aggregation and insights; and attach an Amazon SNS action to the alarm
- Configure AWS Cost Anomaly Detection notifications; and configure Security Hub aggregation and insights
Explanation
Correct Answer
A:This pairing handles the first requirement (“Notify operators after an IAM policy is modified in a sensitive account”) because CloudTrail supplies the control-plane event details and EventBridge evaluates an event pattern to trigger notification or a remediation target; it handles the second (“Notify an incident channel when a CloudWatch alarm changes to ALARM state”) because SNS delivers subscribed notifications after the CloudWatch alarm evaluates the configured metric and changes state; both acceptance criteria are therefore addressed.
Incorrect Answers
B:One action is correctly chosen for “Notify operators after an IAM policy is modified in a sensitive account”: CloudTrail supplies the control-plane event details and EventBridge evaluates an event pattern to trigger notification or a remediation target; the companion action relates to “Alert on unusual spending that may indicate unauthorized resource provisioning”: Cost Anomaly Detection examines anomalous spending patterns; it does not inspect process activity or HTTP payloads; the other requested outcome, “Notify an incident channel when a CloudWatch alarm changes to ALARM state,” remains outstanding.
C:This solves the second problem (“Notify an incident channel when a CloudWatch alarm changes to ALARM state”): SNS delivers subscribed notifications after the CloudWatch alarm evaluates the configured metric and changes state; however, the first action addresses “Create a consolidated high-severity security finding view across integrated detectors”: Security Hub consolidates supported security findings and groups them by operational properties for investigation; it does not satisfy “Notify operators after an IAM policy is modified in a sensitive account.”.
D:Both mechanisms have legitimate uses, but for other requirements: Cost Anomaly Detection examines anomalous spending patterns; it does not inspect process activity or HTTP payloads supports “Alert on unusual spending that may indicate unauthorized resource provisioning”; Security Hub consolidates supported security findings and groups them by operational properties for investigation supports “Create a consolidated high-severity security finding view across integrated detectors”; this does not resolve the stated “Notify operators after an IAM policy is modified in a sensitive account” and “Notify an incident channel when a CloudWatch alarm changes to ALARM state” findings.
Question 599
A proposed solution for the backup and data retention program is incomplete unless it addresses both of these checks: Detect a missing backup before the end of a recovery service-level agreement; and Establish policy-based backups across several supported resource types. Which choice provides the necessary controls?
- Define Amazon ECR lifecycle policies for image tags and age; and configure supported AWS Backup cross-account copy actions
- Configure supported AWS Backup cross-account copy actions; and define an AWS Backup plan and assign protected resources
- Monitor AWS Backup job status and coverage with suitable notifications; and define Amazon ECR lifecycle policies for image tags and age
- Monitor AWS Backup job status and coverage with suitable notifications; and define an AWS Backup plan and assign protected resources
Explanation
Correct Answer
D:For the first acceptance test, “Detect a missing backup before the end of a recovery service-level agreement,” backup job events and reports reveal unsuccessful or missing protection activities before a restore is urgently needed; for the second, “Establish policy-based backups across several supported resource types,” backup plans specify schedules, backup rules and lifecycle, enabling centrally managed recovery point creation; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
A:Neither action is targeted at the two acceptance tests: Registry lifecycle policies manage container image retention, rather than affecting EBS volume snapshot storage is about “Expire old ECR images according to repository policy,” and Cross-account copies place recovery points in a separate vault/account subject to organization and encryption prerequisites is about “Maintain a second copy of recovery points in another account”; the intended “Detect a missing backup before the end of a recovery service-level agreement” and “Establish policy-based backups across several supported resource types” requirements remain unsatisfied.
B:The mechanism for “Establish policy-based backups across several supported resource types” is present: Backup plans specify schedules, backup rules and lifecycle, enabling centrally managed recovery point creation; the additional mechanism relates to “Maintain a second copy of recovery points in another account”: Cross-account copies place recovery points in a separate vault/account subject to organization and encryption prerequisites; nothing here completes “Detect a missing backup before the end of a recovery service-level agreement.”.
C:Backup job events and reports reveal unsuccessful or missing protection activities before a restore is urgently needed supports the “Detect a missing backup before the end of a recovery service-level agreement” acceptance test; Registry lifecycle policies manage container image retention, rather than affecting EBS volume snapshot storage is pertinent to “Expire old ECR images according to repository policy” instead; the change therefore omits the separate requirement “Establish policy-based backups across several supported resource types.”.
Question 600
During a private VPC segmentation project, the security team has this work item: Access a supported AWS service privately through private VPC IP addresses. Which AWS action is the most direct implementation?
- Create an interface VPC endpoint using AWS PrivateLink
- Apply a least-privilege VPC endpoint policy
- Configure AWS Site-to-Site VPN with suitable customer gateway settings
- Provision Direct Connect and add VPN or other encryption when confidentiality is required
Explanation
Correct Answer
A:An interface endpoint creates endpoint network interfaces and supports private connections to compatible services; this behavior fulfills the requirement to access a supported AWS service privately through private VPC IP addresses during a private VPC segmentation project.
Incorrect Answers
B:Endpoint policies filter requests traversing the endpoint; they complement rather than replace IAM and bucket policies; the important distinction in a private VPC segmentation project is that this supports the requirement to restrict which S3 buckets applications can reach through a gateway endpoint instead of the requirement to access a supported AWS service privately through private VPC IP addresses.
C:Site-to-Site VPN encrypts supported network traffic between gateways using IPsec tunnels over the selected transport; this would help with the requirement to connect on-premises and AWS over an IPsec tunnel across the internet, leaving the requirement to access a supported AWS service privately through private VPC IP addresses unresolved in a private VPC segmentation project.
D:Direct Connect provides private connectivity capacity but does not by itself encrypt all customer traffic in transit; this would help with the requirement to use dedicated network connectivity without claiming it is encrypted by default, leaving the requirement to access a supported AWS service privately through private VPC IP addresses unresolved in a private VPC segmentation project.