Question 540
Two technical outcomes must be delivered together: identify resource properties that no longer match the approved template and identify resource-based policies granting access outside the expected trust zone. Which pair of controls is sufficient for the stated outcomes?
- Use Amazon Detective for investigation of related security activity; use VPC Flow Logs to investigate rejected network flows
- Use CloudFormation drift detection to spot out-of-band stack edits; use AWS Config conformance packs for grouped compliance evaluation
- Create an organization CloudTrail trail to a separately secured S3 logging bucket; use IAM Access Analyzer external access findings for resource policies
- Use CloudFormation drift detection to spot out-of-band stack edits; use IAM Access Analyzer external access findings for resource policies
- Use CloudFormation drift detection to spot out-of-band stack edits; route GuardDuty findings through EventBridge to a security workflow
Explanation
Correct Answer
D:Drift detection checks supported stack resource configuration against the declared IaC state. This handles the first acceptance condition, subject to the boundary that the comparison should focus on supported declared CloudFormation properties. The remaining condition is handled separately: IAM Access Analyzer can flag supported resources whose policies allow external access, with the analysis should examine resource-level external access rather than package CVEs.
Incorrect Answers
A:Neither control directly supplies both requested behaviors. Detective assists security investigations by correlating supported activity and entity relationships; VPC Flow Logs record accepted and rejected flow metadata without capturing full packet payloads. Those mechanisms address different objectives. The specified capabilities are to identify resource properties that no longer match the approved template and to identify resource-based policies granting access outside the expected trust zone.
B:Conformance packs package AWS Config rules and supported remediation actions for consistent evaluation; that alternative supports the ability to evaluate a collection of resource configuration controls against a standard, but it is not the requested second outcome (identify resource-based policies granting access outside the expected trust zone). Even though the first half addresses identify resource properties that no longer match the approved template, this pair is incomplete.
C:This combination solves only the latter acceptance test. The substituted first control supports retain management API events from all AWS Organizations member accounts: an organization trail delivers supported account activity events centrally for member accounts. It does not implement identify resource properties that no longer match the approved template.
E:GuardDuty emits supported findings to EventBridge for targeted notification and automation. That alternative supports the ability to trigger containment review when a high-severity credential threat appears, but it is not the requested second outcome (identify resource-based policies granting access outside the expected trust zone); even though the first half addresses identify resource properties that no longer match the approved template, this pair is incomplete.
Question 541
Investigators observe: A one-off emergency fix disappears when a replacement instance launches. Engineers still need to reapply a required host configuration whenever nodes drift. Which corrective action is most appropriate?
- Use Systems Manager Patch Manager and patch baselines
- Use State Manager to enforce a recurring configuration association
- Attach an SSM Automation remediation action to an AWS Config rule
- Use Systems Manager Distributor for controlled software-package deployment
Explanation
Correct Answer
B:State Manager associations run specified documents against targets according to defined schedules; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: desired state must be enforced repeatedly on matching managed nodes.
Incorrect Answers
A:That service solves a different operating problem: the need to scan and install operating-system updates according to approved patch classifications; its behavior is that patch Manager applies selected baselines to supported managed nodes for scan or install operations; the requested outcome remains reapply a required host configuration whenever nodes drift.
C:Config remediation configurations can invoke Systems Manager Automation documents for matching findings; this is a reasonable option when the requirement is to remediate eligible noncompliant resources using a controlled runbook, but it operates at a different workflow boundary from the stated need to reapply a required host configuration whenever nodes drift.
D:Choosing this would aim to publish an internal agent package and distribute it to managed nodes instead of reapply a required host configuration whenever nodes drift; distributor manages software packages that can be installed or updated through Systems Manager workflows; it cannot replace the mechanism specified by the incident evidence.
Question 542
A technical change review names the selected control as follows: Use EventBridge archive and replay for selected critical events. To reprocess a historical event period after a corrected incident workflow is deployed, which constraint must be addressed for this design?
- The workflow needs durable waits and controlled retry intervals
- The retry should be scheduled rather than consume an idle function runtime
- Delivery failures must be captured without silently dropping critical events
- The bus must archive matching events before the processing failure occurs
Explanation
Correct Answer
D:The requested behavior is to reprocess a historical event period after a corrected incident workflow is deployed, and the bus must archive matching events before the processing failure occurs. The underlying AWS behavior is that EventBridge archives can retain selected events for later replay to an event bus.
Incorrect Answers
A:The proposed condition makes sense in an implementation designed to recheck an AWS service state after provisioning without busy-waiting; it concerns Step Functions supports Wait states and task retry policies outside a single Lambda runtime, whereas this question tests the prerequisite of the named control; the specified requirement instead is to reprocess a historical event period after a corrected incident workflow is deployed.
B:This proposed constraint belongs to a separate objective: the retry should be scheduled rather than consume an idle function runtime. The corresponding goal is to invoke a follow-up check at a precise future time after an initial event, not the selected architecture's goal to reprocess a historical event period after a corrected incident workflow is deployed.
C:This condition governs the different mechanism used to retain failed event delivery attempts for later investigation; EventBridge rules can use retry policies and DLQ targets to preserve failed deliveries; for the selected control, the relevant boundary is instead that the bus must archive matching events before the processing failure occurs.
Question 543
A technical change review names the selected control as follows: Enable Amazon Inspector findings for supported compute workloads. To identify software package vulnerabilities affecting deployed EC2 or container workloads, which constraint must be addressed for this design?
- Findings must be related to actual covered resources and scan support
- The analysis should avoid downloading every object to a workstation
- The display should combine application and infrastructure indicators for the same system
- Request context must correlate latency across service boundaries
Explanation
Correct Answer
A:The implementation has to honor the exact constraint: findings must be related to actual covered resources and scan support; inspector assesses supported workloads and produces vulnerability findings with affected-resource context.
Incorrect Answers
B:This condition governs the different mechanism used to investigate historical audit events across a large retained log archive; Athena can query compatible S3-based log data using SQL and suitable tables or partitions; for the selected control, the relevant boundary is instead that findings must be related to actual covered resources and scan support.
C:CloudWatch dashboards visualize selected metrics, logs, and alarms in a shared operational view; its own dependency is that the display should combine application and infrastructure indicators for the same system. Those details concern the separate objective of being able to show latency, errors, and saturation to incident responders in one panel, rather than to the named control required to identify software package vulnerabilities affecting deployed EC2 or container workloads.
D:The proposed condition makes sense in an implementation designed to identify which downstream call dominates end-to-end request latency. It concerns x-Ray traces and segments expose timing and dependencies across instrumented service calls, whereas this question tests the prerequisite of the named control.
Question 544
Investigators observe: A vendor can assume many customer account roles and may be tricked into selecting the wrong customer's role. Engineers still need to reduce confused-deputy risk when a SaaS vendor assumes customer roles. Which corrective action is most appropriate?
- Use IAM Roles Anywhere for eligible external workloads with X.509 identities
- Configure IAM role trust conditions with an external ID for a third-party provider
- Assign AWS IAM Identity Center permission sets to workforce groups
- Apply an IAM permissions boundary to delegated role creation
Explanation
Correct Answer
B:The sts:ExternalId condition helps a provider distinguish authorized cross-account assume-role requests; in this case the control is appropriate because it supports reduce confused-deputy risk when a SaaS vendor assumes customer roles. The customer role should verify an agreed external identifier supplied by the trusted provider.
Incorrect Answers
A:Choosing this would aim to provide temporary AWS credentials to on-premises workloads without storing IAM user keys instead of reduce confused-deputy risk when a SaaS vendor assumes customer roles; IAM Roles Anywhere uses trusted X.509 certificates to obtain temporary role credentials for external workloads; it cannot replace the mechanism specified by the incident evidence.
C:IAM Identity Center provisions account roles through permission-set assignments to users and groups; this can help teams provide centrally managed access to many AWS accounts for federated employees, but the reported workflow needs to reduce confused-deputy risk when a SaaS vendor assumes customer roles. It does not perform that required function.
D:That service solves a different operating problem: the need to allow a development platform team to create roles without granting unlimited privileges. Its behavior is that permissions boundaries constrain the effective identity permissions of a user or role without granting access. The requested outcome remains reduce confused-deputy risk when a SaaS vendor assumes customer roles.
Question 545
A production change is expected to assign consistent workforce roles to many accounts through one identity portal. The same change must also let a security account administer a supported service for organization members. Which paired implementation meets both acceptance criteria?
- Attach an Organizations SCP to a production OU; use AWS Control Tower Account Factory to provision governed accounts
- Use centralized VPC Flow Logs delivery to an approved log destination; use delegated administrator registration for supported organization-wide services
- Use IAM Identity Center permission sets for federated workforce access; enable AWS Config aggregators across organization accounts and Regions
- Use IAM Identity Center permission sets for federated workforce access; use delegated administrator registration for supported organization-wide services
Explanation
Correct Answer
D:IAM Identity Center permission sets provision corresponding account roles for entitled users or groups; delegated administration allows a registered member account to manage eligible service functions organization-wide. The first control satisfies the need to assign consistent workforce roles to many accounts through one identity portal; the second addresses the need to let a security account administer a supported service for organization members. Human federation and account-level entitlements must be centrally managed; supported security administration should be separated from the management account.
Incorrect Answers
A:These are legitimate AWS controls for different outcomes: service control policies limit the maximum permissions of affected account principals but do not grant rights, whereas account Factory provisions accounts under a landing-zone structure using configured account baselines. The problem instead requires the ability to assign consistent workforce roles to many accounts through one identity portal and to let a security account administer a supported service for organization members.
B:This combination solves only the latter acceptance test. The substituted first control supports collect network flow metadata from selected workload VPCs for audit analysis: VPC Flow Logs capture metadata for selected interfaces, subnets, or VPCs and deliver to supported destinations. It does not implement assign consistent workforce roles to many accounts through one identity portal.
C:The first half is appropriate: IAM Identity Center permission sets provision corresponding account roles for entitled users or groups. However, a configuration aggregator consolidates supported AWS Config configuration and compliance data; that serves a different objective (view resource compliance and configuration state from a central operations account) and leaves the explicit need to let a security account administer a supported service for organization members unmet.
Question 546
An AWS design review will approve a solution only if it meets these criteria: (1) reduce confused-deputy risk when a SaaS vendor assumes customer roles; (2) rotate an application database password without manual quarterly updates; (3) identify broad or risky IAM policy patterns before deployment. Select the THREE needed changes. Choose THREE.
- Use IAM Access Analyzer policy validation and least-privilege findings
- Use EKS IAM Roles for Service Accounts or supported EKS Pod Identity
- Configure IAM role trust conditions with an external ID for a third-party provider
- Attach an instance profile with a scoped IAM role to EC2
- Enable Secrets Manager rotation with a supported rotation strategy
- Use an ECS task IAM role rather than the ECS task execution role for application API access
Explanation
Correct Answers
A:IAM Access Analyzer validates policies and can surface security and best-practice findings. Among the listed outcomes, it addresses identify broad or risky IAM policy patterns before deployment, rather than merely contributing a related signal or support step.
C:The sts:ExternalId condition helps a provider distinguish authorized cross-account assume-role requests; this fulfills the stated requirement to reduce confused-deputy risk when a SaaS vendor assumes customer roles; the operational limitation is that the customer role should verify an agreed external identifier supplied by the trusted provider; in this design the separate acceptance test is to identify broad or risky IAM policy patterns before deployment.
E:Secrets Manager rotation workflows update stored credentials and, with integration, the underlying service credential; among the listed outcomes, it addresses rotate an application database password without manual quarterly updates, rather than merely contributing a related signal or support step.
Incorrect Answers
B:EKS workload identity mechanisms associate an AWS IAM role with a Kubernetes service account or pod; if the requirement were to grant a Kubernetes workload AWS permissions without using the node IAM role, that would matter. The requested outcomes are separate from the one this option addresses.
D:This mechanism supports the ability to give an EC2 application temporary credentials to call an AWS API: an EC2 instance profile provides temporary role credentials to applications running on the instance. It would not satisfy a different obligation just by appearing in the same workflow.
F:ECS task roles grant permissions to containers; execution roles support image pulls, logs, and task startup. If the requirement were to authorize container business logic to read only its specific AWS resources, that would matter. The requested outcomes are separate from the one this option addresses.
Question 547
A release design adopts this mechanism: Use AWS Shield Advanced for enhanced DDoS protection of eligible public resources. Which implementation detail is most relevant to its proposed use to apply additional DDoS protection and response capabilities to critical endpoints?
- The ALB should use a managed public certificate with a valid domain validation path
- Traffic must actually traverse the configured firewall endpoints by appropriate routing
- The service owner is prepared to enable a paid advanced protection subscription
- The policy must target supported resources through Organizations and configured security administration
Explanation
Correct Answer
C:The requested behavior is to apply additional DDoS protection and response capabilities to critical endpoints, and the service owner is prepared to enable a paid advanced protection subscription. The underlying AWS behavior is that shield Advanced offers enhanced detection, response capabilities, and protections for supported resources.
Incorrect Answers
A:This proposed constraint belongs to a separate objective: the ALB should use a managed public certificate with a valid domain validation path; the corresponding goal is to automate TLS certificate provisioning for an AWS-managed load balancer, not the selected architecture's goal to apply additional DDoS protection and response capabilities to critical endpoints.
B:This condition governs the different mechanism used to enforce centralized network-layer filtering across selected VPC traffic paths; network Firewall inspects routed VPC traffic using stateless and stateful rule groups; for the selected control, the relevant boundary is instead that the service owner is prepared to enable a paid advanced protection subscription.
D:The proposed condition makes sense in an implementation designed to enforce an approved web ACL policy on supported public application endpoints across member accounts. It concerns firewall Manager manages supported security policies across accounts and can apply WAF protections to in-scope resources, whereas this question tests the prerequisite of the named control.
Question 548
Two technical outcomes must be delivered together: find roles or permissions that have not been used within the configured scope and identify aging IAM user credentials that require rotation or removal. Which pair of controls is sufficient for the stated outcomes?
- Run SQL queries against existing CloudTrail Lake event data stores; use CloudWatch metric filters with alarms on sensitive security log patterns
- Use IAM Access Analyzer unused-access analysis for stale privileges; use IAM credential reports and access-key last-used data for periodic access review
- Use IAM Access Analyzer unused-access analysis for stale privileges; use Security Hub automation rules for finding-state prioritization
- Use AWS WAF logging to analyze blocked HTTP requests; use IAM credential reports and access-key last-used data for periodic access review
Explanation
Correct Answer
B:The first outcome depends on the behavior that unused access findings help identify unused IAM roles or unused permissions for least-privilege review. Separately, IAM credential reports and access-key usage metadata support audits of IAM user authentication materials. Together these meet the two requested outcomes, with the operational limits that review should use recorded access evidence and defined analysis scope and the report should focus on IAM users and key use rather than role session credentials.
Incorrect Answers
A:These are legitimate AWS controls for different outcomes: CloudTrail Lake ingests supported events into queryable event data stores, whereas metric filters turn matching log events into CloudWatch measurements that can trigger alarms. The problem instead requires the ability to find roles or permissions that have not been used within the configured scope and to identify aging IAM user credentials that require rotation or removal.
C:The first half is appropriate: Unused access findings help identify unused IAM roles or unused permissions for least-privilege review. However, Security Hub automation rules can update selected finding fields when findings match configured criteria; that serves a different objective (normalize and triage recurring findings according to defined central criteria) and leaves the explicit need to identify aging IAM user credentials that require rotation or removal unmet.
D:The second implementation is relevant; the problem is the first. AWS WAF logs contain supported request and rule evaluation information for configured web ACLs; it can help investigate which web ACL rule is denying legitimate client requests, whereas the stated first requirement is to find roles or permissions that have not been used within the configured scope.
Question 549
A production ticket contains this symptom: An alarm on absolute HTTP 5xx count misses severe errors during low traffic periods. The desired behavior is to detect user-visible error-rate regression independent of total request volume. What should be fixed?
- Use metric math to alarm on ALB 5xx errors as a request ratio
- Use Athena to query partitioned CloudTrail records stored in S3
- Use CloudWatch dashboard widgets for a shared service SLO view
- Set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately
- Configure a CloudWatch anomaly detection band on a seasonal metric
- Configure CloudWatch composite alarms to combine related signal states
Explanation
Correct Answer
A:CloudWatch metric math combines compatible metrics to evaluate derived rates or ratios. It enables the necessary capability to detect user-visible error-rate regression independent of total request volume rather than only providing an adjacent operational control. Error counts must be normalized by matching request volume.
Incorrect Answers
B:Choosing this would aim to investigate historical audit events across a large retained log archive instead of detect user-visible error-rate regression independent of total request volume. Athena can query compatible S3-based log data using SQL and suitable tables or partitions; it cannot replace the mechanism specified by the incident evidence.
C:Although CloudWatch dashboards visualize selected metrics, logs, and alarms in a shared operational view, the scenario does not ask for show latency, errors, and saturation to incident responders in one panel; it requires the ability to detect user-visible error-rate regression independent of total request volume, which is a separate responsibility.
D:Evaluation periods and datapoints-to-alarm control how many recent breaches cause an alarm state; this can help teams avoid triggering rollbacks on one isolated noisy metric datapoint, but the reported workflow needs to detect user-visible error-rate regression independent of total request volume. It does not perform that required function.
E:That service solves a different operating problem: the need to alert on unexpected deviations without relying on a single fixed threshold. Its behavior is that CloudWatch anomaly detection models expected patterns and allows alarms on deviations from the band. The requested outcome remains detect user-visible error-rate regression independent of total request volume.
F:The choice is useful when engineers need to page operators only when multiple correlated alarms indicate a real incident: composite alarms evaluate the Boolean state of underlying alarms before transitioning; it would not establish the control needed to detect user-visible error-rate regression independent of total request volume.
Question 550
The service maintenance group reports the following failure: Legacy applications already emit StatsD measurements but dashboards show none of them. Which action directly restores the requirement to bridge existing application metric protocols into CloudWatch?
- Use CloudWatch agent StatsD or collectd integrations for supported workloads
- Configure CloudWatch metric filters for structured application log events
- Use an AWS Config aggregator for resource-compliance reporting
- Create CloudWatch metric streams to Amazon Data Firehose
Explanation
Correct Answer
A:The unified CloudWatch agent supports collection from compatible metrics protocols and export to CloudWatch; in this case the control is appropriate because it supports bridge existing application metric protocols into CloudWatch. The collector must listen for the existing protocol and publish metric data with proper permissions.
Incorrect Answers
B:Although metric filters evaluate incoming CloudWatch Logs records and emit metrics for matching patterns, the scenario does not ask for count specific error patterns without changing application metric instrumentation. It requires the ability to bridge existing application metric protocols into CloudWatch, which is a separate responsibility.
C:AWS Config aggregators consolidate resource configuration and compliance data from configured sources; this can help teams centralize supported configuration and compliance summaries from accounts and Regions, but the reported workflow needs to bridge existing application metric protocols into CloudWatch. It does not perform that required function.
D:That service solves a different operating problem: the need to continuously export supported metrics to an external observability platform; its behavior is that CloudWatch metric streams continuously send metric data to supported delivery services; the requested outcome remains bridge existing application metric protocols into CloudWatch.