Question 880
The production support team proposes this implementation: Use session policies when assuming a role for a narrowly scoped job. Its intended result is to further limit temporary role credentials to the resources needed by one execution. Which implementation consideration is most specific to that choice?
- The assumed session must not gain permissions beyond the base role
- The cap must apply independently from member account IAM role grants
- Credentials must rotate automatically and be available through supported instance metadata
- The function's execution identity should avoid global administrator actions
Explanation
Correct Answer
A:The assumed session must not gain permissions beyond the base role. That is the governing deployment boundary for the selected control: STS session policies intersect with the role's permissions to further restrict an assumed-role session. If the boundary is missed, the design can fail to further limit temporary role credentials to the resources needed by one execution.
Incorrect Answers
B:SCPs set maximum available permissions for member-account principals but do not themselves allow actions; its own dependency is that the cap must apply independently from member account IAM role grants. Those details concern the separate objective of being able to prevent all affected principals in a production OU from performing prohibited service actions, rather than to the named control required to further limit temporary role credentials to the resources needed by one execution.
C:The proposed condition makes sense in an implementation designed to give an EC2 application temporary credentials to call an AWS API; it concerns an EC2 instance profile provides temporary role credentials to applications running on the instance, whereas this question tests the prerequisite of the named control; the specified requirement instead is to further limit temporary role credentials to the resources needed by one execution.
D:This proposed constraint belongs to a separate objective: the function's execution identity should avoid global administrator actions; the corresponding goal is to allow a Lambda handler to read a specific secret and publish required logs, not the selected architecture's goal to further limit temporary role credentials to the resources needed by one execution.
Question 881
Investigators observe: Noncompliant templates pass source linting and reach account-level provisioning. Engineers still need to intercept stack resource operations that violate central deployment rules. Which corrective action is most appropriate?
- Use CloudFormation hooks to validate resource configuration during stack operations
- Use CDK Aspects to apply organization-wide checks or tags to constructs
- Publish approved infrastructure products through AWS Service Catalog
- Use CloudFormation stack policies to protect critical resources from updates
Explanation
Correct Answer
A:To intercept stack resource operations that violate central deployment rules, the architecture relies on this AWS behavior: CloudFormation hooks can enforce pre-provisioning or operation-time checks for supported resource types. Validation must run as part of CloudFormation resource operation evaluation.
Incorrect Answers
B:CDK Aspects visit construct nodes to apply checks or modifications throughout a CDK application; this can help teams enforce consistent tagging and validation across an application's CDK construct tree, but the reported workflow needs to intercept stack resource operations that violate central deployment rules. It does not perform that required function.
C:That service solves a different operating problem: the need to let application teams self-service compliant infrastructure without broad template authoring access. Its behavior is that service Catalog portfolios expose governed infrastructure products to authorized consumers. The requested outcome remains intercept stack resource operations that violate central deployment rules.
D:The choice is useful when engineers need to block unintended replacement or deletion of protected resources during stack updates: a stack policy can deny update actions on selected logical resources unless appropriately overridden; it would not establish the control needed to intercept stack resource operations that violate central deployment rules.
Question 882
Investigators observe: Seven years of low-frequency audit logs sit in an expensive hot analytics index. Engineers still need to retain bulk historical logs at lower long-term storage cost. Which corrective action is most appropriate?
- Configure CloudWatch Logs subscription filters to stream events to an eligible destination
- Encrypt long-term S3 log objects with a customer managed KMS key
- Deliver S3 server access logs or application exports through lifecycle-managed buckets
- Configure CloudWatch Logs retention per application log group
Explanation
Correct Answer
C:S3 lifecycle rules transition or expire suitable log objects based on approved retention requirements; it enables the necessary capability to retain bulk historical logs at lower long-term storage cost rather than only providing an adjacent operational control. Storage classes and retention controls should fit audit-access frequency.
Incorrect Answers
A:Subscription filters route new matching CloudWatch Logs events to supported streaming or processing destinations; this can help teams process matching log records as they arrive instead of polling stored logs, but the reported workflow needs to retain bulk historical logs at lower long-term storage cost. It does not perform that required function.
B:That service solves a different operating problem: the need to protect exported audit objects with a controlled at-rest encryption boundary; its behavior is that S3 SSE-KMS encrypts objects using AWS KMS keys with separate data and key-access controls; the requested outcome remains retain bulk historical logs at lower long-term storage cost.
D:Log-group retention settings automatically expire data beyond the configured retention interval; this is a reasonable option when the requirement is to expire routine log events after the approved operating retention period, but it operates at a different workflow boundary from the stated need to retain bulk historical logs at lower long-term storage cost.
Question 883
A release readiness review identifies 2 distinct controls to implement: (1) adjust container capacity as aggregate task load grows; (2) identify noncompliant resources without depending on log-string alerts. Select the TWO actions that jointly cover them. Choose TWO.
- Use an AWS Config managed rule to detect a specific resource misconfiguration
- Use EventBridge input transformation before notifying an operations target
- Use EventBridge rules to route AWS Health account events to response automation
- Use a CloudWatch alarm for ECS CPU or memory utilization with service scaling
- Configure an EventBridge rule with an SSM Automation target
Explanation
Correct Answers
A:This covers the specific result to identify noncompliant resources without depending on log-string alerts: config rules assess supported resource settings and publish compliant or noncompliant evaluations. The system must evaluate resource configuration against a known rule.
D:Application Auto Scaling policies can use CloudWatch service metrics to scale ECS task replicas; among the listed outcomes, it addresses adjust container capacity as aggregate task load grows, rather than merely contributing a related signal or support step; in this design the separate acceptance test is to identify noncompliant resources without depending on log-string alerts.
Incorrect Answers
B:EventBridge input transformers construct custom target payloads from matched event fields. That would be appropriate to send only relevant event details to responders rather than an entire event payload, but this is a different objective from the numbered obligations in the stem.
C:This mechanism supports the ability to notify the operations account when an AWS service issue affects the workload: EventBridge receives supported AWS Health events and routes matching events to configured targets. It would not satisfy a different obligation just by appearing in the same workflow.
E:EventBridge can invoke supported Systems Manager Automation runbooks from matching events; if the requirement were to launch a defined remediation runbook when a matching service event occurs, that would matter; the requested outcomes are separate from the one this option addresses; the specified requirement instead is to identify noncompliant resources without depending on log-string alerts.
Question 884
A production change is expected to investigate which web ACL rule is denying legitimate client requests. The same change must also alert when repeated access-denied or suspicious authentication events enter central logs. Which paired implementation meets both acceptance criteria?
- Use Amazon Detective for investigation of related security activity; use CloudFormation drift detection to spot out-of-band stack edits
- Use IAM Access Analyzer unused-access analysis for stale privileges; use CloudWatch metric filters with alarms on sensitive security log patterns
- Use AWS WAF logging to analyze blocked HTTP requests; use CloudWatch metric filters with alarms on sensitive security log patterns
- Use AWS WAF logging to analyze blocked HTTP requests; enable CloudTrail log file integrity validation and validate digest signatures
Explanation
Correct Answer
C:For the requirement to investigate which web ACL rule is denying legitimate client requests, AWS WAF logs contain supported request and rule evaluation information for configured web ACLs. For the requirement to alert when repeated access-denied or suspicious authentication events enter central logs, metric filters turn matching log events into CloudWatch measurements that can trigger alarms. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.
Incorrect Answers
A:These are legitimate AWS controls for different outcomes: detective assists security investigations by correlating supported activity and entity relationships, whereas drift detection checks supported stack resource configuration against the declared IaC state. The problem instead requires the ability to investigate which web ACL rule is denying legitimate client requests and to alert when repeated access-denied or suspicious authentication events enter central logs.
B:This combination solves only the latter acceptance test. The substituted first control supports find roles or permissions that have not been used within the configured scope: unused access findings help identify unused IAM roles or unused permissions for least-privilege review; it does not implement investigate which web ACL rule is denying legitimate client requests.
D:CloudTrail integrity validation supports cryptographic verification of delivered log file digests; that alternative supports the ability to prove whether delivered trail log objects have been tampered with, but it is not the requested second outcome (alert when repeated access-denied or suspicious authentication events enter central logs). Even though the first half addresses investigate which web ACL rule is denying legitimate client requests, this pair is incomplete.
Question 885
A production ticket contains this symptom: A retired application stack deletion would also remove business-critical stored data. The desired behavior is to prevent a persistent data resource from being removed when its stack is deleted. What should be fixed?
- Use CloudFormation DeletionPolicy Retain on a stateful resource
- Use CloudFormation stack policies to protect critical resources from updates
- Enable automatic deployment for an OU-targeted CloudFormation StackSet
- Enable CloudFormation drift detection on supported stack resources
- Use CloudFormation hooks to validate resource configuration during stack operations
Explanation
Correct Answer
A:The Retain policy keeps a supported resource after CloudFormation removes its stack ownership. In this case the control is appropriate because it supports prevent a persistent data resource from being removed when its stack is deleted. Retention must be declared in the infrastructure template, not as a manual reminder.
Incorrect Answers
B:Choosing this would aim to block unintended replacement or deletion of protected resources during stack updates instead of prevent a persistent data resource from being removed when its stack is deleted; a stack policy can deny update actions on selected logical resources unless appropriately overridden; it cannot replace the mechanism specified by the incident evidence.
C:Although stackSet automatic deployment creates or removes managed instances as accounts move into or out of targeted OUs, the scenario does not ask for apply baseline stacks when new accounts join a targeted organizational unit; it requires the ability to prevent a persistent data resource from being removed when its stack is deleted, which is a separate responsibility.
D:Drift detection compares actual and expected configurations for supported resources and properties; this can help teams identify unmanaged configuration changes made outside the IaC deployment, but the reported workflow needs to prevent a persistent data resource from being removed when its stack is deleted. It does not perform that required function.
E:That service solves a different operating problem: the need to intercept stack resource operations that violate central deployment rules; its behavior is that CloudFormation hooks can enforce pre-provisioning or operation-time checks for supported resource types; the requested outcome remains prevent a persistent data resource from being removed when its stack is deleted.
Question 886
For the current AWS workload, operators need to address the following together: (1) filter common malicious HTTP request patterns before they reach the application; (2) surface suspicious credentials and network behavior without building a custom detector; (3) prevent accidental public grants on sensitive S3 buckets. Which THREE actions complete the plan? Choose THREE.
- Enable GuardDuty across organization accounts to detect suspicious activity
- Use AWS WAF managed rules on the web-facing ALB
- Use security group rules for stateful instance or ENI traffic control
- Apply S3 Block Public Access at the account or bucket scope
- Use AWS Shield Advanced for enhanced DDoS protection of eligible public resources
- Use subnet network ACL rules for stateless subnet-edge filtering
Explanation
Correct Answers
A:GuardDuty analyzes supported telemetry and uses threat detection to generate security findings; among the listed outcomes, it addresses surface suspicious credentials and network behavior without building a custom detector, rather than merely contributing a related signal or support step; in this design the separate acceptance test is to filter common malicious HTTP request patterns before they reach the application.
B:This covers the specific result to filter common malicious HTTP request patterns before they reach the application: 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.
D:The corresponding obligation is to prevent accidental public grants on sensitive S3 buckets. S3 Block Public Access settings override relevant public permissions for supported access paths; that behavior is the reason this action belongs in the selected answer set.
Incorrect Answers
C:Security groups apply stateful allow rules to supported network interfaces and resources. That would be appropriate to restrict inbound application ports while permitting corresponding return traffic, but this is a different objective from the numbered obligations in the stem.
E:It supports a separate administrative task, namely to apply additional DDoS protection and response capabilities to critical endpoints. Shield Advanced offers enhanced detection, response capabilities, and protections for supported resources; the prompt's required outcomes are not achieved by substituting this control.
F:Network ACLs are stateless ordered rules applied to traffic entering and leaving subnets. If the requirement were to apply explicit allow and deny network rules at a subnet boundary, that would matter. The requested outcomes are separate from the one this option addresses.
Question 887
The architecture record specifies: Use Amazon Macie for sensitive-data discovery in S3. To support the goal to identify S3 objects that potentially contain sensitive information, which consideration should the engineer validate?
- The design should keep plaintext data keys controlled and protect their encrypted form
- The policy must target supported resources through Organizations and configured security administration
- Return traffic requires matching stateless rules for ephemeral ports where applicable
- Detection should inspect eligible S3 object content and report discovered data categories
Explanation
Correct Answer
D:Detection should inspect eligible S3 object content and report discovered data categories. Without this, choosing the named service is not enough to produce the promised outcome; Macie uses automated discovery and classification to identify sensitive data in supported S3 objects.
Incorrect Answers
A:This proposed constraint belongs to a separate objective: the design should keep plaintext data keys controlled and protect their encrypted form; the corresponding goal is to encrypt bulk data using data keys protected by an AWS managed cryptographic boundary, not the selected architecture's goal to identify S3 objects that potentially contain sensitive information.
B:This condition governs the different mechanism used to enforce an approved web ACL policy on supported public application endpoints across member accounts; firewall Manager manages supported security policies across accounts and can apply WAF protections to in-scope resources; for the selected control, the relevant boundary is instead that detection should inspect eligible S3 object content and report discovered data categories.
C:Network ACLs are stateless ordered rules applied to traffic entering and leaving subnets. Its own dependency is that return traffic requires matching stateless rules for ephemeral ports where applicable. Those details concern the separate objective of being able to apply explicit allow and deny network rules at a subnet boundary, rather than to the named control required to identify S3 objects that potentially contain sensitive information.
Question 888
An operations runbook has 3 acceptance criteria: (1) offload geographically distributed static requests from the origin; (2) coordinate ECS service task placement with managed EC2 capacity; (3) preprovision EC2 capacity before a known daily traffic increase. Which THREE AWS actions satisfy these requirements? Choose THREE.
- Place CloudFront caching ahead of read-heavy static content origins
- Use an ECS capacity provider strategy for EC2 cluster capacity
- Use SQS to buffer bursts between request intake and worker processing
- Configure EC2 target tracking scaling on an application-relevant metric
- Use scheduled scaling for recurring predictable demand
- Enable ECS Service Auto Scaling for task count
Explanation
Correct Answers
A:CloudFront caches eligible objects at edge locations to reduce repeated origin requests and user latency; this fulfills the stated requirement to offload geographically distributed static requests from the origin. The operational limitation is that the edge cache should respect origin cache headers and invalidation decisions.
B:The corresponding obligation is to coordinate ECS service task placement with managed EC2 capacity. ECS capacity providers can couple task placement and managed scaling of EC2 Auto Scaling capacity; that behavior is the reason this action belongs in the selected answer set.
E:Scheduled actions change Auto Scaling desired or min and max capacity at specified times. This fulfills the stated requirement to preprovision EC2 capacity before a known daily traffic increase. The operational limitation is that capacity must be ready shortly before the recurring workload starts.
Incorrect Answers
C:It supports a separate administrative task, namely to decouple transient producer spikes from a bounded worker fleet. SQS queues hold pending work and let consumers process it asynchronously with retry semantics. The prompt's required outcomes are not achieved by substituting this control.
D:Target tracking policies adjust desired capacity around a configured metric target. If the requirement were to automatically change fleet capacity to maintain a target utilization level, that would matter. The requested outcomes are separate from the one this option addresses.
F:This mechanism supports the ability to adjust running service task capacity based on a CloudWatch target metric: application Auto Scaling can control ECS service desired count from target tracking or step policies. It would not satisfy a different obligation just by appearing in the same workflow.
Question 889
Investigators observe: A standalone RDS instance outage requires lengthy operator-driven recovery. Engineers still need to provide automatic database failover after a primary Availability Zone outage. Which corrective action is most appropriate?
- Use DynamoDB on-demand capacity for variable request demand
- Use an RDS cross-Region read replica where the engine supports it
- Enable Amazon RDS Multi-AZ high availability for a supported DB engine
- Use EFS mount targets in each client Availability Zone
Explanation
Correct Answer
C:To provide automatic database failover after a primary Availability Zone outage, the architecture relies on this AWS behavior: RDS Multi-AZ deployments maintain a standby or multi-instance arrangement for managed failover. The application should keep using its database endpoint after managed failover.
Incorrect Answers
A:That service solves a different operating problem: the need to avoid manual throughput planning when read and write request rates change sharply; its behavior is that DynamoDB on-demand mode automatically manages throughput capacity for variable workloads within service limits; the requested outcome remains provide automatic database failover after a primary Availability Zone outage.
B:The choice is useful when engineers need to provide off-Region read capacity and a possible promotion-based recovery option: cross-Region read replicas copy database changes asynchronously and can be promoted under supported conditions. It would not establish the control needed to provide automatic database failover after a primary Availability Zone outage.
D:Choosing this would aim to allow Linux application instances in multiple zones to access a common managed file system instead of provide automatic database failover after a primary Availability Zone outage; EFS mount targets provide VPC network access to a Regional shared file system from selected zones; it cannot replace the mechanism specified by the incident evidence.
Question 890
An engineer will implement the following change: Use CodeDeploy Lambda canary deployment with an alias. Which operational boundary most directly applies to the intended outcome to expose a small percentage of Lambda invocations to a new version before full promotion?
- The new task set must be evaluated on limited live traffic first
- The service scheduler must be told which task definition revision to run
- A failed validation hook must stop or fail the deployment workflow
- A timed first increment is required before the rest of traffic shifts
Explanation
Correct Answer
D:The requested behavior is to expose a small percentage of Lambda invocations to a new version before full promotion, and a timed first increment is required before the rest of traffic shifts. The underlying AWS behavior is that CodeDeploy can update Lambda alias traffic weights using canary configurations.
Incorrect Answers
A:The proposed condition makes sense in an implementation designed to send a small fraction of user traffic to a replacement task set before full cutover. It concerns canary deployment configurations shift an initial percentage before the remaining cutover, whereas this question tests the prerequisite of the named control.
B:This proposed constraint belongs to a separate objective: the service scheduler must be told which task definition revision to run; the corresponding goal is to roll out a changed container image while retaining the previous task definition, not the selected architecture's goal to expose a small percentage of Lambda invocations to a new version before full promotion.
C:This condition governs the different mechanism used to run pre-traffic or post-traffic checks before accepting an alias cutover; Lambda deployment lifecycle hooks invoke designated validation functions for pre- and post-traffic checks; for the selected control, the relevant boundary is instead that a timed first increment is required before the rest of traffic shifts.