Question 630
A production ticket contains this symptom: Pull requests repeatedly introduce storage resources without mandatory encryption properties. The desired behavior is to reject templates that violate machine-readable resource configuration standards. What should be fixed?
- Apply CloudFormation Guard rules in the infrastructure validation stage
- Use CloudFormation dynamic references for protected parameter values
- Use CDK Aspects to apply organization-wide checks or tags to constructs
- Publish approved infrastructure products through AWS Service Catalog
- Use CloudFormation hooks to validate resource configuration during stack operations
Explanation
Correct Answer
A:CloudFormation Guard checks supported template structures against declarative compliance rules; in this case the control is appropriate because it supports reject templates that violate machine-readable resource configuration standards. Policy validation must happen before CloudFormation executes changes.
Incorrect Answers
B:That service solves a different operating problem: the need to avoid hardcoding a sensitive input in reusable infrastructure templates; its behavior is that dynamic references let CloudFormation retrieve supported values from SSM Parameter Store or Secrets Manager; the requested outcome remains reject templates that violate machine-readable resource configuration standards.
C:The choice is useful when engineers need to enforce consistent tagging and validation across an application's CDK construct tree: CDK Aspects visit construct nodes to apply checks or modifications throughout a CDK application. It would not establish the control needed to reject templates that violate machine-readable resource configuration standards.
D:Service Catalog portfolios expose governed infrastructure products to authorized consumers. This is a reasonable option when the requirement is to let application teams self-service compliant infrastructure without broad template authoring access, but it operates at a different workflow boundary from the stated need to reject templates that violate machine-readable resource configuration standards.
E:Choosing this would aim to intercept stack resource operations that violate central deployment rules instead of reject templates that violate machine-readable resource configuration standards. CloudFormation hooks can enforce pre-provisioning or operation-time checks for supported resource types; it cannot replace the mechanism specified by the incident evidence.
Question 631
A release readiness review identifies 2 distinct controls to implement: (1) enforce centralized network-layer filtering across selected VPC traffic paths; (2) surface suspicious credentials and network behavior without building a custom detector. Select the TWO actions that jointly cover them. Choose TWO.
- Request an ACM-issued public certificate for a supported HTTPS endpoint
- Deploy AWS Network Firewall for stateful VPC traffic inspection
- Use AWS Private CA for an organization-managed private certificate authority
- Enable GuardDuty across organization accounts to detect suspicious activity
- Use multi-Region KMS keys where the supported encryption workflow needs related keys
Explanation
Correct Answers
B:Network Firewall inspects routed VPC traffic using stateless and stateful rule groups. This fulfills the stated requirement to enforce centralized network-layer filtering across selected VPC traffic paths. The operational limitation is that traffic must actually traverse the configured firewall endpoints by appropriate routing.
D:GuardDuty analyzes supported telemetry and uses threat detection to generate security findings; among the listed outcomes, it addresses surface suspicious credentials and network behavior without building a custom detector, rather than merely contributing a related signal or support step.
Incorrect Answers
A:AWS Certificate Manager provisions and renews eligible certificates for integrated AWS services; if the requirement were to automate TLS certificate provisioning for an AWS-managed load balancer, that would matter. The requested outcomes are separate from the one this option addresses.
C:This mechanism supports the ability 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. It would not satisfy a different obligation just by appearing in the same workflow.
E:Multi-Region KMS keys allow related keys in selected Regions but do not make every AWS service resource global; if the requirement were to manage related KMS key material for supported multi-Region cryptographic operations, that would matter; the requested outcomes are separate from the one this option addresses; the specified requirement instead is to enforce centralized network-layer filtering across selected VPC traffic paths.
Question 632
During root-cause analysis, the team identifies the following: A stack reports ROLLBACK_COMPLETE without a useful summary of the original failure. To identify the underlying resource error that triggered a stack rollback, what should be configured?
- Inspect CloudFormation stack events for the first failed resource
- Review CodeDeploy lifecycle hook logs and agent logs on target EC2 instances
- Use CloudTrail events to identify the caller behind an AccessDenied API action
- Inspect ECS service events and stopped-task reasons
Explanation
Correct Answer
A:CloudFormation stack events show per-resource transitions and service error messages; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: the first CREATE_FAILED or UPDATE_FAILED event is more informative than later rollback messages.
Incorrect Answers
B:CodeDeploy agent and deployment logs record instance-level lifecycle command behavior. This is a reasonable option when the requirement is to diagnose why an instance deployment fails during a lifecycle hook, but it operates at a different workflow boundary from the stated need to identify the underlying resource error that triggered a stack rollback.
C:Choosing this would aim to trace which principal and resource action caused a failed automation request instead of identify the underlying resource error that triggered a stack rollback. CloudTrail supported management events can show the assumed role, action, and error context; it cannot replace the mechanism specified by the incident evidence.
D:Although ECS service events and stopped task metadata describe placement and startup failures, the scenario does not ask for diagnose an ECS service unable to reach steady state; it requires the ability to identify the underlying resource error that triggered a stack rollback, which is a separate responsibility.
Question 633
A production-readiness assessment calls out two missing capabilities: centralize workforce lifecycle while retaining the corporate identity provider and grant a Kubernetes workload AWS permissions without using the node IAM role. Choose the AWS implementation that explicitly addresses both.
- Use IAM Identity Center with an external identity provider federation; attach an instance profile with a scoped IAM role to EC2
- Use IAM Identity Center with an external identity provider federation; use EKS IAM Roles for Service Accounts or supported EKS Pod Identity
- Use IAM Identity Center with an external identity provider federation; use a resource-based policy on an S3 bucket for a cross-account principal
- Assign AWS IAM Identity Center permission sets to workforce groups; configure IAM role trust conditions with an external ID for a third-party provider
- Use an IAM role with STS temporary credentials for cross-account operations; use EKS IAM Roles for Service Accounts or supported EKS Pod Identity
Explanation
Correct Answer
B:For the requirement to centralize workforce lifecycle while retaining the corporate identity provider, IAM Identity Center integrates with supported identity providers for federated workforce access; for the requirement to grant a Kubernetes workload AWS permissions without using the node IAM role, EKS workload identity mechanisms associate an AWS IAM role with a Kubernetes service account or pod; both mechanisms are necessary; implementing only the first would leave the second unsatisfied.
Incorrect Answers
A:The first half is appropriate: IAM Identity Center integrates with supported identity providers for federated workforce access. However, an EC2 instance profile provides temporary role credentials to applications running on the instance; that serves a different objective (give an EC2 application temporary credentials to call an AWS API) and leaves the explicit need to grant a Kubernetes workload AWS permissions without using the node IAM role unmet.
C:Combining a suitable first control with this second one misses the secondary acceptance criterion; an S3 bucket policy can grant a specified external principal access to selected object ARNs; it helps authorize a designated external role to access a narrow set of objects rather than grant a Kubernetes workload AWS permissions without using the node IAM role.
D:Neither control directly supplies both requested behaviors. IAM Identity Center provisions account roles through permission-set assignments to users and groups; the sts:ExternalId condition helps a provider distinguish authorized cross-account assume-role requests. Those mechanisms address different objectives. The specified capabilities are to centralize workforce lifecycle while retaining the corporate identity provider and to grant a Kubernetes workload AWS permissions without using the node IAM role.
E:The second implementation is relevant; the problem is the first. STS AssumeRole issues expiring credentials for a trusted role rather than persistent user secrets; it can help avoid distributing durable access keys for central administration in member accounts, whereas the stated first requirement is to centralize workforce lifecycle while retaining the corporate identity provider.
Question 634
The production plan uses this approach: Use conditional writes or deduplication keys to make a remediation handler idempotent. The goal is to prevent repeated event delivery from causing duplicate infrastructure changes. Which prerequisite or limitation should receive focused review?
- Findings should reflect resource configuration rather than instance command status
- The response must remain safe under at-least-once delivery semantics
- The automation identity must be declared and trusted independently of its triggering user
- Targets need SSM connectivity and permissions rather than inbound administrative ports
- Poison messages must remain available for later diagnosis outside the main queue
Explanation
Correct Answer
B:The implementation has to honor the exact constraint: the response must remain safe under at-least-once delivery semantics. Idempotency controls make repeated executions converge on the same intended side effect.
Incorrect Answers
A:The proposed condition makes sense in an implementation designed to detect resources that diverge from a defined account-level configuration policy. It concerns config rules evaluate supported resource configurations against policy and report compliance outcomes, whereas this question tests the prerequisite of the named control.
C:This condition governs the different mechanism used to run an approved automation document under a dedicated role rather than a user's permissions. Automation can assume an assigned IAM role to run documented steps with explicit API permissions; for the selected control, the relevant boundary is instead that the response must remain safe under at-least-once delivery semantics.
D:Run Command dispatches supported command documents to selected managed nodes and records execution results; its own dependency is that targets need SSM connectivity and permissions rather than inbound administrative ports; those details concern the separate objective of being able to run a one-time script against a tagged fleet without SSH access, rather than to the named control required to prevent repeated event delivery from causing duplicate infrastructure changes.
E:The proposed condition makes sense in an implementation designed to isolate messages that exceed the permitted receive-attempt count. It concerns SQS redrive policies move repeatedly unsuccessfully processed messages to a designated dead-letter queue, whereas this question tests the prerequisite of the named control.
Question 635
The production support team selects this control: Use Systems Manager Inventory to collect managed-node software metadata. What associated scope or dependency matters most when using it to report installed applications and instance configuration across the managed fleet?
- The workflow needs controlled execution steps and an assumable automation role
- Approved and rejected patch criteria should be managed centrally
- Targets need SSM connectivity and permissions rather than inbound administrative ports
- Agent distribution must use managed package versions and installation commands
- Inventory collection must run on nodes with the required managed-node configuration
- Automation must bound concurrency even when incoming event volume spikes
Explanation
Correct Answer
E:The implementation has to honor the exact constraint: inventory collection must run on nodes with the required managed-node configuration; Systems Manager Inventory collects supported software and configuration metadata for fleet reporting.
Incorrect Answers
A:This proposed constraint belongs to a separate objective: the workflow needs controlled execution steps and an assumable automation role. The corresponding goal is to combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook, not the selected architecture's goal to report installed applications and instance configuration across the managed fleet.
B:This condition governs the different mechanism used to scan and install operating-system updates according to approved patch classifications. Patch Manager applies selected baselines to supported managed nodes for scan or install operations; for the selected control, the relevant boundary is instead that inventory collection must run on nodes with the required managed-node configuration.
C:Run Command dispatches supported command documents to selected managed nodes and records execution results; its own dependency is that targets need SSM connectivity and permissions rather than inbound administrative ports; those details concern the separate objective of being able to run a one-time script against a tagged fleet without SSH access, rather than to the named control required to report installed applications and instance configuration across the managed fleet.
D:The proposed condition makes sense in an implementation designed to publish an internal agent package and distribute it to managed nodes; it concerns distributor manages software packages that can be installed or updated through Systems Manager workflows, whereas this question tests the prerequisite of the named control.
F:This condition governs the different mechanism used to cap the number of concurrent handlers acting on a sensitive downstream API. Reserved concurrency sets a function-level limit and allocation of simultaneous Lambda executions; for the selected control, the relevant boundary is instead that inventory collection must run on nodes with the required managed-node configuration.
Question 636
Before approving an automated rollout, the security team must encrypt bulk data using data keys protected by an AWS managed cryptographic boundary and manage related KMS key material for supported multi-Region cryptographic operations. Which combination covers the two distinct controls?
- Use AWS KMS envelope encryption for sensitive application objects; use multi-Region KMS keys where the supported encryption workflow needs related keys
- Use AWS Firewall Manager organization security policies for WAF protections; use multi-Region KMS keys where the supported encryption workflow needs related keys
- Use AWS WAF managed rules on the web-facing ALB; enable GuardDuty across organization accounts to detect suspicious activity
- Use AWS KMS envelope encryption for sensitive application objects; use Amazon Macie for sensitive-data discovery in S3
Explanation
Correct Answer
A:Envelope encryption uses a data key for bulk data and KMS to protect or generate that 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 encrypt bulk data using data keys protected by an AWS managed cryptographic boundary; the second addresses the need to manage related KMS key material for supported multi-Region cryptographic operations. The design should keep plaintext data keys controlled and protect their encrypted form; key replication, key policy, and regional resource configuration still require explicit management.
Incorrect Answers
B:The second implementation is relevant; the problem is the first. Firewall Manager manages supported security policies across accounts and can apply WAF protections to in-scope resources; it can help enforce an approved web ACL policy on supported public application endpoints across member accounts, whereas the stated first requirement is to encrypt bulk data using data keys protected by an AWS managed cryptographic boundary.
C:The pair changes the problem instead of completing it. One option addresses filter common malicious HTTP request patterns before they reach the application; the other addresses surface suspicious credentials and network behavior without building a custom detector. The release, however, needs to encrypt bulk data using data keys protected by an AWS managed cryptographic boundary as well as manage related KMS key material for supported multi-Region cryptographic operations.
D:The first half is appropriate: Envelope encryption uses a data key for bulk data and KMS to protect or generate that key. However, Macie uses automated discovery and classification to identify sensitive data in supported S3 objects; that serves a different objective (identify S3 objects that potentially contain sensitive information) and leaves the explicit need to manage related KMS key material for supported multi-Region cryptographic operations unmet.
Question 637
A platform implementation has two separate dependencies: report installed applications and instance configuration across the managed fleet, and publish an internal agent package and distribute it to managed nodes. Select the combination that addresses both rather than only one.
- Use Systems Manager Inventory to collect managed-node software metadata; use EventBridge Scheduler for per-task scheduled API invocations
- Use Lambda reserved concurrency to limit simultaneous remediation functions; use Systems Manager Distributor for controlled software-package deployment
- Use Systems Manager Inventory to collect managed-node software metadata; use Systems Manager Distributor for controlled software-package deployment
- Use Systems Manager Inventory to collect managed-node software metadata; use Systems Manager Automation assumeRole for scoped API execution
- Use AWS Config custom or managed rules for compliance evaluation; use Systems Manager Maintenance Windows for scheduled fleet operations
Explanation
Correct Answer
C:Systems Manager Inventory collects supported software and configuration metadata for fleet reporting; this handles the first acceptance condition, subject to the boundary that inventory collection must run on nodes with the required managed-node configuration. The remaining condition is handled separately: distributor manages software packages that can be installed or updated through Systems Manager workflows, with agent distribution must use managed package versions and installation commands.
Incorrect Answers
A:Combining a suitable first control with this second one misses the secondary acceptance criterion; EventBridge Scheduler manages time-based invocation schedules with supported targets and retry policies; it helps invoke a service API at a one-time or recurring schedule without hosting a cron instance rather than publish an internal agent package and distribute it to managed nodes.
B:Reserved concurrency sets a function-level limit and allocation of simultaneous Lambda executions; that is intended to cap the number of concurrent handlers acting on a sensitive downstream API, not to report installed applications and instance configuration across the managed fleet. The second half can meet the requirement to publish an internal agent package and distribute it to managed nodes, but the first is still missing.
D:Combining a suitable first control with this second one misses the secondary acceptance criterion; automation can assume an assigned IAM role to run documented steps with explicit API permissions; it helps run an approved automation document under a dedicated role rather than a user's permissions rather than publish an internal agent package and distribute it to managed nodes.
E:Neither control directly supplies both requested behaviors. Config rules evaluate supported resource configurations against policy and report compliance outcomes; maintenance Windows schedule supported tasks against registered targets at specified times. Those mechanisms address different objectives. The specified capabilities are to report installed applications and instance configuration across the managed fleet and to publish an internal agent package and distribute it to managed nodes.
Question 638
An observability architecture decision must satisfy two different outcomes, not just choose one AWS feature: detect external failures in a multi-step website journey before users report them and avoid triggering rollbacks on one isolated noisy metric datapoint. Which implementation does that?
- Use CloudWatch Synthetics canaries to validate a customer workflow; use CloudWatch dashboard widgets for a shared service SLO view
- Propagate trace context between microservices; set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately
- Use CloudWatch Synthetics canaries to validate a customer workflow; set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately
- Use VPC Flow Logs for network traffic acceptance and rejection evidence; enable AWS X-Ray tracing across supported API and Lambda components
Explanation
Correct Answer
C:Synthetics canaries execute scripts and publish availability and step-level results; evaluation periods and datapoints-to-alarm control how many recent breaches cause an alarm state. The first control satisfies the need to detect external failures in a multi-step website journey before users report them; the second addresses the need to avoid triggering rollbacks on one isolated noisy metric datapoint. The check must exercise actual HTTP or browser behavior on a defined schedule; the alarm should represent sustained violation of a measurable service objective.
Incorrect Answers
A:CloudWatch dashboards visualize selected metrics, logs, and alarms in a shared operational view; that alternative supports the ability to show latency, errors, and saturation to incident responders in one panel, but it is not the requested second outcome (avoid triggering rollbacks on one isolated noisy metric datapoint). Even though the first half addresses detect external failures in a multi-step website journey before users report them, this pair is incomplete.
B:This combination solves only the latter acceptance test. The substituted first control supports link asynchronous or downstream operations to the originating request trace: trace context propagation relates spans across a distributed request path. It does not implement detect external failures in a multi-step website journey before users report them.
D:These are legitimate AWS controls for different outcomes: VPC Flow Logs record flow metadata such as source, destination, port, and accept or reject action, whereas x-Ray traces and segments expose timing and dependencies across instrumented service calls. The problem instead requires the ability to detect external failures in a multi-step website journey before users report them and to avoid triggering rollbacks on one isolated noisy metric datapoint.
Question 639
The production plan uses this approach: Separate performance threshold checks from functional correctness tests. The goal is to fail a release when latency regresses even though all APIs still return successful status codes. Which prerequisite or limitation should receive focused review?
- The gate must compare measurements against a specific performance baseline
- The test stage must consume the staged endpoint and block the next stage if it fails
- Representative load must be applied without competing with customer traffic
- Experiments need explicit stop conditions and safety controls to limit blast radius
Explanation
Correct Answer
A:The implementation has to honor the exact constraint: the gate must compare measurements against a specific performance baseline; performance testing assesses response-time and throughput targets distinct from pass or fail functionality.
Incorrect Answers
B:This condition governs the different mechanism used to fail a promotion flow based on smoke-test results for the deployed service; a pipeline test action turns post-deployment health verification into an enforceable promotion gate; for the selected control, the relevant boundary is instead that the gate must compare measurements against a specific performance baseline.
C:Dedicated performance testing reveals scale and bottleneck behavior while isolating intentional high load; its own dependency is that representative load must be applied without competing with customer traffic. Those details concern the separate objective of being able to measure throughput and latency under expected concurrency without degrading production, rather than to the named control required to fail a release when latency regresses even though all APIs still return successful status codes.
D:The proposed condition makes sense in an implementation designed to validate that a multi-AZ application survives a deliberately introduced infrastructure fault; it concerns fault Injection Service can inject supported disruptions so teams can measure actual resilience behavior, whereas this question tests the prerequisite of the named control.
Question 640
A production ticket contains this symptom: Readers in a distant Region incur latency from a single primary cluster. The desired behavior is to provide low-latency cross-Region database reads and a regional recovery path. What should be fixed?
- Enable S3 Cross-Region Replication for selected versioned objects
- Configure DynamoDB global tables for multi-Region active-active access
- Use an Aurora Global Database with secondary Region clusters
- Use Route 53 latency routing for healthy regional endpoints
Explanation
Correct Answer
C:Aurora Global Database replicates from a primary cluster to secondary regional clusters for reads and recovery; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: a planned regional recovery strategy must account for replication lag and switchover behavior.
Incorrect Answers
A:Choosing this would aim to retain replicated application objects in a separate disaster-recovery Region instead of provide low-latency cross-Region database reads and a regional recovery path. S3 replication asynchronously copies eligible object versions to configured destination buckets; it cannot replace the mechanism specified by the incident evidence.
B:Although DynamoDB global tables replicate data among participating Regions and support multi-Region writes, the scenario does not ask for allow application writes in more than one AWS Region with replication; it requires the ability to provide low-latency cross-Region database reads and a regional recovery path, which is a separate responsibility.
D:That service solves a different operating problem: the need to direct global clients toward the Region with better measured network latency; its behavior is that Route 53 latency policies select records based on measured latency among configured Regions; the requested outcome remains provide low-latency cross-Region database reads and a regional recovery path.