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.
Question 641
After a configuration change, the release manager sees this issue: A risky ECS release replaces tasks in place without a separate task set for validation. What best restores the ability to shift load balancer traffic from the old ECS task set to the new task set?
- Choose a supported ECS canary traffic-shift configuration
- Set termination wait time for a CodeDeploy ECS blue/green deployment
- Configure ECS service deployment circuit breaker and rollback
- Use CodeDeploy ECS blue/green with two target groups
Explanation
Correct Answer
D:CodeDeploy blue/green ECS deployments use replacement task sets and load balancer target groups for traffic shifts; it enables the necessary capability to shift load balancer traffic from the old ECS task set to the new task set rather than only providing an adjacent operational control. Traffic switching and the old task set must be independently manageable.
Incorrect Answers
A:Although canary deployment configurations shift an initial percentage before the remaining cutover, the scenario does not ask for send a small fraction of user traffic to a replacement task set before full cutover. It requires the ability to shift load balancer traffic from the old ECS task set to the new task set, which is a separate responsibility.
B:CodeDeploy blue/green termination settings control how long the original ECS task set remains after success; this can help teams retain the old ECS task set temporarily for rollback after traffic rerouting, but the reported workflow needs to shift load balancer traffic from the old ECS task set to the new task set. It does not perform that required function.
C:That service solves a different operating problem: the need to automatically restore an earlier task deployment after a rolling deployment cannot stabilize. Its behavior is that the ECS deployment circuit breaker can mark rolling deployments failed and roll back to a prior completed deployment. The requested outcome remains shift load balancer traffic from the old ECS task set to the new task set.
Question 642
An automated check detects: A configuration rollout causes elevated errors but remains active across the entire fleet. Which remediation directly supports the requirement to revert a dynamic feature flag after application health degrades?
- Use an AWS AppConfig deployment strategy with automatic rollback alarms
- Use an SSM Automation role with a permissions boundary or narrow IAM policy
- Use Systems Manager Run Command with tag-based targets for an emergency fix
- Trigger SSM Automation from EventBridge for a specific incident event
Explanation
Correct Answer
A:AppConfig can roll back a configuration deployment when monitored CloudWatch alarms indicate failure; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: health alarms should be linked to staged rollout and rollback criteria.
Incorrect Answers
B:That service solves a different operating problem: the need to limit the changes an automated incident runbook can make. Its behavior is that dedicated execution roles and least-privilege policies bound the authority of automated changes. The requested outcome remains revert a dynamic feature flag after application health degrades.
C:The choice is useful when engineers need to apply a one-off configuration command to all affected managed instances: run Command executes approved documents on selected managed nodes without direct interactive host access. It would not establish the control needed to revert a dynamic feature flag after application health degrades.
D:An EventBridge rule can start Systems Manager Automation documents as supported targets. This is a reasonable option when the requirement is to run a documented multi-step configuration repair after a matching event, but it operates at a different workflow boundary from the stated need to revert a dynamic feature flag after application health degrades.
Question 643
The architecture record specifies: Use AWS CloudFormation Change Sets before updating a stack. To support the goal to inspect the proposed resource replacements and updates before executing infrastructure changes, which consideration should the engineer validate?
- AWS Organizations integration should avoid manually creating cross-account IAM roles
- Reusable components should remain stacks with their own update boundaries
- Reviewers must approve a predicted resource change list without executing it
- The migration must preserve the physical resource while creating IaC ownership
Explanation
Correct Answer
C:The requested behavior is to inspect the proposed resource replacements and updates before executing infrastructure changes, and reviewers must approve a predicted resource change list without executing it. The underlying AWS behavior is that a change set previews how CloudFormation intends to modify or replace resources before execution.
Incorrect Answers
A:This proposed constraint belongs to a separate objective: AWS Organizations integration should avoid manually creating cross-account IAM roles; the corresponding goal is to deploy a common baseline across organization accounts and selected Regions, not the selected architecture's goal to inspect the proposed resource replacements and updates before executing infrastructure changes.
B:This condition governs the different mechanism used to compose a large deployment from smaller lifecycle-managed CloudFormation templates; nested stacks allow a parent stack to reference reusable child templates through stack resources; for the selected control, the relevant boundary is instead that reviewers must approve a predicted resource change list without executing it.
D:The proposed condition makes sense in an implementation designed to bring an already-created resource under stack management without rebuilding it; it concerns resource import associates supported existing resources with logical resources in a stack template, whereas this question tests the prerequisite of the named control; the specified requirement instead is to inspect the proposed resource replacements and updates before executing infrastructure changes.
Question 644
During root-cause analysis, the team identifies the following: An incident fix spans several AWS APIs and is currently executed as an error-prone checklist. To combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook, what should be configured?
- Use Systems Manager Automation runbooks for multi-step operational remediation
- Use Systems Manager Run Command for scoped remote command execution
- Use Systems Manager Inventory to collect managed-node software metadata
- Use Systems Manager Automation assumeRole for scoped API execution
Explanation
Correct Answer
A:Automation runbooks execute structured steps and AWS service operations with defined permissions; it enables the necessary capability to combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook rather than only providing an adjacent operational control. The workflow needs controlled execution steps and an assumable automation role.
Incorrect Answers
B:Run Command dispatches supported command documents to selected managed nodes and records execution results; this is a reasonable option when the requirement is to run a one-time script against a tagged fleet without SSH access, but it operates at a different workflow boundary from the stated need to combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook.
C:Choosing this would aim to report installed applications and instance configuration across the managed fleet instead of combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook; Systems Manager Inventory collects supported software and configuration metadata for fleet reporting; it cannot replace the mechanism specified by the incident evidence.
D:Although automation can assume an assigned IAM role to run documented steps with explicit API permissions, the scenario does not ask for run an approved automation document under a dedicated role rather than a user's permissions; it requires the ability to combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook, which is a separate responsibility.
Question 645
A delivery change request has linked acceptance tests: the system must publish a validated AMI to workloads outside its build account, and it must automate repeatable golden-image builds with validation tests. Which two controls should the engineers combine?
- Enable ECR image tag immutability for release repositories; configure ECR replication to authorized Regions or accounts
- Apply S3 Object Lock retention when required by evidence policy; use EC2 Image Builder pipelines to produce hardened AMIs
- Use EC2 Image Builder distribution settings for target Regions and accounts; use CodeArtifact upstream repositories for approved external packages
- Use EC2 Image Builder distribution settings for target Regions and accounts; use EC2 Image Builder pipelines to produce hardened AMIs
Explanation
Correct Answer
D:Image Builder distribution configurations control supported AMI copies and sharing after creation; image Builder creates, customizes, tests, and distributes repeatable machine images from recipes. The first control satisfies the need to publish a validated AMI to workloads outside its build account; the second addresses the need to automate repeatable golden-image builds with validation tests. Image availability must be arranged across destination accounts and Regions; published instance images must undergo defined components and tests.
Incorrect Answers
A:Neither control directly supplies both requested behaviors. ECR tag immutability prevents image tags from being overwritten in repositories configured for it; ECR replication copies matching repository images to configured destination registries and Regions. Those mechanisms address different objectives. The specified capabilities are to publish a validated AMI to workloads outside its build account and to automate repeatable golden-image builds with validation tests.
B:The second implementation is relevant; the problem is the first. S3 Object Lock protects eligible versioned objects under governance or compliance retention modes; it can help prevent modification or deletion of archived release artifacts for a mandated period, whereas the stated first requirement is to publish a validated AMI to workloads outside its build account.
C:Combining a suitable first control with this second one misses the secondary acceptance criterion; CodeArtifact upstream relationships can retrieve dependency versions while concentrating package access management; it helps cache vetted public-package dependencies through the organization's package repository rather than automate repeatable golden-image builds with validation tests.
Question 646
A production ticket contains this symptom: Engineers read thousands of unstructured lines to identify the API route with most failures. The desired behavior is to filter application logs by request ID and aggregate failing endpoint counts. What should be fixed?
- Use metric math to alarm on ALB 5xx errors as a request ratio
- Use Security Hub findings to correlate security signals from enabled integrations
- Use AWS Config resource timelines to inspect configuration history
- Use CloudWatch Logs Insights fields and parsing for targeted error investigation
Explanation
Correct Answer
D:Logs Insights provides parsing, filtering, statistics, and time grouping for log data. It enables the necessary capability to filter application logs by request ID and aggregate failing endpoint counts rather than only providing an adjacent operational control. Queries should extract stable fields rather than rely on visual scrolling.
Incorrect Answers
A:Choosing this would aim to detect user-visible error-rate regression independent of total request volume instead of filter application logs by request ID and aggregate failing endpoint counts. CloudWatch metric math combines compatible metrics to evaluate derived rates or ratios; it cannot replace the mechanism specified by the incident evidence.
B:Although Security Hub normalizes supported security findings and provides centralized prioritization workflows, the scenario does not ask for prioritize security risks across multiple supported detection services. It requires the ability to filter application logs by request ID and aggregate failing endpoint counts, which is a separate responsibility.
C:AWS Config configuration history tracks supported resource state changes over time. This can help teams find when an infrastructure resource drifted from its previous configuration, but the reported workflow needs to filter application logs by request ID and aggregate failing endpoint counts. It does not perform that required function.
Question 647
A release design adopts this mechanism: Use AWS Config rule evaluations with automatic remediation for policy violations. Which implementation detail is most relevant to its proposed use to restore supported misconfigured resource settings when drift is detected?
- Routing and endpoint policy must match the supported S3 gateway endpoint model
- Findings should identify affected software and resources for triage
- Security monitoring must cover accounts through organization administration
- The corrective runbook must execute with narrowly authorized permissions
- Controls must count matching web requests over a configured evaluation interval
- Detection should inspect eligible S3 object content and report discovered data categories
Explanation
Correct Answer
D:The corrective runbook must execute with narrowly authorized permissions. Without this, choosing the named service is not enough to produce the promised outcome. AWS Config rules evaluate configurations and can integrate with Systems Manager remediation.
Incorrect Answers
A: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 restore supported misconfigured resource settings when drift is detected.
B:This condition governs the different mechanism used to identify vulnerable software packages in running compute and container images. Inspector continuously assesses supported compute workloads and container images for vulnerabilities; for the selected control, the relevant boundary is instead that the corrective runbook must execute with narrowly authorized permissions.
C:GuardDuty analyzes supported telemetry and uses threat detection to generate security findings; its own dependency is that security monitoring must cover accounts through organization administration. Those details concern the separate objective of being able to surface suspicious credentials and network behavior without building a custom detector, rather than to the named control required to restore supported misconfigured resource settings when drift is detected.
E:This proposed constraint belongs to a separate objective: controls must count matching web requests over a configured evaluation interval. The corresponding goal is to limit repeated HTTP requests from sources that exceed an approved threshold, not the selected architecture's goal to restore supported misconfigured resource settings when drift is detected.
F:This condition governs the different mechanism used to identify S3 objects that potentially contain sensitive information; Macie uses automated discovery and classification to identify sensitive data in supported S3 objects; for the selected control, the relevant boundary is instead that the corrective runbook must execute with narrowly authorized permissions.
Question 648
A service owner needs to add possession-based verification to administrator authentication and provide centrally managed access to many AWS accounts for federated employees. Which paired controls deliver the requested behavior across both workstreams?
- Require MFA for privileged human sign-in and sensitive actions; configure IAM role trust conditions with an external ID for a third-party provider
- Require MFA for privileged human sign-in and sensitive actions; assign AWS IAM Identity Center permission sets to workforce groups
- Use IAM Access Analyzer policy validation and least-privilege findings; assign AWS IAM Identity Center permission sets to workforce groups
- Require MFA for privileged human sign-in and sensitive actions; enable Secrets Manager rotation with a supported rotation strategy
- Use an ECS task IAM role rather than the ECS task execution role for application API access; use EKS IAM Roles for Service Accounts or supported EKS Pod Identity
Explanation
Correct Answer
B:The first outcome depends on the behavior that MFA adds a second factor and can be required through identity provider settings or IAM policy conditions. Separately, IAM Identity Center provisions account roles through permission-set assignments to users and groups. Together these meet the two requested outcomes, with the operational limits that human credentials need additional authentication safeguards beyond a static password and access assignments should be revoked centrally when an employee changes teams.
Incorrect Answers
A:The first half is appropriate: MFA adds a second factor and can be required through identity provider settings or IAM policy conditions; however, the sts:ExternalId condition helps a provider distinguish authorized cross-account assume-role requests; that serves a different objective (reduce confused-deputy risk when a SaaS vendor assumes customer roles) and leaves the explicit need to provide centrally managed access to many AWS accounts for federated employees unmet.
C:This combination solves only the latter acceptance test. The substituted first control supports identify broad or risky IAM policy patterns before deployment: IAM Access Analyzer validates policies and can surface security and best-practice findings. It does not implement add possession-based verification to administrator authentication.
D:The first half is appropriate: MFA adds a second factor and can be required through identity provider settings or IAM policy conditions; however, Secrets Manager rotation workflows update stored credentials and, with integration, the underlying service credential; that serves a different objective (rotate an application database password without manual quarterly updates) and leaves the explicit need to provide centrally managed access to many AWS accounts for federated employees unmet.
E:These are legitimate AWS controls for different outcomes: ECS task roles grant permissions to containers; execution roles support image pulls, logs, and task startup, whereas EKS workload identity mechanisms associate an AWS IAM role with a Kubernetes service account or pod. The problem instead requires the ability to add possession-based verification to administrator authentication and to provide centrally managed access to many AWS accounts for federated employees.
Question 649
An automated check detects: A development stack creates expensive production-only infrastructure on every deployment. Which remediation directly supports the requirement to provision a resource only when an environment parameter meets a defined requirement?
- Use a nested CloudFormation stack for a reusable infrastructure component
- Define an AWS CDK construct for a reusable platform pattern
- Enable automatic deployment for an OU-targeted CloudFormation StackSet
- Apply CloudFormation Conditions to optional template resources
Explanation
Correct Answer
D:Conditions can determine resource creation and property values based on template parameters and functions; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: one parameterized template should selectively include appropriate resources.
Incorrect Answers
A:That service solves a different operating problem: the need to compose a large deployment from smaller lifecycle-managed CloudFormation templates; its behavior is that nested stacks allow a parent stack to reference reusable child templates through stack resources; the requested outcome remains provision a resource only when an environment parameter meets a defined requirement.
B:The choice is useful when engineers need to package a standardized multi-resource infrastructure pattern into application code: CDK constructs encapsulate infrastructure resources and synthesize AWS CloudFormation definitions; it would not establish the control needed to provision a resource only when an environment parameter meets a defined requirement.
C:StackSet automatic deployment creates or removes managed instances as accounts move into or out of targeted OUs; this is a reasonable option when the requirement is to apply baseline stacks when new accounts join a targeted organizational unit, but it operates at a different workflow boundary from the stated need to provision a resource only when an environment parameter meets a defined requirement.
Question 650
A platform team is resolving a multi-part production requirement: (1) report and enforce valid tag keys or values across organizational accounts where supported; (2) establish managed governance expectations when onboarding accounts. Which TWO proposals directly implement the required capabilities? Choose TWO.
- Use Organizations tag policies to standardize supported resource tags
- Create an organization-wide CloudTrail trail to a protected logging account
- Configure organization-wide GuardDuty management through a delegated security account
- Configure Security Hub organization integration and central settings policies
- Use Control Tower landing-zone controls for preventive and detective governance
Explanation
Correct Answers
A:Tag policies define permitted capitalization and values and can enforce supported tagging operations; among the listed outcomes, it addresses report and enforce valid tag keys or values across organizational accounts where supported, rather than merely contributing a related signal or support step.
E:Control Tower controls can enforce or detect supported rules across enrolled organizational units; among the listed outcomes, it addresses establish managed governance expectations when onboarding accounts, rather than merely contributing a related signal or support step.
Incorrect Answers
B:An organization trail covers member accounts with centralized delivery and separately controlled storage; if the requirement were to collect supported account activity centrally across an AWS organization, that would matter. The requested outcomes are separate from the one this option addresses.
C:GuardDuty organization administration can automatically manage protection enrollment across eligible members; that would be appropriate to enable consistent threat detection coverage for member accounts, but this is a different objective from the numbered obligations in the stem.
D:This mechanism supports the ability to standardize security finding aggregation and enabled standards across accounts: Security Hub central configuration can apply supported policies across an organization hierarchy. It would not satisfy a different obligation just by appearing in the same workflow.