Question 320
The cloud operations group proposes this implementation: Maintain tested IaC and AMI releases in the disaster recovery Region. Its intended result is to recreate known-good application capacity from immutable infrastructure definitions. Which implementation consideration is most specific to that choice?
- Success must be measured from observed restoration and data loss rather than architecture diagrams
- The recovery environment must reproduce network, IAM, and compute configuration deterministically
- Recovery automation must launch additional application capacity after failover
- Object change history needs to be retained according to the bucket retention model
- Regional disaster recovery should not be triggered when native Multi-AZ failover is adequate
Explanation
Correct Answer
B:The requested behavior is to recreate known-good application capacity from immutable infrastructure definitions, and the recovery environment must reproduce network, IAM, and compute configuration deterministically. The underlying AWS behavior is that versioned IaC and images allow consistent restoration of application infrastructure.
Incorrect Answers
A:This condition governs the different mechanism used to validate recovery performance against business-approved thresholds. Controlled recovery tests expose dependencies, manual delays, and replication gaps before incidents; for the selected control, the relevant boundary is instead that the recovery environment must reproduce network, IAM, and compute configuration deterministically.
C:The proposed condition makes sense in an implementation designed to maintain replicated core data while minimizing always-on application compute cost. It concerns pilot light maintains minimal core components ready and brings up remaining tiers during recovery, whereas this question tests the prerequisite of the named control.
D:This proposed constraint belongs to a separate objective: object change history needs to be retained according to the bucket retention model; the corresponding goal is to recover an overwritten or deleted application object from an earlier version, not the selected architecture's goal to recreate known-good application capacity from immutable infrastructure definitions.
E:This condition governs the different mechanism used to restore database service availability without promoting a cross-Region read replica. RDS Multi-AZ can fail over to a maintained standby in another zone using the managed DB endpoint; for the selected control, the relevant boundary is instead that the recovery environment must reproduce network, IAM, and compute configuration deterministically.
Question 321
The architecture record specifies: Attach validation hooks to a Lambda CodeDeploy deployment. To support the goal to run pre-traffic or post-traffic checks before accepting an alias cutover, which consideration should the engineer validate?
- The old environment should remain ready during a traffic switch
- Clients must invoke a stable alias while versions remain immutable
- A failed validation hook must stop or fail the deployment workflow
- Rollback must be linked to an explicit monitored deployment failure condition
Explanation
Correct Answer
C:The implementation has to honor the exact constraint: a failed validation hook must stop or fail the deployment workflow; Lambda deployment lifecycle hooks invoke designated validation functions for pre- and post-traffic checks.
Incorrect Answers
A:CodeDeploy blue/green can provision replacement EC2 instances and reroute traffic after health checks; its own dependency is that the old environment should remain ready during a traffic switch; those details concern the separate objective of being able to replace an entire instance release without modifying the current live fleet, rather than to the named control required to run pre-traffic or post-traffic checks before accepting an alias cutover.
B:The proposed condition makes sense in an implementation designed to release immutable Lambda code while keeping callers on a stable function reference. It concerns a published Lambda version snapshots code and configuration; an alias can reference the selected version, whereas this question tests the prerequisite of the named control.
D:This condition governs the different mechanism used to halt an EC2 release when service health violates a CloudWatch alarm; CodeDeploy can monitor CloudWatch alarms and stop or roll back deployments based on configured criteria; for the selected control, the relevant boundary is instead that a failed validation hook must stop or fail the deployment workflow.
Question 322
A production ticket contains this symptom: The ALB sends requests to hosts whose service process is alive but API dependencies are broken. The desired behavior is to stop sending new traffic to application instances that fail readiness checks. What should be fixed?
- Use CloudFront origins with origin failover for eligible requests
- Enable ALB target-group health checks with a representative health path
- Enable S3 Cross-Region Replication for selected versioned objects
- Use Route 53 latency routing for healthy regional endpoints
Explanation
Correct Answer
B:Target group health checks determine which registered targets receive load balancer traffic. It restores the ability to stop sending new traffic to application instances that fail readiness checks, provided the implementation also observes that the health endpoint should reflect readiness for the routed workload.
Incorrect Answers
A:Choosing this would aim to keep cacheable web content reachable if the primary origin fails instead of stop sending new traffic to application instances that fail readiness checks; CloudFront origin groups can switch eligible requests to a secondary origin on configured primary failures; it cannot replace the mechanism specified by the incident evidence.
C:S3 replication asynchronously copies eligible object versions to configured destination buckets; this can help teams retain replicated application objects in a separate disaster-recovery Region, but the reported workflow needs to stop sending new traffic to application instances that fail readiness checks. It does not perform that required function.
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 stop sending new traffic to application instances that fail readiness checks.
Question 323
The architecture record specifies: Enable S3 Cross-Region Replication for selected versioned objects. To support the goal to retain replicated application objects in a separate disaster-recovery Region, which consideration should the engineer validate?
- The design must reconcile multi-Region replicated changes rather than use a read-only replica
- The application should keep using its database endpoint after managed failover
- Source and destination buckets need versioning and replication configuration
- Application sessions must survive instance replacement and Availability Zone movement
Explanation
Correct Answer
C:The requested behavior is to retain replicated application objects in a separate disaster-recovery Region, and source and destination buckets need versioning and replication configuration. The underlying AWS behavior is that S3 replication asynchronously copies eligible object versions to configured destination buckets.
Incorrect Answers
A:This proposed constraint belongs to a separate objective: the design must reconcile multi-Region replicated changes rather than use a read-only replica; the corresponding goal is to allow application writes in more than one AWS Region with replication, not the selected architecture's goal to retain replicated application objects in a separate disaster-recovery Region.
B:This condition governs the different mechanism used to provide automatic database failover after a primary Availability Zone outage. RDS Multi-AZ deployments maintain a standby or multi-instance arrangement for managed failover; for the selected control, the relevant boundary is instead that source and destination buckets need versioning and replication configuration.
D:The proposed condition makes sense in an implementation designed to allow requests to move among instances without losing user session context; it concerns externalizing session data removes per-instance affinity as a correctness requirement for request handling, whereas this question tests the prerequisite of the named control; the specified requirement instead is to retain replicated application objects in a separate disaster-recovery Region.
Question 324
The architecture record specifies: Use IAM database authentication for a supported RDS engine and client. To support the goal to reduce reliance on stored passwords for supported database connections, which consideration should the engineer validate?
- Per-workload identity should restrict permissions to the required AWS APIs
- The condition must apply to supported request paths and account for AWS service-to-service exceptions
- The database and client must support IAM authentication and TLS requirements
- Corporate authentication and AWS account assignments must work together
- The build project role should authorize only required artifact and deployment operations
Explanation
Correct Answer
C:The database and client must support IAM authentication and TLS requirements. Without this, choosing the named service is not enough to produce the promised outcome; IAM database authentication generates short-lived authentication tokens for supported RDS database engines.
Incorrect Answers
A:This condition governs the different mechanism used 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; for the selected control, the relevant boundary is instead that the database and client must support IAM authentication and TLS requirements.
B:The source VPC endpoint condition can constrain eligible requests to a designated private endpoint path; its own dependency is that the condition must apply to supported request paths and account for AWS service-to-service exceptions. Those details concern the separate objective of being able to deny access to a sensitive resource unless requests use an approved VPC endpoint, rather than to the named control required to reduce reliance on stored passwords for supported database connections.
D:This proposed constraint belongs to a separate objective: corporate authentication and AWS account assignments must work together. The corresponding goal is to centralize workforce lifecycle while retaining the corporate identity provider, not the selected architecture's goal to reduce reliance on stored passwords for supported database connections.
E:This condition governs the different mechanism used to prevent CI workers from embedding persistent AWS keys in build scripts; CodeBuild obtains temporary service-role credentials to call authorized AWS APIs during builds; for the selected control, the relevant boundary is instead that the database and client must support IAM authentication and TLS requirements.
Question 325
A delivery engineer is responsible for a compound requirement: (1) control the capacity margin during rolling task replacement; (2) automatically restore an earlier task deployment after a rolling deployment cannot stabilize. Which TWO controls provide the requested functions? Choose TWO.
- Configure ECS service deployment circuit breaker and rollback
- Set appropriate ECS deployment minimum healthy percent and maximum percent
- Install and run the CodeDeploy agent on target EC2 instances
- Attach CodeDeploy deployment alarms for automatic stop or rollback
- Use a weighted Lambda alias for gradual traffic migration
- Use CodeDeploy Lambda canary deployment with an alias
Explanation
Correct Answers
A:The corresponding obligation is to automatically restore an earlier task deployment after a rolling deployment cannot stabilize. The ECS deployment circuit breaker can mark rolling deployments failed and roll back to a prior completed deployment; that behavior is the reason this action belongs in the selected answer set.
B:ECS deployment percentages bound the numbers of running and pending tasks during a rolling update; among the listed outcomes, it addresses control the capacity margin during rolling task replacement, rather than merely contributing a related signal or support step.
Incorrect Answers
C:The CodeDeploy agent polls for work and runs lifecycle instructions on managed EC2 or on-premises hosts; if the requirement were to make instances eligible to receive CodeDeploy lifecycle instructions, that would matter. The requested outcomes are separate from the one this option addresses.
D:CodeDeploy can monitor CloudWatch alarms and stop or roll back deployments based on configured criteria; that would be appropriate to halt an EC2 release when service health violates a CloudWatch alarm, but this is a different objective from the numbered obligations in the stem.
E:This mechanism supports the ability to split invocation traffic between two published Lambda versions without changing callers: a Lambda alias can distribute invocations between its primary and additional published version. It would not satisfy a different obligation just by appearing in the same workflow.
F:It supports a separate administrative task, namely to expose a small percentage of Lambda invocations to a new version before full promotion. CodeDeploy can update Lambda alias traffic weights using canary configurations. The prompt's required outcomes are not achieved by substituting this control.
Question 326
An incident record says: A Terraform platform team bypasses Control Tower to create its new project accounts. To restore the capability to integrate governed account provisioning with existing Terraform-based request automation, which change addresses the root cause?
- Use AWS Control Tower Account Factory to provision governed accounts
- Use cross-account STS AssumeRole for automated administration
- Place accounts into purpose-specific organizational units
- Use Control Tower Account Factory for Terraform where supported by the enterprise workflow
- Use Control Tower landing-zone controls for preventive and detective governance
- Use AWS Organizations CreateAccount automation for programmatic member creation
Explanation
Correct Answer
D:Account Factory for Terraform integrates account-vending workflows with Control Tower governance; it enables the necessary capability to integrate governed account provisioning with existing Terraform-based request automation rather than only providing an adjacent operational control. Accounts should remain enrolled in approved landing-zone controls.
Incorrect Answers
A:The choice is useful when engineers need to create new workload accounts with standardized landing-zone controls: account Factory provisions accounts under a landing-zone structure using configured account baselines. It would not establish the control needed to integrate governed account provisioning with existing Terraform-based request automation.
B:STS AssumeRole returns temporary credentials for a trusted role whose permissions constrain the session; this is a reasonable option when the requirement is to let central automation perform scoped tasks in governed member accounts, but it operates at a different workflow boundary from the stated need to integrate governed account provisioning with existing Terraform-based request automation.
C:Choosing this would aim to separate development and production accounts into different policy inheritance scopes instead of integrate governed account provisioning with existing Terraform-based request automation. Organizational units group accounts and establish boundaries for inherited organization policies; it cannot replace the mechanism specified by the incident evidence.
E:Control Tower controls can enforce or detect supported rules across enrolled organizational units; this can help teams establish managed governance expectations when onboarding accounts, but the reported workflow needs to integrate governed account provisioning with existing Terraform-based request automation. It does not perform that required function.
F:That service solves a different operating problem: the need to automate account creation and consolidate billing within an organization. Its behavior is that organizations supports asynchronous member account creation through its account APIs. The requested outcome remains integrate governed account provisioning with existing Terraform-based request automation.
Question 327
An automated check detects: Bad code is merged before the repository's release pipeline runs its tests. Which remediation directly supports the requirement to evaluate a proposed change before it merges into a protected branch?
- Use pull request events to start a pre-merge validation build
- Configure CodeBuild test reports with the supported report-file format
- Use CodeBuild batch builds for a supported test matrix
- Run acceptance tests after staging deployment and before approval
Explanation
Correct Answer
A:PR-triggered builds can test changes earlier than post-merge releases and support branch protection workflows; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: validation must execute for proposed revisions and feed status to the review process.
Incorrect Answers
B:Choosing this would aim to expose test-suite pass rates and failing cases for each build execution instead of evaluate a proposed change before it merges into a protected branch; CodeBuild reads supported report files from configured paths and associates results with report groups; it cannot replace the mechanism specified by the incident evidence.
C:Although batch builds support coordinated multiple build configurations and associated aggregate status, the scenario does not ask for run compatible test variations in parallel and consolidate their outcomes; it requires the ability to evaluate a proposed change before it merges into a protected branch, which is a separate responsibility.
D:Acceptance checks validate end-to-end expected behavior and can fail the pipeline before production; this can help teams verify business workflows on a deployed candidate before production promotion, but the reported workflow needs to evaluate a proposed change before it merges into a protected branch. It does not perform that required function.
Question 328
The architecture record specifies: Apply CloudFormation Guard rules in the infrastructure validation stage. To support the goal to reject templates that violate machine-readable resource configuration standards, which consideration should the engineer validate?
- Platform owners must constrain which templates and versions can be provisioned
- CloudFormation should resolve the protected value from its secret or parameter store
- Policy validation must happen before CloudFormation executes changes
- One parameterized template should selectively include appropriate resources
Explanation
Correct Answer
C:Policy validation must happen before CloudFormation executes changes. Without this, choosing the named service is not enough to produce the promised outcome; CloudFormation Guard checks supported template structures against declarative compliance rules.
Incorrect Answers
A:This condition governs the different mechanism used to let application teams self-service compliant infrastructure without broad template authoring access. Service Catalog portfolios expose governed infrastructure products to authorized consumers. For the selected control, the relevant boundary is instead that policy validation must happen before CloudFormation executes changes.
B:Dynamic references let CloudFormation retrieve supported values from SSM Parameter Store or Secrets Manager; its own dependency is that CloudFormation should resolve the protected value from its secret or parameter store. Those details concern the separate objective of being able to avoid hardcoding a sensitive input in reusable infrastructure templates, rather than to the named control required to reject templates that violate machine-readable resource configuration standards.
D:This proposed constraint belongs to a separate objective: one parameterized template should selectively include appropriate resources. The corresponding goal is to provision a resource only when an environment parameter meets a defined requirement, not the selected architecture's goal to reject templates that violate machine-readable resource configuration standards.
Question 329
The next AWS platform release needs to preserve recoverable backups outside the source Region while also being able to periodically verify recoverability rather than assuming a backup job is sufficient. Which pairing best supports that release?
- Copy supported AWS Backup recovery points to another Region; use Route 53 health-checked failover records for a pretested recovery endpoint
- Copy supported AWS Backup recovery points to another Region; use AWS Backup restore testing plans for supported resources
- Implement a pilot-light DR architecture in a secondary Region; use active-active multi-Region deployment with regional traffic steering
- Enable AWS Backup Vault Lock in an appropriate mode; use AWS Backup restore testing plans for supported resources
- Copy supported AWS Backup recovery points to another Region; define AWS Backup plans and selections using resource tags
Explanation
Correct Answer
B:For the requirement to preserve recoverable backups outside the source Region, AWS Backup copy rules replicate supported recovery points to destination vaults in other Regions; for the requirement to periodically verify recoverability rather than assuming a backup job is sufficient, AWS Backup restore testing automates recovery-point selection and supported restore testing workflows. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.
Incorrect Answers
A:Failover routing can resolve the standby record based on health state, subject to client caching; that alternative supports the ability to automate DNS-level cutover after the primary regional endpoint fails, but it is not the requested second outcome (periodically verify recoverability rather than assuming a backup job is sufficient). Even though the first half addresses preserve recoverable backups outside the source Region, this pair is incomplete.
C:Neither control directly supplies both requested behaviors. Pilot light maintains minimal core components ready and brings up remaining tiers during recovery; active-active systems keep multiple regional stacks serving requests, reducing activation time at the cost of complexity. Those mechanisms address different objectives. The specified capabilities are to preserve recoverable backups outside the source Region and to periodically verify recoverability rather than assuming a backup job is sufficient.
D:The second implementation is relevant; the problem is the first. Backup Vault Lock enforces supported WORM retention protections according to its configured mode; it can help protect retained backup recovery points from early deletion, whereas the stated first requirement is to preserve recoverable backups outside the source Region.
E:Combining a suitable first control with this second one misses the secondary acceptance criterion; AWS Backup plans and tag-based selections assign eligible resources to backup rules; it helps apply centralized backup schedules to eligible resources as fleets change rather than periodically verify recoverability rather than assuming a backup job is sufficient.
Question 330
The platform engineering team selects this control: Place CloudFront caching ahead of read-heavy static content origins. What associated scope or dependency matters most when using it to offload geographically distributed static requests from the origin?
- Preinitialized instances should be available for faster activation
- Scaling should change replicas rather than only increase a container resource limit
- Application cache invalidation and expiration must be designed explicitly
- The edge cache should respect origin cache headers and invalidation decisions
Explanation
Correct Answer
D:The requested behavior is to offload geographically distributed static requests from the origin, and the edge cache should respect origin cache headers and invalidation decisions. The underlying AWS behavior is that CloudFront caches eligible objects at edge locations to reduce repeated origin requests and user latency.
Incorrect Answers
A:The proposed condition makes sense in an implementation designed to reduce scale-out readiness time for an application with lengthy initialization; it concerns an Auto Scaling warm pool holds initialized instances in a supported state for later scale-out, whereas this question tests the prerequisite of the named control; the specified requirement instead is to offload geographically distributed static requests from the origin.
B:This proposed constraint belongs to a separate objective: scaling should change replicas rather than only increase a container resource limit. The corresponding goal is to scale pod replicas for demand without changing each pod's compute limits, not the selected architecture's goal to offload geographically distributed static requests from the origin.
C:This condition governs the different mechanism used to reduce database read pressure for frequently requested reusable data. An in-memory cache serves hot keys without a round trip to the primary database for every read; for the selected control, the relevant boundary is instead that the edge cache should respect origin cache headers and invalidation decisions.