Question 560
An automated check detects: One tenant's API burst consumes the capacity needed by other requests. Which remediation directly supports the requirement to protect Lambda and downstream systems from excessive caller traffic?
- Use Lambda reserved concurrency to protect a downstream dependency
- Use API Gateway throttling to bound request rates to a serverless backend
- Use SQS to buffer bursts between request intake and worker processing
- Use DynamoDB auto scaling for provisioned read and write capacity
Explanation
Correct Answer
B:To protect Lambda and downstream systems from excessive caller traffic, the architecture relies on this AWS behavior: API Gateway throttling controls supported request rates and can return 429 responses when limits are exceeded. Rate and burst limits must be enforced at the API entry point.
Incorrect Answers
A:The choice is useful when engineers need to cap parallel invocations before a sensitive backend is saturated: reserved concurrency caps simultaneously executing Lambda instances for the configured function. It would not establish the control needed to protect Lambda and downstream systems from excessive caller traffic.
C:Choosing this would aim to decouple transient producer spikes from a bounded worker fleet instead of protect Lambda and downstream systems from excessive caller traffic; SQS queues hold pending work and let consumers process it asynchronously with retry semantics; it cannot replace the mechanism specified by the incident evidence.
D:Although DynamoDB Application Auto Scaling can change provisioned read or write capacity based on utilization targets, the scenario does not ask for adapt provisioned throughput targets to changing demand; it requires the ability to protect Lambda and downstream systems from excessive caller traffic, which is a separate responsibility.
Question 561
An incident record says: Replacement instances register for traffic before bootstrapping and app readiness complete. To restore the capability to delay load balancer registration until a new EC2 instance is correctly configured, which change addresses the root cause?
- Run a post-deploy smoke test against an ALB health-checked endpoint
- Use immutable AMI replacement through an Auto Scaling instance refresh
- Use an Auto Scaling lifecycle hook to finish instance initialization before InService
- Use CodeDeploy ECS blue/green with two target groups
Explanation
Correct Answer
C:An Auto Scaling lifecycle hook can keep instances in a wait state while automation completes initialization; it restores the ability to delay load balancer registration until a new EC2 instance is correctly configured, provided the implementation also observes that auto Scaling must pause transition while initialization work runs.
Incorrect Answers
A:A smoke test targets live application behavior after rollout and can trigger deployment failure handling; this is a reasonable option when the requirement is to validate that a new service release responds correctly before ending the deployment, but it operates at a different workflow boundary from the stated need to delay load balancer registration until a new EC2 instance is correctly configured.
B:Choosing this would aim to replace outdated instances with a tested image instead of mutating running systems instead of delay load balancer registration until a new EC2 instance is correctly configured. Auto Scaling instance refresh replaces instances according to an updated launch template and health controls; it cannot replace the mechanism specified by the incident evidence.
D:CodeDeploy blue/green ECS deployments use replacement task sets and load balancer target groups for traffic shifts; this can help teams shift load balancer traffic from the old ECS task set to the new task set, but the reported workflow needs to delay load balancer registration until a new EC2 instance is correctly configured. It does not perform that required function.
Question 562
A technical change review names the selected control as follows: Configure CloudTrail data events for selected sensitive S3 buckets. To record relevant object-level API activity rather than only account management events, which constraint must be addressed for this design?
- The data must be protected in transit independently from at-rest bucket encryption
- The aggregator needs authorized sources and configuration recording in source accounts
- The event selectors should limit costly high-volume events to in-scope resources
- Cross-account resource authorization must be explicit for the destination
Explanation
Correct Answer
C:The event selectors should limit costly high-volume events to in-scope resources. That is the governing deployment boundary for the selected control: CloudTrail data events capture selected data-plane operations, such as S3 object API calls. If the boundary is missed, the design can fail to record relevant object-level API activity rather than only account management events.
Incorrect Answers
A:The proposed condition makes sense in an implementation designed to protect sensitive telemetry while it travels from producers to ingestion endpoints; it concerns TLS protects log transport over supported network paths against plaintext interception, whereas this question tests the prerequisite of the named control; the specified requirement instead is to record relevant object-level API activity rather than only account management events.
B:This proposed constraint belongs to a separate objective: the aggregator needs authorized sources and configuration recording in source accounts; the corresponding goal is to centralize supported configuration and compliance summaries from accounts and Regions, not the selected architecture's goal to record relevant object-level API activity rather than only account management events.
D:CloudWatch Logs destinations and resource policies authorize supported cross-account subscription flows; its own dependency is that cross-account resource authorization must be explicit for the destination. Those details concern the separate objective of being able to centralize matching account log streams into a designated log-processing account, rather than to the named control required to record relevant object-level API activity rather than only account management events.
Question 563
An infrastructure proposal must demonstrate two capabilities: split invocation traffic between two published Lambda versions without changing callers and reduce cold-start latency for a predictable high-priority request path. Which combination supplies the appropriate controls?
- Use a weighted Lambda alias for gradual traffic migration; enable provisioned concurrency on the Lambda alias or published version
- Set termination wait time for a CodeDeploy ECS blue/green deployment; enable provisioned concurrency on the Lambda alias or published version
- Use a weighted Lambda alias for gradual traffic migration; install and run the CodeDeploy agent on target EC2 instances
- Use an appspec.yml to define CodeDeploy instance hooks; choose CodeDeploy in-place deployment with minimum healthy hosts
Explanation
Correct Answer
A:A Lambda alias can distribute invocations between its primary and additional published version; this handles the first acceptance condition, subject to the boundary that the invoking application must retain a stable endpoint throughout the migration. The remaining condition is handled separately: provisioned concurrency keeps initialized Lambda execution environments ready for supported versions or aliases, with capacity must be prepared for the immutable version behind the release alias.
Incorrect Answers
B:This combination solves only the latter acceptance test. The substituted first control supports retain the old ECS task set temporarily for rollback after traffic rerouting: CodeDeploy blue/green termination settings control how long the original ECS task set remains after success. It does not implement split invocation traffic between two published Lambda versions without changing callers.
C:The first half is appropriate: A Lambda alias can distribute invocations between its primary and additional published version. However, the CodeDeploy agent polls for work and runs lifecycle instructions on managed EC2 or on-premises hosts; that serves a different objective (make instances eligible to receive CodeDeploy lifecycle instructions) and leaves the explicit need to reduce cold-start latency for a predictable high-priority request path unmet.
D:These are legitimate AWS controls for different outcomes: an AppSpec file maps application files and lifecycle event hooks for EC2 deployments, whereas CodeDeploy EC2 in-place configurations control host update concurrency using healthy-host thresholds. The problem instead requires the ability to split invocation traffic between two published Lambda versions without changing callers and to reduce cold-start latency for a predictable high-priority request path.
Question 564
An engineer is addressing a two-part delivery requirement: automatically restore an earlier task deployment after a rolling deployment cannot stabilize, without losing the ability to keep requests away from containers until the application is ready. Which set of actions is suitable?
- Configure ECS service deployment circuit breaker and rollback; run a post-deploy smoke test against an ALB health-checked endpoint
- Set appropriate ECS deployment minimum healthy percent and maximum percent; apply Kubernetes readiness probes before routing traffic to EKS pods
- Configure ECS service deployment circuit breaker and rollback; apply Kubernetes readiness probes before routing traffic to EKS pods
- Attach CodeDeploy deployment alarms for automatic stop or rollback; choose a supported ECS canary traffic-shift configuration
Explanation
Correct Answer
C:For the requirement 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; for the requirement to keep requests away from containers until the application is ready, readiness probes control whether pods are considered ready for service endpoint traffic. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.
Incorrect Answers
A:The first half is appropriate: The ECS deployment circuit breaker can mark rolling deployments failed and roll back to a prior completed deployment. However, a smoke test targets live application behavior after rollout and can trigger deployment failure handling; that serves a different objective (validate that a new service release responds correctly before ending the deployment) and leaves the explicit need to keep requests away from containers until the application is ready unmet.
B:The second implementation is relevant; the problem is the first. ECS deployment percentages bound the numbers of running and pending tasks during a rolling update; it can help control the capacity margin during rolling task replacement, whereas the stated first requirement is to automatically restore an earlier task deployment after a rolling deployment cannot stabilize.
D:Neither control directly supplies both requested behaviors. CodeDeploy can monitor CloudWatch alarms and stop or roll back deployments based on configured criteria; canary deployment configurations shift an initial percentage before the remaining cutover. Those mechanisms address different objectives. The specified capabilities are to automatically restore an earlier task deployment after a rolling deployment cannot stabilize and to keep requests away from containers until the application is ready.
Question 565
Two technical outcomes must be delivered together: run ordered install, pre-build, build, and post-build commands as part of CI and reduce time spent re-fetching dependencies in repeated builds on compatible environments. Which pair of controls is sufficient for the stated outcomes?
- Define build phases and commands in the CodeBuild buildspec; configure pipeline variables for explicitly parameterized executions
- Define build phases and commands in the CodeBuild buildspec; use an immutable artifact identifier when promoting a release
- Define build phases and commands in the CodeBuild buildspec; enable CodeBuild local caching for reusable build dependencies
- Configure stage-level failure handling to stop and roll back supported pipeline executions; configure a cross-account deploy action with an assumable target-account role
- Connect a CodePipeline source action to an approved Git provider through CodeConnections; enable CodeBuild local caching for reusable build dependencies
Explanation
Correct Answer
C:A buildspec documents lifecycle phases, shell commands, outputs, and optional reports for CodeBuild; this handles the first acceptance condition, subject to the boundary that commands and artifact declarations must be versioned with the source repository. The remaining condition is handled separately: local caches can reuse permitted source or dependency data on a build host, subject to environment and cache limitations, with the optimization must not be assumed to work for every compute mode or build host.
Incorrect Answers
A:Combining a suitable first control with this second one misses the secondary acceptance criterion; pipeline variables expose execution-specific values to actions that support variable substitution; it helps pass an approved environment-specific value into a reusable pipeline action rather than reduce time spent re-fetching dependencies in repeated builds on compatible environments.
B:The first half is appropriate: A buildspec documents lifecycle phases, shell commands, outputs, and optional reports for CodeBuild. However, promoting a fixed artifact identity prevents environment-specific rebuilds from silently changing the delivered bytes; that serves a different objective (promote the exact tested package between environments rather than rebuilding source independently) and leaves the explicit need to reduce time spent re-fetching dependencies in repeated builds on compatible environments unmet.
D:The pair changes the problem instead of completing it. One option addresses restore a known successful release when a new stage execution fails; the other addresses deploy an artifact from the delivery account into a separately governed workload account. The release, however, needs to run ordered install, pre-build, build, and post-build commands as part of CI as well as reduce time spent re-fetching dependencies in repeated builds on compatible environments.
E:The source connection supplies authorized repository events and revisions to a pipeline source action; that is intended to start pipeline executions from commits on the approved application branch, not to run ordered install, pre-build, build, and post-build commands as part of CI. The second half can meet the requirement to reduce time spent re-fetching dependencies in repeated builds on compatible environments, but the first is still missing.
Question 566
A service owner needs to run an approved automation document under a dedicated role rather than a user's permissions and collect recurring operational issues with linked resource context and status. Which paired controls deliver the requested behavior across both workstreams?
- Use Systems Manager Automation assumeRole for scoped API execution; use Systems Manager Session Manager for audited interactive access
- Use Systems Manager Automation assumeRole for scoped API execution; use Systems Manager OpsCenter OpsItems for operational work tracking
- Use EventBridge Scheduler for per-task scheduled API invocations; use Systems Manager Patch Manager and patch baselines
- Use Systems Manager Distributor for controlled software-package deployment; use Systems Manager OpsCenter OpsItems for operational work tracking
Explanation
Correct Answer
B:Automation can assume an assigned IAM role to run documented steps with explicit API permissions; this handles the first acceptance condition, subject to the boundary that the automation identity must be declared and trusted independently of its triggering user; the remaining condition is handled separately: OpsCenter OpsItems group investigation context and operational metadata for issue management, with each issue needs a durable operational record with ownership and resource references.
Incorrect Answers
A:Session Manager provides managed interactive sessions through Systems Manager connectivity and IAM controls; that alternative supports the ability to troubleshoot managed EC2 hosts without opening SSH ports or distributing key pairs, but it is not the requested second outcome (collect recurring operational issues with linked resource context and status). Even though the first half addresses run an approved automation document under a dedicated role rather than a user's permissions, this pair is incomplete.
C:Neither control directly supplies both requested behaviors. EventBridge Scheduler manages time-based invocation schedules with supported targets and retry policies; patch Manager applies selected baselines to supported managed nodes for scan or install operations. Those mechanisms address different objectives. The specified capabilities are to run an approved automation document under a dedicated role rather than a user's permissions and to collect recurring operational issues with linked resource context and status.
D:The second implementation is relevant; the problem is the first. Distributor manages software packages that can be installed or updated through Systems Manager workflows; it can help publish an internal agent package and distribute it to managed nodes, whereas the stated first requirement is to run an approved automation document under a dedicated role rather than a user's permissions.
Question 567
The next production deployment needs 2 specific capabilities: (1) allow a Lambda handler to read a specific secret and publish required logs; (2) prevent CI workers from embedding persistent AWS keys in build scripts. Select the TWO most directly applicable actions. Choose TWO.
- Use a Lambda execution role scoped to required AWS APIs
- Use IAM roles and temporary credentials for CodeBuild service integration
- Require MFA for privileged human sign-in and sensitive actions
- Use IAM ABAC conditions based on principal and resource tags
- Use an Organizations service control policy as an account-wide permission guardrail
- Assign AWS IAM Identity Center permission sets to workforce groups
Explanation
Correct Answers
A:This covers the specific result to allow a Lambda handler to read a specific secret and publish required logs: Lambda execution roles grant the AWS API permissions used by the running function. The function's execution identity should avoid global administrator actions.
B:CodeBuild obtains temporary service-role credentials to call authorized AWS APIs during builds; this fulfills the stated requirement to prevent CI workers from embedding persistent AWS keys in build scripts. The operational limitation is that the build project role should authorize only required artifact and deployment operations.
Incorrect Answers
C:This mechanism supports the ability to add possession-based verification to administrator authentication: MFA adds a second factor and can be required through identity provider settings or IAM policy conditions. It would not satisfy a different obligation just by appearing in the same workflow.
D:It supports a separate administrative task, namely to grant access to project-matching resources without enumerating every resource ARN. Attribute-based access control evaluates policy conditions using attributes such as tags. The prompt's required outcomes are not achieved by substituting this control.
E:SCPs set maximum available permissions for member-account principals but do not themselves allow actions; if the requirement were to prevent all affected principals in a production OU from performing prohibited service actions, that would matter. The requested outcomes are separate from the one this option addresses.
F:IAM Identity Center provisions account roles through permission-set assignments to users and groups; that would be appropriate to provide centrally managed access to many AWS accounts for federated employees, but this is a different objective from the numbered obligations in the stem.
Question 568
Two technical outcomes must be delivered together: provide temporary AWS credentials to on-premises workloads without storing IAM user keys and grant a Kubernetes workload AWS permissions without using the node IAM role. Which pair of controls is sufficient for the stated outcomes?
- Use IAM roles and temporary credentials for CodeBuild service integration; use an Organizations service control policy as an account-wide permission guardrail
- Use IAM Access Analyzer policy validation and least-privilege findings; use EKS IAM Roles for Service Accounts or supported EKS Pod Identity
- Use IAM Roles Anywhere for eligible external workloads with X.509 identities; use EKS IAM Roles for Service Accounts or supported EKS Pod Identity
- Use IAM Roles Anywhere for eligible external workloads with X.509 identities; use an IAM policy condition on aws:SourceVpce for eligible AWS service requests
Explanation
Correct Answer
C:For the requirement to provide temporary AWS credentials to on-premises workloads without storing IAM user keys, IAM Roles Anywhere uses trusted X.509 certificates to obtain temporary role credentials for external workloads; 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 pair changes the problem instead of completing it. One option addresses prevent CI workers from embedding persistent AWS keys in build scripts; the other addresses prevent all affected principals in a production OU from performing prohibited service actions. The release, however, needs to provide temporary AWS credentials to on-premises workloads without storing IAM user keys as well as grant a Kubernetes workload AWS permissions without using the node IAM role.
B:IAM Access Analyzer validates policies and can surface security and best-practice findings. That is intended to identify broad or risky IAM policy patterns before deployment, not to provide temporary AWS credentials to on-premises workloads without storing IAM user keys. The second half can meet the requirement to grant a Kubernetes workload AWS permissions without using the node IAM role, but the first is still missing.
D:Combining a suitable first control with this second one misses the secondary acceptance criterion; the source VPC endpoint condition can constrain eligible requests to a designated private endpoint path; it helps deny access to a sensitive resource unless requests use an approved VPC endpoint rather than grant a Kubernetes workload AWS permissions without using the node IAM role.
Question 569
The production plan uses this approach: Apply CloudFormation drift remediation through a reviewed template update. The goal is to restore a resource's intended IaC state after manual infrastructure changes. Which prerequisite or limitation should receive focused review?
- The change must be tracked with an approval workflow and appropriate permissions
- The target setting must be rechecked on a defined association schedule
- The change process should reconcile desired and actual supported configuration
- The event rule should invoke a scoped runbook instead of an unmanaged shell script
Explanation
Correct Answer
C:The implementation has to honor the exact constraint: the change process should reconcile desired and actual supported configuration; a reviewed stack update can bring supported drifted resources back toward declared template state.
Incorrect Answers
A:Change Manager supports governed change requests and approval workflows for operations. Its own dependency is that the change must be tracked with an approval workflow and appropriate permissions; those details concern the separate objective of being able to review a sensitive operational change before executing its runbook, rather than to the named control required to restore a resource's intended IaC state after manual infrastructure changes.
B:The proposed condition makes sense in an implementation designed to restore approved daemon settings when a node falls out of compliance; it concerns state Manager continuously applies declared configurations to matching managed instances, whereas this question tests the prerequisite of the named control; the specified requirement instead is to restore a resource's intended IaC state after manual infrastructure changes.
D:This condition governs the different mechanism used to run a documented multi-step configuration repair after a matching event. An EventBridge rule can start Systems Manager Automation documents as supported targets. For the selected control, the relevant boundary is instead that the change process should reconcile desired and actual supported configuration.
Question 570
The security engineering team proposes this implementation: Use RDS automated backups for point-in-time recovery within retention. Its intended result is to restore a supported relational database to a selected time before an accidental modification. Which implementation consideration is most specific to that choice?
- Recovery needs transaction-log-aware restore within the configured backup retention
- The plan needs continuous replication and orchestrated recovery launches where supported
- Testing should be scheduled and generate measurable restore evidence
- Both Regions must be able to serve production traffic and reconcile state correctly
Explanation
Correct Answer
A:Recovery needs transaction-log-aware restore within the configured backup retention. Without this, choosing the named service is not enough to produce the promised outcome; RDS automated backups support point-in-time restore using retained backup data and transaction logs.
Incorrect Answers
B:This proposed constraint belongs to a separate objective: the plan needs continuous replication and orchestrated recovery launches where supported; the corresponding goal is to reduce recovery time for supported server workloads using block-level replication, not the selected architecture's goal to restore a supported relational database to a selected time before an accidental modification.
C:This condition governs the different mechanism used 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; for the selected control, the relevant boundary is instead that recovery needs transaction-log-aware restore within the configured backup retention.
D:Active-active systems keep multiple regional stacks serving requests, reducing activation time at the cost of complexity; its own dependency is that both Regions must be able to serve production traffic and reconcile state correctly; those details concern the separate objective of being able to minimize regional failover downtime for workloads designed to accept distributed traffic, rather than to the named control required to restore a supported relational database to a selected time before an accidental modification.