Question 60
A change request in the permissions and authorization review will be approved only if it delivers both outcomes: A workload should read secrets but never manage the IAM roles that authorize it; Grant temporary support access to one project rather than an entire account. What should be included?
- Attach permissions boundaries to delegated role-creation workflows; and add required permissions to the assumed role rather than the original user
- Add required permissions to the assumed role rather than the original user; and define a narrow support role with resource ARNs and bounded session duration
- Split data-access and IAM-management duties across separate roles; and attach permissions boundaries to delegated role-creation workflows
- Split data-access and IAM-management duties across separate roles; and define a narrow support role with resource ARNs and bounded session duration
Explanation
Correct Answer
D:For the first acceptance test, “A workload should read secrets but never manage the IAM roles that authorize it,” segregated roles limit privilege escalation paths by preventing the application identity from changing its own authorization perimeter; for the second, “Grant temporary support access to one project rather than an entire account,” resource-scoped role policies and temporary sessions limit both what support staff can touch and how long credentials persist; 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: Boundaries constrain identity-based permissions granted to new roles even when a delegated operator can edit those roles' policies is about “An organization needs a cap on administrator-created IAM roles,” and After STS assumption, AWS evaluates the role session's applicable permissions, not arbitrary identity policies of the caller is about “Explain why an IAM inline policy attached to a user does not affect an assumed role”; the intended “A workload should read secrets but never manage the IAM roles that authorize it” and “Grant temporary support access to one project rather than an entire account” requirements remain unsatisfied.
B:The mechanism for “Grant temporary support access to one project rather than an entire account” is present: Resource-scoped role policies and temporary sessions limit both what support staff can touch and how long credentials persist; the additional mechanism relates to “Explain why an IAM inline policy attached to a user does not affect an assumed role”: After STS assumption, AWS evaluates the role session's applicable permissions, not arbitrary identity policies of the caller; nothing here completes “A workload should read secrets but never manage the IAM roles that authorize it.”.
C:Segregated roles limit privilege escalation paths by preventing the application identity from changing its own authorization perimeter supports the “A workload should read secrets but never manage the IAM roles that authorize it” acceptance test; Boundaries constrain identity-based permissions granted to new roles even when a delegated operator can edit those roles' policies is pertinent to “An organization needs a cap on administrator-created IAM roles” instead; the change therefore omits the separate requirement “Grant temporary support access to one project rather than an entire account.”.
Question 61
During a security incident runbook exercise, the security team has this work item: Invalidate temporary sessions that might remain after an IAM role credential concern. Which AWS action is the most direct implementation?
- Add a manual approval stage to a Step Functions incident-response workflow
- Rotate the stored value through Secrets Manager and update dependent clients
- Apply a role session revocation deny to sessions issued before the cutoff
- Establish a dedicated forensic account with emergency cross-account roles
Explanation
Correct Answer
C:Revoking role sessions introduces a time-based deny for previously issued sessions, rather than relying only on rotating unrelated long-term credentials; this is the direct solution to the requirement to invalidate temporary sessions that might remain after an IAM role credential concern in a security incident runbook exercise.
Incorrect Answers
A:State machines can pause for an external decision before potentially disruptive containment steps execute; its scope is the requirement to bring a human approval step into automated containment of a critical production database, rather than the requirement to invalidate temporary sessions that might remain after an IAM role credential concern for a security incident runbook exercise.
B:Secrets Manager supports controlled secret rotation; callers must retrieve the current secret or refresh cached values to avoid continuing with a compromised password; its purpose is the requirement to rotate an exposed database password without hardcoding the replacement in an application, but the acceptance criterion in a security incident runbook exercise is the requirement to invalidate temporary sessions that might remain after an IAM role credential concern.
D:Separating forensic tooling and artifacts from the production blast radius reduces dependence on possibly compromised accounts; this addresses the requirement to ensure responders can reach a separate investigative environment if production credentials are compromised, not the requirement to invalidate temporary sessions that might remain after an IAM role credential concern, which is needed in a security incident runbook exercise.
Question 62
For a compliance evidence collection project, engineers have been assigned this security outcome: Preserve compliance history of changes to resource configurations. What implementation best fits?
- Query historical AWS Config configuration items and rule evaluations
- Enable AWS Config recorders and delivery to controlled storage
- Associate an AWS Systems Manager Automation remediation action with a Config rule
- Cross-reference CloudTrail API activity with AWS Config configuration history
Explanation
Correct Answer
B:Configuration item history supports reconstruction of resource state changes rather than tracking only a current compliance flag; this behavior fulfills the requirement to preserve compliance history of changes to resource configurations during a compliance evidence collection project.
Incorrect Answers
A:Config history records supported configuration states, providing evidence of earlier insecure ingress settings; its purpose is the requirement to determine whether a security group ever allowed public administrative ports, but the acceptance criterion in a compliance evidence collection project is the requirement to preserve compliance history of changes to resource configurations.
C:Config detects a violation and automation can apply a predefined corrective runbook with authorized permissions; its purpose is the requirement to create automated remediation for noncompliant resources detected by Config, but the acceptance criterion in a compliance evidence collection project is the requirement to preserve compliance history of changes to resource configurations.
D:CloudTrail identifies calling principals, while Config describes recorded resource state changes and compliance impacts; its scope is the requirement to demonstrate which account actions changed a security posture setting, rather than the requirement to preserve compliance history of changes to resource configurations for a compliance evidence collection project.
Question 63
For a managed-node security baseline audit, engineers have been assigned this security outcome: Avoid storing long-term AWS access keys on an EC2 instance. What implementation best fits?
- Require IMDSv2 on the instance metadata options
- Use Systems Manager Patch Manager with approved baselines
- Attach an IAM instance profile with a least-privilege role
- Enable Amazon Inspector EC2 scanning and review its findings
Explanation
Correct Answer
C:Instance profiles expose temporary role credentials to instance software, reducing the need for embedded static keys; for a managed-node security baseline audit, this is the measure that delivers the requirement to avoid storing long-term AWS access keys on an EC2 instance.
Incorrect Answers
A:Enforcing metadata tokens removes IMDSv1's tokenless request path and helps mitigate specific credential-exposure scenarios; the important distinction in a managed-node security baseline audit is that this supports the requirement to block access to the EC2 Instance Metadata Service version 1 instead of the requirement to avoid storing long-term AWS access keys on an EC2 instance.
B:Patch Manager coordinates OS patch compliance and installation on managed nodes according to selected patch baselines; this addresses the requirement to install security patches on a large fleet without individually logging in, not the requirement to avoid storing long-term AWS access keys on an EC2 instance, which is needed in a managed-node security baseline audit.
D:Inspector inventories applicable packages and matches vulnerabilities where workload and scanning prerequisites are satisfied; this addresses the requirement to detect package vulnerabilities on supported EC2 instances, not the requirement to avoid storing long-term AWS access keys on an EC2 instance, which is needed in a managed-node security baseline audit.
Question 64
An architect is reviewing an operations center alarm deployment. The acceptance criterion reads: Notify operators after an IAM policy is modified in a sensitive account. Which approach satisfies it?
- Match CloudTrail management API events using an EventBridge rule
- Configure AWS Cost Anomaly Detection notifications
- Create a CloudWatch Logs metric filter for relevant CloudTrail sign-in events and an alarm
- Configure Security Hub aggregation and insights
- Attach an Amazon SNS action to the alarm
Explanation
Correct Answer
A:CloudTrail supplies the control-plane event details and EventBridge evaluates an event pattern to trigger notification or a remediation target; that AWS behavior meets the requirement to notify operators after an IAM policy is modified in a sensitive account, the decisive objective for an operations center alarm deployment.
Incorrect Answers
B:Cost Anomaly Detection examines anomalous spending patterns; it does not inspect process activity or HTTP payloads; its purpose is the requirement to alert on unusual spending that may indicate unauthorized resource provisioning, but the acceptance criterion in an operations center alarm deployment is the requirement to notify operators after an IAM policy is modified in a sensitive account.
C:Metric filters extract counts from matching log records; alarms evaluate the resulting metric against a threshold; the important distinction in an operations center alarm deployment is that this supports the requirement to raise an alert after repeated failed root-user console attempts instead of the requirement to notify operators after an IAM policy is modified in a sensitive account.
D:Security Hub consolidates supported security findings and groups them by operational properties for investigation; this would help with the requirement to create a consolidated high-severity security finding view across integrated detectors, leaving the requirement to notify operators after an IAM policy is modified in a sensitive account unresolved in an operations center alarm deployment.
E:SNS delivers subscribed notifications after the CloudWatch alarm evaluates the configured metric and changes state; its purpose is the requirement to notify an incident channel when a CloudWatch alarm changes to ALARM state, but the acceptance criterion in an operations center alarm deployment is the requirement to notify operators after an IAM policy is modified in a sensitive account.
Question 65
Before closing the storage encryption control review, a team must demonstrate the following: Encrypt S3 object payloads with keys managed entirely by the S3 service; plus Enforce a specific SSE-KMS key for new uploads. Which paired change would complete the work?
- Use SSE-S3 for the objects; and enable account-level S3 Block Public Access
- Use SSE-S3 for the objects; and deny noncompliant PutObject requests with S3 bucket-policy encryption conditions
- Enable account-level S3 Block Public Access; and configure default bucket encryption with SSE-KMS and the chosen customer-managed key
- Configure default bucket encryption with SSE-KMS and the chosen customer-managed key; and deny noncompliant PutObject requests with S3 bucket-policy encryption conditions
Explanation
Correct Answer
B:The implementation has a specific control for each objective: SSE-S3 encrypts stored objects with S3-managed keys and does not provide customer-managed KMS key-policy control for “Encrypt S3 object payloads with keys managed entirely by the S3 service”; Bucket policies can inspect encryption-related request headers and key IDs to reject uploads that violate mandated encryption settings for “Enforce a specific SSE-KMS key for new uploads”; the combined option satisfies the two-part request.
Incorrect Answers
A:The first check would be covered, since SSE-S3 encrypts stored objects with S3-managed keys and does not provide customer-managed KMS key-policy control; yet the second choice is associated with “Prevent public reads of any S3 buckets in an AWS account,” for which account-level controls provide a broad safety boundary against public bucket and access point configuration mistakes; no corresponding control satisfies “Enforce a specific SSE-KMS key for new uploads.”.
C:The first proposed action addresses “Prevent public reads of any S3 buckets in an AWS account”: Account-level controls provide a broad safety boundary against public bucket and access point configuration mistakes; the second addresses “Use a customer-managed KMS key for S3 object encryption with key-level access controls”: SSE-KMS integrates S3 object encryption with KMS authorization and key-use auditing beyond S3-managed key controls; the combination does not achieve the required “Encrypt S3 object payloads with keys managed entirely by the S3 service” and “Enforce a specific SSE-KMS key for new uploads” outcomes in this storage encryption control review.
D:While bucket policies can inspect encryption-related request headers and key IDs to reject uploads that violate mandated encryption settings is relevant to “Enforce a specific SSE-KMS key for new uploads,” the other component targets “Use a customer-managed KMS key for S3 object encryption with key-level access controls,” where SSE-KMS integrates S3 object encryption with KMS authorization and key-use auditing beyond S3-managed key controls; the first acceptance criterion (“Encrypt S3 object payloads with keys managed entirely by the S3 service”) is not met.
Question 66
A proposed solution for the permissions and authorization review is incomplete unless it addresses both of these checks: Reduce privilege escalation through arbitrary iam:PassRole on service launch; and Restrict access based on an organization identifier rather than enumerating every member account. Which choice provides the necessary controls?
- Add sts:ExternalId validation to the cross-account role trust policy; and combine explicit-deny bucket-policy conditions with necessary service exceptions
- Combine explicit-deny bucket-policy conditions with necessary service exceptions; and use aws:PrincipalOrgID in a compatible resource-based policy
- Restrict iam:PassRole by role ARN and iam:PassedToService condition; and add sts:ExternalId validation to the cross-account role trust policy
- Restrict iam:PassRole by role ARN and iam:PassedToService condition; and use aws:PrincipalOrgID in a compatible resource-based policy
Explanation
Correct Answer
D:For the first acceptance test, “Reduce privilege escalation through arbitrary iam:PassRole on service launch,” limiting both which role may be passed and which service can receive it curtails creation of overprivileged service workloads; for the second, “Restrict access based on an organization identifier rather than enumerating every member account,” organization membership context can simplify trust for accounts in the organization while still requiring careful resource and action scoping; 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: External ID helps defend against the confused-deputy problem when a third-party service assumes roles for multiple customers is about “Constrain a third-party role assumption to a unique customer relationship,” and A deny conditioned on source endpoint can enforce a private path but must account for AWS service requests that lack normal VPC endpoint keys is about “Deny an application access to a bucket except through the dedicated network path”; the intended “Reduce privilege escalation through arbitrary iam:PassRole on service launch” and “Restrict access based on an organization identifier rather than enumerating every member account” requirements remain unsatisfied.
B:The mechanism for “Restrict access based on an organization identifier rather than enumerating every member account” is present: Organization membership context can simplify trust for accounts in the organization while still requiring careful resource and action scoping; the additional mechanism relates to “Deny an application access to a bucket except through the dedicated network path”: A deny conditioned on source endpoint can enforce a private path but must account for AWS service requests that lack normal VPC endpoint keys; nothing here completes “Reduce privilege escalation through arbitrary iam:PassRole on service launch.”.
C:Limiting both which role may be passed and which service can receive it curtails creation of overprivileged service workloads supports the “Reduce privilege escalation through arbitrary iam:PassRole on service launch” acceptance test; External ID helps defend against the confused-deputy problem when a third-party service assumes roles for multiple customers is pertinent to “Constrain a third-party role assumption to a unique customer relationship” instead; the change therefore omits the separate requirement “Restrict access based on an organization identifier rather than enumerating every member account.”.
Question 67
For a private VPC segmentation project, engineers have been assigned this security outcome: Permit response traffic automatically for an established EC2 connection. What implementation best fits?
- Configure ordered subnet network ACL rules with an explicit deny
- Reference the application security group in the database security group's inbound rule
- Use a stateful VPC security group
- Create an S3 gateway VPC endpoint and update applicable route tables
Explanation
Correct Answer
C:Security groups track connection state for allowed traffic, so separate explicit return-path rules generally are not needed; for a private VPC segmentation project, this is the measure that delivers the requirement to permit response traffic automatically for an established EC2 connection.
Incorrect Answers
A:Network ACLs support stateless allow and deny entries evaluated in rule-number order at the subnet boundary; this would help with the requirement to deny a specific unwanted subnet CIDR while allowing other traffic, leaving the requirement to permit response traffic automatically for an established EC2 connection unresolved in a private VPC segmentation project.
B:Referencing an allowed source security group avoids a broad CIDR and adapts to changing instance IP addresses; the important distinction in a private VPC segmentation project is that this supports the requirement to allow only an application tier's security group to connect to database port 5432 instead of the requirement to permit response traffic automatically for an established EC2 connection.
D:A gateway endpoint supplies a private route for supported S3 traffic in the VPC, with endpoint policy restrictions available; this would help with the requirement to allow egress to S3 without crossing the public internet through NAT, leaving the requirement to permit response traffic automatically for an established EC2 connection unresolved in a private VPC segmentation project.
Question 68
Two security control owners share a incident response rehearsal. One is responsible for this outcome: Route high-severity GuardDuty findings into an approved response workflow. The other needs: Prepare a repeatable EC2 quarantine plan that preserves the host and accounts for established sessions. Which implementation covers both?
- Match GuardDuty events with an EventBridge rule and invoke a Step Functions workflow; and attach a restrictive isolation security group and verify existing connections
- Match GuardDuty events with an EventBridge rule and invoke a Step Functions workflow; and prepare Systems Manager Automation runbooks with restricted execution roles
- Create an EBS snapshot and restrict its sharing and KMS access; and attach a restrictive isolation security group and verify existing connections
- Prepare Systems Manager Automation runbooks with restricted execution roles; and create an EBS snapshot and restrict its sharing and KMS access
Explanation
Correct Answer
A:Two different security outcomes are required in this incident response rehearsal; EventBridge matches supported security finding events, while Step Functions coordinates the ordered response steps and human approval gates supports “Route high-severity GuardDuty findings into an approved response workflow,” while Security groups constrain permitted instance traffic, but stateful connection tracking must be considered when isolating sessions already established supports “Prepare a repeatable EC2 quarantine plan that preserves the host and accounts for established sessions”; neither check is assumed to follow from the other.
Incorrect Answers
B:This option is only partly effective: EventBridge matches supported security finding events, while Step Functions coordinates the ordered response steps and human approval gates supports “Route high-severity GuardDuty findings into an approved response workflow”; but Automation documents implement consistent response actions and IAM constrains who can start them or affect target resources supports “Preapprove repeatable patch and quarantine operations before an incident,” not the required “Prepare a repeatable EC2 quarantine plan that preserves the host and accounts for established sessions” outcome.
C:The option has a useful control for “Prepare a repeatable EC2 quarantine plan that preserves the host and accounts for established sessions” because security groups constrain permitted instance traffic, but stateful connection tracking must be considered when isolating sessions already established; its other control applies to “Preserve an encrypted EBS volume's point-in-time contents before destructive remediation” because A snapshot preserves the volume's blocks for forensic analysis, with access to an encrypted copy controlled by the relevant KMS key permissions; it misses the first requirement, “Route high-severity GuardDuty findings into an approved response workflow.”.
D:Automation documents implement consistent response actions and IAM constrains who can start them or affect target resources is pertinent to “Preapprove repeatable patch and quarantine operations before an incident,” and A snapshot preserves the volume's blocks for forensic analysis, with access to an encrypted copy controlled by the relevant KMS key permissions is pertinent to “Preserve an encrypted EBS volume's point-in-time contents before destructive remediation”; the requested controls for “Route high-severity GuardDuty findings into an approved response workflow” and “Prepare a repeatable EC2 quarantine plan that preserves the host and accounts for established sessions” are absent.
Question 69
The cloud security governance assessment cannot pass unless both of these outcomes are demonstrated: Find security design gaps against AWS architecture best practices; Detect unexpected cost growth that might reflect compromised compute workloads. Which two-part plan is suitable?
- Review the Security pillar in AWS Well-Architected Tool; and configure AWS Cost Anomaly Detection monitoring
- Review the Security pillar in AWS Well-Architected Tool; and review AWS Trusted Advisor and Cost Explorer utilization signals
- Correlate IAM Access Analyzer exposure with network reachability assessments; and configure AWS Cost Anomaly Detection monitoring
- Review AWS Trusted Advisor and Cost Explorer utilization signals; and correlate IAM Access Analyzer exposure with network reachability assessments
Explanation
Correct Answer
A:Two different security outcomes are required in this cloud security governance assessment; the tool guides a structured workload review and produces improvement guidance based on pillar questions supports “Find security design gaps against AWS architecture best practices,” while Abnormal spend can flag unexplained resource activity, complementing direct security detectors rather than proving a compromise supports “Detect unexpected cost growth that might reflect compromised compute workloads”; neither check is assumed to follow from the other.
Incorrect Answers
B:This option is only partly effective: The tool guides a structured workload review and produces improvement guidance based on pillar questions supports “Find security design gaps against AWS architecture best practices”; but Utilization and cost signals can guide removal of unnecessary assets, but any deletion still requires dependency assessment supports “Spot unused or idle infrastructure that unnecessarily expands attack surface,” not the required “Detect unexpected cost growth that might reflect compromised compute workloads” outcome.
C:The option has a useful control for “Detect unexpected cost growth that might reflect compromised compute workloads” because abnormal spend can flag unexplained resource activity, complementing direct security detectors rather than proving a compromise; its other control applies to “Prioritize publicly exposed resources found during an architectural security review” because policy exposure and network path analysis reveal different ways resources could be reachable by unintended parties; it misses the first requirement, “Find security design gaps against AWS architecture best practices.”.
D:Utilization and cost signals can guide removal of unnecessary assets, but any deletion still requires dependency assessment is pertinent to “Spot unused or idle infrastructure that unnecessarily expands attack surface,” and Policy exposure and network path analysis reveal different ways resources could be reachable by unintended parties is pertinent to “Prioritize publicly exposed resources found during an architectural security review”; the requested controls for “Find security design gaps against AWS architecture best practices” and “Detect unexpected cost growth that might reflect compromised compute workloads” are absent.
Question 70
Before closing the central log collection migration, a team must demonstrate the following: Confirm that delivered CloudTrail log objects have not been altered; plus Search historical CloudTrail activity with SQL without managing an analytics cluster. Which paired change would complete the work?
- Configure CloudTrail advanced event selectors for required resource ARNs and event names; and create or query an appropriate CloudTrail Lake event data store
- Configure a multi-Region CloudTrail trail with an S3 destination; and configure CloudTrail advanced event selectors for required resource ARNs and event names
- Enable CloudTrail log file integrity validation and verify digest files; and create or query an appropriate CloudTrail Lake event data store
- Enable CloudTrail log file integrity validation and verify digest files; and configure a multi-Region CloudTrail trail with an S3 destination
Explanation
Correct Answer
C:The implementation has a specific control for each objective: Signed digest chains allow validation of log-file integrity after delivery; enabling the feature alone is not equivalent to performing verification for “Confirm that delivered CloudTrail log objects have not been altered”; CloudTrail Lake retains selected event types for SQL analysis subject to configured retention and ingestion choices for “Search historical CloudTrail activity with SQL without managing an analytics cluster”; the combined option satisfies the two-part request.
Incorrect Answers
A:While CloudTrail Lake retains selected event types for SQL analysis subject to configured retention and ingestion choices is relevant to “Search historical CloudTrail activity with SQL without managing an analytics cluster,” the other component targets “Capture a narrow subset of expensive S3 data events rather than every object read,” where advanced selectors limit the chosen high-volume events and can reduce unnecessary collection costs; the first acceptance criterion (“Confirm that delivered CloudTrail log objects have not been altered”) is not met.
B:The first proposed action addresses “Record AWS management API activity in every Region into protected storage”: A multi-Region trail records supported management events across current and newly added Regions in the account; the second addresses “Capture a narrow subset of expensive S3 data events rather than every object read”: Advanced selectors limit the chosen high-volume events and can reduce unnecessary collection costs; the combination does not achieve the required “Confirm that delivered CloudTrail log objects have not been altered” and “Search historical CloudTrail activity with SQL without managing an analytics cluster” outcomes in this central log collection migration.
D:The first check would be covered, since signed digest chains allow validation of log-file integrity after delivery; enabling the feature alone is not equivalent to performing verification; yet the second choice is associated with “Record AWS management API activity in every Region into protected storage,” for which A multi-Region trail records supported management events across current and newly added Regions in the account; no corresponding control satisfies “Search historical CloudTrail activity with SQL without managing an analytics cluster.”.