Question 400
The platform engineering team reports the following failure: A standard queue occasionally delivers an update before its earlier update for the same resource. Which action directly restores the requirement to process change events in order for each governed resource?
- Use AWS Health events through EventBridge for account-impact notifications
- Use an SQS FIFO queue when processing order per message group matters
- Use an SQS redrive policy and dead-letter queue for failed events
- Use SQS visibility timeouts aligned to consumer processing
- Use an SNS topic with independent SQS subscriptions for event fan-out
Explanation
Correct Answer
B:To process change events in order for each governed resource, the architecture relies on this AWS behavior: SQS FIFO queues preserve order within message groups with managed deduplication semantics. Ordering must be preserved within each identified message group.
Incorrect Answers
A:Choosing this would aim to initiate targeted response to an AWS-managed service event affecting the account instead of process change events in order for each governed resource; supported AWS Health events appear on EventBridge and can trigger notification or workflows; it cannot replace the mechanism specified by the incident evidence.
C:An SQS redrive policy sends messages to a DLQ after the receive count exceeds its threshold. This can help teams isolate repeatedly unprocessable events without blocking successful work, but the reported workflow needs to process change events in order for each governed resource. It does not perform that required function.
D:That service solves a different operating problem: the need to prevent a valid long-running worker task from being processed concurrently. Its behavior is that SQS visibility timeouts temporarily hide received messages until deletion or timeout expiration. The requested outcome remains process change events in order for each governed resource.
E:The choice is useful when engineers need 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. It would not establish the control needed to process change events in order for each governed resource.
Question 401
A new AWS operations standard requires the ability to include compiled outputs rather than the entire source tree in a pipeline artifact and retain retrievable, auditable application bundles for instance deployments in the same operating environment. Which proposed pair delivers both?
- Export a CodeBuild artifact using buildspec artifact paths; pin image promotion to an ECR image digest instead of a mutable tag
- Apply S3 Object Lock retention when required by evidence policy; store deployment bundles in an encrypted versioned S3 artifact bucket
- Use EC2 Image Builder pipelines to produce hardened AMIs; configure an ECR lifecycle policy to expire unwanted image versions
- Export a CodeBuild artifact using buildspec artifact paths; store deployment bundles in an encrypted versioned S3 artifact bucket
Explanation
Correct Answer
D:The buildspec artifacts section chooses files to package and publish as build outputs; S3 versioning preserves object versions; bucket encryption and scoped policies protect deployment bundles. The first control satisfies the need to include compiled outputs rather than the entire source tree in a pipeline artifact; the second addresses the need to retain retrievable, auditable application bundles for instance deployments. The downstream action must receive the files produced by build commands; artifact durability and version history must support restoration of approved revisions.
Incorrect Answers
A:Image digests identify content; mutable tags can be repointed and are unsuitable as sole provenance; that alternative supports the ability to deploy exactly the image bytes tested during CI, but it is not the requested second outcome (retain retrievable, auditable application bundles for instance deployments). Even though the first half addresses include compiled outputs rather than the entire source tree in a pipeline artifact, this pair is incomplete.
B:This combination solves only the latter acceptance test. The substituted first control supports prevent modification or deletion of archived release artifacts for a mandated period: S3 Object Lock protects eligible versioned objects under governance or compliance retention modes; it does not implement include compiled outputs rather than the entire source tree in a pipeline artifact.
C:Neither control directly supplies both requested behaviors. Image Builder creates, customizes, tests, and distributes repeatable machine images from recipes; ECR lifecycle rules automate image expiration according to matching criteria. Those mechanisms address different objectives. The specified capabilities are to include compiled outputs rather than the entire source tree in a pipeline artifact and to retain retrievable, auditable application bundles for instance deployments.
Question 402
A service owner needs to restore approved daemon settings when a node falls out of compliance and restore a resource's intended IaC state after manual infrastructure changes. Which paired controls deliver the requested behavior across both workstreams?
- Use State Manager associations to prevent recurring OS configuration drift; apply CloudFormation drift remediation through a reviewed template update
- Use State Manager associations to prevent recurring OS configuration drift; use an AWS AppConfig deployment strategy with automatic rollback alarms
- Configure an EventBridge-triggered Lambda to quarantine a newly exposed resource; apply CloudFormation drift remediation through a reviewed template update
- Use State Manager associations to prevent recurring OS configuration drift; use CodeDeploy CloudWatch-alarm integration for automatic deployment rollback
- Use AWS Backup event notifications and a bounded retry workflow; apply CloudFormation drift remediation through a reviewed template update
- Require a Systems Manager Change Manager approval for high-risk production automation; use an SSM Automation role with a permissions boundary or narrow IAM policy
Explanation
Correct Answer
A:For the requirement to restore approved daemon settings when a node falls out of compliance, state Manager continuously applies declared configurations to matching managed instances; for the requirement to restore a resource's intended IaC state after manual infrastructure changes, a reviewed stack update can bring supported drifted resources back toward declared template state; both mechanisms are necessary; implementing only the first would leave the second unsatisfied.
Incorrect Answers
B:AppConfig can roll back a configuration deployment when monitored CloudWatch alarms indicate failure; that alternative supports the ability to revert a dynamic feature flag after application health degrades, but it is not the requested second outcome (restore a resource's intended IaC state after manual infrastructure changes). Even though the first half addresses restore approved daemon settings when a node falls out of compliance, this pair is incomplete.
C:This combination solves only the latter acceptance test. The substituted first control supports apply a narrow automated containment action after an unsafe resource change event: EventBridge invokes a Lambda target whose code can apply scoped AWS API changes when a rule matches. It does not implement restore approved daemon settings when a node falls out of compliance.
D:The first half is appropriate: State Manager continuously applies declared configurations to matching managed instances; however, CodeDeploy can stop and roll back eligible deployments when configured CloudWatch alarms enter ALARM; that serves a different objective (reverse a release that triggers the defined customer error alarm) and leaves the explicit need to restore a resource's intended IaC state after manual infrastructure changes unmet.
E:The second implementation is relevant; the problem is the first. AWS Backup job state events can feed EventBridge-driven notification and automation. It can help respond when a scheduled backup job fails before the recovery point objective is exceeded, whereas the stated first requirement is to restore approved daemon settings when a node falls out of compliance.
F:The pair changes the problem instead of completing it. One option addresses review a sensitive operational change before executing its runbook; the other addresses limit the changes an automated incident runbook can make. The release, however, needs to restore approved daemon settings when a node falls out of compliance as well as restore a resource's intended IaC state after manual infrastructure changes.
Question 403
A team is designing a reusable observability pattern. It must identify which downstream call dominates end-to-end request latency; it must also link asynchronous or downstream operations to the originating request trace. Which paired configuration is appropriate?
- Use CloudWatch dashboard widgets for a shared service SLO view; propagate trace context between microservices
- Use VPC Flow Logs for network traffic acceptance and rejection evidence; use metric math to alarm on ALB 5xx errors as a request ratio
- Enable AWS X-Ray tracing across supported API and Lambda components; propagate trace context between microservices
- Enable AWS X-Ray tracing across supported API and Lambda components; enable Amazon Inspector findings for supported compute workloads
Explanation
Correct Answer
C:The first outcome depends on the behavior that x-Ray traces and segments expose timing and dependencies across instrumented service calls. Separately, trace context propagation relates spans across a distributed request path. Together these meet the two requested outcomes, with the operational limits that request context must correlate latency across service boundaries and a trace identifier should flow through supported service integrations and headers.
Incorrect Answers
A:This combination solves only the latter acceptance test. The substituted first control supports show latency, errors, and saturation to incident responders in one panel: CloudWatch dashboards visualize selected metrics, logs, and alarms in a shared operational view. It does not implement identify which downstream call dominates end-to-end request latency.
B:Neither control directly supplies both requested behaviors. VPC Flow Logs record flow metadata such as source, destination, port, and accept or reject action; CloudWatch metric math combines compatible metrics to evaluate derived rates or ratios. Those mechanisms address different objectives. The specified capabilities are to identify which downstream call dominates end-to-end request latency and to link asynchronous or downstream operations to the originating request trace.
D:Combining a suitable first control with this second one misses the secondary acceptance criterion; inspector assesses supported workloads and produces vulnerability findings with affected-resource context; it helps identify software package vulnerabilities affecting deployed EC2 or container workloads rather than link asynchronous or downstream operations to the originating request trace.
Question 404
A service owner needs to separate encryption key management from broad object storage administration and manage related KMS key material for supported multi-Region cryptographic operations. Which paired controls deliver the requested behavior across both workstreams?
- Use customer managed KMS keys with explicitly scoped key policies; use multi-Region KMS keys where the supported encryption workflow needs related keys
- Use AWS KMS envelope encryption for sensitive application objects; use security group rules for stateful instance or ENI traffic control
- Use customer managed KMS keys with explicitly scoped key policies; use AWS Private CA for an organization-managed private certificate authority
- Use Amazon Macie for sensitive-data discovery in S3; use multi-Region KMS keys where the supported encryption workflow needs related keys
Explanation
Correct Answer
A:KMS key policies and grants determine who can use a protected customer managed key; multi-Region KMS keys allow related keys in selected Regions but do not make every AWS service resource global. The first control satisfies the need to separate encryption key management from broad object storage administration; the second addresses the need to manage related KMS key material for supported multi-Region cryptographic operations. Permissions must reflect both the resource API action and decrypt authorization; key replication, key policy, and regional resource configuration still require explicit management.
Incorrect Answers
B:The pair changes the problem instead of completing it. One option addresses encrypt bulk data using data keys protected by an AWS managed cryptographic boundary; the other addresses restrict inbound application ports while permitting corresponding return traffic. The release, however, needs to separate encryption key management from broad object storage administration as well as manage related KMS key material for supported multi-Region cryptographic operations.
C:The first half is appropriate: KMS key policies and grants determine who can use a protected customer managed key. However, AWS Private CA creates and operates private certificate authorities for issuing and managing private certificates; that serves a different objective (issue short-lived internal TLS certificates for private service identities) and leaves the explicit need to manage related KMS key material for supported multi-Region cryptographic operations unmet.
D:The second implementation is relevant; the problem is the first. Macie uses automated discovery and classification to identify sensitive data in supported S3 objects; it can help identify S3 objects that potentially contain sensitive information, whereas the stated first requirement is to separate encryption key management from broad object storage administration.
Question 405
During root-cause analysis, the team identifies the following: A security audit cannot tell which long-lived IAM user access keys remain active. To identify aging IAM user credentials that require rotation or removal, what should be configured?
- Use Amazon Macie sensitive-data findings for S3 exposure investigations
- Use IAM credential reports and access-key last-used data for periodic access review
- Use AWS WAF logging to analyze blocked HTTP requests
- Use VPC Flow Logs to investigate rejected network flows
- Use CloudWatch metric filters with alarms on sensitive security log patterns
Explanation
Correct Answer
B:To identify aging IAM user credentials that require rotation or removal, the architecture relies on this AWS behavior: IAM credential reports and access-key usage metadata support audits of IAM user authentication materials. The report should focus on IAM users and key use rather than role session credentials.
Incorrect Answers
A:Macie analyzes supported S3 objects and reports sensitive-data discovery findings. This is a reasonable option when the requirement is to identify buckets and objects that contain potentially regulated data, but it operates at a different workflow boundary from the stated need to identify aging IAM user credentials that require rotation or removal.
C:Although AWS WAF logs contain supported request and rule evaluation information for configured web ACLs, the scenario does not ask for investigate which web ACL rule is denying legitimate client requests; it requires the ability to identify aging IAM user credentials that require rotation or removal, which is a separate responsibility.
D:VPC Flow Logs record accepted and rejected flow metadata without capturing full packet payloads; this can help teams identify source, destination, and action details for a suspected network denial, but the reported workflow needs to identify aging IAM user credentials that require rotation or removal. It does not perform that required function.
E:That service solves a different operating problem: the need to alert when repeated access-denied or suspicious authentication events enter central logs; its behavior is that metric filters turn matching log events into CloudWatch measurements that can trigger alarms; the requested outcome remains identify aging IAM user credentials that require rotation or removal.
Question 406
For the current AWS workload, operators need to address the following together: (1) diagnose Kubernetes scheduling constraints rather than application code failure; (2) determine whether database request limits cause application retry storms. Which TWO actions complete the plan? Choose TWO.
- Inspect DynamoDB throttling and consumed capacity metrics
- Inspect EKS pod events and describe output for Pending pods
- Check ALB target-group health reason codes and the configured health path
- Inspect Lambda CloudWatch logs for timeout and initialization errors
- Inspect KMS key policies and grants for cross-account decrypt failures
Explanation
Correct Answers
A:DynamoDB metrics identify throttled reads and writes and provisioned or consumed capacity behavior; among the listed outcomes, it addresses determine whether database request limits cause application retry storms, rather than merely contributing a related signal or support step.
B:This covers the specific result to diagnose Kubernetes scheduling constraints rather than application code failure: kubernetes scheduling events explain why pending pods cannot be assigned to nodes. Cluster capacity, taints, and resource requests must be reviewed before restarting pods.
Incorrect Answers
C:ALB target-group status reason codes and health settings show why endpoints fail checks. That would be appropriate to diagnose why valid backend instances receive no load balancer traffic, but this is a different objective from the numbered obligations in the stem.
D:This mechanism supports the ability to explain missing API responses from a new Lambda deployment: Lambda logs include invocation results, duration, timeout messages, and runtime failures. It would not satisfy a different obligation just by appearing in the same workflow.
E:It supports a separate administrative task, namely to diagnose artifact decryption failure after S3 object access succeeds. Customer managed KMS key policies and principal permissions govern who may decrypt encrypted artifacts; the prompt's required outcomes are not achieved by substituting this control.
Question 407
The platform engineering team reports the following failure: Teams independently repeat the same ALB, scaling, and alarm configuration in CDK projects. Which action directly restores the requirement to package a standardized multi-resource infrastructure pattern into application code?
- Use AWS SAM transform resources for Lambda and API infrastructure
- Use CloudFormation dynamic references for protected parameter values
- Define an AWS CDK construct for a reusable platform pattern
- Use AWS CloudFormation Change Sets before updating a stack
- Apply CloudFormation Conditions to optional template resources
Explanation
Correct Answer
C:CDK constructs encapsulate infrastructure resources and synthesize AWS CloudFormation definitions; it enables the necessary capability to package a standardized multi-resource infrastructure pattern into application code rather than only providing an adjacent operational control. The abstraction must expose typed parameters while synthesizing CloudFormation templates.
Incorrect Answers
A:Although AWS SAM expands serverless resource declarations into supported CloudFormation resources during transformation, the scenario does not ask for describe serverless functions and their event sources concisely in an IaC template; it requires the ability to package a standardized multi-resource infrastructure pattern into application code, which is a separate responsibility.
B:Dynamic references let CloudFormation retrieve supported values from SSM Parameter Store or Secrets Manager; this can help teams avoid hardcoding a sensitive input in reusable infrastructure templates, but the reported workflow needs to package a standardized multi-resource infrastructure pattern into application code. It does not perform that required function.
D:The choice is useful when engineers need to inspect the proposed resource replacements and updates before executing infrastructure changes: a change set previews how CloudFormation intends to modify or replace resources before execution. It would not establish the control needed to package a standardized multi-resource infrastructure pattern into application code.
E:Conditions can determine resource creation and property values based on template parameters and functions; this is a reasonable option when the requirement is to provision a resource only when an environment parameter meets a defined requirement, but it operates at a different workflow boundary from the stated need to package a standardized multi-resource infrastructure pattern into application code.
Question 408
The security engineering team selects this control: Use security group rules for stateful instance or ENI traffic control. What associated scope or dependency matters most when using it to restrict inbound application ports while permitting corresponding return traffic?
- The organization must govern internal CA policies and certificate trust distribution
- Key replication, key policy, and regional resource configuration still require explicit management
- Controls must count matching web requests over a configured evaluation interval
- Routing and endpoint policy must match the supported S3 gateway endpoint model
- The rule should attach to the workload network interface boundary
Explanation
Correct Answer
E:The rule should attach to the workload network interface boundary. That is the governing deployment boundary for the selected control: security groups apply stateful allow rules to supported network interfaces and resources. If the boundary is missed, the design can fail to restrict inbound application ports while permitting corresponding return traffic.
Incorrect Answers
A:This condition governs the different mechanism used to issue short-lived internal TLS certificates for private service identities. AWS Private CA creates and operates private certificate authorities for issuing and managing private certificates; for the selected control, the relevant boundary is instead that the rule should attach to the workload network interface boundary.
B:Multi-Region KMS keys allow related keys in selected Regions but do not make every AWS service resource global; its own dependency is that key replication, key policy, and regional resource configuration still require explicit management; those details concern the separate objective of being able to manage related KMS key material for supported multi-Region cryptographic operations, rather than to the named control required to restrict inbound application ports while permitting corresponding return traffic.
C:The proposed condition makes sense in an implementation designed to limit repeated HTTP requests from sources that exceed an approved threshold. It concerns WAF rate-based rules track request rates for defined aggregation keys and act on matching excess traffic, whereas this question tests the prerequisite of the named control.
D:This proposed constraint belongs to a separate objective: routing and endpoint policy must match the supported S3 gateway endpoint model; the corresponding goal is to allow private subnet workloads to reach S3 without NAT for supported traffic, not the selected architecture's goal to restrict inbound application ports while permitting corresponding return traffic.
Question 409
A production ticket contains this symptom: A provisioned table is repeatedly throttled as request volume outgrows its capacity. The desired behavior is to adapt provisioned throughput targets to changing demand. What should be fixed?
- Place CloudFront caching ahead of read-heavy static content origins
- Use scheduled scaling for recurring predictable demand
- Use API Gateway throttling to bound request rates to a serverless backend
- Configure RDS storage autoscaling with a maximum threshold
- Use DynamoDB auto scaling for provisioned read and write capacity
Explanation
Correct Answer
E:DynamoDB Application Auto Scaling can change provisioned read or write capacity based on utilization targets; it restores the ability to adapt provisioned throughput targets to changing demand, provided the implementation also observes that the solution must adjust RCU and WCU settings rather than compute nodes.
Incorrect Answers
A:That service solves a different operating problem: the need to offload geographically distributed static requests from the origin. Its behavior is that CloudFront caches eligible objects at edge locations to reduce repeated origin requests and user latency. The requested outcome remains adapt provisioned throughput targets to changing demand.
B:The choice is useful when engineers need to preprovision EC2 capacity before a known daily traffic increase: scheduled actions change Auto Scaling desired or min and max capacity at specified times; it would not establish the control needed to adapt provisioned throughput targets to changing demand.
C:API Gateway throttling controls supported request rates and can return 429 responses when limits are exceeded; this is a reasonable option when the requirement is to protect Lambda and downstream systems from excessive caller traffic, but it operates at a different workflow boundary from the stated need to adapt provisioned throughput targets to changing demand.
D:Choosing this would aim to grow database storage as data expands without frequent manual storage modifications instead of adapt provisioned throughput targets to changing demand. RDS storage autoscaling grows allocated storage under supported conditions up to its configured maximum; it cannot replace the mechanism specified by the incident evidence.
Question 410
After a configuration change, the infrastructure automation group sees this issue: Lambda scales quickly but overwhelms a third-party rate-limited API. What best restores the ability to cap parallel invocations before a sensitive backend is saturated?
- Configure Karpenter or a supported EKS node autoscaler for unschedulable pods
- Use API Gateway throttling to bound request rates to a serverless backend
- Use an ECS capacity provider strategy for EC2 cluster capacity
- Use Lambda reserved concurrency to protect a downstream dependency
Explanation
Correct Answer
D:Reserved concurrency caps simultaneously executing Lambda instances for the configured function; it restores the ability to cap parallel invocations before a sensitive backend is saturated, provided the implementation also observes that concurrency must be constrained at the function boundary.
Incorrect Answers
A:The choice is useful when engineers need to add cluster nodes when pods cannot schedule due to insufficient capacity: node autoscalers provision or adjust worker capacity in response to pending pods and cluster constraints; it would not establish the control needed to cap parallel invocations before a sensitive backend is saturated.
B:API Gateway throttling controls supported request rates and can return 429 responses when limits are exceeded; this is a reasonable option when the requirement is to protect Lambda and downstream systems from excessive caller traffic, but it operates at a different workflow boundary from the stated need to cap parallel invocations before a sensitive backend is saturated.
C:Choosing this would aim to coordinate ECS service task placement with managed EC2 capacity instead of cap parallel invocations before a sensitive backend is saturated. ECS capacity providers can couple task placement and managed scaling of EC2 Auto Scaling capacity; it cannot replace the mechanism specified by the incident evidence.