Question 90
An architect is reviewing a security posture assessment. The acceptance criterion reads: Collect control evidence for audits from multiple AWS services. Which approach satisfies it?
- Configure AWS Config organization rules or conformance packs where supported
- Run Amazon Macie sensitive-data discovery jobs
- Enable Security Hub security standards and review control findings
- Use AWS Audit Manager assessments and evidence collection
Explanation
Correct Answer
D:Audit Manager organizes evidence against configured control frameworks but does not itself certify legal compliance; this is the direct solution to the requirement to collect control evidence for audits from multiple AWS services in a security posture assessment.
Incorrect Answers
A:Organization-wide configuration evaluations provide a shared control definition across participating accounts; this would help with the requirement to run organization-level compliance checks on many accounts, leaving the requirement to collect control evidence for audits from multiple AWS services unresolved in a security posture assessment.
B:Macie analyzes S3 content to surface sensitive-data locations for classification and follow-up controls; this would help with the requirement to identify sensitive personal data in S3 archives, leaving the requirement to collect control evidence for audits from multiple AWS services unresolved in a security posture assessment.
C:Security Hub evaluates supported control checks and consolidates findings; remediation remains an independent action; its purpose is the requirement to measure consolidated security posture against security controls, but the acceptance criterion in a security posture assessment is the requirement to collect control evidence for audits from multiple AWS services.
Question 91
A review board evaluating the credential and federation review rejects fixes that cover just one requirement. The requirements are: An EC2 SDK cannot retrieve credentials even though an IAM policy grants access; and An OIDC role assumption is denied because the token audience does not match. Which configuration addresses both?
- Verify the instance profile attachment and IMDS availability; and check IAM Identity Center account assignments and permission sets
- Verify the instance profile attachment and IMDS availability; and correct the identity provider client ID and role trust audience condition
- Check IAM Identity Center account assignments and permission sets; and adjust role session duration within allowed constraints and refresh credentials
- Adjust role session duration within allowed constraints and refresh credentials; and correct the identity provider client ID and role trust audience condition
Explanation
Correct Answer
B:For “An EC2 SDK cannot retrieve credentials even though an IAM policy grants access,” the governing behavior is: Role policies are ineffective for a workload that cannot obtain credentials through the instance profile credential channel; for the separate check “An OIDC role assumption is denied because the token audience does not match,” it is: OIDC federation relies on token claims satisfying the trust policy, including the expected audience; this is why the two controls belong together in the proposed change.
Incorrect Answers
A:The first part is appropriate for “An EC2 SDK cannot retrieve credentials even though an IAM policy grants access” because role policies are ineffective for a workload that cannot obtain credentials through the instance profile credential channel; the second part addresses a different issue (“A worker's federated portal login succeeds but no target account is listed”) because authentication to the portal alone grants no account entitlement until an assignment connects the principal and permission set; it does not fulfill the “An OIDC role assumption is denied because the token audience does not match” test.
C:This combination targets different outcomes: Authentication to the portal alone grants no account entitlement until an assignment connects the principal and permission set helps with “A worker's federated portal login succeeds but no target account is listed”; STS sessions are time bounded and cannot be extended indefinitely by holding on to the original temporary access keys helps with “A principal's temporary role credentials expire during a long-running process”; neither implements the required “An EC2 SDK cannot retrieve credentials even though an IAM policy grants access” and “An OIDC role assumption is denied because the token audience does not match” outcomes together.
D:Only the second requirement is covered: OIDC federation relies on token claims satisfying the trust policy, including the expected audience supports “An OIDC role assumption is denied because the token audience does not match”; by contrast, STS sessions are time bounded and cannot be extended indefinitely by holding on to the original temporary access keys concerns “A principal's temporary role credentials expire during a long-running process,” leaving “An EC2 SDK cannot retrieve credentials even though an IAM policy grants access” unresolved.
Question 92
For a missing notification escalation, engineers have been assigned this security outcome: CloudWatch alarms remain in INSUFFICIENT_DATA during quiet periods. What implementation best fits?
- Check event-pattern fields and permission for EventBridge to invoke the target
- Review missing-data treatment and whether the expected metric publishes regularly
- Grant cloudwatch:PutMetricData to the publisher and verify the metric namespace
- Use a valid CloudWatch Logs filter pattern for the actual JSON structure
Explanation
Correct Answer
B:Missing metrics are not necessarily healthy values; alarm evaluation needs an intentional policy for periods without samples; that AWS behavior meets the reported condition: CloudWatch alarms remain in INSUFFICIENT_DATA during quiet periods, the decisive objective for a missing notification escalation.
Incorrect Answers
A:Both rule matching and target invocation authorization must succeed before automation starts; this addresses the reported condition: EventBridge rules receive CloudTrail events but matching rules never invoke Lambda, not the reported condition: CloudWatch alarms remain in INSUFFICIENT_DATA during quiet periods, which is needed in a missing notification escalation.
C:Logging permissions are different from custom metric publication rights; metrics can be absent despite healthy log ingestion; its purpose is the reported condition: an application sends logs but fails to publish custom metrics, but the acceptance criterion in a missing notification escalation is the reported condition: CloudWatch alarms remain in INSUFFICIENT_DATA during quiet periods.
D:Filter expressions must match the logged field names and data types rather than the structure assumed by the operator; its purpose is the reported condition: an alert filter never matches a numeric application status field, but the acceptance criterion in a missing notification escalation is the reported condition: CloudWatch alarms remain in INSUFFICIENT_DATA during quiet periods.
Question 93
In a KMS and S3 confidentiality audit, a control owner must address the following requirement: Migrate an unencrypted EBS volume to encrypted storage. Which option should be selected?
- Configure SQS server-side encryption with a suitable KMS key
- Select the customer-managed AWS KMS key for DynamoDB server-side encryption
- Enable EBS encryption by default with the approved KMS key
- Snapshot it, copy the snapshot with encryption, and create a replacement encrypted volume
Explanation
Correct Answer
D:EBS volume encryption is established on creation; an encrypted snapshot copy enables a controlled migration of existing data; it addresses the requirement to migrate an unencrypted EBS volume to encrypted storage at the right security boundary during a KMS and S3 confidentiality audit.
Incorrect Answers
A:Queue-side encryption protects message bodies at rest while application authorization still uses SQS IAM and resource policies; this addresses the requirement to encrypt application messages stored in an SQS queue, not the requirement to migrate an unencrypted EBS volume to encrypted storage, which is needed in a KMS and S3 confidentiality audit.
B:DynamoDB integrates encryption at rest with KMS; using a customer-managed key adds customer-controlled key policy and lifecycle considerations; this would help with the requirement to encrypt DynamoDB table data at rest using an approved customer-managed KMS key, leaving the requirement to migrate an unencrypted EBS volume to encrypted storage unresolved in a KMS and S3 confidentiality audit.
C:EBS account settings make newly created volumes and snapshots use encryption settings without individually configuring every launch path; its purpose is the requirement to encrypt new EC2 EBS volumes by default in an account and Region, but the acceptance criterion in a KMS and S3 confidentiality audit is the requirement to migrate an unencrypted EBS volume to encrypted storage.
Question 94
In a VPC connectivity and segmentation rollout, engineers must cover two different requirements: Allow egress to S3 without crossing the public internet through NAT. In addition, Permit response traffic automatically for an established EC2 connection. Which option implements both?
- Remove the default internet gateway route from the private subnet's route table; and use a stateful VPC security group
- Configure ordered subnet network ACL rules with an explicit deny; and remove the default internet gateway route from the private subnet's route table
- Create an S3 gateway VPC endpoint and update applicable route tables; and use a stateful VPC security group
- Create an S3 gateway VPC endpoint and update applicable route tables; and configure ordered subnet network ACL rules with an explicit deny
Explanation
Correct Answer
C:This pairing handles the first requirement (“Allow egress to S3 without crossing the public internet through NAT”) because A gateway endpoint supplies a private route for supported S3 traffic in the VPC, with endpoint policy restrictions available; it handles the second (“Permit response traffic automatically for an established EC2 connection”) because security groups track connection state for allowed traffic, so separate explicit return-path rules generally are not needed; both acceptance criteria are therefore addressed.
Incorrect Answers
A:This solves the second problem (“Permit response traffic automatically for an established EC2 connection”): Security groups track connection state for allowed traffic, so separate explicit return-path rules generally are not needed; however, the first action addresses “Keep a private subnet from routing directly to the internet gateway”: The subnet route table determines forwarding paths; a private subnet does not gain direct public routing without an appropriate route; it does not satisfy “Allow egress to S3 without crossing the public internet through NAT.”.
B:Both mechanisms have legitimate uses, but for other requirements: Network ACLs support stateless allow and deny entries evaluated in rule-number order at the subnet boundary supports “Deny a specific unwanted subnet CIDR while allowing other traffic”; the subnet route table determines forwarding paths; a private subnet does not gain direct public routing without an appropriate route supports “Keep a private subnet from routing directly to the internet gateway”; this does not resolve the stated “Allow egress to S3 without crossing the public internet through NAT” and “Permit response traffic automatically for an established EC2 connection” findings.
D:One action is correctly chosen for “Allow egress to S3 without crossing the public internet through NAT”: A gateway endpoint supplies a private route for supported S3 traffic in the VPC, with endpoint policy restrictions available; the companion action relates to “Deny a specific unwanted subnet CIDR while allowing other traffic”: Network ACLs support stateless allow and deny entries evaluated in rule-number order at the subnet boundary; the other requested outcome, “Permit response traffic automatically for an established EC2 connection,” remains outstanding.
Question 95
A proposed solution for the managed threat detection rollout is incomplete unless it addresses both of these checks: Search a month of archived CloudTrail JSON records for calls from an IP address; and Identify security findings that remain unresolved despite repeated alerts. Which choice provides the necessary controls?
- Inspect GuardDuty anomaly findings with relevant CloudTrail events; and create a Security Hub custom insight grouped by workflow status and severity
- Verify its namespace, metric dimensions, period, and alarm threshold; and inspect GuardDuty anomaly findings with relevant CloudTrail events
- Query S3-delivered records with Athena using a suitable table schema; and create a Security Hub custom insight grouped by workflow status and severity
- Query S3-delivered records with Athena using a suitable table schema; and verify its namespace, metric dimensions, period, and alarm threshold
Explanation
Correct Answer
C:For the first acceptance test, “Search a month of archived CloudTrail JSON records for calls from an IP address,” athena performs SQL queries over stored log objects without requiring ingestion of the entire archive into a running database; for the second, “Identify security findings that remain unresolved despite repeated alerts,” insights filter and aggregate standardized findings for prioritization; they do not replace detector collection; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
A:The mechanism for “Identify security findings that remain unresolved despite repeated alerts” is present: Insights filter and aggregate standardized findings for prioritization; they do not replace detector collection; the additional mechanism relates to “Identify a change in user behavior from an unusual sequence of AWS API calls”: Threat findings provide an anomaly lead, while CloudTrail records show the specific API actor and sequence for verification; nothing here completes “Search a month of archived CloudTrail JSON records for calls from an IP address.”.
B:Neither action is targeted at the two acceptance tests: CloudWatch alarms evaluate a particular metric time series; incorrect dimensions or period selection can make the intended events invisible is about “Find why a custom CloudWatch alarm never triggered during an incident,” and Threat findings provide an anomaly lead, while CloudTrail records show the specific API actor and sequence for verification is about “Identify a change in user behavior from an unusual sequence of AWS API calls”; the intended “Search a month of archived CloudTrail JSON records for calls from an IP address” and “Identify security findings that remain unresolved despite repeated alerts” requirements remain unsatisfied.
D:Athena performs SQL queries over stored log objects without requiring ingestion of the entire archive into a running database supports the “Search a month of archived CloudTrail JSON records for calls from an IP address” acceptance test; CloudWatch alarms evaluate a particular metric time series; incorrect dimensions or period selection can make the intended events invisible is pertinent to “Find why a custom CloudWatch alarm never triggered during an incident” instead; the change therefore omits the separate requirement “Identify security findings that remain unresolved despite repeated alerts.”.
Question 96
A change request in the multi-account infrastructure deployment will be approved only if it delivers both outcomes: Group AWS resources using consistent key-value business metadata; Offer only approved infrastructure products to application teams. What should be included?
- Use AWS Resource Access Manager with explicit shares; and apply AWS Firewall Manager organization policies
- Apply AWS Firewall Manager organization policies; and publish governed AWS Service Catalog products and portfolios
- Define and enforce a tagging strategy with AWS Organizations tag policies where applicable; and use AWS Resource Access Manager with explicit shares
- Define and enforce a tagging strategy with AWS Organizations tag policies where applicable; and publish governed AWS Service Catalog products and portfolios
Explanation
Correct Answer
D:For the first acceptance test, “Group AWS resources using consistent key-value business metadata,” tag policies standardize compliant tag keys and values on supported resources, while separate controls may be needed to require tags at creation; for the second, “Offer only approved infrastructure products to application teams,” service Catalog constrains provisioned products through approved definitions and access assignments rather than unrestricted console 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: RAM supports cross-account sharing of eligible resources, subject to organization and resource-specific controls is about “Share a supported network resource with other member accounts without duplicating it,” and Firewall Manager centrally scopes security policy enforcement across accounts and supported resource types is about “Enforce standard firewall and WAF policies for many accounts centrally”; the intended “Group AWS resources using consistent key-value business metadata” and “Offer only approved infrastructure products to application teams” requirements remain unsatisfied.
B:The mechanism for “Offer only approved infrastructure products to application teams” is present: Service Catalog constrains provisioned products through approved definitions and access assignments rather than unrestricted console creation; the additional mechanism relates to “Enforce standard firewall and WAF policies for many accounts centrally”: Firewall Manager centrally scopes security policy enforcement across accounts and supported resource types; nothing here completes “Group AWS resources using consistent key-value business metadata.”.
C:Tag policies standardize compliant tag keys and values on supported resources, while separate controls may be needed to require tags at creation supports the “Group AWS resources using consistent key-value business metadata” acceptance test; RAM supports cross-account sharing of eligible resources, subject to organization and resource-specific controls is pertinent to “Share a supported network resource with other member accounts without duplicating it” instead; the change therefore omits the separate requirement “Offer only approved infrastructure products to application teams.”.
Question 97
An architect is reviewing a cross-account delegation audit. The acceptance criterion reads: Identify exactly what authorizes cross-account access to a specific KMS key. Which approach satisfies it?
- Combine explicit-deny bucket-policy conditions with necessary service exceptions
- Add sts:ExternalId validation to the cross-account role trust policy
- Restrict iam:PassRole by role ARN and iam:PassedToService condition
- Use aws:PrincipalOrgID in a compatible resource-based policy
- Evaluate the key policy, grantee permissions, and relevant identity policy
Explanation
Correct Answer
E:Cross-account cryptographic use depends on permissions on both sides plus key-policy authorization, not simply a role name match; it addresses the requirement to identify exactly what authorizes cross-account access to a specific KMS key at the right security boundary during a cross-account delegation audit.
Incorrect Answers
A:A deny conditioned on source endpoint can enforce a private path but must account for AWS service requests that lack normal VPC endpoint keys; its purpose is the requirement to deny an application access to a bucket except through the dedicated network path, but the acceptance criterion in a cross-account delegation audit is the requirement to identify exactly what authorizes cross-account access to a specific KMS key.
B:External ID helps defend against the confused-deputy problem when a third-party service assumes roles for multiple customers; this addresses the requirement to constrain a third-party role assumption to a unique customer relationship, not the requirement to identify exactly what authorizes cross-account access to a specific KMS key, which is needed in a cross-account delegation audit.
C:Limiting both which role may be passed and which service can receive it curtails creation of overprivileged service workloads; this addresses the requirement to reduce privilege escalation through arbitrary iam:PassRole on service launch, not the requirement to identify exactly what authorizes cross-account access to a specific KMS key, which is needed in a cross-account delegation audit.
D:Organization membership context can simplify trust for accounts in the organization while still requiring careful resource and action scoping; this addresses the requirement to restrict access based on an organization identifier rather than enumerating every member account, not the requirement to identify exactly what authorizes cross-account access to a specific KMS key, which is needed in a cross-account delegation audit.
Question 98
The telemetry and alarm repair exercise cannot pass unless both of these outcomes are demonstrated: A custom metric alarm ignores emitted points because their dimensions differ; Security Hub central reporting omits member account findings. Which two-part plan is suitable?
- Align the alarm's dimensions with the application's published dimensions; and check account association, service enablement, and aggregation Region
- Align the alarm's dimensions with the application's published dimensions; and query the detector and log group in the Region where they are configured
- Fix the application's log delivery permissions and stream configuration; and check account association, service enablement, and aggregation Region
- Query the detector and log group in the Region where they are configured; and fix the application's log delivery permissions and stream configuration
Explanation
Correct Answer
A:Two different security outcomes are required in this telemetry and alarm repair exercise; CloudWatch metric identity includes namespace, name, and dimension set; a mismatch creates a different time series supports “A custom metric alarm ignores emitted points because their dimensions differ,” while Finding availability depends on participating accounts and enabled integrations; a central console alone does not create missing findings supports “Security Hub central reporting omits member account findings”; neither check is assumed to follow from the other.
Incorrect Answers
B:This option is only partly effective: CloudWatch metric identity includes namespace, name, and dimension set; a mismatch creates a different time series supports “A custom metric alarm ignores emitted points because their dimensions differ”; but Many AWS security and monitoring resources are Regional, so a dashboard in another Region can appear devoid of expected entries supports “A security dashboard seems empty because the wrong Region is selected,” not the required “Security Hub central reporting omits member account findings” outcome.
C:The option has a useful control for “Security Hub central reporting omits member account findings” because finding availability depends on participating accounts and enabled integrations; a central console alone does not create missing findings; its other control applies to “A CloudWatch metric filter is silent because the expected log group receives no events” because metric filters only match records that reach the selected log group; a missing ingestion path defeats downstream alarms; it misses the first requirement, “A custom metric alarm ignores emitted points because their dimensions differ.”.
D:Many AWS security and monitoring resources are Regional, so a dashboard in another Region can appear devoid of expected entries is pertinent to “A security dashboard seems empty because the wrong Region is selected,” and Metric filters only match records that reach the selected log group; a missing ingestion path defeats downstream alarms is pertinent to “A CloudWatch metric filter is silent because the expected log group receives no events”; the requested controls for “A custom metric alarm ignores emitted points because their dimensions differ” and “Security Hub central reporting omits member account findings” are absent.
Question 99
In a backup and data retention program, engineers must cover two different requirements: Automate retention of daily EBS snapshots across matching volumes. In addition, Move cold S3 archive objects into a lower-cost storage class after a defined age. Which option implements both?
- Configure separate versioned-bucket Lifecycle expiration rules; and configure S3 Object Lock retention alongside lifecycle management
- Configure S3 Object Lock retention alongside lifecycle management; and configure S3 Lifecycle transition actions
- Create an Amazon Data Lifecycle Manager policy; and configure separate versioned-bucket Lifecycle expiration rules
- Create an Amazon Data Lifecycle Manager policy; and configure S3 Lifecycle transition actions
Explanation
Correct Answer
D:This pairing handles the first requirement (“Automate retention of daily EBS snapshots across matching volumes”) because Data Lifecycle Manager orchestrates eligible EBS snapshot and AMI lifecycles using schedules and retention rules; it handles the second (“Move cold S3 archive objects into a lower-cost storage class after a defined age”) because lifecycle transition automates storage-class movement after configured criteria without itself enforcing tamper-proof retention; both acceptance criteria are therefore addressed.
Incorrect Answers
A:Both mechanisms have legitimate uses, but for other requirements: Versioned buckets can retain noncurrent versions with distinct expiration behavior from the current version supports “Delete expired object versions while keeping active S3 versions longer”; Retention protection can block deletion even if a lifecycle expiration rule targets an object version supports “Prevent regulated records from being deleted until their retention date”; this does not resolve the stated “Automate retention of daily EBS snapshots across matching volumes” and “Move cold S3 archive objects into a lower-cost storage class after a defined age” findings.
B:This solves the second problem (“Move cold S3 archive objects into a lower-cost storage class after a defined age”): Lifecycle transition automates storage-class movement after configured criteria without itself enforcing tamper-proof retention; however, the first action addresses “Prevent regulated records from being deleted until their retention date”: Retention protection can block deletion even if a lifecycle expiration rule targets an object version; it does not satisfy “Automate retention of daily EBS snapshots across matching volumes.”.
C:One action is correctly chosen for “Automate retention of daily EBS snapshots across matching volumes”: Data Lifecycle Manager orchestrates eligible EBS snapshot and AMI lifecycles using schedules and retention rules; the companion action relates to “Delete expired object versions while keeping active S3 versions longer”: Versioned buckets can retain noncurrent versions with distinct expiration behavior from the current version; the other requested outcome, “Move cold S3 archive objects into a lower-cost storage class after a defined age,” remains outstanding.
Question 100
An implementation in the private network troubleshooting exercise must solve two separate problems, not merely strengthen one safeguard: Troubleshoot private interface endpoint name resolution failures; Diagnose a VPN tunnel that is up but does not carry expected prefixes. Which change meets the full request?
- Model the intended source and destination with Network Access Analyzer or Reachability Analyzer; and check BGP or static route advertisements and route-table propagation
- Check for a usable NAT gateway path and the subnet's route configuration; and model the intended source and destination with Network Access Analyzer or Reachability Analyzer
- Verify private DNS settings and VPC DNS resolution options; and check BGP or static route advertisements and route-table propagation
- Verify private DNS settings and VPC DNS resolution options; and check for a usable NAT gateway path and the subnet's route configuration
Explanation
Correct Answer
C:This pairing handles the first requirement (“Troubleshoot private interface endpoint name resolution failures”) because interface endpoint private DNS and VPC DNS support control whether normal service names resolve to endpoint addresses; it handles the second (“Diagnose a VPN tunnel that is up but does not carry expected prefixes”) because tunnel establishment and traffic routing are separate; missing prefixes can prevent forwarding despite healthy tunnel status; both acceptance criteria are therefore addressed.
Incorrect Answers
A:This solves the second problem (“Diagnose a VPN tunnel that is up but does not carry expected prefixes”): Tunnel establishment and traffic routing are separate; missing prefixes can prevent forwarding despite healthy tunnel status; however, the first action addresses “Verify a specific route policy does not permit unwanted transitive connectivity”: Static network-path analysis reveals configured reachability and policy exposure without relying only on manual CIDR comparison; it does not satisfy “Troubleshoot private interface endpoint name resolution failures.”.
B:Both mechanisms have legitimate uses, but for other requirements: An internet gateway route alone does not supply public source addresses to private instances that lack public IP mappings supports “Explain why a private EC2 instance cannot reach the internet after adding a route”; Static network-path analysis reveals configured reachability and policy exposure without relying only on manual CIDR comparison supports “Verify a specific route policy does not permit unwanted transitive connectivity”; this does not resolve the stated “Troubleshoot private interface endpoint name resolution failures” and “Diagnose a VPN tunnel that is up but does not carry expected prefixes” findings.
D:One action is correctly chosen for “Troubleshoot private interface endpoint name resolution failures”: Interface endpoint private DNS and VPC DNS support control whether normal service names resolve to endpoint addresses; the companion action relates to “Explain why a private EC2 instance cannot reach the internet after adding a route”: An internet gateway route alone does not supply public source addresses to private instances that lack public IP mappings; the other requested outcome, “Diagnose a VPN tunnel that is up but does not carry expected prefixes,” remains outstanding.