Question 380
An incident record says: A VM application stores an IAM user's permanent access key in its configuration file. To restore the capability to give an EC2 application temporary credentials to call an AWS API, which change addresses the root cause?
- Attach an instance profile with a scoped IAM role to EC2
- Enable Secrets Manager rotation with a supported rotation strategy
- Use a Lambda execution role scoped to required AWS APIs
- Use an ECS task IAM role rather than the ECS task execution role for application API access
Explanation
Correct Answer
A:An EC2 instance profile provides temporary role credentials to applications running on the instance; in this case the control is appropriate because it supports give an EC2 application temporary credentials to call an AWS API. Credentials must rotate automatically and be available through supported instance metadata.
Incorrect Answers
B:Secrets Manager rotation workflows update stored credentials and, with integration, the underlying service credential; this is a reasonable option when the requirement is to rotate an application database password without manual quarterly updates, but it operates at a different workflow boundary from the stated need to give an EC2 application temporary credentials to call an AWS API.
C:Choosing this would aim to allow a Lambda handler to read a specific secret and publish required logs instead of give an EC2 application temporary credentials to call an AWS API. Lambda execution roles grant the AWS API permissions used by the running function; it cannot replace the mechanism specified by the incident evidence.
D:Although ECS task roles grant permissions to containers; execution roles support image pulls, logs, and task startup, the scenario does not ask for authorize container business logic to read only its specific AWS resources. It requires the ability to give an EC2 application temporary credentials to call an AWS API, which is a separate responsibility.
Question 381
A technical change review names the selected control as follows: Use a CloudWatch alarm action for supported EC2 automatic recovery. To recover an eligible impaired instance when a system-status check indicates host failure, which constraint must be addressed for this design?
- The system needs per-contributor rankings from a suitable input data source
- The message must preserve event ID, resource, and state fields while removing noise
- The target instance and alarm must meet EC2 recovery requirements
- The filter pattern must match the incoming event shape
- The target needs an appropriate invocation role and bounded event selection
- The rule must match the relevant event type and route only useful events
Explanation
Correct Answer
C:The implementation has to honor the exact constraint: the target instance and alarm must meet EC2 recovery requirements; supported CloudWatch alarm actions can request EC2 instance recovery for qualifying status-check failures.
Incorrect Answers
A:Contributor Insights rules analyze supported log or metric inputs to identify top contributing entities; its own dependency is that the system needs per-contributor rankings from a suitable input data source; those details concern the separate objective of being able to identify the top contributors to a metric or structured log workload, rather than to the named control required to recover an eligible impaired instance when a system-status check indicates host failure.
B:The proposed condition makes sense in an implementation designed to send only relevant event details to responders rather than an entire event payload. It concerns EventBridge input transformers construct custom target payloads from matched event fields, whereas this question tests the prerequisite of the named control.
D:This condition governs the different mechanism used to raise an incident when a known error token appears repeatedly in application logs. A metric filter emits values from matching logs that a CloudWatch alarm can evaluate. For the selected control, the relevant boundary is instead that the target instance and alarm must meet EC2 recovery requirements.
E:EventBridge can invoke supported Systems Manager Automation runbooks from matching events. Its own dependency is that the target needs an appropriate invocation role and bounded event selection. Those details concern the separate objective of being able to launch a defined remediation runbook when a matching service event occurs, rather than to the named control required to recover an eligible impaired instance when a system-status check indicates host failure.
F:The proposed condition makes sense in an implementation designed to notify the operations account when an AWS service issue affects the workload. It concerns EventBridge receives supported AWS Health events and routes matching events to configured targets, whereas this question tests the prerequisite of the named control.
Question 382
During root-cause analysis, the team identifies the following: Investigators need cross-account event searches with managed queryable retention. To query retained CloudTrail events without first building a custom S3 query pipeline, what should be configured?
- Enable CloudTrail data events for selected S3 object operations
- Use VPC Flow Logs to investigate rejected network flows
- Run SQL queries against existing CloudTrail Lake event data stores
- Enable AWS Config recording and resource configuration history
Explanation
Correct Answer
C:CloudTrail Lake ingests supported events into queryable event data stores. It enables the necessary capability to query retained CloudTrail events without first building a custom S3 query pipeline rather than only providing an adjacent operational control. Data store settings should match retention and ingestion requirements.
Incorrect Answers
A:Choosing this would aim to attribute reads or deletes of sensitive bucket objects to a principal instead of query retained CloudTrail events without first building a custom S3 query pipeline; CloudTrail data event selectors record eligible object-level activity beyond management events; it cannot replace the mechanism specified by the incident evidence.
B:Although VPC Flow Logs record accepted and rejected flow metadata without capturing full packet payloads, the scenario does not ask for identify source, destination, and action details for a suspected network denial; it requires the ability to query retained CloudTrail events without first building a custom S3 query pipeline, which is a separate responsibility.
D:That service solves a different operating problem: the need to determine how an audited resource's settings changed over time. Its behavior is that AWS Config records supported resource configuration items and their change history. The requested outcome remains query retained CloudTrail events without first building a custom S3 query pipeline.
Question 383
During root-cause analysis, the team identifies the following: A log forwarder is configured to send diagnostic payloads over plaintext HTTP. To protect sensitive telemetry while it travels from producers to ingestion endpoints, what should be configured?
- Configure CloudWatch Logs cross-account subscription delivery through supported destination policies
- Configure CloudWatch Logs subscription filters to stream events to an eligible destination
- Configure HTTPS or TLS for log delivery clients
- Configure CloudTrail data events for selected sensitive S3 buckets
- Encrypt long-term S3 log objects with a customer managed KMS key
- Associate a customer managed KMS key with a CloudWatch Logs log group
Explanation
Correct Answer
C:TLS protects log transport over supported network paths against plaintext interception. In this case the control is appropriate because it supports protect sensitive telemetry while it travels from producers to ingestion endpoints. The data must be protected in transit independently from at-rest bucket encryption.
Incorrect Answers
A:Although CloudWatch Logs destinations and resource policies authorize supported cross-account subscription flows, the scenario does not ask for centralize matching account log streams into a designated log-processing account. It requires the ability to protect sensitive telemetry while it travels from producers to ingestion endpoints, which is a separate responsibility.
B:Subscription filters route new matching CloudWatch Logs events to supported streaming or processing destinations; this can help teams process matching log records as they arrive instead of polling stored logs, but the reported workflow needs to protect sensitive telemetry while it travels from producers to ingestion endpoints. It does not perform that required function.
D:The choice is useful when engineers need to record relevant object-level API activity rather than only account management events: CloudTrail data events capture selected data-plane operations, such as S3 object API calls. It would not establish the control needed to protect sensitive telemetry while it travels from producers to ingestion endpoints.
E:S3 SSE-KMS encrypts objects using AWS KMS keys with separate data and key-access controls. This is a reasonable option when the requirement is to protect exported audit objects with a controlled at-rest encryption boundary, but it operates at a different workflow boundary from the stated need to protect sensitive telemetry while it travels from producers to ingestion endpoints.
F:Choosing this would aim to control at-rest log encryption under an explicitly governed encryption key instead of protect sensitive telemetry while it travels from producers to ingestion endpoints; CloudWatch Logs supports customer-managed KMS key association for eligible log groups; it cannot replace the mechanism specified by the incident evidence.
Question 384
An engineer is addressing a two-part observability requirement: expire routine log events after the approved operating retention period, without losing the ability to query structured error events across log groups during incidents. Which set of actions is suitable?
- Configure CloudWatch Logs retention per application log group; use CloudWatch Logs Live Tail for short-lived streaming troubleshooting
- Configure CloudWatch metric filters for structured application log events; use CloudWatch Logs Insights for interactive log analysis
- Configure CloudWatch Logs retention per application log group; use CloudWatch Logs Insights for interactive log analysis
- Use CloudWatch Embedded Metric Format in structured JSON logs; deliver S3 server access logs or application exports through lifecycle-managed buckets
- Configure CloudWatch Logs retention per application log group; install and configure the unified CloudWatch agent on EC2
Explanation
Correct Answer
C:For the requirement to expire routine log events after the approved operating retention period, log-group retention settings automatically expire data beyond the configured retention interval. For the requirement to query structured error events across log groups during incidents, CloudWatch Logs Insights runs interactive queries over selected CloudWatch log groups. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.
Incorrect Answers
A:The first half is appropriate: Log-group retention settings automatically expire data beyond the configured retention interval. However, live Tail streams recently ingested matching log events from supported log groups; that serves a different objective (watch incoming application events while reproducing a production issue) and leaves the explicit need to query structured error events across log groups during incidents unmet.
B:The second implementation is relevant; the problem is the first. Metric filters evaluate incoming CloudWatch Logs records and emit metrics for matching patterns; it can help count specific error patterns without changing application metric instrumentation, whereas the stated first requirement is to expire routine log events after the approved operating retention period.
D:Neither control directly supplies both requested behaviors. Embedded Metric Format embeds metric definitions in structured log events for CloudWatch extraction; S3 lifecycle rules transition or expire suitable log objects based on approved retention requirements. Those mechanisms address different objectives. The specified capabilities are to expire routine log events after the approved operating retention period and to query structured error events across log groups during incidents.
E:The CloudWatch agent collects supported host metrics and logs beyond the standard EC2 metric set; that alternative supports the ability to publish guest memory and disk-usage metrics not available from default EC2 metrics, but it is not the requested second outcome (query structured error events across log groups during incidents). Even though the first half addresses expire routine log events after the approved operating retention period, this pair is incomplete.
Question 385
A release design adopts this mechanism: Use Systems Manager Maintenance Windows for scheduled fleet operations. Which implementation detail is most relevant to its proposed use to run approved node maintenance tasks during designated service windows?
- Inventory collection must run on nodes with the required managed-node configuration
- Schedule, targets, and task concurrency must be controlled together
- Agent distribution must use managed package versions and installation commands
- Each issue needs a durable operational record with ownership and resource references
Explanation
Correct Answer
B:Schedule, targets, and task concurrency must be controlled together. Without this, choosing the named service is not enough to produce the promised outcome. Maintenance Windows schedule supported tasks against registered targets at specified times.
Incorrect Answers
A:Systems Manager Inventory collects supported software and configuration metadata for fleet reporting; its own dependency is that inventory collection must run on nodes with the required managed-node configuration. Those details concern the separate objective of being able to report installed applications and instance configuration across the managed fleet, rather than to the named control required to run approved node maintenance tasks during designated service windows.
C:This proposed constraint belongs to a separate objective: agent distribution must use managed package versions and installation commands; the corresponding goal is to publish an internal agent package and distribute it to managed nodes, not the selected architecture's goal to run approved node maintenance tasks during designated service windows.
D:This condition governs the different mechanism used to collect recurring operational issues with linked resource context and status; OpsCenter OpsItems group investigation context and operational metadata for issue management; for the selected control, the relevant boundary is instead that schedule, targets, and task concurrency must be controlled together.
Question 386
A production-readiness assessment calls out two missing capabilities: adjust worker fleet capacity when a workload metric crosses a defined level and reflect the combined state of several application dependencies in DNS failover decisions. Choose the AWS implementation that explicitly addresses both.
- Use CloudWatch alarm actions to invoke supported Auto Scaling policies; use Route 53 calculated health checks for composite regional availability
- Use CloudWatch alarm actions to invoke supported Auto Scaling policies; use a CloudWatch alarm action for supported EC2 automatic recovery
- Use EventBridge rules to route AWS Health account events to response automation; use a CloudWatch metric filter and alarm for unusual log events
- Configure an EventBridge rule with an SSM Automation target; use Route 53 calculated health checks for composite regional availability
- Use CloudWatch alarm actions to invoke supported Auto Scaling policies; use CloudWatch alarms on DynamoDB throttled requests
Explanation
Correct Answer
A:For the requirement to adjust worker fleet capacity when a workload metric crosses a defined level, step or simple scaling policies can be driven by CloudWatch alarm transitions. For the requirement to reflect the combined state of several application dependencies in DNS failover decisions, calculated Route 53 health checks can evaluate a configured number of healthy child checks. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.
Incorrect Answers
B:Combining a suitable first control with this second one misses the secondary acceptance criterion; supported CloudWatch alarm actions can request EC2 instance recovery for qualifying status-check failures; it helps recover an eligible impaired instance when a system-status check indicates host failure rather than reflect the combined state of several application dependencies in DNS failover decisions.
C:Neither control directly supplies both requested behaviors. EventBridge receives supported AWS Health events and routes matching events to configured targets; a metric filter emits values from matching logs that a CloudWatch alarm can evaluate. Those mechanisms address different objectives. The specified capabilities are to adjust worker fleet capacity when a workload metric crosses a defined level and to reflect the combined state of several application dependencies in DNS failover decisions.
D:The second implementation is relevant; the problem is the first. EventBridge can invoke supported Systems Manager Automation runbooks from matching events. It can help launch a defined remediation runbook when a matching service event occurs, whereas the stated first requirement is to adjust worker fleet capacity when a workload metric crosses a defined level.
E:Combining a suitable first control with this second one misses the secondary acceptance criterion; DynamoDB CloudWatch metrics expose throttled requests and relevant read or write capacity behavior; it helps detect insufficient or overloaded request capacity before clients fail broadly rather than reflect the combined state of several application dependencies in DNS failover decisions.
Question 387
The production plan uses this approach: Enable GuardDuty across organization accounts to detect suspicious activity. The goal is to surface suspicious credentials and network behavior without building a custom detector. Which prerequisite or limitation should receive focused review?
- Traffic must actually traverse the configured firewall endpoints by appropriate routing
- Security monitoring must cover accounts through organization administration
- The policy must target supported resources through Organizations and configured security administration
- Routing and endpoint policy must match the supported S3 gateway endpoint model
Explanation
Correct Answer
B:Security monitoring must cover accounts through organization administration. That is the governing deployment boundary for the selected control: GuardDuty analyzes supported telemetry and uses threat detection to generate security findings. If the boundary is missed, the design can fail to surface suspicious credentials and network behavior without building a custom detector.
Incorrect Answers
A:This proposed constraint belongs to a separate objective: traffic must actually traverse the configured firewall endpoints by appropriate routing; the corresponding goal is to enforce centralized network-layer filtering across selected VPC traffic paths, not the selected architecture's goal to surface suspicious credentials and network behavior without building a custom detector.
C:Firewall Manager manages supported security policies across accounts and can apply WAF protections to in-scope resources; its own dependency is that the policy must target supported resources through Organizations and configured security administration; those details concern the separate objective of being able to enforce an approved web ACL policy on supported public application endpoints across member accounts, rather than to the named control required to surface suspicious credentials and network behavior without building a custom detector.
D:The proposed condition makes sense in an implementation designed to allow private subnet workloads to reach S3 without NAT for supported traffic; it concerns S3 gateway endpoints use VPC route entries to access S3 privately from eligible subnets, whereas this question tests the prerequisite of the named control.
Question 388
An operational design is incomplete until it can deliver each incident notification to separate durable processing teams and process change events in order for each governed resource. Which two-part implementation fills both gaps?
- Use an EventBridge Scheduler one-time schedule for delayed remediation; use an SQS FIFO queue when processing order per message group matters
- Use an SNS topic with independent SQS subscriptions for event fan-out; use Step Functions wait and retry policies for delayed dependent checks
- Use an SNS topic with independent SQS subscriptions for event fan-out; use an SQS FIFO queue when processing order per message group matters
- Use SNS with appropriate subscription filter policies; use an EventBridge organization event bus with cross-account permissions
Explanation
Correct Answer
C:For the requirement to deliver each incident notification to separate durable processing teams, SNS fan-out to multiple SQS queues gives each subscribed queue an independent message stream. For the requirement to process change events in order for each governed resource, SQS FIFO queues preserve order within message groups with managed deduplication semantics; both mechanisms are necessary; implementing only the first would leave the second unsatisfied.
Incorrect Answers
A:This combination solves only the latter acceptance test. The substituted first control supports invoke a follow-up check at a precise future time after an initial event: EventBridge Scheduler can invoke supported targets at specified one-time or recurring times; it does not implement deliver each incident notification to separate durable processing teams.
B:The first half is appropriate: SNS fan-out to multiple SQS queues gives each subscribed queue an independent message stream. However, Step Functions supports Wait states and task retry policies outside a single Lambda runtime; that serves a different objective (recheck an AWS service state after provisioning without busy-waiting) and leaves the explicit need to process change events in order for each governed resource unmet.
D:The pair changes the problem instead of completing it. One option addresses send only security-relevant messages to the security response queue; the other addresses accept operational events from multiple workload accounts into a central responder account. The release, however, needs to deliver each incident notification to separate durable processing teams as well as process change events in order for each governed resource.
Question 389
The delivery engineering team proposes this implementation: Use IAM Identity Center permission sets for federated workforce access. Its intended result is to assign consistent workforce roles to many accounts through one identity portal. Which implementation consideration is most specific to that choice?
- Controls should be applied through the landing-zone governance system
- New-account enablement should be managed through organization integration
- The policy must govern tag conventions rather than grant IAM access
- Human federation and account-level entitlements must be centrally managed
Explanation
Correct Answer
D:Human federation and account-level entitlements must be centrally managed. That is the governing deployment boundary for the selected control: IAM Identity Center permission sets provision corresponding account roles for entitled users or groups. If the boundary is missed, the design can fail to assign consistent workforce roles to many accounts through one identity portal.
Incorrect Answers
A:Control Tower controls can enforce or detect supported rules across enrolled organizational units; its own dependency is that controls should be applied through the landing-zone governance system. Those details concern the separate objective of being able to establish managed governance expectations when onboarding accounts, rather than to the named control required to assign consistent workforce roles to many accounts through one identity portal.
B:The proposed condition makes sense in an implementation designed to enable consistent threat detection coverage for member accounts; it concerns GuardDuty organization administration can automatically manage protection enrollment across eligible members, whereas this question tests the prerequisite of the named control.
C:This proposed constraint belongs to a separate objective: the policy must govern tag conventions rather than grant IAM access. The corresponding goal is to report and enforce valid tag keys or values across organizational accounts where supported, not the selected architecture's goal to assign consistent workforce roles to many accounts through one identity portal.
Question 390
An infrastructure proposal must demonstrate two capabilities: review a sensitive operational change before executing its runbook and review the actual resource mutations before applying a critical IaC patch. Which combination supplies the appropriate controls?
- Apply CloudFormation drift remediation through a reviewed template update; use a CloudFormation Change Set for emergency infrastructure adjustments
- Require a Systems Manager Change Manager approval for high-risk production automation; use AWS Backup event notifications and a bounded retry workflow
- Require a Systems Manager Change Manager approval for high-risk production automation; use a CloudFormation Change Set for emergency infrastructure adjustments
- Use Systems Manager Run Command with tag-based targets for an emergency fix; perform an Auto Scaling instance refresh after updating a launch template
Explanation
Correct Answer
C:Change Manager supports governed change requests and approval workflows for operations; CloudFormation Change Sets preview resource actions including potential replacements before execution. The first control satisfies the need to review a sensitive operational change before executing its runbook; the second addresses the need to review the actual resource mutations before applying a critical IaC patch. The change must be tracked with an approval workflow and appropriate permissions; the change must be inspectable before stack update execution.
Incorrect Answers
A:A reviewed stack update can bring supported drifted resources back toward declared template state; that is intended to restore a resource's intended IaC state after manual infrastructure changes, not to review a sensitive operational change before executing its runbook. The second half can meet the requirement to review the actual resource mutations before applying a critical IaC patch, but the first is still missing.
B:AWS Backup job state events can feed EventBridge-driven notification and automation. That alternative supports the ability to respond when a scheduled backup job fails before the recovery point objective is exceeded, but it is not the requested second outcome (review the actual resource mutations before applying a critical IaC patch). Even though the first half addresses review a sensitive operational change before executing its runbook, this pair is incomplete.
D:Neither control directly supplies both requested behaviors. Run Command executes approved documents on selected managed nodes without direct interactive host access; instance refresh gradually replaces existing Auto Scaling instances according to updated configuration. Those mechanisms address different objectives. The specified capabilities are to review a sensitive operational change before executing its runbook and to review the actual resource mutations before applying a critical IaC patch.