Question 340
During root-cause analysis, the team identifies the following: A Lambda production alias is immediately updated to route all requests to untested code. To expose a small percentage of Lambda invocations to a new version before full promotion, what should be configured?
- Use a weighted Lambda alias for gradual traffic migration
- Use CodeDeploy Lambda canary deployment with an alias
- Publish a Lambda version and route clients through an alias
- Choose a supported ECS canary traffic-shift configuration
Explanation
Correct Answer
B:To expose a small percentage of Lambda invocations to a new version before full promotion, the architecture relies on this AWS behavior: CodeDeploy can update Lambda alias traffic weights using canary configurations. A timed first increment is required before the rest of traffic shifts.
Incorrect Answers
A:Choosing this would aim to split invocation traffic between two published Lambda versions without changing callers instead of expose a small percentage of Lambda invocations to a new version before full promotion; a Lambda alias can distribute invocations between its primary and additional published version; it cannot replace the mechanism specified by the incident evidence.
C:A published Lambda version snapshots code and configuration; an alias can reference the selected version; this can help teams release immutable Lambda code while keeping callers on a stable function reference, but the reported workflow needs to expose a small percentage of Lambda invocations to a new version before full promotion. It does not perform that required function.
D:That service solves a different operating problem: the need to send a small fraction of user traffic to a replacement task set before full cutover. Its behavior is that canary deployment configurations shift an initial percentage before the remaining cutover. The requested outcome remains expose a small percentage of Lambda invocations to a new version before full promotion.
Question 341
An observability review exposes two requirements in the same release: control at-rest log encryption under an explicitly governed encryption key; in addition, protect exported audit objects with a controlled at-rest encryption boundary. Which paired set of AWS controls meets both requirements?
- Use an AWS Config aggregator for resource-compliance reporting; configure HTTPS or TLS for log delivery clients
- Associate a customer managed KMS key with a CloudWatch Logs log group; encrypt long-term S3 log objects with a customer managed KMS key
- Deliver S3 server access logs or application exports through lifecycle-managed 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; configure CloudWatch Logs retention per application log group
Explanation
Correct Answer
B:For the requirement to control at-rest log encryption under an explicitly governed encryption key, CloudWatch Logs supports customer-managed KMS key association for eligible log groups; for the requirement to protect exported audit objects with a controlled at-rest encryption boundary, S3 SSE-KMS encrypts objects using AWS KMS keys with separate data and key-access controls. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.
Incorrect Answers
A:These are legitimate AWS controls for different outcomes: AWS Config aggregators consolidate resource configuration and compliance data from configured sources, whereas TLS protects log transport over supported network paths against plaintext interception. The problem instead requires the ability to control at-rest log encryption under an explicitly governed encryption key and to protect exported audit objects with a controlled at-rest encryption boundary.
C:S3 lifecycle rules transition or expire suitable log objects based on approved retention requirements; that is intended to retain bulk historical logs at lower long-term storage cost, not to control at-rest log encryption under an explicitly governed encryption key. The second half can meet the requirement to protect exported audit objects with a controlled at-rest encryption boundary, but the first is still missing.
D:Log-group retention settings automatically expire data beyond the configured retention interval; that alternative supports the ability to expire routine log events after the approved operating retention period, but it is not the requested second outcome (protect exported audit objects with a controlled at-rest encryption boundary). Even though the first half addresses control at-rest log encryption under an explicitly governed encryption key, this pair is incomplete.
Question 342
A production ticket contains this symptom: The security dashboard has API logs but no consolidated current configuration evaluations. The desired behavior is to centralize supported configuration and compliance summaries from accounts and Regions. What should be fixed?
- Use an AWS Config aggregator for resource-compliance reporting
- Enable CloudTrail log file integrity validation for audit log chains
- Create CloudWatch metric streams to Amazon Data Firehose
- Configure CloudTrail data events for selected sensitive S3 buckets
Explanation
Correct Answer
A:AWS Config aggregators consolidate resource configuration and compliance data from configured sources; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: the aggregator needs authorized sources and configuration recording in source accounts.
Incorrect Answers
B:That service solves a different operating problem: the need to detect tampering with delivered CloudTrail log files. Its behavior is that CloudTrail log file integrity validation delivers digest files that can verify delivered logs. The requested outcome remains centralize supported configuration and compliance summaries from accounts and Regions.
C:The choice is useful when engineers need to continuously export supported metrics to an external observability platform: CloudWatch metric streams continuously send metric data to supported delivery services; it would not establish the control needed to centralize supported configuration and compliance summaries from accounts and Regions.
D:CloudTrail data events capture selected data-plane operations, such as S3 object API calls. This is a reasonable option when the requirement is to record relevant object-level API activity rather than only account management events, but it operates at a different workflow boundary from the stated need to centralize supported configuration and compliance summaries from accounts and Regions.
Question 343
After a configuration change, the service maintenance group sees this issue: The deployment can download its encrypted ZIP but receives a KMS AccessDenied response. What best restores the ability to diagnose artifact decryption failure after S3 object access succeeds?
- Inspect KMS key policies and grants for cross-account decrypt failures
- Use CloudTrail events to identify the caller behind an AccessDenied API action
- Evaluate resource and identity policies for a cross-account S3 artifact read
- Inspect Lambda CloudWatch logs for timeout and initialization errors
Explanation
Correct Answer
A:Customer managed KMS key policies and principal permissions govern who may decrypt encrypted artifacts; it restores the ability to diagnose artifact decryption failure after S3 object access succeeds, provided the implementation also observes that decryption authorization must be separate from S3 GetObject permission.
Incorrect Answers
B:The choice is useful when engineers need to trace which principal and resource action caused a failed automation request: CloudTrail supported management events can show the assumed role, action, and error context; it would not establish the control needed to diagnose artifact decryption failure after S3 object access succeeds.
C:Cross-account S3 access can require compatible IAM and resource policy permissions for the object; this is a reasonable option when the requirement is to diagnose a deployment that can assume a role but cannot fetch its release bundle, but it operates at a different workflow boundary from the stated need to diagnose artifact decryption failure after S3 object access succeeds.
D:Choosing this would aim to explain missing API responses from a new Lambda deployment instead of diagnose artifact decryption failure after S3 object access succeeds. Lambda logs include invocation results, duration, timeout messages, and runtime failures; it cannot replace the mechanism specified by the incident evidence.
Question 344
Before approving an automated rollout, the reliability team must direct global clients toward the Region with better measured network latency and retain replicated application objects in a separate disaster-recovery Region. Which combination covers the two distinct controls?
- Implement stateless application nodes with session state in a shared store; enable S3 Cross-Region Replication for selected versioned objects
- Use Aurora reader instances in separate Availability Zones; enable S3 Cross-Region Replication for selected versioned objects
- Use Route 53 latency routing for healthy regional endpoints; use an Aurora Global Database with secondary Region clusters
- Use Route 53 latency routing for healthy regional endpoints; enable Amazon RDS Multi-AZ high availability for a supported DB engine
- Use Route 53 latency routing for healthy regional endpoints; enable S3 Cross-Region Replication for selected versioned objects
- Use DynamoDB on-demand capacity for variable request demand; use EFS mount targets in each client Availability Zone
Explanation
Correct Answer
E:Route 53 latency policies select records based on measured latency among configured Regions; S3 replication asynchronously copies eligible object versions to configured destination buckets. The first control satisfies the need to direct global clients toward the Region with better measured network latency; the second addresses the need to retain replicated application objects in a separate disaster-recovery Region. Users should be routed by latency rather than a fixed weighted percentage; source and destination buckets need versioning and replication configuration.
Incorrect Answers
A:The second implementation is relevant; the problem is the first. Externalizing session data removes per-instance affinity as a correctness requirement for request handling; it can help allow requests to move among instances without losing user session context, whereas the stated first requirement is to direct global clients toward the Region with better measured network latency.
B:This combination solves only the latter acceptance test. The substituted first control supports improve Aurora read availability and provide additional managed failover candidates: aurora Replicas share cluster storage and can serve reads or be promoted during supported failovers. It does not implement direct global clients toward the Region with better measured network latency.
C:The first half is appropriate: Route 53 latency policies select records based on measured latency among configured Regions. However, aurora Global Database replicates from a primary cluster to secondary regional clusters for reads and recovery; that serves a different objective (provide low-latency cross-Region database reads and a regional recovery path) and leaves the explicit need to retain replicated application objects in a separate disaster-recovery Region unmet.
D:RDS Multi-AZ deployments maintain a standby or multi-instance arrangement for managed failover; that alternative supports the ability to provide automatic database failover after a primary Availability Zone outage, but it is not the requested second outcome (retain replicated application objects in a separate disaster-recovery Region). Even though the first half addresses direct global clients toward the Region with better measured network latency, this pair is incomplete.
F:Neither control directly supplies both requested behaviors. DynamoDB on-demand mode automatically manages throughput capacity for variable workloads within service limits; EFS mount targets provide VPC network access to a Regional shared file system from selected zones. Those mechanisms address different objectives. The specified capabilities are to direct global clients toward the Region with better measured network latency and to retain replicated application objects in a separate disaster-recovery Region.
Question 345
Before the next release, the approved AWS design must address 3 obligations: (1) assign consistent workforce roles to many accounts through one identity portal; (2) separate development and production accounts into different policy inheritance scopes; (3) enable consistent threat detection coverage for member accounts. Which THREE actions should be included? Choose THREE.
- Configure organization-wide GuardDuty management through a delegated security account
- Use cross-account STS AssumeRole for automated administration
- Use AWS Organizations CreateAccount automation for programmatic member creation
- Place accounts into purpose-specific organizational units
- Use IAM Identity Center permission sets for federated workforce access
- Use AWS Control Tower Account Factory to provision governed accounts
Explanation
Correct Answers
A:The corresponding obligation is to enable consistent threat detection coverage for member accounts. GuardDuty organization administration can automatically manage protection enrollment across eligible members; that behavior is the reason this action belongs in the selected answer set.
D:Organizational units group accounts and establish boundaries for inherited organization policies; this fulfills the stated requirement to separate development and production accounts into different policy inheritance scopes; the operational limitation is that governance must attach to account groups rather than individual IAM users.
E:The corresponding obligation is to assign consistent workforce roles to many accounts through one identity portal. IAM Identity Center permission sets provision corresponding account roles for entitled users or groups; that behavior is the reason this action belongs in the selected answer set.
Incorrect Answers
B:It supports a separate administrative task, namely to let central automation perform scoped tasks in governed member accounts. STS AssumeRole returns temporary credentials for a trusted role whose permissions constrain the session; the prompt's required outcomes are not achieved by substituting this control.
C:Organizations supports asynchronous member account creation through its account APIs. If the requirement were to automate account creation and consolidate billing within an organization, that would matter. The requested outcomes are separate from the one this option addresses.
F:It supports a separate administrative task, namely to create new workload accounts with standardized landing-zone controls. Account Factory provisions accounts under a landing-zone structure using configured account baselines; the prompt's required outcomes are not achieved by substituting this control.
Question 346
A new AWS operations standard requires the ability to view resource compliance and configuration state from a central operations account and enable consistent threat detection coverage for member accounts in the same operating environment. Which proposed pair delivers both?
- Use Control Tower landing-zone controls for preventive and detective governance; configure organization-wide GuardDuty management through a delegated security account
- Use cross-account STS AssumeRole for automated administration; use AWS Backup policies through Organizations for supported centralized plans
- Enable AWS Config aggregators across organization accounts and Regions; configure organization-wide GuardDuty management through a delegated security account
- Enable AWS Config aggregators across organization accounts and Regions; use IAM Identity Center permission sets for federated workforce access
Explanation
Correct Answer
C:A configuration aggregator consolidates supported AWS Config configuration and compliance data; GuardDuty organization administration can automatically manage protection enrollment across eligible members. The first control satisfies the need to view resource compliance and configuration state from a central operations account; the second addresses the need to enable consistent threat detection coverage for member accounts. Central reporting should aggregate source data without changing each source configuration; new-account enablement should be managed through organization integration.
Incorrect Answers
A:This combination solves only the latter acceptance test. The substituted first control supports establish managed governance expectations when onboarding accounts: control Tower controls can enforce or detect supported rules across enrolled organizational units; it does not implement view resource compliance and configuration state from a central operations account.
B:Neither control directly supplies both requested behaviors. STS AssumeRole returns temporary credentials for a trusted role whose permissions constrain the session; organizations backup policies help coordinate AWS Backup plans and selections across member accounts. Those mechanisms address different objectives. The specified capabilities are to view resource compliance and configuration state from a central operations account and to enable consistent threat detection coverage for member accounts.
D:Combining a suitable first control with this second one misses the secondary acceptance criterion; IAM Identity Center permission sets provision corresponding account roles for entitled users or groups; it helps assign consistent workforce roles to many accounts through one identity portal rather than enable consistent threat detection coverage for member accounts.
Question 347
An engineer is addressing a two-part incident-response requirement: prevent a valid long-running worker task from being processed concurrently, without losing the ability to isolate repeatedly unprocessable events without blocking successful work. Which set of actions is suitable?
- Use SNS with appropriate subscription filter policies; use an EventBridge organization event bus with cross-account permissions
- Use an EventBridge Scheduler one-time schedule for delayed remediation; use an SQS redrive policy and dead-letter queue for failed events
- Use SQS visibility timeouts aligned to consumer processing; use an SQS redrive policy and dead-letter queue for failed events
- Use EventBridge Pipes to filter and enrich events from a supported source; use an SQS redrive policy and dead-letter queue for failed events
- Use SQS visibility timeouts aligned to consumer processing; use Step Functions wait and retry policies for delayed dependent checks
- Use SQS visibility timeouts aligned to consumer processing; use EventBridge archive and replay for selected critical events
Explanation
Correct Answer
C:The first outcome depends on the behavior that SQS visibility timeouts temporarily hide received messages until deletion or timeout expiration. Separately, an SQS redrive policy sends messages to a DLQ after the receive count exceeds its threshold. Together these meet the two requested outcomes, with the operational limits that visibility must exceed normal handling time or be extended during processing and the configured failure threshold must retain bad messages for investigation.
Incorrect Answers
A:These are legitimate AWS controls for different outcomes: SNS subscription filters select which published messages each subscriber receives, whereas EventBridge event bus resource policies control cross-account event ingestion and routing. The problem instead requires the ability to prevent a valid long-running worker task from being processed concurrently and to isolate repeatedly unprocessable events without blocking successful work.
B: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 prevent a valid long-running worker task from being processed concurrently.
D:The second implementation is relevant; the problem is the first. EventBridge Pipes connects supported sources to targets with optional filter and enrichment steps; it can help connect a managed stream or queue to a target with transformation and optional enrichment, whereas the stated first requirement is to prevent a valid long-running worker task from being processed concurrently.
E:Combining a suitable first control with this second one misses the secondary acceptance criterion; Step Functions supports Wait states and task retry policies outside a single Lambda runtime; it helps recheck an AWS service state after provisioning without busy-waiting rather than isolate repeatedly unprocessable events without blocking successful work.
F:The first half is appropriate: SQS visibility timeouts temporarily hide received messages until deletion or timeout expiration. However, EventBridge archives can retain selected events for later replay to an event bus; that serves a different objective (reprocess a historical event period after a corrected incident workflow is deployed) and leaves the explicit need to isolate repeatedly unprocessable events without blocking successful work unmet.
Question 348
A release design adopts this mechanism: Use IAM Access Analyzer external access findings for resource policies. Which implementation detail is most relevant to its proposed use to identify resource-based policies granting access outside the expected trust zone?
- The filter and alarm must use a stable field pattern and relevant count threshold
- The process should adjust supported finding properties based on matching conditions
- The comparison should focus on supported declared CloudFormation properties
- The analysis should examine resource-level external access rather than package CVEs
Explanation
Correct Answer
D:The implementation has to honor the exact constraint: the analysis should examine resource-level external access rather than package CVEs. IAM Access Analyzer can flag supported resources whose policies allow external access.
Incorrect Answers
A:This condition governs the different mechanism used to alert when repeated access-denied or suspicious authentication events enter central logs; metric filters turn matching log events into CloudWatch measurements that can trigger alarms; for the selected control, the relevant boundary is instead that the analysis should examine resource-level external access rather than package CVEs.
B:Security Hub automation rules can update selected finding fields when findings match configured criteria; its own dependency is that the process should adjust supported finding properties based on matching conditions. Those details concern the separate objective of being able to normalize and triage recurring findings according to defined central criteria, rather than to the named control required to identify resource-based policies granting access outside the expected trust zone.
C:The proposed condition makes sense in an implementation designed to identify resource properties that no longer match the approved template. It concerns drift detection checks supported stack resource configuration against the declared IaC state, whereas this question tests the prerequisite of the named control.
Question 349
An incident record says: Rollback is slow because every original EC2 instance has already been patched in place. To restore the capability to replace an entire instance release without modifying the current live fleet, which change addresses the root cause?
- Attach CodeDeploy deployment alarms for automatic stop or rollback
- Use immutable AMI replacement through an Auto Scaling instance refresh
- Choose CodeDeploy in-place deployment with minimum healthy hosts
- Use CodeDeploy blue/green deployment with a replacement EC2 Auto Scaling group
Explanation
Correct Answer
D:CodeDeploy blue/green can provision replacement EC2 instances and reroute traffic after health checks; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: the old environment should remain ready during a traffic switch.
Incorrect Answers
A:That service solves a different operating problem: the need to halt an EC2 release when service health violates a CloudWatch alarm. Its behavior is that CodeDeploy can monitor CloudWatch alarms and stop or roll back deployments based on configured criteria. The requested outcome remains replace an entire instance release without modifying the current live fleet.
B:The choice is useful when engineers need to replace outdated instances with a tested image instead of mutating running systems: auto Scaling instance refresh replaces instances according to an updated launch template and health controls. It would not establish the control needed to replace an entire instance release without modifying the current live fleet.
C:CodeDeploy EC2 in-place configurations control host update concurrency using healthy-host thresholds; this is a reasonable option when the requirement is to update an existing EC2 fleet in batches while preserving required available capacity, but it operates at a different workflow boundary from the stated need to replace an entire instance release without modifying the current live fleet.
Question 350
An automated check detects: A new account joins the OU but lacks the mandatory logging stack until an operator intervenes. Which remediation directly supports the requirement to apply baseline stacks when new accounts join a targeted organizational unit?
- Use CloudFormation cross-stack exports and imports for shared output values
- Enable CloudFormation drift detection on supported stack resources
- Use CloudFormation stack policies to protect critical resources from updates
- Enable automatic deployment for an OU-targeted CloudFormation StackSet
Explanation
Correct Answer
D:StackSet automatic deployment creates or removes managed instances as accounts move into or out of targeted OUs; it restores the ability to apply baseline stacks when new accounts join a targeted organizational unit, provided the implementation also observes that accounts that enter or leave a target OU should follow explicit stack lifecycle policy.
Incorrect Answers
A:The choice is useful when engineers need to reference a networking stack's output from an application stack in the same Region: CloudFormation exports and Fn::ImportValue share supported values between stacks within the same account and Region. It would not establish the control needed to apply baseline stacks when new accounts join a targeted organizational unit.
B:Drift detection compares actual and expected configurations for supported resources and properties; this is a reasonable option when the requirement is to identify unmanaged configuration changes made outside the IaC deployment, but it operates at a different workflow boundary from the stated need to apply baseline stacks when new accounts join a targeted organizational unit.
C:Choosing this would aim to block unintended replacement or deletion of protected resources during stack updates instead of apply baseline stacks when new accounts join a targeted organizational unit; a stack policy can deny update actions on selected logical resources unless appropriately overridden; it cannot replace the mechanism specified by the incident evidence.