Question 470
The infrastructure automation group proposes this implementation: Restrict build credentials to a CodeBuild service role with least privilege. Its intended result is to let automated builds read only the required inputs and publish expected outputs. Which implementation consideration is most specific to that choice?
- Build permissions must not be broadened to administrator access
- The shared artifact store must remain encrypted while permitting only designated consumers
- Production permissions must be assumed only by the designated production action
- The optimization must not be assumed to work for every compute mode or build host
Explanation
Correct Answer
A:Build permissions must not be broadened to administrator access. Without this, choosing the named service is not enough to produce the promised outcome; CodeBuild runs under its assigned IAM service role, which needs access to referenced buckets, logs, and relevant keys.
Incorrect Answers
B:This proposed constraint belongs to a separate objective: the shared artifact store must remain encrypted while permitting only designated consumers; the corresponding goal is to make encrypted CodePipeline artifacts usable by an authorized cross-account action, not the selected architecture's goal to let automated builds read only the required inputs and publish expected outputs.
C:This condition governs the different mechanism used to isolate permissions between staging and production delivery; role separation allows each pipeline action to run under the permissions approved for its target environment; for the selected control, the relevant boundary is instead that build permissions must not be broadened to administrator access.
D:Local caches can reuse permitted source or dependency data on a build host, subject to environment and cache limitations; its own dependency is that the optimization must not be assumed to work for every compute mode or build host. Those details concern the separate objective of being able to reduce time spent re-fetching dependencies in repeated builds on compatible environments, rather than to the named control required to let automated builds read only the required inputs and publish expected outputs.
Question 471
An automated check detects: A function has no permission to retrieve its secret at runtime. Which remediation directly supports the requirement to allow a Lambda handler to read a specific secret and publish required logs?
- Use EKS IAM Roles for Service Accounts or supported EKS Pod Identity
- Use IAM roles and temporary credentials for CodeBuild service integration
- Use a Lambda execution role scoped to required AWS APIs
- Use IAM Roles Anywhere for eligible external workloads with X.509 identities
- Attach an instance profile with a scoped IAM role to EC2
Explanation
Correct Answer
C:Lambda execution roles grant the AWS API permissions used by the running function. It restores the ability to allow a Lambda handler to read a specific secret and publish required logs, provided the implementation also observes that the function's execution identity should avoid global administrator actions.
Incorrect Answers
A:EKS workload identity mechanisms associate an AWS IAM role with a Kubernetes service account or pod; this is a reasonable option when the requirement is to grant a Kubernetes workload AWS permissions without using the node IAM role, but it operates at a different workflow boundary from the stated need to allow a Lambda handler to read a specific secret and publish required logs.
B:Choosing this would aim to prevent CI workers from embedding persistent AWS keys in build scripts instead of allow a Lambda handler to read a specific secret and publish required logs; CodeBuild obtains temporary service-role credentials to call authorized AWS APIs during builds; it cannot replace the mechanism specified by the incident evidence.
D:IAM Roles Anywhere uses trusted X.509 certificates to obtain temporary role credentials for external workloads; this can help teams provide temporary AWS credentials to on-premises workloads without storing IAM user keys, but the reported workflow needs to allow a Lambda handler to read a specific secret and publish required logs. It does not perform that required function.
E:That service solves a different operating problem: the need to give an EC2 application temporary credentials to call an AWS API; its behavior is that an EC2 instance profile provides temporary role credentials to applications running on the instance; the requested outcome remains allow a Lambda handler to read a specific secret and publish required logs.
Question 472
Two technical outcomes must be delivered together: compose a large deployment from smaller lifecycle-managed CloudFormation templates and reference a networking stack's output from an application stack in the same Region. Which pair of controls is sufficient for the stated outcomes?
- Use a nested CloudFormation stack for a reusable infrastructure component; enable automatic deployment for an OU-targeted CloudFormation StackSet
- Use CloudFormation rollback triggers wired to CloudWatch alarms; use CloudFormation cross-stack exports and imports for shared output values
- Deploy dynamic configuration using AWS AppConfig gradual rollout; use CloudFormation hooks to validate resource configuration during stack operations
- Use a nested CloudFormation stack for a reusable infrastructure component; use CloudFormation cross-stack exports and imports for shared output values
Explanation
Correct Answer
D:Nested stacks allow a parent stack to reference reusable child templates through stack resources; this handles the first acceptance condition, subject to the boundary that reusable components should remain stacks with their own update boundaries. The remaining condition is handled separately: CloudFormation exports and Fn::ImportValue share supported values between stacks within the same account and Region, with the consumer should use an explicit stack export instead of hard-coded values.
Incorrect Answers
A:Combining a suitable first control with this second one misses the secondary acceptance criterion; stackSet automatic deployment creates or removes managed instances as accounts move into or out of targeted OUs; it helps apply baseline stacks when new accounts join a targeted organizational unit rather than reference a networking stack's output from an application stack in the same Region.
B:Rollback triggers monitor configured CloudWatch alarms and can initiate rollback when a trigger alarms; that is intended to roll back a stack update when a monitored service alarm fires during its monitoring period, not to compose a large deployment from smaller lifecycle-managed CloudFormation templates; the second half can meet the requirement to reference a networking stack's output from an application stack in the same Region, but the first is still missing.
C:These are legitimate AWS controls for different outcomes: AppConfig deployment strategies gradually distribute hosted or sourced configuration and can roll back on alarms, whereas CloudFormation hooks can enforce pre-provisioning or operation-time checks for supported resource types. The problem instead requires the ability to compose a large deployment from smaller lifecycle-managed CloudFormation templates and to reference a networking stack's output from an application stack in the same Region.
Question 473
A team is designing a reusable reliability pattern. It must stop sending new traffic to application instances that fail readiness checks; it must also replace failed web hosts and distribute capacity across Availability Zones. Which paired configuration is appropriate?
- Use Route 53 latency routing for healthy regional endpoints; use a multi-AZ EC2 Auto Scaling group behind a target group
- Enable ALB target-group health checks with a representative health path; use a multi-AZ EC2 Auto Scaling group behind a target group
- Enable Amazon RDS Multi-AZ high availability for a supported DB engine; enable S3 Cross-Region Replication for selected versioned objects
- Enable ALB target-group health checks with a representative health path; use ElastiCache replication groups spanning multiple Availability Zones
Explanation
Correct Answer
B:For the requirement to stop sending new traffic to application instances that fail readiness checks, target group health checks determine which registered targets receive load balancer traffic. For the requirement to replace failed web hosts and distribute capacity across Availability Zones, EC2 Auto Scaling manages desired instances across configured subnets and uses health checks for replacement; both mechanisms are necessary; implementing only the first would leave the second unsatisfied.
Incorrect Answers
A:The second implementation is relevant; the problem is the first. Route 53 latency policies select records based on measured latency among configured Regions. It can help direct global clients toward the Region with better measured network latency, whereas the stated first requirement is to stop sending new traffic to application instances that fail readiness checks.
C:Neither control directly supplies both requested behaviors. RDS Multi-AZ deployments maintain a standby or multi-instance arrangement for managed failover; S3 replication asynchronously copies eligible object versions to configured destination buckets. Those mechanisms address different objectives. The specified capabilities are to stop sending new traffic to application instances that fail readiness checks and to replace failed web hosts and distribute capacity across Availability Zones.
D:Supported ElastiCache replication groups use replicas and automatic failover to recover from primary loss; that alternative supports the ability to improve availability of supported Redis or Valkey cache workloads, but it is not the requested second outcome (replace failed web hosts and distribute capacity across Availability Zones). Even though the first half addresses stop sending new traffic to application instances that fail readiness checks, this pair is incomplete.
Question 474
After a configuration change, the application owner sees this issue: An ALB-backed service receives repeated SQL injection attempts that reach its endpoints. What best restores the ability to filter common malicious HTTP request patterns before they reach the application?
- Use AWS Firewall Manager organization security policies for WAF protections
- Use an AWS WAF rate-based rule for abusive clients
- Use AWS WAF managed rules on the web-facing ALB
- Use security group rules for stateful instance or ENI traffic control
Explanation
Correct Answer
C:To filter common malicious HTTP request patterns before they reach the application, the architecture relies on this AWS behavior: AWS WAF web ACLs evaluate HTTP requests against configured rules and can block matching traffic. Layer 7 inspection should apply at a supported web application entry point.
Incorrect Answers
A:Firewall Manager manages supported security policies across accounts and can apply WAF protections to in-scope resources; this can help teams enforce an approved web ACL policy on supported public application endpoints across member accounts, but the reported workflow needs to filter common malicious HTTP request patterns before they reach the application. It does not perform that required function.
B:That service solves a different operating problem: the need to limit repeated HTTP requests from sources that exceed an approved threshold. Its behavior is that WAF rate-based rules track request rates for defined aggregation keys and act on matching excess traffic. The requested outcome remains filter common malicious HTTP request patterns before they reach the application.
D:Security groups apply stateful allow rules to supported network interfaces and resources. This is a reasonable option when the requirement is to restrict inbound application ports while permitting corresponding return traffic, but it operates at a different workflow boundary from the stated need to filter common malicious HTTP request patterns before they reach the application.
Question 475
The service maintenance group proposes this implementation: Use AWS Control Tower Account Factory to provision governed accounts. Its intended result is to create new workload accounts with standardized landing-zone controls. Which implementation consideration is most specific to that choice?
- Member accounts must not be able to silently erase centrally stored audit evidence
- Human federation and account-level entitlements must be centrally managed
- Provisioning must follow the organization's Control Tower governance model
- Controls should be applied through the landing-zone governance system
Explanation
Correct Answer
C:The requested behavior is to create new workload accounts with standardized landing-zone controls, and provisioning must follow the organization's Control Tower governance model. The underlying AWS behavior is that account Factory provisions accounts under a landing-zone structure using configured account baselines.
Incorrect Answers
A:This proposed constraint belongs to a separate objective: member accounts must not be able to silently erase centrally stored audit evidence. The corresponding goal is to collect supported account activity centrally across an AWS organization, not the selected architecture's goal to create new workload accounts with standardized landing-zone controls.
B:This condition governs the different mechanism used to assign consistent workforce roles to many accounts through one identity portal. IAM Identity Center permission sets provision corresponding account roles for entitled users or groups; for the selected control, the relevant boundary is instead that provisioning must follow the organization's Control Tower governance model.
D:The proposed condition makes sense in an implementation designed to establish managed governance expectations when onboarding accounts; it concerns control Tower controls can enforce or detect supported rules across enrolled organizational units, whereas this question tests the prerequisite of the named control.
Question 476
A cross-team infrastructure plan specifies 2 measurable outcomes: (1) invoke a service API at a one-time or recurring schedule without hosting a cron instance; (2) report installed applications and instance configuration across the managed fleet. Which TWO solutions address them? Choose TWO.
- Attach an SSM Automation remediation action to an AWS Config rule
- Use EventBridge Scheduler for per-task scheduled API invocations
- Use Systems Manager Session Manager for audited interactive access
- Use AWS Config custom or managed rules for compliance evaluation
- Use Systems Manager Inventory to collect managed-node software metadata
Explanation
Correct Answers
B:The corresponding obligation is to invoke a service API at a one-time or recurring schedule without hosting a cron instance. EventBridge Scheduler manages time-based invocation schedules with supported targets and retry policies; that behavior is the reason this action belongs in the selected answer set.
E:Systems Manager Inventory collects supported software and configuration metadata for fleet reporting; this fulfills the stated requirement to report installed applications and instance configuration across the managed fleet. The operational limitation is that inventory collection must run on nodes with the required managed-node configuration.
Incorrect Answers
A:Config remediation configurations can invoke Systems Manager Automation documents for matching findings; that would be appropriate to remediate eligible noncompliant resources using a controlled runbook, but this is a different objective from the numbered obligations in the stem.
C:It supports a separate administrative task, namely to troubleshoot managed EC2 hosts without opening SSH ports or distributing key pairs. Session Manager provides managed interactive sessions through Systems Manager connectivity and IAM controls; the prompt's required outcomes are not achieved by substituting this control.
D:Config rules evaluate supported resource configurations against policy and report compliance outcomes; if the requirement were to detect resources that diverge from a defined account-level configuration policy, that would matter. The requested outcomes are separate from the one this option addresses.
Question 477
An engineer will implement the following change: Use State Manager to enforce a recurring configuration association. Which operational boundary most directly applies to the intended outcome to reapply a required host configuration whenever nodes drift?
- Desired state must be enforced repeatedly on matching managed nodes
- The automation identity must be declared and trusted independently of its triggering user
- Agent distribution must use managed package versions and installation commands
- Inventory collection must run on nodes with the required managed-node configuration
Explanation
Correct Answer
A:The requested behavior is to reapply a required host configuration whenever nodes drift, and desired state must be enforced repeatedly on matching managed nodes. The underlying AWS behavior is that state Manager associations run specified documents against targets according to defined schedules.
Incorrect Answers
B:The proposed condition makes sense in an implementation designed to run an approved automation document under a dedicated role rather than a user's permissions; it concerns automation can assume an assigned IAM role to run documented steps with explicit API permissions, whereas this question tests the prerequisite of the named control; the specified requirement instead is to reapply a required host configuration whenever nodes drift.
C:This proposed constraint belongs to a separate objective: agent distribution must use managed package versions and installation commands; the corresponding goal is to publish an internal agent package and distribute it to managed nodes, not the selected architecture's goal to reapply a required host configuration whenever nodes drift.
D:This condition governs the different mechanism used to report installed applications and instance configuration across the managed fleet; Systems Manager Inventory collects supported software and configuration metadata for fleet reporting; for the selected control, the relevant boundary is instead that desired state must be enforced repeatedly on matching managed nodes.
Question 478
The security engineering team selects this control: Use AWS Elastic Disaster Recovery replication and recovery launch plans. What associated scope or dependency matters most when using it to reduce recovery time for supported server workloads using block-level replication?
- The plan needs continuous replication and orchestrated recovery launches where supported
- Both Regions must be able to serve production traffic and reconcile state correctly
- The cutover should have explicit sequencing, permissions, and failure handling
- Protection must follow tags and backup policies rather than manual resource selection
Explanation
Correct Answer
A:The plan needs continuous replication and orchestrated recovery launches where supported. Without this, choosing the named service is not enough to produce the promised outcome; elastic Disaster Recovery continuously replicates supported source-server data for recovery launches into AWS.
Incorrect Answers
B:This proposed constraint belongs to a separate objective: both Regions must be able to serve production traffic and reconcile state correctly; the corresponding goal is to minimize regional failover downtime for workloads designed to accept distributed traffic, not the selected architecture's goal to reduce recovery time for supported server workloads using block-level replication.
C:This condition governs the different mechanism used to coordinate repeatable dependency-sensitive recovery actions with recorded outcomes. Automation runbooks sequence service API operations so recovery steps can be repeated and audited; for the selected control, the relevant boundary is instead that the plan needs continuous replication and orchestrated recovery launches where supported.
D:AWS Backup plans and tag-based selections assign eligible resources to backup rules. Its own dependency is that protection must follow tags and backup policies rather than manual resource selection. Those details concern the separate objective of being able to apply centralized backup schedules to eligible resources as fleets change, rather than to the named control required to reduce recovery time for supported server workloads using block-level replication.
Question 479
During root-cause analysis, the team identifies the following: Every weekday's scheduled event causes a load spike before reactive scaling catches up. To preprovision EC2 capacity before a known daily traffic increase, what should be configured?
- Use predictive scaling with EC2 Auto Scaling for suitable historical patterns
- Use SQS backlog per worker as a target tracking metric
- Use DynamoDB auto scaling for provisioned read and write capacity
- Use scheduled scaling for recurring predictable demand
Explanation
Correct Answer
D:Scheduled actions change Auto Scaling desired or min and max capacity at specified times; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: capacity must be ready shortly before the recurring workload starts.
Incorrect Answers
A:Although predictive scaling forecasts capacity demand from load history and can schedule scaling ahead of it, the scenario does not ask for anticipate regular load variations using observed historical demand. It requires the ability to preprovision EC2 capacity before a known daily traffic increase, which is a separate responsibility.
B:Backlog per instance estimates the pressure on worker capacity for queue-driven scaling. This can help teams scale message-processing workers with the backlog relative to active capacity, but the reported workflow needs to preprovision EC2 capacity before a known daily traffic increase. It does not perform that required function.
C:That service solves a different operating problem: the need to adapt provisioned throughput targets to changing demand; its behavior is that DynamoDB Application Auto Scaling can change provisioned read or write capacity based on utilization targets; the requested outcome remains preprovision EC2 capacity before a known daily traffic increase.
Question 480
The service maintenance group selects this control: Use CloudWatch Logs Live Tail for short-lived streaming troubleshooting. What associated scope or dependency matters most when using it to watch incoming application events while reproducing a production issue?
- The pipeline needs streaming delivery of filtered log events
- The log event pattern is consistent enough to extract a metric value
- The collector must listen for the existing protocol and publish metric data with proper permissions
- The observation should focus on newly ingested log events in real time
Explanation
Correct Answer
D:The implementation has to honor the exact constraint: the observation should focus on newly ingested log events in real time. Live Tail streams recently ingested matching log events from supported log groups.
Incorrect Answers
A:This condition governs the different mechanism used to process matching log records as they arrive instead of polling stored logs. Subscription filters route new matching CloudWatch Logs events to supported streaming or processing destinations; for the selected control, the relevant boundary is instead that the observation should focus on newly ingested log events in real time.
B:Metric filters evaluate incoming CloudWatch Logs records and emit metrics for matching patterns; its own dependency is that the log event pattern is consistent enough to extract a metric value; those details concern the separate objective of being able to count specific error patterns without changing application metric instrumentation, rather than to the named control required to watch incoming application events while reproducing a production issue.
C:The proposed condition makes sense in an implementation designed to bridge existing application metric protocols into CloudWatch; it concerns the unified CloudWatch agent supports collection from compatible metrics protocols and export to CloudWatch, whereas this question tests the prerequisite of the named control.