Question 520
Two technical outcomes must be delivered together: automate container base-image patching and validation for approved images and publish a validated AMI to workloads outside its build account. Which pair of controls is sufficient for the stated outcomes?
- Use an EC2 Image Builder container recipe to generate a hardened container image; configure an ECR lifecycle policy to expire unwanted image versions
- Enable S3 replication for approved build objects that must be available cross-Region; configure ECR replication to authorized Regions or accounts
- Use an EC2 Image Builder container recipe to generate a hardened container image; use EC2 Image Builder distribution settings for target Regions and accounts
- Enable ECR scan-on-push or enhanced scanning according to policy; use EC2 Image Builder distribution settings for target Regions and accounts
Explanation
Correct Answer
C:For the requirement to automate container base-image patching and validation for approved images, image Builder supports container recipes and workflows to build and test image outputs. For the requirement to publish a validated AMI to workloads outside its build account, image Builder distribution configurations control supported AMI copies and sharing after creation. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.
Incorrect Answers
A:Combining a suitable first control with this second one misses the secondary acceptance criterion; ECR lifecycle rules automate image expiration according to matching criteria; it helps remove unneeded old images without deleting current release references rather than publish a validated AMI to workloads outside its build account.
B:Neither control directly supplies both requested behaviors. S3 replication rules copy eligible objects between versioned buckets with suitable destination and permissions; ECR replication copies matching repository images to configured destination registries and Regions. Those mechanisms address different objectives. The specified capabilities are to automate container base-image patching and validation for approved images and to publish a validated AMI to workloads outside its build account.
D:This combination solves only the latter acceptance test. The substituted first control supports surface vulnerable container packages before images are approved: ECR scanning integrates container vulnerability findings with repository images and security workflows. It does not implement automate container base-image patching and validation for approved images.
Question 521
The security engineering team proposes this implementation: Use Amazon Detective for investigation of related security activity. Its intended result is to explore linked entity behaviors around a suspicious IAM principal. Which implementation consideration is most specific to that choice?
- Event selection must include the specific bucket data-plane API activity
- The process should adjust supported finding properties based on matching conditions
- The investigation must distinguish network accept or reject metadata from application logs
- Responders need graph-style relationships rather than an additional blocking firewall rule
Explanation
Correct Answer
D:Responders need graph-style relationships rather than an additional blocking firewall rule. That is the governing deployment boundary for the selected control: detective assists security investigations by correlating supported activity and entity relationships. If the boundary is missed, the design can fail to explore linked entity behaviors around a suspicious IAM principal.
Incorrect Answers
A:CloudTrail data event selectors record eligible object-level activity beyond management events; its own dependency is that event selection must include the specific bucket data-plane API activity; those details concern the separate objective of being able to attribute reads or deletes of sensitive bucket objects to a principal, rather than to the named control required to explore linked entity behaviors around a suspicious IAM principal.
B:The proposed condition makes sense in an implementation designed to normalize and triage recurring findings according to defined central criteria; it concerns Security Hub automation rules can update selected finding fields when findings match configured criteria, whereas this question tests the prerequisite of the named control; the specified requirement instead is to explore linked entity behaviors around a suspicious IAM principal.
C:This proposed constraint belongs to a separate objective: the investigation must distinguish network accept or reject metadata from application logs; the corresponding goal is to identify source, destination, and action details for a suspected network denial, not the selected architecture's goal to explore linked entity behaviors around a suspicious IAM principal.
Question 522
An engineer is addressing a two-part delivery requirement: stop an unsafe revision before it can reach the deployment stage, without losing the ability to publish structured test reports that reviewers can inspect after a CI run. Which set of actions is suitable?
- Use distinct CodePipeline stages with a separate integration test action; enable CodeBuild report groups for automated test results
- Use distinct CodePipeline stages with a separate integration test action; use an immutable artifact identifier when promoting a release
- Define build phases and commands in the CodeBuild buildspec; add an explicit manual approval action before the production deploy stage
- Use an AWS Step Functions state machine to coordinate conditional release tasks; enable CodeBuild report groups for automated test results
Explanation
Correct Answer
A:For the requirement to stop an unsafe revision before it can reach the deployment stage, a failed test action makes the stage fail and prevents subsequent deployment stages from proceeding. For the requirement to publish structured test reports that reviewers can inspect after a CI run, CodeBuild report groups ingest supported test and code-coverage files generated during a build. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.
Incorrect Answers
B:Promoting a fixed artifact identity prevents environment-specific rebuilds from silently changing the delivered bytes; that alternative supports the ability to promote the exact tested package between environments rather than rebuilding source independently, but it is not the requested second outcome (publish structured test reports that reviewers can inspect after a CI run). Even though the first half addresses stop an unsafe revision before it can reach the deployment stage, this pair is incomplete.
C:The pair changes the problem instead of completing it. One option addresses run ordered install, pre-build, build, and post-build commands as part of CI; the other addresses require a human release decision after staging tests and before production changes. The release, however, needs to stop an unsafe revision before it can reach the deployment stage as well as publish structured test reports that reviewers can inspect after a CI run.
D:Step Functions models a durable workflow with service integrations, conditional paths, waits, and retries; that is intended to orchestrate multiple release checks with retries, branches, and explicit failure states, not to stop an unsafe revision before it can reach the deployment stage. The second half can meet the requirement to publish structured test reports that reviewers can inspect after a CI run, but the first is still missing.
Question 523
The production plan uses this approach: Use CloudFormation hooks to validate resource configuration during stack operations. The goal is to intercept stack resource operations that violate central deployment rules. Which prerequisite or limitation should receive focused review?
- Reusable components should remain stacks with their own update boundaries
- Protection should constrain update operations while allowing approved stack updates elsewhere
- Validation must run as part of CloudFormation resource operation evaluation
- Platform owners must constrain which templates and versions can be provisioned
Explanation
Correct Answer
C:The requested behavior is to intercept stack resource operations that violate central deployment rules, and validation must run as part of CloudFormation resource operation evaluation. The underlying AWS behavior is that CloudFormation hooks can enforce pre-provisioning or operation-time checks for supported resource types.
Incorrect Answers
A:This proposed constraint belongs to a separate objective: reusable components should remain stacks with their own update boundaries. The corresponding goal is to compose a large deployment from smaller lifecycle-managed CloudFormation templates, not the selected architecture's goal to intercept stack resource operations that violate central deployment rules.
B:This condition governs the different mechanism used 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; for the selected control, the relevant boundary is instead that validation must run as part of CloudFormation resource operation evaluation.
D:The proposed condition makes sense in an implementation designed to let application teams self-service compliant infrastructure without broad template authoring access; it concerns service Catalog portfolios expose governed infrastructure products to authorized consumers, whereas this question tests the prerequisite of the named control.
Question 524
A cross-team infrastructure plan specifies 2 measurable outcomes: (1) prevent accidental public grants on sensitive S3 buckets; (2) apply additional DDoS protection and response capabilities to critical endpoints. Which TWO solutions address them? Choose TWO.
- Enable GuardDuty across organization accounts to detect suspicious activity
- Enable Amazon Inspector EC2 and ECR scanning where supported
- Use AWS Shield Advanced for enhanced DDoS protection of eligible public resources
- Apply S3 Block Public Access at the account or bucket scope
- Use AWS Config rule evaluations with automatic remediation for policy violations
- Use Amazon Macie for sensitive-data discovery in S3
Explanation
Correct Answers
C:Shield Advanced offers enhanced detection, response capabilities, and protections for supported resources; among the listed outcomes, it addresses apply additional DDoS protection and response capabilities to critical endpoints, rather than merely contributing a related signal or support step.
D:This covers the specific result to prevent accidental public grants on sensitive S3 buckets: S3 Block Public Access settings override relevant public permissions for supported access paths; the account must prevent public access through ACL and policy paths where configured.
Incorrect Answers
A:GuardDuty analyzes supported telemetry and uses threat detection to generate security findings; that would be appropriate to surface suspicious credentials and network behavior without building a custom detector, but this is a different objective from the numbered obligations in the stem.
B:This mechanism supports the ability to identify vulnerable software packages in running compute and container images: inspector continuously assesses supported compute workloads and container images for vulnerabilities. It would not satisfy a different obligation just by appearing in the same workflow.
E:AWS Config rules evaluate configurations and can integrate with Systems Manager remediation. That would be appropriate to restore supported misconfigured resource settings when drift is detected, but this is a different objective from the numbered obligations in the stem.
F:This mechanism supports the ability to identify S3 objects that potentially contain sensitive information: Macie uses automated discovery and classification to identify sensitive data in supported S3 objects. It would not satisfy a different obligation just by appearing in the same workflow.
Question 525
Before the next release, the approved AWS design must address 3 obligations: (1) view resource compliance and configuration state from a central operations account; (2) integrate governed account provisioning with existing Terraform-based request automation; (3) enable consistent threat detection coverage for member accounts. Which THREE actions should be included? Choose THREE.
- Use centralized VPC Flow Logs delivery to an approved log destination
- Use an S3 bucket policy that denies insecure transport for organization logs
- Use IAM Identity Center permission sets for federated workforce access
- Configure organization-wide GuardDuty management through a delegated security account
- Enable AWS Config aggregators across organization accounts and Regions
- Use Control Tower Account Factory for Terraform where supported by the enterprise workflow
Explanation
Correct Answers
D:GuardDuty organization administration can automatically manage protection enrollment across eligible members; this fulfills the stated requirement to enable consistent threat detection coverage for member accounts. The operational limitation is that new-account enablement should be managed through organization integration.
E:The corresponding obligation is to view resource compliance and configuration state from a central operations account. A configuration aggregator consolidates supported AWS Config configuration and compliance data; that behavior is the reason this action belongs in the selected answer set.
F:Account Factory for Terraform integrates account-vending workflows with Control Tower governance; among the listed outcomes, it addresses integrate governed account provisioning with existing Terraform-based request automation, rather than merely contributing a related signal or support step.
Incorrect Answers
A:This mechanism supports the ability to collect network flow metadata from selected workload VPCs for audit analysis: VPC Flow Logs capture metadata for selected interfaces, subnets, or VPCs and deliver to supported destinations; it would not satisfy a different obligation just by appearing in the same workflow; the specified requirement instead is to enable consistent threat detection coverage for member accounts.
B:It supports a separate administrative task, namely to prevent log upload and retrieval over unencrypted transport; a bucket policy can deny requests when the aws:SecureTransport context indicates an insecure connection; the prompt's required outcomes are not achieved by substituting this control; the specified requirement instead is to enable consistent threat detection coverage for member accounts.
C:IAM Identity Center permission sets provision corresponding account roles for entitled users or groups; if the requirement were to assign consistent workforce roles to many accounts through one identity portal, that would matter. The requested outcomes are separate from the one this option addresses.
Question 526
A production-readiness assessment calls out two missing capabilities: block unintended replacement or deletion of protected resources during stack updates and bring an already-created resource under stack management without rebuilding it. Choose the AWS implementation that explicitly addresses both.
- Use CloudFormation stack policies to protect critical resources from updates; use CDK Aspects to apply organization-wide checks or tags to constructs
- Apply CloudFormation Guard rules in the infrastructure validation stage; deploy dynamic configuration using AWS AppConfig gradual rollout
- Use CloudFormation stack policies to protect critical resources from updates; use SSM document version control for repeatable operational scripts
- Use CloudFormation hooks to validate resource configuration during stack operations; use CloudFormation resource import for supported existing resources
- Use CloudFormation stack policies to protect critical resources from updates; use CloudFormation resource import for supported existing resources
Explanation
Correct Answer
E:For the requirement 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; for the requirement to bring an already-created resource under stack management without rebuilding it, resource import associates supported existing resources with logical resources in a stack template. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.
Incorrect Answers
A:Combining a suitable first control with this second one misses the secondary acceptance criterion; CDK Aspects visit construct nodes to apply checks or modifications throughout a CDK application; it helps enforce consistent tagging and validation across an application's CDK construct tree rather than bring an already-created resource under stack management without rebuilding it.
B:Neither control directly supplies both requested behaviors. CloudFormation Guard checks supported template structures against declarative compliance rules; AppConfig deployment strategies gradually distribute hosted or sourced configuration and can roll back on alarms. Those mechanisms address different objectives. The specified capabilities are to block unintended replacement or deletion of protected resources during stack updates and to bring an already-created resource under stack management without rebuilding it.
C:SSM documents support versioned content and associations can refer to defined document versions; that alternative supports the ability to publish a reviewed command document and execute a pinned approved version, but it is not the requested second outcome (bring an already-created resource under stack management without rebuilding it); even though the first half addresses block unintended replacement or deletion of protected resources during stack updates, this pair is incomplete.
D:This combination solves only the latter acceptance test. The substituted first control supports intercept stack resource operations that violate central deployment rules: CloudFormation hooks can enforce pre-provisioning or operation-time checks for supported resource types; it does not implement block unintended replacement or deletion of protected resources during stack updates.
Question 527
The operations backlog groups related changes into one implementation window: (1) protect exported audit objects with a controlled at-rest encryption boundary; (2) record relevant object-level API activity rather than only account management events. Which TWO controls directly meet the listed goals? Choose TWO.
- Configure CloudTrail data events for selected sensitive S3 buckets
- Create CloudWatch metric streams to Amazon Data Firehose
- Encrypt long-term S3 log objects with a customer managed KMS key
- Publish PutMetricData custom metrics with stable dimensions
- Configure CloudWatch Logs cross-account subscription delivery through supported destination policies
Explanation
Correct Answers
A:This covers the specific result to record relevant object-level API activity rather than only account management events: CloudTrail data events capture selected data-plane operations, such as S3 object API calls; the event selectors should limit costly high-volume events to in-scope resources.
C:The corresponding obligation is to protect exported audit objects with a controlled at-rest encryption boundary. S3 SSE-KMS encrypts objects using AWS KMS keys with separate data and key-access controls; that behavior is the reason this action belongs in the selected answer set.
Incorrect Answers
B:CloudWatch metric streams continuously send metric data to supported delivery services. That would be appropriate to continuously export supported metrics to an external observability platform, but this is a different objective from the numbered obligations in the stem.
D:It supports a separate administrative task, namely to track a domain-specific success count broken down by deployed service. CloudWatch custom metrics accept namespace, metric name, dimensions, values, and timestamps for aggregation; the prompt's required outcomes are not achieved by substituting this control.
E:CloudWatch Logs destinations and resource policies authorize supported cross-account subscription flows; if the requirement were to centralize matching account log streams into a designated log-processing account, that would matter. The requested outcomes are separate from the one this option addresses.
Question 528
The next AWS platform release needs to evaluate a proposed change before it merges into a protected branch while also being able to exercise a critical HTTP journey regularly with externally visible outcomes. Which pairing best supports that release?
- Run unit tests in the first CodeBuild stage before packaging; use canary synthetic checks against a published test endpoint
- Execute integration tests against an isolated ephemeral test stack; use AWS IAM policy evaluation tests for deployment-role assumptions
- Use pull request events to start a pre-merge validation build; use canary synthetic checks against a published test endpoint
- Use pull request events to start a pre-merge validation build; use AWS Fault Injection Service in a controlled resilience test
- Use pull request events to start a pre-merge validation build; use CodeBuild batch builds for a supported test matrix
Explanation
Correct Answer
C:For the requirement to evaluate a proposed change before it merges into a protected branch, PR-triggered builds can test changes earlier than post-merge releases and support branch protection workflows. For the requirement to exercise a critical HTTP journey regularly with externally visible outcomes, CloudWatch Synthetics canaries run scheduled scripts against endpoints and report pass or failure measurements. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.
Incorrect Answers
A:Unit tests in an early build action reduce feedback latency and stop faulty revisions before expensive stages; that is intended to reject code-level regressions rapidly before creating production artifacts, not to evaluate a proposed change before it merges into a protected branch; the second half can meet the requirement to exercise a critical HTTP journey regularly with externally visible outcomes, but the first is still missing.
B:These are legitimate AWS controls for different outcomes: an integration environment exercises actual API and infrastructure interactions that unit mocks do not cover, whereas IAM policy simulation and access analysis can help test whether planned principal actions are allowed. The problem instead requires the ability to evaluate a proposed change before it merges into a protected branch and to exercise a critical HTTP journey regularly with externally visible outcomes.
D:The first half is appropriate: PR-triggered builds can test changes earlier than post-merge releases and support branch protection workflows. However, fault Injection Service can inject supported disruptions so teams can measure actual resilience behavior; that serves a different objective (validate that a multi-AZ application survives a deliberately introduced infrastructure fault) and leaves the explicit need to exercise a critical HTTP journey regularly with externally visible outcomes unmet.
E:Batch builds support coordinated multiple build configurations and associated aggregate status; that alternative supports the ability to run compatible test variations in parallel and consolidate their outcomes, but it is not the requested second outcome (exercise a critical HTTP journey regularly with externally visible outcomes). Even though the first half addresses evaluate a proposed change before it merges into a protected branch, this pair is incomplete.
Question 529
An observability engineer is responsible for a compound requirement: (1) show latency, errors, and saturation to incident responders in one panel; (2) identify which downstream call dominates end-to-end request latency. Which TWO controls provide the requested functions? Choose TWO.
- Use VPC Flow Logs for network traffic acceptance and rejection evidence
- Enable AWS X-Ray tracing across supported API and Lambda components
- Use Security Hub findings to correlate security signals from enabled integrations
- Use CloudWatch dashboard widgets for a shared service SLO view
- Query CloudTrail management events to attribute an unexpected IAM change
Explanation
Correct Answers
B:X-Ray traces and segments expose timing and dependencies across instrumented service calls; among the listed outcomes, it addresses identify which downstream call dominates end-to-end request latency, rather than merely contributing a related signal or support step; in this design the separate acceptance test is to show latency, errors, and saturation to incident responders in one panel.
D:CloudWatch dashboards visualize selected metrics, logs, and alarms in a shared operational view; this fulfills the stated requirement to show latency, errors, and saturation to incident responders in one panel. The operational limitation is that the display should combine application and infrastructure indicators for the same system.
Incorrect Answers
A:This mechanism supports the ability to determine whether recorded network flows were accepted or rejected at an interface: VPC Flow Logs record flow metadata such as source, destination, port, and accept or reject action. It would not satisfy a different obligation just by appearing in the same workflow.
C:Security Hub normalizes supported security findings and provides centralized prioritization workflows; if the requirement were to prioritize security risks across multiple supported detection services, that would matter. The requested outcomes are separate from the one this option addresses.
E:This mechanism supports the ability to identify the principal and API call that modified a security policy: CloudTrail records supported management API events that can identify who made a change. It would not satisfy a different obligation just by appearing in the same workflow.
Question 530
After a configuration change, the delivery engineering team sees this issue: A security remediation automation can modify production without a designated approval step. What best restores the ability to review a sensitive operational change before executing its runbook?
- Apply CloudFormation drift remediation through a reviewed template update
- Perform an Auto Scaling instance refresh after updating a launch template
- Require a Systems Manager Change Manager approval for high-risk production automation
- Use Systems Manager Run Command with tag-based targets for an emergency fix
Explanation
Correct Answer
C:Change Manager supports governed change requests and approval workflows for operations; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: the change must be tracked with an approval workflow and appropriate permissions.
Incorrect Answers
A:The choice is useful when engineers need to restore a resource's intended IaC state after manual infrastructure changes: a reviewed stack update can bring supported drifted resources back toward declared template state. It would not establish the control needed to review a sensitive operational change before executing its runbook.
B:Instance refresh gradually replaces existing Auto Scaling instances according to updated configuration; this is a reasonable option when the requirement is to roll out a corrected launch template to already-running fleet instances, but it operates at a different workflow boundary from the stated need to review a sensitive operational change before executing its runbook.
D:Although run Command executes approved documents on selected managed nodes without direct interactive host access, the scenario does not ask for apply a one-off configuration command to all affected managed instances. It requires the ability to review a sensitive operational change before executing its runbook, which is a separate responsibility.