Question 1050
A release design adopts this mechanism: Enable CloudTrail data events for selected S3 object operations. Which implementation detail is most relevant to its proposed use to attribute reads or deletes of sensitive bucket objects to a principal?
- Rules should be bundled with any supported remediation definitions as a deployable unit
- Audit log retention must be governed by an account separate from routine workload admins
- Responders need graph-style relationships rather than an additional blocking firewall rule
- Event selection must include the specific bucket data-plane API activity
Explanation
Correct Answer
D:The requested behavior is to attribute reads or deletes of sensitive bucket objects to a principal, and event selection must include the specific bucket data-plane API activity. The underlying AWS behavior is that CloudTrail data event selectors record eligible object-level activity beyond management events.
Incorrect Answers
A:The proposed condition makes sense in an implementation designed to evaluate a collection of resource configuration controls against a standard. It concerns conformance packs package AWS Config rules and supported remediation actions for consistent evaluation, whereas this question tests the prerequisite of the named control.
B:This proposed constraint belongs to a separate objective: audit log retention must be governed by an account separate from routine workload admins; the corresponding goal is to retain management API events from all AWS Organizations member accounts, not the selected architecture's goal to attribute reads or deletes of sensitive bucket objects to a principal.
C:This condition governs the different mechanism used to explore linked entity behaviors around a suspicious IAM principal. Detective assists security investigations by correlating supported activity and entity relationships; for the selected control, the relevant boundary is instead that event selection must include the specific bucket data-plane API activity.
Question 1051
Investigators observe: Build logs reveal an AWS user's access key configured as an environment variable. Engineers still need to prevent CI workers from embedding persistent AWS keys in build scripts. Which corrective action is most appropriate?
- Use IAM Identity Center with an external identity provider federation
- Use IAM Roles Anywhere for eligible external workloads with X.509 identities
- Use IAM roles and temporary credentials for CodeBuild service integration
- Use IAM database authentication for a supported RDS engine and client
Explanation
Correct Answer
C:CodeBuild obtains temporary service-role credentials to call authorized AWS APIs during builds; it restores the ability to prevent CI workers from embedding persistent AWS keys in build scripts, provided the implementation also observes that the build project role should authorize only required artifact and deployment operations.
Incorrect Answers
A:That service solves a different operating problem: the need to centralize workforce lifecycle while retaining the corporate identity provider. Its behavior is that IAM Identity Center integrates with supported identity providers for federated workforce access. The requested outcome remains prevent CI workers from embedding persistent AWS keys in build scripts.
B:The choice is useful when engineers need 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. It would not establish the control needed to prevent CI workers from embedding persistent AWS keys in build scripts.
D:Choosing this would aim to reduce reliance on stored passwords for supported database connections instead of prevent CI workers from embedding persistent AWS keys in build scripts; IAM database authentication generates short-lived authentication tokens for supported RDS database engines; it cannot replace the mechanism specified by the incident evidence.
Question 1052
The service maintenance group selects this control: Use an SSM Automation role with a permissions boundary or narrow IAM policy. What associated scope or dependency matters most when using it to limit the changes an automated incident runbook can make?
- The automation must be constrained to the exact API actions and resources it repairs
- Health alarms should be linked to staged rollout and rollback criteria
- A failed job event should create an actionable recovery workflow and alert
- Rollback should follow a specific monitored release failure signal
- Instance health evaluation must drive desired-capacity reconciliation
- The handler must verify event identity and use least-privilege remediation permissions
Explanation
Correct Answer
A:The automation must be constrained to the exact API actions and resources it repairs. That is the governing deployment boundary for the selected control: dedicated execution roles and least-privilege policies bound the authority of automated changes. If the boundary is missed, the design can fail to limit the changes an automated incident runbook can make.
Incorrect Answers
B:AppConfig can roll back a configuration deployment when monitored CloudWatch alarms indicate failure; its own dependency is that health alarms should be linked to staged rollout and rollback criteria. Those details concern the separate objective of being able to revert a dynamic feature flag after application health degrades, rather than to the named control required to limit the changes an automated incident runbook can make.
C:The proposed condition makes sense in an implementation designed to respond when a scheduled backup job fails before the recovery point objective is exceeded; it concerns AWS Backup job state events can feed EventBridge-driven notification and automation, whereas this question tests the prerequisite of the named control; the specified requirement instead is to limit the changes an automated incident runbook can make.
D:This proposed constraint belongs to a separate objective: rollback should follow a specific monitored release failure signal; the corresponding goal is to reverse a release that triggers the defined customer error alarm, not the selected architecture's goal to limit the changes an automated incident runbook can make.
E:This condition governs the different mechanism used to automatically replace failed instances without requiring manual restarts; EC2 Auto Scaling can terminate and replace unhealthy instances to meet desired capacity; for the selected control, the relevant boundary is instead that the automation must be constrained to the exact API actions and resources it repairs.
F:EventBridge invokes a Lambda target whose code can apply scoped AWS API changes when a rule matches; its own dependency is that the handler must verify event identity and use least-privilege remediation permissions; those details concern the separate objective of being able to apply a narrow automated containment action after an unsafe resource change event, rather than to the named control required to limit the changes an automated incident runbook can make.
Question 1053
Investigators observe: An ECS service keeps two tasks while its request rate grows beyond capacity. Engineers still need to adjust running service task capacity based on a CloudWatch target metric. Which corrective action is most appropriate?
- Configure EC2 target tracking scaling on an application-relevant metric
- Use SQS backlog per worker as a target tracking metric
- Enable ECS Service Auto Scaling for task count
- Use an ECS capacity provider strategy for EC2 cluster capacity
- Use scheduled scaling for recurring predictable demand
Explanation
Correct Answer
C:Application Auto Scaling can control ECS service desired count from target tracking or step policies; in this case the control is appropriate because it supports adjust running service task capacity based on a CloudWatch target metric. The capacity mechanism must update ECS desired task count.
Incorrect Answers
A:Target tracking policies adjust desired capacity around a configured metric target. This is a reasonable option when the requirement is to automatically change fleet capacity to maintain a target utilization level, but it operates at a different workflow boundary from the stated need to adjust running service task capacity based on a CloudWatch target metric.
B:Choosing this would aim to scale message-processing workers with the backlog relative to active capacity instead of adjust running service task capacity based on a CloudWatch target metric. Backlog per instance estimates the pressure on worker capacity for queue-driven scaling; it cannot replace the mechanism specified by the incident evidence.
D:ECS capacity providers can couple task placement and managed scaling of EC2 Auto Scaling capacity; this can help teams coordinate ECS service task placement with managed EC2 capacity, but the reported workflow needs to adjust running service task capacity based on a CloudWatch target metric. It does not perform that required function.
E:That service solves a different operating problem: the need to preprovision EC2 capacity before a known daily traffic increase. Its behavior is that scheduled actions change Auto Scaling desired or min and max capacity at specified times. The requested outcome remains adjust running service task capacity based on a CloudWatch target metric.
Question 1054
A production change is expected to allow a development platform team to create roles without granting unlimited privileges. The same change must also further limit temporary role credentials to the resources needed by one execution. Which paired implementation meets both acceptance criteria?
- Use EKS IAM Roles for Service Accounts or supported EKS Pod Identity; use session policies when assuming a role for a narrowly scoped job
- Apply an IAM permissions boundary to delegated role creation; use session policies when assuming a role for a narrowly scoped job
- Use an ECS task IAM role rather than the ECS task execution role for application API access; use IAM Roles Anywhere for eligible external workloads with X.509 identities
- Apply an IAM permissions boundary to delegated role creation; use IAM roles and temporary credentials for CodeBuild service integration
Explanation
Correct Answer
B:Permissions boundaries constrain the effective identity permissions of a user or role without granting access; this handles the first acceptance condition, subject to the boundary that the maximum permissions of created roles must be bounded independently of identity policy allows. The remaining condition is handled separately: STS session policies intersect with the role's permissions to further restrict an assumed-role session, with the assumed session must not gain permissions beyond the base role.
Incorrect Answers
A:This combination solves only the latter acceptance test. The substituted first control supports 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. It does not implement allow a development platform team to create roles without granting unlimited privileges.
C:These are legitimate AWS controls for different outcomes: ECS task roles grant permissions to containers; execution roles support image pulls, logs, and task startup, whereas IAM Roles Anywhere uses trusted X.509 certificates to obtain temporary role credentials for external workloads. The problem instead requires the ability to allow a development platform team to create roles without granting unlimited privileges and to further limit temporary role credentials to the resources needed by one execution.
D:Combining a suitable first control with this second one misses the secondary acceptance criterion; CodeBuild obtains temporary service-role credentials to call authorized AWS APIs during builds; it helps prevent CI workers from embedding persistent AWS keys in build scripts rather than further limit temporary role credentials to the resources needed by one execution.
Question 1055
A platform review exposes two requirements in the same release: reject templates that violate machine-readable resource configuration standards; in addition, compose a large deployment from smaller lifecycle-managed CloudFormation templates. Which paired set of AWS controls meets both requirements?
- Define an AWS CDK construct for a reusable platform pattern; use a nested CloudFormation stack for a reusable infrastructure component
- Apply CloudFormation Guard rules in the infrastructure validation stage; use a nested CloudFormation stack for a reusable infrastructure component
- Apply CloudFormation Guard rules in the infrastructure validation stage; use CloudFormation DeletionPolicy Retain on a stateful resource
- Apply CloudFormation Guard rules in the infrastructure validation stage; use CDK Aspects to apply organization-wide checks or tags to constructs
- Use CloudFormation StackSets with service-managed permissions; use Systems Manager State Manager associations for desired-state enforcement
Explanation
Correct Answer
B:CloudFormation Guard checks supported template structures against declarative compliance rules; nested stacks allow a parent stack to reference reusable child templates through stack resources. The first control satisfies the need to reject templates that violate machine-readable resource configuration standards; the second addresses the need to compose a large deployment from smaller lifecycle-managed CloudFormation templates. Policy validation must happen before CloudFormation executes changes; reusable components should remain stacks with their own update boundaries.
Incorrect Answers
A:The second implementation is relevant; the problem is the first. CDK constructs encapsulate infrastructure resources and synthesize AWS CloudFormation definitions; it can help package a standardized multi-resource infrastructure pattern into application code, whereas the stated first requirement is to reject templates that violate machine-readable resource configuration standards.
C:The first half is appropriate: CloudFormation Guard checks supported template structures against declarative compliance rules. However, the Retain policy keeps a supported resource after CloudFormation removes its stack ownership; that serves a different objective (prevent a persistent data resource from being removed when its stack is deleted) and leaves the explicit need to compose a large deployment from smaller lifecycle-managed CloudFormation templates unmet.
D:CDK Aspects visit construct nodes to apply checks or modifications throughout a CDK application; that alternative supports the ability to enforce consistent tagging and validation across an application's CDK construct tree, but it is not the requested second outcome (compose a large deployment from smaller lifecycle-managed CloudFormation templates). Even though the first half addresses reject templates that violate machine-readable resource configuration standards, this pair is incomplete.
E:The pair changes the problem instead of completing it. One option addresses deploy a common baseline across organization accounts and selected Regions; the other addresses keep managed instances configured with a prescribed agent and operating setting. The release, however, needs to reject templates that violate machine-readable resource configuration standards as well as compose a large deployment from smaller lifecycle-managed CloudFormation templates.
Question 1056
A technical change review names the selected control as follows: Use CloudWatch Logs Insights for interactive log analysis. To query structured error events across log groups during incidents, which constraint must be addressed for this design?
- The log event pattern is consistent enough to extract a metric value
- A correlation ID must be propagated consistently through application calls
- Retention periods should vary by data classification and compliance obligations
- The response must support a query language over centrally stored log events
Explanation
Correct Answer
D:The implementation has to honor the exact constraint: the response must support a query language over centrally stored log events. CloudWatch Logs Insights runs interactive queries over selected CloudWatch log groups.
Incorrect Answers
A:This condition governs the different mechanism used to count specific error patterns without changing application metric instrumentation. Metric filters evaluate incoming CloudWatch Logs records and emit metrics for matching patterns; for the selected control, the relevant boundary is instead that the response must support a query language over centrally stored log events.
B:Structured log fields and propagated request IDs enable targeted multi-service incident investigation; its own dependency is that a correlation ID must be propagated consistently through application calls; those details concern the separate objective of being able to correlate requests across independent container services in a central log search, rather than to the named control required to query structured error events across log groups during incidents.
C:The proposed condition makes sense in an implementation designed to expire routine log events after the approved operating retention period; it concerns log-group retention settings automatically expire data beyond the configured retention interval, whereas this question tests the prerequisite of the named control; the specified requirement instead is to query structured error events across log groups during incidents.
Question 1057
A reliability architecture decision must satisfy two different outcomes, not just choose one AWS feature: coordinate repeatable dependency-sensitive recovery actions with recorded outcomes and minimize steady-state disaster recovery costs where hours of recovery are acceptable. Which implementation does that?
- Maintain tested IaC and AMI releases in the disaster recovery Region; use backup-and-restore DR for a workload with a generous recovery target
- Implement a pilot-light DR architecture in a secondary Region; run regular failover game days and measure actual RTO and RPO
- Use SSM Automation to execute approved disaster recovery cutover steps; use RDS Multi-AZ automatic failover for a local Availability Zone failure
- Use SSM Automation to execute approved disaster recovery cutover steps; use backup-and-restore DR for a workload with a generous recovery target
Explanation
Correct Answer
D:Automation runbooks sequence service API operations so recovery steps can be repeated and audited; backup-and-restore recreates infrastructure and data only when needed, trading longer RTO for lower cost. The first control satisfies the need to coordinate repeatable dependency-sensitive recovery actions with recorded outcomes; the second addresses the need to minimize steady-state disaster recovery costs where hours of recovery are acceptable. The cutover should have explicit sequencing, permissions, and failure handling; recovery can tolerate restoring backups and provisioning infrastructure after a disaster.
Incorrect Answers
A:This combination solves only the latter acceptance test. The substituted first control supports recreate known-good application capacity from immutable infrastructure definitions: versioned IaC and images allow consistent restoration of application infrastructure. It does not implement coordinate repeatable dependency-sensitive recovery actions with recorded outcomes.
B:Neither control directly supplies both requested behaviors. Pilot light maintains minimal core components ready and brings up remaining tiers during recovery; controlled recovery tests expose dependencies, manual delays, and replication gaps before incidents. Those mechanisms address different objectives. The specified capabilities are to coordinate repeatable dependency-sensitive recovery actions with recorded outcomes and to minimize steady-state disaster recovery costs where hours of recovery are acceptable.
C:RDS Multi-AZ can fail over to a maintained standby in another zone using the managed DB endpoint; that alternative supports the ability to restore database service availability without promoting a cross-Region read replica, but it is not the requested second outcome (minimize steady-state disaster recovery costs where hours of recovery are acceptable). Even though the first half addresses coordinate repeatable dependency-sensitive recovery actions with recorded outcomes, this pair is incomplete.
Question 1058
An engineer will implement the following change: Use ElastiCache for repeated hot-key application lookups. Which operational boundary most directly applies to the intended outcome to reduce database read pressure for frequently requested reusable data?
- Capacity must be ready shortly before the recurring workload starts
- The database storage ceiling must remain within budget and service limits
- Application cache invalidation and expiration must be designed explicitly
- The capacity mechanism must update ECS desired task count
Explanation
Correct Answer
C:Application cache invalidation and expiration must be designed explicitly. That is the governing deployment boundary for the selected control: an in-memory cache serves hot keys without a round trip to the primary database for every read. If the boundary is missed, the design can fail to reduce database read pressure for frequently requested reusable data.
Incorrect Answers
A:The proposed condition makes sense in an implementation designed to preprovision EC2 capacity before a known daily traffic increase. It concerns scheduled actions change Auto Scaling desired or min and max capacity at specified times, whereas this question tests the prerequisite of the named control.
B:This proposed constraint belongs to a separate objective: the database storage ceiling must remain within budget and service limits; the corresponding goal is to grow database storage as data expands without frequent manual storage modifications, not the selected architecture's goal to reduce database read pressure for frequently requested reusable data.
D:Application Auto Scaling can control ECS service desired count from target tracking or step policies; its own dependency is that the capacity mechanism must update ECS desired task count. Those details concern the separate objective of being able to adjust running service task capacity based on a CloudWatch target metric, rather than to the named control required to reduce database read pressure for frequently requested reusable data.
Question 1059
The next AWS platform release needs to meet a specialized cryptographic requirement needing dedicated customer-managed HSMs while also being able to separate encryption key management from broad object storage administration. Which pairing best supports that release?
- Use CloudHSM when exclusive customer control of HSM key management is required; use customer managed KMS keys with explicitly scoped key policies
- Use an S3 gateway VPC endpoint and appropriate bucket policy constraints; use customer managed KMS keys with explicitly scoped key policies
- Use CloudHSM when exclusive customer control of HSM key management is required; use AWS Config rule evaluations with automatic remediation for policy violations
- Request an ACM-issued public certificate for a supported HTTPS endpoint; use Amazon Macie for sensitive-data discovery in S3
- Use CloudHSM when exclusive customer control of HSM key management is required; use subnet network ACL rules for stateless subnet-edge filtering
Explanation
Correct Answer
A:CloudHSM offers dedicated hardware security modules operated under the customer's control plane; this handles the first acceptance condition, subject to the boundary that the team accepts the operational burden of key management and cluster availability. The remaining condition is handled separately: KMS key policies and grants determine who can use a protected customer managed key, with permissions must reflect both the resource API action and decrypt authorization.
Incorrect Answers
B:The second implementation is relevant; the problem is the first. S3 gateway endpoints use VPC route entries to access S3 privately from eligible subnets. It can help allow private subnet workloads to reach S3 without NAT for supported traffic, whereas the stated first requirement is to meet a specialized cryptographic requirement needing dedicated customer-managed HSMs.
C:Combining a suitable first control with this second one misses the secondary acceptance criterion; AWS Config rules evaluate configurations and can integrate with Systems Manager remediation; it helps restore supported misconfigured resource settings when drift is detected rather than separate encryption key management from broad object storage administration.
D:Neither control directly supplies both requested behaviors. AWS Certificate Manager provisions and renews eligible certificates for integrated AWS services; Macie uses automated discovery and classification to identify sensitive data in supported S3 objects. Those mechanisms address different objectives. The specified capabilities are to meet a specialized cryptographic requirement needing dedicated customer-managed HSMs and to separate encryption key management from broad object storage administration.
E:Network ACLs are stateless ordered rules applied to traffic entering and leaving subnets. That alternative supports the ability to apply explicit allow and deny network rules at a subnet boundary, but it is not the requested second outcome (separate encryption key management from broad object storage administration). Even though the first half addresses meet a specialized cryptographic requirement needing dedicated customer-managed HSMs, this pair is incomplete.
Question 1060
An engineer will implement the following change: Deliver S3 server access logs or application exports through lifecycle-managed buckets. Which operational boundary most directly applies to the intended outcome to retain bulk historical logs at lower long-term storage cost?
- The response must support a query language over centrally stored log events
- The log service principal and key policy need the required encrypt and decrypt permissions
- Writers and readers must be authorized by both storage and KMS policies
- Storage classes and retention controls should fit audit-access frequency
Explanation
Correct Answer
D:The implementation has to honor the exact constraint: storage classes and retention controls should fit audit-access frequency; S3 lifecycle rules transition or expire suitable log objects based on approved retention requirements.
Incorrect Answers
A:This condition governs the different mechanism used to query structured error events across log groups during incidents. CloudWatch Logs Insights runs interactive queries over selected CloudWatch log groups. For the selected control, the relevant boundary is instead that storage classes and retention controls should fit audit-access frequency.
B:CloudWatch Logs supports customer-managed KMS key association for eligible log groups. Its own dependency is that the log service principal and key policy need the required encrypt and decrypt permissions; those details concern the separate objective of being able to control at-rest log encryption under an explicitly governed encryption key, rather than to the named control required to retain bulk historical logs at lower long-term storage cost.
C:The proposed condition makes sense in an implementation designed to protect exported audit objects with a controlled at-rest encryption boundary; it concerns S3 SSE-KMS encrypts objects using AWS KMS keys with separate data and key-access controls, whereas this question tests the prerequisite of the named control; the specified requirement instead is to retain bulk historical logs at lower long-term storage cost.