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.
Question 1031
The delivery engineering team reports the following failure: A sensitive log group must use a managed key with organization-defined key lifecycle controls. Which action directly restores the requirement to control at-rest log encryption under an explicitly governed encryption key?
- Associate a customer managed KMS key with a CloudWatch Logs log group
- Configure CloudWatch Logs cross-account subscription delivery through supported destination policies
- Encrypt long-term S3 log objects with a customer managed KMS key
- Configure HTTPS or TLS for log delivery clients
Explanation
Correct Answer
A:To control at-rest log encryption under an explicitly governed encryption key, the architecture relies on this AWS behavior: CloudWatch Logs supports customer-managed KMS key association for eligible log groups. The log service principal and key policy need the required encrypt and decrypt permissions.
Incorrect Answers
B:CloudWatch Logs destinations and resource policies authorize supported cross-account subscription flows; this can help teams centralize matching account log streams into a designated log-processing account, but the reported workflow needs to control at-rest log encryption under an explicitly governed encryption key. It does not perform that required function.
C: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 control at-rest log encryption under an explicitly governed encryption key.
D:The choice is useful when engineers need to protect sensitive telemetry while it travels from producers to ingestion endpoints: TLS protects log transport over supported network paths against plaintext interception. It would not establish the control needed to control at-rest log encryption under an explicitly governed encryption key.
Question 1032
An operational design is incomplete until it can enforce an approved web ACL policy on supported public application endpoints across member accounts and issue short-lived internal TLS certificates for private service identities. Which two-part implementation fills both gaps?
- Use security group rules for stateful instance or ENI traffic control; use AWS Private CA for an organization-managed private certificate authority
- Use AWS Firewall Manager organization security policies for WAF protections; use AWS Private CA for an organization-managed private certificate authority
- Use Amazon Macie for sensitive-data discovery in S3; enable Amazon Inspector EC2 and ECR scanning where supported
- Use AWS Firewall Manager organization security policies for WAF protections; apply S3 Block Public Access at the account or bucket scope
- Use AWS Firewall Manager organization security policies for WAF protections; use CloudHSM when exclusive customer control of HSM key management is required
Explanation
Correct Answer
B:The first outcome depends on the behavior that firewall Manager manages supported security policies across accounts and can apply WAF protections to in-scope resources. Separately, AWS Private CA creates and operates private certificate authorities for issuing and managing private certificates. Together these meet the two requested outcomes, with the operational limits that the policy must target supported resources through Organizations and configured security administration and the organization must govern internal CA policies and certificate trust distribution.
Incorrect Answers
A:Security groups apply stateful allow rules to supported network interfaces and resources. That is intended to restrict inbound application ports while permitting corresponding return traffic, not to enforce an approved web ACL policy on supported public application endpoints across member accounts. The second half can meet the requirement to issue short-lived internal TLS certificates for private service identities, but the first is still missing.
C:The pair changes the problem instead of completing it. One option addresses identify S3 objects that potentially contain sensitive information; the other addresses identify vulnerable software packages in running compute and container images. The release, however, needs to enforce an approved web ACL policy on supported public application endpoints across member accounts as well as issue short-lived internal TLS certificates for private service identities.
D:The first half is appropriate: Firewall Manager manages supported security policies across accounts and can apply WAF protections to in-scope resources. However, S3 Block Public Access settings override relevant public permissions for supported access paths; that serves a different objective (prevent accidental public grants on sensitive S3 buckets) and leaves the explicit need to issue short-lived internal TLS certificates for private service identities unmet.
E:CloudHSM offers dedicated hardware security modules operated under the customer's control plane; that alternative supports the ability to meet a specialized cryptographic requirement needing dedicated customer-managed HSMs, but it is not the requested second outcome (issue short-lived internal TLS certificates for private service identities). Even though the first half addresses enforce an approved web ACL policy on supported public application endpoints across member accounts, this pair is incomplete.
Question 1033
An incident record says: An EKS service holds one replica even when its observed load increases. To restore the capability to scale pod replicas for demand without changing each pod's compute limits, which change addresses the root cause?
- Configure Auto Scaling warm pools for slow-starting instances
- Configure Kubernetes Horizontal Pod Autoscaler with relevant metrics
- Use an ECS capacity provider strategy for EC2 cluster capacity
- Run stateless burst workloads on AWS Fargate
Explanation
Correct Answer
B:HPA adjusts the replica count of supported Kubernetes workloads from configured metrics. It enables the necessary capability to scale pod replicas for demand without changing each pod's compute limits rather than only providing an adjacent operational control. Scaling should change replicas rather than only increase a container resource limit.
Incorrect Answers
A:That service solves a different operating problem: the need to reduce scale-out readiness time for an application with lengthy initialization. Its behavior is that an Auto Scaling warm pool holds initialized instances in a supported state for later scale-out. The requested outcome remains scale pod replicas for demand without changing each pod's compute limits.
C:ECS capacity providers can couple task placement and managed scaling of EC2 Auto Scaling capacity; this is a reasonable option when the requirement is to coordinate ECS service task placement with managed EC2 capacity, but it operates at a different workflow boundary from the stated need to scale pod replicas for demand without changing each pod's compute limits.
D:Choosing this would aim to launch containers without managing EC2 hosts for short-lived jobs instead of scale pod replicas for demand without changing each pod's compute limits. Fargate provides managed compute capacity for compatible ECS tasks and EKS pods; it cannot replace the mechanism specified by the incident evidence.
Question 1034
The architecture record specifies: Use AWS Config custom or managed rules for compliance evaluation. To support the goal to detect resources that diverge from a defined account-level configuration policy, which consideration should the engineer validate?
- Inventory collection must run on nodes with the required managed-node configuration
- Findings should reflect resource configuration rather than instance command status
- Connection authorization should be IAM-based and session activity governed
- Poison messages must remain available for later diagnosis outside the main queue
Explanation
Correct Answer
B:The implementation has to honor the exact constraint: findings should reflect resource configuration rather than instance command status; config rules evaluate supported resource configurations against policy and report compliance outcomes.
Incorrect Answers
A:The proposed condition makes sense in an implementation designed to report installed applications and instance configuration across the managed fleet; it concerns Systems Manager Inventory collects supported software and configuration metadata for fleet reporting, whereas this question tests the prerequisite of the named control; the specified requirement instead is to detect resources that diverge from a defined account-level configuration policy.
C:This condition governs the different mechanism used to troubleshoot managed EC2 hosts without opening SSH ports or distributing key pairs. Session Manager provides managed interactive sessions through Systems Manager connectivity and IAM controls; for the selected control, the relevant boundary is instead that findings should reflect resource configuration rather than instance command status.
D:SQS redrive policies move repeatedly unsuccessfully processed messages to a designated dead-letter queue; its own dependency is that poison messages must remain available for later diagnosis outside the main queue. Those details concern the separate objective of being able to isolate messages that exceed the permitted receive-attempt count, rather than to the named control required to detect resources that diverge from a defined account-level configuration policy.
Question 1035
A team is designing a reusable security pattern. It must attribute reads or deletes of sensitive bucket objects to a principal; it must also query retained CloudTrail events without first building a custom S3 query pipeline. Which paired configuration is appropriate?
- Enable AWS Config recording and resource configuration history; route GuardDuty findings through EventBridge to a security workflow
- Enable CloudTrail data events for selected S3 object operations; run SQL queries against existing CloudTrail Lake event data stores
- Use AWS Config conformance packs for grouped compliance evaluation; run SQL queries against existing CloudTrail Lake event data stores
- Enable CloudTrail data events for selected S3 object operations; use AWS WAF logging to analyze blocked HTTP requests
Explanation
Correct Answer
B:CloudTrail data event selectors record eligible object-level activity beyond management events; CloudTrail Lake ingests supported events into queryable event data stores. The first control satisfies the need to attribute reads or deletes of sensitive bucket objects to a principal; the second addresses the need to query retained CloudTrail events without first building a custom S3 query pipeline. Event selection must include the specific bucket data-plane API activity; data store settings should match retention and ingestion requirements.
Incorrect Answers
A:Neither control directly supplies both requested behaviors. AWS Config records supported resource configuration items and their change history; GuardDuty emits supported findings to EventBridge for targeted notification and automation. Those mechanisms address different objectives. The specified capabilities are to attribute reads or deletes of sensitive bucket objects to a principal and to query retained CloudTrail events without first building a custom S3 query pipeline.
C:This combination solves only the latter acceptance test. The substituted first control supports evaluate a collection of resource configuration controls against a standard: conformance packs package AWS Config rules and supported remediation actions for consistent evaluation. It does not implement attribute reads or deletes of sensitive bucket objects to a principal.
D:The first half is appropriate: CloudTrail data event selectors record eligible object-level activity beyond management events. However, AWS WAF logs contain supported request and rule evaluation information for configured web ACLs; that serves a different objective (investigate which web ACL rule is denying legitimate client requests) and leaves the explicit need to query retained CloudTrail events without first building a custom S3 query pipeline unmet.
Question 1036
The production plan uses this approach: Use an AWS CDK pipeline with dedicated synth and deployment steps. The goal is to automate build and deployment of CDK infrastructure changes with reviewable application source. Which prerequisite or limitation should receive focused review?
- Production permissions must be assumed only by the designated production action
- Infrastructure deployments must be reproducible from version control
- Only the matching event type should start the automation without polling
- Commands and artifact declarations must be versioned with the source repository
Explanation
Correct Answer
B:The requested behavior is to automate build and deployment of CDK infrastructure changes with reviewable application source, and infrastructure deployments must be reproducible from version control. The underlying AWS behavior is that CDK Pipelines synthesize application definitions into cloud assemblies and orchestrate subsequent stack deployments.
Incorrect Answers
A:This condition governs the different mechanism used to isolate permissions between staging and production delivery; role separation allows each pipeline action to run under the permissions approved for its target environment; for the selected control, the relevant boundary is instead that infrastructure deployments must be reproducible from version control.
C:The proposed condition makes sense in an implementation designed to trigger a deployment workflow when a matching AWS service event occurs; it concerns EventBridge event patterns select the desired events and route them to a supported automation target, whereas this question tests the prerequisite of the named control; the specified requirement instead is to automate build and deployment of CDK infrastructure changes with reviewable application source.
D:This proposed constraint belongs to a separate objective: commands and artifact declarations must be versioned with the source repository. The corresponding goal is to run ordered install, pre-build, build, and post-build commands as part of CI, not the selected architecture's goal to automate build and deployment of CDK infrastructure changes with reviewable application source.
Question 1037
The release manager selects this control: Run dependency and container image scanning before artifact promotion. What associated scope or dependency matters most when using it to reject packages containing prohibited vulnerable dependencies before production?
- Experiments need explicit stop conditions and safety controls to limit blast radius
- Release acceptance criteria need a blocking quality gate on a live candidate
- The test stage must consume the staged endpoint and block the next stage if it fails
- Security scanning must evaluate the built artifact or dependency manifest prior to deployment
Explanation
Correct Answer
D:Security scanning must evaluate the built artifact or dependency manifest prior to deployment. That is the governing deployment boundary for the selected control: an automated scanning gate blocks releases when risk findings breach the defined security policy. If the boundary is missed, the design can fail to reject packages containing prohibited vulnerable dependencies before production.
Incorrect Answers
A:Fault Injection Service can inject supported disruptions so teams can measure actual resilience behavior; its own dependency is that experiments need explicit stop conditions and safety controls to limit blast radius. Those details concern the separate objective of being able to validate that a multi-AZ application survives a deliberately introduced infrastructure fault, rather than to the named control required to reject packages containing prohibited vulnerable dependencies before production.
B:The proposed condition makes sense in an implementation designed to verify business workflows on a deployed candidate before production promotion. It concerns acceptance checks validate end-to-end expected behavior and can fail the pipeline before production, whereas this question tests the prerequisite of the named control.
C:This proposed constraint belongs to a separate objective: the test stage must consume the staged endpoint and block the next stage if it fails; the corresponding goal is to fail a promotion flow based on smoke-test results for the deployed service, not the selected architecture's goal to reject packages containing prohibited vulnerable dependencies before production.
Question 1038
An engineer will implement the following change: Use Control Tower Account Factory for Terraform where supported by the enterprise workflow. Which operational boundary most directly applies to the intended outcome to integrate governed account provisioning with existing Terraform-based request automation?
- Data protection governance must be applied through supported organization policy mechanisms
- Role trust and target permissions must both be explicitly configured
- The process must create member accounts under the organization's management structure
- Accounts should remain enrolled in approved landing-zone controls
Explanation
Correct Answer
D:The requested behavior is to integrate governed account provisioning with existing Terraform-based request automation, and accounts should remain enrolled in approved landing-zone controls. The underlying AWS behavior is that account Factory for Terraform integrates account-vending workflows with Control Tower governance.
Incorrect Answers
A:The proposed condition makes sense in an implementation designed to distribute common backup policy requirements to eligible member accounts; it concerns organizations backup policies help coordinate AWS Backup plans and selections across member accounts, whereas this question tests the prerequisite of the named control; the specified requirement instead is to integrate governed account provisioning with existing Terraform-based request automation.
B:This proposed constraint belongs to a separate objective: role trust and target permissions must both be explicitly configured. The corresponding goal is to let central automation perform scoped tasks in governed member accounts, not the selected architecture's goal to integrate governed account provisioning with existing Terraform-based request automation.
C:This condition governs the different mechanism used to automate account creation and consolidate billing within an organization; organizations supports asynchronous member account creation through its account APIs; for the selected control, the relevant boundary is instead that accounts should remain enrolled in approved landing-zone controls.
Question 1039
A release design adopts this mechanism: Configure stage-level failure handling to stop and roll back supported pipeline executions. Which implementation detail is most relevant to its proposed use to restore a known successful release when a new stage execution fails?
- Rollback must use supported pipeline stage behavior and prior successful executions
- Repository authorization must use a managed provider connection rather than embedded credentials
- Only the matching event type should start the automation without polling
- Production permissions must be assumed only by the designated production action
- A release policy must choose superseded, queued, or parallel execution behavior deliberately
- Artifact storage must be available in every Region where pipeline actions require it
Explanation
Correct Answer
A:The implementation has to honor the exact constraint: rollback must use supported pipeline stage behavior and prior successful executions; CodePipeline supports stage failure actions including rollback for eligible pipeline types and stages.
Incorrect Answers
B:This condition governs the different mechanism used to start pipeline executions from commits on the approved application branch; the source connection supplies authorized repository events and revisions to a pipeline source action; for the selected control, the relevant boundary is instead that rollback must use supported pipeline stage behavior and prior successful executions.
C:EventBridge event patterns select the desired events and route them to a supported automation target; its own dependency is that only the matching event type should start the automation without polling. Those details concern the separate objective of being able to trigger a deployment workflow when a matching AWS service event occurs, rather than to the named control required to restore a known successful release when a new stage execution fails.
D:The proposed condition makes sense in an implementation designed to isolate permissions between staging and production delivery; it concerns role separation allows each pipeline action to run under the permissions approved for its target environment, whereas this question tests the prerequisite of the named control; the specified requirement instead is to restore a known successful release when a new stage execution fails.
E:This proposed constraint belongs to a separate objective: a release policy must choose superseded, queued, or parallel execution behavior deliberately. The corresponding goal is to prevent newer revisions from unexpectedly superseding a release requiring sequential review, not the selected architecture's goal to restore a known successful release when a new stage execution fails.
F:This condition governs the different mechanism used to run a deployment action in a different AWS Region from its pipeline; cross-Region CodePipeline actions need an artifact store in each relevant action Region; for the selected control, the relevant boundary is instead that rollback must use supported pipeline stage behavior and prior successful executions.
Question 1040
A cross-team infrastructure plan specifies 2 measurable outcomes: (1) release feature flags independently from application code with automatic rollback on alarms; (2) enforce consistent tagging and validation across an application's CDK construct tree. Which TWO solutions address them? Choose TWO.
- Use AWS CloudFormation Change Sets before updating a stack
- Deploy dynamic configuration using AWS AppConfig gradual rollout
- Use CloudFormation stack policies to protect critical resources from updates
- Use CloudFormation DeletionPolicy Retain on a stateful resource
- Use a nested CloudFormation stack for a reusable infrastructure component
- Use CDK Aspects to apply organization-wide checks or tags to constructs
Explanation
Correct Answers
B:The corresponding obligation is to release feature flags independently from application code with automatic rollback on alarms. AppConfig deployment strategies gradually distribute hosted or sourced configuration and can roll back on alarms; that behavior is the reason this action belongs in the selected answer set.
F:The corresponding obligation is to enforce consistent tagging and validation across an application's CDK construct tree. CDK Aspects visit construct nodes to apply checks or modifications throughout a CDK application; that behavior is the reason this action belongs in the selected answer set.
Incorrect Answers
A:A change set previews how CloudFormation intends to modify or replace resources before execution; that would be appropriate to inspect the proposed resource replacements and updates before executing infrastructure changes, but this is a different objective from the numbered obligations in the stem; the specified requirement instead is to release feature flags independently from application code with automatic rollback on alarms.
C:It supports a separate administrative task, namely 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; the prompt's required outcomes are not achieved by substituting this control.
D:The Retain policy keeps a supported resource after CloudFormation removes its stack ownership. If the requirement were to prevent a persistent data resource from being removed when its stack is deleted, that would matter. The requested outcomes are separate from the one this option addresses.
E:Nested stacks allow a parent stack to reference reusable child templates through stack resources; that would be appropriate to compose a large deployment from smaller lifecycle-managed CloudFormation templates, but this is a different objective from the numbered obligations in the stem.