Question 1020
A reliability change request has linked acceptance tests: the system must add cluster nodes when pods cannot schedule due to insufficient capacity, and it must coordinate ECS service task placement with managed EC2 capacity. Which two controls should the engineers combine?
- Use scheduled scaling for recurring predictable demand; place CloudFront caching ahead of read-heavy static content origins
- Use ElastiCache for repeated hot-key application lookups; use an ECS capacity provider strategy for EC2 cluster capacity
- Configure Karpenter or a supported EKS node autoscaler for unschedulable pods; use SQS backlog per worker as a target tracking metric
- Configure Karpenter or a supported EKS node autoscaler for unschedulable pods; use an ECS capacity provider strategy for EC2 cluster capacity
Explanation
Correct Answer
D:Node autoscalers provision or adjust worker capacity in response to pending pods and cluster constraints; this handles the first acceptance condition, subject to the boundary that node provisioning must respond to Kubernetes scheduling constraints. The remaining condition is handled separately: ECS capacity providers can couple task placement and managed scaling of EC2 Auto Scaling capacity, with compute scale-out must track container placement demand.
Incorrect Answers
A:Neither control directly supplies both requested behaviors. Scheduled actions change Auto Scaling desired or min and max capacity at specified times; CloudFront caches eligible objects at edge locations to reduce repeated origin requests and user latency. Those mechanisms address different objectives. The specified capabilities are to add cluster nodes when pods cannot schedule due to insufficient capacity and to coordinate ECS service task placement with managed EC2 capacity.
B:The second implementation is relevant; the problem is the first. An in-memory cache serves hot keys without a round trip to the primary database for every read; it can help reduce database read pressure for frequently requested reusable data, whereas the stated first requirement is to add cluster nodes when pods cannot schedule due to insufficient capacity.
C:Combining a suitable first control with this second one misses the secondary acceptance criterion; backlog per instance estimates the pressure on worker capacity for queue-driven scaling; it helps scale message-processing workers with the backlog relative to active capacity rather than coordinate ECS service task placement with managed EC2 capacity.
Question 1021
The platform engineering team reports the following failure: A single S3-backed site repeatedly serves the same public objects to distant clients. Which action directly restores the requirement to offload geographically distributed static requests from the origin?
- Use an ECS capacity provider strategy for EC2 cluster capacity
- Place CloudFront caching ahead of read-heavy static content origins
- Use SQS to buffer bursts between request intake and worker processing
- Use ElastiCache for repeated hot-key application lookups
Explanation
Correct Answer
B:CloudFront caches eligible objects at edge locations to reduce repeated origin requests and user latency; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: the edge cache should respect origin cache headers and invalidation decisions.
Incorrect Answers
A:That service solves a different operating problem: the need to coordinate ECS service task placement with managed EC2 capacity. Its behavior is that ECS capacity providers can couple task placement and managed scaling of EC2 Auto Scaling capacity. The requested outcome remains offload geographically distributed static requests from the origin.
C:SQS queues hold pending work and let consumers process it asynchronously with retry semantics. This is a reasonable option when the requirement is to decouple transient producer spikes from a bounded worker fleet, but it operates at a different workflow boundary from the stated need to offload geographically distributed static requests from the origin.
D:Choosing this would aim to reduce database read pressure for frequently requested reusable data instead of offload geographically distributed static requests from the origin. An in-memory cache serves hot keys without a round trip to the primary database for every read; it cannot replace the mechanism specified by the incident evidence.
Question 1022
The next AWS platform release needs to normalize and triage recurring findings according to defined central criteria while also being able to alert when repeated access-denied or suspicious authentication events enter central logs. Which pairing best supports that release?
- Use Amazon Detective for investigation of related security activity; use CloudWatch metric filters with alarms on sensitive security log patterns
- Use Security Hub automation rules for finding-state prioritization; use IAM Access Analyzer external access findings for resource policies
- Use Security Hub automation rules for finding-state prioritization; use AWS Config conformance packs for grouped compliance evaluation
- Use Security Hub automation rules for finding-state prioritization; use CloudWatch metric filters with alarms on sensitive security log patterns
- Use CloudFormation drift detection to spot out-of-band stack edits; use VPC Flow Logs to investigate rejected network flows
Explanation
Correct Answer
D:The first outcome depends on the behavior that Security Hub automation rules can update selected finding fields when findings match configured criteria. Separately, metric filters turn matching log events into CloudWatch measurements that can trigger alarms. Together these meet the two requested outcomes, with the operational limits that the process should adjust supported finding properties based on matching conditions and the filter and alarm must use a stable field pattern and relevant count threshold.
Incorrect Answers
A:The second implementation is relevant; the problem is the first. Detective assists security investigations by correlating supported activity and entity relationships; it can help explore linked entity behaviors around a suspicious IAM principal, whereas the stated first requirement is to normalize and triage recurring findings according to defined central criteria.
B:Combining a suitable first control with this second one misses the secondary acceptance criterion; IAM Access Analyzer can flag supported resources whose policies allow external access; it helps identify resource-based policies granting access outside the expected trust zone rather than alert when repeated access-denied or suspicious authentication events enter central logs.
C:The first half is appropriate: Security Hub automation rules can update selected finding fields when findings match configured criteria. However, conformance packs package AWS Config rules and supported remediation actions for consistent evaluation; that serves a different objective (evaluate a collection of resource configuration controls against a standard) and leaves the explicit need to alert when repeated access-denied or suspicious authentication events enter central logs unmet.
E:The pair changes the problem instead of completing it. One option addresses identify resource properties that no longer match the approved template; the other addresses identify source, destination, and action details for a suspected network denial. The release, however, needs to normalize and triage recurring findings according to defined central criteria as well as alert when repeated access-denied or suspicious authentication events enter central logs.
Question 1023
The architecture record specifies: Query CloudTrail management events to attribute an unexpected IAM change. To support the goal to identify the principal and API call that modified a security policy, which consideration should the engineer validate?
- Request context must correlate latency across service boundaries
- Queries should extract stable fields rather than rely on visual scrolling
- The notification should depend on a logical combination of existing alarm states
- Investigators need event identity, timestamp, request parameters, and source context
Explanation
Correct Answer
D:Investigators need event identity, timestamp, request parameters, and source context. Without this, choosing the named service is not enough to produce the promised outcome. CloudTrail records supported management API events that can identify who made a change.
Incorrect Answers
A:This proposed constraint belongs to a separate objective: request context must correlate latency across service boundaries. The corresponding goal is to identify which downstream call dominates end-to-end request latency, not the selected architecture's goal to identify the principal and API call that modified a security policy.
B:This condition governs the different mechanism used to filter application logs by request ID and aggregate failing endpoint counts; logs Insights provides parsing, filtering, statistics, and time grouping for log data; for the selected control, the relevant boundary is instead that investigators need event identity, timestamp, request parameters, and source context.
C:Composite alarms evaluate the Boolean state of underlying alarms before transitioning. Its own dependency is that the notification should depend on a logical combination of existing alarm states. Those details concern the separate objective of being able to page operators only when multiple correlated alarms indicate a real incident, rather than to the named control required to identify the principal and API call that modified a security policy.
Question 1024
During root-cause analysis, the team identifies the following: A broad automation role is assumed for a task that should touch only one environment. To further limit temporary role credentials to the resources needed by one execution, what should be configured?
- Use an Organizations service control policy as an account-wide permission guardrail
- Use IAM Roles Anywhere for eligible external workloads with X.509 identities
- Use IAM ABAC conditions based on principal and resource tags
- Use an IAM policy condition on aws:SourceVpce for eligible AWS service requests
- Use session policies when assuming a role for a narrowly scoped job
Explanation
Correct Answer
E:STS session policies intersect with the role's permissions to further restrict an assumed-role session; it restores the ability to further limit temporary role credentials to the resources needed by one execution, provided the implementation also observes that the assumed session must not gain permissions beyond the base role.
Incorrect Answers
A:Choosing this would aim to prevent all affected principals in a production OU from performing prohibited service actions instead of further limit temporary role credentials to the resources needed by one execution. SCPs set maximum available permissions for member-account principals but do not themselves allow actions; it cannot replace the mechanism specified by the incident evidence.
B:Although IAM Roles Anywhere uses trusted X.509 certificates to obtain temporary role credentials for external workloads, the scenario does not ask for provide temporary AWS credentials to on-premises workloads without storing IAM user keys. It requires the ability to further limit temporary role credentials to the resources needed by one execution, which is a separate responsibility.
C:Attribute-based access control evaluates policy conditions using attributes such as tags. This can help teams grant access to project-matching resources without enumerating every resource ARN, but the reported workflow needs to further limit temporary role credentials to the resources needed by one execution. It does not perform that required function.
D:That service solves a different operating problem: the need to deny access to a sensitive resource unless requests use an approved VPC endpoint; its behavior is that the source VPC endpoint condition can constrain eligible requests to a designated private endpoint path; the requested outcome remains further limit temporary role credentials to the resources needed by one execution.
Question 1025
The delivery engineering group cannot close its release review until both of these are possible: retain the old ECS task set temporarily for rollback after traffic rerouting; shift load balancer traffic from the old ECS task set to the new task set. Which implementation pair satisfies the review?
- Set termination wait time for a CodeDeploy ECS blue/green deployment; use an ECS deployment with a new immutable task definition revision
- Use an Auto Scaling lifecycle hook to finish instance initialization before InService; use CodeDeploy ECS blue/green with two target groups
- Use an appspec.yml to define CodeDeploy instance hooks; install and run the CodeDeploy agent on target EC2 instances
- Set termination wait time for a CodeDeploy ECS blue/green deployment; use CodeDeploy ECS blue/green with two target groups
- Set termination wait time for a CodeDeploy ECS blue/green deployment; use CodeDeploy Lambda canary deployment with an alias
Explanation
Correct Answer
D:CodeDeploy blue/green termination settings control how long the original ECS task set remains after success; CodeDeploy blue/green ECS deployments use replacement task sets and load balancer target groups for traffic shifts. The first control satisfies the need to retain the old ECS task set temporarily for rollback after traffic rerouting; the second addresses the need to shift load balancer traffic from the old ECS task set to the new task set. The rollback window must preserve the old environment for the approved interval; traffic switching and the old task set must be independently manageable.
Incorrect Answers
A:An ECS service update selects a task definition revision and schedules replacement tasks to converge to it; that alternative supports the ability to roll out a changed container image while retaining the previous task definition, but it is not the requested second outcome (shift load balancer traffic from the old ECS task set to the new task set). Even though the first half addresses retain the old ECS task set temporarily for rollback after traffic rerouting, this pair is incomplete.
B:This combination solves only the latter acceptance test. The substituted first control supports delay load balancer registration until a new EC2 instance is correctly configured: an Auto Scaling lifecycle hook can keep instances in a wait state while automation completes initialization. It does not implement retain the old ECS task set temporarily for rollback after traffic rerouting.
C:Neither control directly supplies both requested behaviors. An AppSpec file maps application files and lifecycle event hooks for EC2 deployments; the CodeDeploy agent polls for work and runs lifecycle instructions on managed EC2 or on-premises hosts. Those mechanisms address different objectives. The specified capabilities are to retain the old ECS task set temporarily for rollback after traffic rerouting and to shift load balancer traffic from the old ECS task set to the new task set.
E:Combining a suitable first control with this second one misses the secondary acceptance criterion; CodeDeploy can update Lambda alias traffic weights using canary configurations; it helps expose a small percentage of Lambda invocations to a new version before full promotion rather than shift load balancer traffic from the old ECS task set to the new task set.
Question 1026
One team is accountable for the AWS workflow to remove unneeded old images without deleting current release references. A second acceptance condition requires it to preposition container images in the registries used by regional deployments. Which combination should be approved?
- Configure an ECR lifecycle policy to expire unwanted image versions; enable ECR image tag immutability for release repositories
- Export a CodeBuild artifact using buildspec artifact paths; configure ECR replication to authorized Regions or accounts
- Use CodeArtifact upstream repositories for approved external packages; enable S3 replication for approved build objects that must be available cross-Region
- Use EC2 Image Builder pipelines to produce hardened AMIs; configure ECR replication to authorized Regions or accounts
- Configure an ECR lifecycle policy to expire unwanted image versions; publish versioned language dependencies to AWS CodeArtifact
- Configure an ECR lifecycle policy to expire unwanted image versions; configure ECR replication to authorized Regions or accounts
Explanation
Correct Answer
F:ECR lifecycle rules automate image expiration according to matching criteria. This handles the first acceptance condition, subject to the boundary that retention should be based on tag status, age, or count instead of manual deletion. The remaining condition is handled separately: ECR replication copies matching repository images to configured destination registries and Regions, with distribution must follow a defined replication configuration.
Incorrect Answers
A:The first half is appropriate: ECR lifecycle rules automate image expiration according to matching criteria. However, ECR tag immutability prevents image tags from being overwritten in repositories configured for it; that serves a different objective (prevent existing release tags from silently being overwritten) and leaves the explicit need to preposition container images in the registries used by regional deployments unmet.
B:The second implementation is relevant; the problem is the first. The buildspec artifacts section chooses files to package and publish as build outputs. It can help include compiled outputs rather than the entire source tree in a pipeline artifact, whereas the stated first requirement is to remove unneeded old images without deleting current release references.
C:The pair changes the problem instead of completing it. One option addresses cache vetted public-package dependencies through the organization's package repository; the other addresses copy versioned release bundles into a secondary Region's artifact bucket. The release, however, needs to remove unneeded old images without deleting current release references as well as preposition container images in the registries used by regional deployments.
D:Image Builder creates, customizes, tests, and distributes repeatable machine images from recipes; that is intended to automate repeatable golden-image builds with validation tests, not to remove unneeded old images without deleting current release references. The second half can meet the requirement to preposition container images in the registries used by regional deployments, but the first is still missing.
E:CodeArtifact hosts versioned package repositories with upstream connections and permission policies; that alternative supports the ability to centrally share approved Maven or npm packages across build projects, but it is not the requested second outcome (preposition container images in the registries used by regional deployments). Even though the first half addresses remove unneeded old images without deleting current release references, this pair is incomplete.
Question 1027
An incident-response implementation has two separate dependencies: initiate targeted response to an AWS-managed service event affecting the account, and reprocess a historical event period after a corrected incident workflow is deployed. Select the combination that addresses both rather than only one.
- Use EventBridge Pipes to filter and enrich events from a supported source; use Kinesis Data Streams for ordered partition-based event processing
- Use AWS Health events through EventBridge for account-impact notifications; use EventBridge archive and replay for selected critical events
- Use an EventBridge rule matching a specific CloudTrail API event pattern; use EventBridge archive and replay for selected critical events
- Use AWS Health events through EventBridge for account-impact notifications; use an SQS redrive policy and dead-letter queue for failed events
Explanation
Correct Answer
B:Supported AWS Health events appear on EventBridge and can trigger notification or workflows; EventBridge archives can retain selected events for later replay to an event bus. The first control satisfies the need to initiate targeted response to an AWS-managed service event affecting the account; the second addresses the need to reprocess a historical event period after a corrected incident workflow is deployed. Account health events need event-driven notification and contextual routing; the bus must archive matching events before the processing failure occurs.
Incorrect Answers
A:The pair changes the problem instead of completing it. One option addresses connect a managed stream or queue to a target with transformation and optional enrichment; the other addresses ingest a high-volume event stream with multiple independently scaled consumers. The release, however, needs to initiate targeted response to an AWS-managed service event affecting the account as well as reprocess a historical event period after a corrected incident workflow is deployed.
C:The second implementation is relevant; the problem is the first. EventBridge matches supported API activity events and invokes selected event targets. It can help start an incident workflow after a restricted AWS configuration API call, whereas the stated first requirement is to initiate targeted response to an AWS-managed service event affecting the account.
D:Combining a suitable first control with this second one misses the secondary acceptance criterion; an SQS redrive policy sends messages to a DLQ after the receive count exceeds its threshold; it helps isolate repeatedly unprocessable events without blocking successful work rather than reprocess a historical event period after a corrected incident workflow is deployed.
Question 1028
The architecture record specifies: Use SQS to buffer bursts between request intake and worker processing. To support the goal to decouple transient producer spikes from a bounded worker fleet, which consideration should the engineer validate?
- Messages must remain durable while consumers scale at a sustainable rate
- Scaling must follow outstanding work per consumer rather than CPU alone
- The solution must adjust RCU and WCU settings rather than compute nodes
- Concurrency must be constrained at the function boundary
Explanation
Correct Answer
A:Messages must remain durable while consumers scale at a sustainable rate. That is the governing deployment boundary for the selected control: SQS queues hold pending work and let consumers process it asynchronously with retry semantics. If the boundary is missed, the design can fail to decouple transient producer spikes from a bounded worker fleet.
Incorrect Answers
B:Backlog per instance estimates the pressure on worker capacity for queue-driven scaling. Its own dependency is that scaling must follow outstanding work per consumer rather than CPU alone. Those details concern the separate objective of being able to scale message-processing workers with the backlog relative to active capacity, rather than to the named control required to decouple transient producer spikes from a bounded worker fleet.
C:The proposed condition makes sense in an implementation designed to adapt provisioned throughput targets to changing demand; it concerns DynamoDB Application Auto Scaling can change provisioned read or write capacity based on utilization targets, whereas this question tests the prerequisite of the named control; the specified requirement instead is to decouple transient producer spikes from a bounded worker fleet.
D:This proposed constraint belongs to a separate objective: concurrency must be constrained at the function boundary; the corresponding goal is to cap parallel invocations before a sensitive backend is saturated, not the selected architecture's goal to decouple transient producer spikes from a bounded worker fleet.
Question 1029
The platform engineering group cannot close its release review until both of these are possible: publish an internal agent package and distribute it to managed nodes; troubleshoot managed EC2 hosts without opening SSH ports or distributing key pairs. Which implementation pair satisfies the review?
- Use Systems Manager Patch Manager and patch baselines; use Systems Manager Session Manager for audited interactive access
- Use EventBridge Scheduler for per-task scheduled API invocations; use Systems Manager Automation assumeRole for scoped API execution
- Use Systems Manager Distributor for controlled software-package deployment; use Systems Manager Maintenance Windows for scheduled fleet operations
- Use Systems Manager Distributor for controlled software-package deployment; use Systems Manager Session Manager for audited interactive access
Explanation
Correct Answer
D:Distributor manages software packages that can be installed or updated through Systems Manager workflows; session Manager provides managed interactive sessions through Systems Manager connectivity and IAM controls. The first control satisfies the need to publish an internal agent package and distribute it to managed nodes; the second addresses the need to troubleshoot managed EC2 hosts without opening SSH ports or distributing key pairs. Agent distribution must use managed package versions and installation commands; connection authorization should be IAM-based and session activity governed.
Incorrect Answers
A:Patch Manager applies selected baselines to supported managed nodes for scan or install operations; that is intended to scan and install operating-system updates according to approved patch classifications, not to publish an internal agent package and distribute it to managed nodes. The second half can meet the requirement to troubleshoot managed EC2 hosts without opening SSH ports or distributing key pairs, but the first is still missing.
B:These are legitimate AWS controls for different outcomes: EventBridge Scheduler manages time-based invocation schedules with supported targets and retry policies, whereas automation can assume an assigned IAM role to run documented steps with explicit API permissions. The problem instead requires the ability to publish an internal agent package and distribute it to managed nodes and to troubleshoot managed EC2 hosts without opening SSH ports or distributing key pairs.
C:Combining a suitable first control with this second one misses the secondary acceptance criterion; maintenance Windows schedule supported tasks against registered targets at specified times; it helps run approved node maintenance tasks during designated service windows rather than troubleshoot managed EC2 hosts without opening SSH ports or distributing key pairs.
Question 1030
An engineer is addressing a two-part delivery requirement: make encrypted CodePipeline artifacts usable by an authorized cross-account action, without losing the ability to permit a cross-account deployment action to retrieve the intended pipeline artifact objects. Which set of actions is suitable?
- Configure an EventBridge rule for an event-driven pipeline execution; use distinct CodePipeline stages with a separate integration test action
- Use a customer managed KMS key and grant the target deployment role decrypt permission; use a CodePipeline approval stage with a designated SNS notification
- Use an immutable artifact identifier when promoting a release; grant the target-account role access through the S3 artifact bucket policy
- Use a customer managed KMS key and grant the target deployment role decrypt permission; grant the target-account role access through the S3 artifact bucket policy
Explanation
Correct Answer
D:The first outcome depends on the behavior that a customer managed key with suitable key policy and IAM permission supports cross-account decrypt access. Separately, a resource-based bucket policy can authorize the trusted destination principal to read specific artifact objects. Together these meet the two requested outcomes, with the operational limits that the shared artifact store must remain encrypted while permitting only designated consumers and the grant must be limited to the pipeline artifact location rather than every bucket.
Incorrect Answers
A:The pair changes the problem instead of completing it. One option addresses trigger a deployment workflow when a matching AWS service event occurs; the other addresses stop an unsafe revision before it can reach the deployment stage. The release, however, needs to make encrypted CodePipeline artifacts usable by an authorized cross-account action as well as permit a cross-account deployment action to retrieve the intended pipeline artifact objects.
B:The first half is appropriate: A customer managed key with suitable key policy and IAM permission supports cross-account decrypt access. However, the manual approval action can publish an approval notification to an SNS topic for human review; that serves a different objective (notify release owners that production is awaiting an approval action) and leaves the explicit need to permit a cross-account deployment action to retrieve the intended pipeline artifact objects unmet.
C:The second implementation is relevant; the problem is the first. Promoting a fixed artifact identity prevents environment-specific rebuilds from silently changing the delivered bytes; it can help promote the exact tested package between environments rather than rebuilding source independently, whereas the stated first requirement is to make encrypted CodePipeline artifacts usable by an authorized cross-account action.