Question 170
An incident record says: The production package differs from the artifact that passed staging although the Git commit is unchanged. To restore the capability to promote the exact tested package between environments rather than rebuilding source independently, which change addresses the root cause?
- Enable CodeBuild report groups for automated test results
- Use an immutable artifact identifier when promoting a release
- Use a CodePipeline approval stage with a designated SNS notification
- Define build phases and commands in the CodeBuild buildspec
Explanation
Correct Answer
B:To promote the exact tested package between environments rather than rebuilding source independently, the architecture relies on this AWS behavior: promoting a fixed artifact identity prevents environment-specific rebuilds from silently changing the delivered bytes. Release provenance must refer to a single versioned artifact or image digest.
Incorrect Answers
A:The choice is useful when engineers need 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. It would not establish the control needed to promote the exact tested package between environments rather than rebuilding source independently.
C:Choosing this would aim to notify release owners that production is awaiting an approval action instead of promote the exact tested package between environments rather than rebuilding source independently; the manual approval action can publish an approval notification to an SNS topic for human review; it cannot replace the mechanism specified by the incident evidence.
D:Although a buildspec documents lifecycle phases, shell commands, outputs, and optional reports for CodeBuild, the scenario does not ask for run ordered install, pre-build, build, and post-build commands as part of CI. It requires the ability to promote the exact tested package between environments rather than rebuilding source independently, which is a separate responsibility.
Question 171
The cloud operations group proposes this implementation: Configure CloudWatch alarm notifications through an SNS topic. Its intended result is to notify multiple responder endpoints when a service metric breaches its threshold. Which implementation consideration is most specific to that choice?
- The scaling control must operate on service desired task count
- The message must preserve event ID, resource, and state fields while removing noise
- The filter pattern must match the incoming event shape
- Recipients need subscriptions independent of the monitored resource
Explanation
Correct Answer
D:Recipients need subscriptions independent of the monitored resource. Without this, choosing the named service is not enough to produce the promised outcome; CloudWatch alarms can publish state-change notifications to SNS topics and subscribed endpoints.
Incorrect Answers
A:This proposed constraint belongs to a separate objective: the scaling control must operate on service desired task count. The corresponding goal is to adjust container capacity as aggregate task load grows, not the selected architecture's goal to notify multiple responder endpoints when a service metric breaches its threshold.
B:This condition governs the different mechanism used to send only relevant event details to responders rather than an entire event payload. EventBridge input transformers construct custom target payloads from matched event fields. For the selected control, the relevant boundary is instead that recipients need subscriptions independent of the monitored resource.
C:A metric filter emits values from matching logs that a CloudWatch alarm can evaluate. Its own dependency is that the filter pattern must match the incoming event shape. Those details concern the separate objective of being able to raise an incident when a known error token appears repeatedly in application logs, rather than to the named control required to notify multiple responder endpoints when a service metric breaches its threshold.
Question 172
The release manager proposes this implementation: Create an organization CloudTrail trail to a separately secured S3 logging bucket. Its intended result is to retain management API events from all AWS Organizations member accounts. Which implementation consideration is most specific to that choice?
- The evidence should preserve recorded resource state changes and their timestamps
- Evidence must include web ACL match context rather than host CPU metrics
- The rule should select findings with the intended severity and account context
- Audit log retention must be governed by an account separate from routine workload admins
Explanation
Correct Answer
D:The implementation has to honor the exact constraint: audit log retention must be governed by an account separate from routine workload admins; an organization trail delivers supported account activity events centrally for member accounts.
Incorrect Answers
A:This condition governs the different mechanism used to determine how an audited resource's settings changed over time. AWS Config records supported resource configuration items and their change history. For the selected control, the relevant boundary is instead that audit log retention must be governed by an account separate from routine workload admins.
B:AWS WAF logs contain supported request and rule evaluation information for configured web ACLs; its own dependency is that evidence must include web ACL match context rather than host CPU metrics. Those details concern the separate objective of being able to investigate which web ACL rule is denying legitimate client requests, rather than to the named control required to retain management API events from all AWS Organizations member accounts.
C:The proposed condition makes sense in an implementation designed to trigger containment review when a high-severity credential threat appears. It concerns GuardDuty emits supported findings to EventBridge for targeted notification and automation, whereas this question tests the prerequisite of the named control.
Question 173
An incident record says: One administrator role can still use an explicitly forbidden Region despite a team-level policy. To restore the capability to prevent all affected principals in a production OU from performing prohibited service actions, which change addresses the root cause?
- Use an Organizations service control policy as an account-wide permission guardrail
- Use an IAM policy condition on aws:SourceVpce for eligible AWS service requests
- Use IAM roles and temporary credentials for CodeBuild service integration
- Use IAM Access Analyzer policy validation and least-privilege findings
- Use session policies when assuming a role for a narrowly scoped job
Explanation
Correct Answer
A:SCPs set maximum available permissions for member-account principals but do not themselves allow actions; it restores the ability to prevent all affected principals in a production OU from performing prohibited service actions, provided the implementation also observes that the cap must apply independently from member account IAM role grants.
Incorrect Answers
B:The source VPC endpoint condition can constrain eligible requests to a designated private endpoint path; this can help teams deny access to a sensitive resource unless requests use an approved VPC endpoint, but the reported workflow needs to prevent all affected principals in a production OU from performing prohibited service actions. It does not perform that required function.
C:That service solves a different operating problem: the need to prevent CI workers from embedding persistent AWS keys in build scripts; its behavior is that CodeBuild obtains temporary service-role credentials to call authorized AWS APIs during builds; the requested outcome remains prevent all affected principals in a production OU from performing prohibited service actions.
D:The choice is useful when engineers need to identify broad or risky IAM policy patterns before deployment: IAM Access Analyzer validates policies and can surface security and best-practice findings. It would not establish the control needed to prevent all affected principals in a production OU from performing prohibited service actions.
E:STS session policies intersect with the role's permissions to further restrict an assumed-role session; this is a reasonable option when the requirement is to further limit temporary role credentials to the resources needed by one execution, but it operates at a different workflow boundary from the stated need to prevent all affected principals in a production OU from performing prohibited service actions.
Question 174
An engineer will implement the following change: Use subnet network ACL rules for stateless subnet-edge filtering. Which operational boundary most directly applies to the intended outcome to apply explicit allow and deny network rules at a subnet boundary?
- Return traffic requires matching stateless rules for ephemeral ports where applicable
- The organization must govern internal CA policies and certificate trust distribution
- Layer 7 inspection should apply at a supported web application entry point
- The account must prevent public access through ACL and policy paths where configured
Explanation
Correct Answer
A:Return traffic requires matching stateless rules for ephemeral ports where applicable. Without this, choosing the named service is not enough to produce the promised outcome. Network ACLs are stateless ordered rules applied to traffic entering and leaving subnets.
Incorrect Answers
B:This proposed constraint belongs to a separate objective: the organization must govern internal CA policies and certificate trust distribution; the corresponding goal is to issue short-lived internal TLS certificates for private service identities, not the selected architecture's goal to apply explicit allow and deny network rules at a subnet boundary.
C:This condition governs the different mechanism used 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; for the selected control, the relevant boundary is instead that return traffic requires matching stateless rules for ephemeral ports where applicable.
D:S3 Block Public Access settings override relevant public permissions for supported access paths; its own dependency is that the account must prevent public access through ACL and policy paths where configured. Those details concern the separate objective of being able to prevent accidental public grants on sensitive S3 buckets, rather than to the named control required to apply explicit allow and deny network rules at a subnet boundary.
Question 175
An engineer will implement the following change: Perform an Auto Scaling instance refresh after updating a launch template. Which operational boundary most directly applies to the intended outcome to roll out a corrected launch template to already-running fleet instances?
- The fleet must converge through controlled replacement rather than only updating the template
- Instance health evaluation must drive desired-capacity reconciliation
- Rollback should follow a specific monitored release failure signal
- Targets must be selected by tags and have the required SSM managed-node permissions
- The change process should reconcile desired and actual supported configuration
Explanation
Correct Answer
A:The implementation has to honor the exact constraint: the fleet must converge through controlled replacement rather than only updating the template; instance refresh gradually replaces existing Auto Scaling instances according to updated configuration.
Incorrect Answers
B: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 fleet must converge through controlled replacement rather than only updating the template.
C:CodeDeploy can stop and roll back eligible deployments when configured CloudWatch alarms enter ALARM; its own dependency is that rollback should follow a specific monitored release failure signal. Those details concern the separate objective of being able to reverse a release that triggers the defined customer error alarm, rather than to the named control required to roll out a corrected launch template to already-running fleet instances.
D:The proposed condition makes sense in an implementation designed to apply a one-off configuration command to all affected managed instances; it concerns run Command executes approved documents on selected managed nodes without direct interactive host access, whereas this question tests the prerequisite of the named control.
E:This proposed constraint belongs to a separate objective: the change process should reconcile desired and actual supported configuration; the corresponding goal is to restore a resource's intended IaC state after manual infrastructure changes, not the selected architecture's goal to roll out a corrected launch template to already-running fleet instances.
Question 176
The release manager selects this control: Use Security Hub automation rules for finding-state prioritization. What associated scope or dependency matters most when using it to normalize and triage recurring findings according to defined central criteria?
- The report should focus on IAM users and key use rather than role session credentials
- The rule should select findings with the intended severity and account context
- The process should adjust supported finding properties based on matching conditions
- The investigation must distinguish network accept or reject metadata from application logs
Explanation
Correct Answer
C:The process should adjust supported finding properties based on matching conditions. Without this, choosing the named service is not enough to produce the promised outcome; Security Hub automation rules can update selected finding fields when findings match configured criteria.
Incorrect Answers
A:This condition governs the different mechanism used to identify aging IAM user credentials that require rotation or removal. IAM credential reports and access-key usage metadata support audits of IAM user authentication materials; for the selected control, the relevant boundary is instead that the process should adjust supported finding properties based on matching conditions.
B:GuardDuty emits supported findings to EventBridge for targeted notification and automation. Its own dependency is that the rule should select findings with the intended severity and account context. Those details concern the separate objective of being able to trigger containment review when a high-severity credential threat appears, rather than to the named control required to normalize and triage recurring findings according to defined central criteria.
D: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 normalize and triage recurring findings according to defined central criteria.
Question 177
The next AWS platform release needs to recover an overwritten or deleted application object from an earlier version while also being able to minimize steady-state disaster recovery costs where hours of recovery are acceptable. Which pairing best supports that release?
- Use AWS Backup restore testing plans for supported resources; define AWS Backup plans and selections using resource tags
- Enable S3 versioning and implement recovery for deleted object versions; run regular failover game days and measure actual RTO and RPO
- Use AWS Elastic Disaster Recovery replication and recovery launch plans; use backup-and-restore DR for a workload with a generous recovery target
- Enable S3 versioning and implement recovery for deleted object versions; use backup-and-restore DR for a workload with a generous recovery target
Explanation
Correct Answer
D:S3 versioning preserves prior object versions so authorized users can restore selected versions; backup-and-restore recreates infrastructure and data only when needed, trading longer RTO for lower cost. The first control satisfies the need to recover an overwritten or deleted application object from an earlier version; the second addresses the need to minimize steady-state disaster recovery costs where hours of recovery are acceptable. Object change history needs to be retained according to the bucket retention model; recovery can tolerate restoring backups and provisioning infrastructure after a disaster.
Incorrect Answers
A:Neither control directly supplies both requested behaviors. AWS Backup restore testing automates recovery-point selection and supported restore testing workflows; AWS Backup plans and tag-based selections assign eligible resources to backup rules. Those mechanisms address different objectives. The specified capabilities are to recover an overwritten or deleted application object from an earlier version and to minimize steady-state disaster recovery costs where hours of recovery are acceptable.
B:Controlled recovery tests expose dependencies, manual delays, and replication gaps before incidents; that alternative supports the ability to validate recovery performance against business-approved thresholds, 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 recover an overwritten or deleted application object from an earlier version, this pair is incomplete.
C:This combination solves only the latter acceptance test. The substituted first control supports reduce recovery time for supported server workloads using block-level replication: elastic Disaster Recovery continuously replicates supported source-server data for recovery launches into AWS; it does not implement recover an overwritten or deleted application object from an earlier version.
Question 178
The delivery engineering team reports the following failure: The secondary-Region deploy action cannot access the pipeline's single-Region artifact location. Which action directly restores the requirement to run a deployment action in a different AWS Region from its pipeline?
- Use a CodePipeline approval stage with a designated SNS notification
- Grant the target-account role access through the S3 artifact bucket policy
- Use a deployment action with a production-account IAM role
- Configure a cross-Region artifact store for the target action Region
Explanation
Correct Answer
D:To run a deployment action in a different AWS Region from its pipeline, the architecture relies on this AWS behavior: cross-Region CodePipeline actions need an artifact store in each relevant action Region. Artifact storage must be available in every Region where pipeline actions require it.
Incorrect Answers
A:Choosing this would aim to notify release owners that production is awaiting an approval action instead of run a deployment action in a different AWS Region from its pipeline; the manual approval action can publish an approval notification to an SNS topic for human review; it cannot replace the mechanism specified by the incident evidence.
B:Although a resource-based bucket policy can authorize the trusted destination principal to read specific artifact objects, the scenario does not ask for permit a cross-account deployment action to retrieve the intended pipeline artifact objects. It requires the ability to run a deployment action in a different AWS Region from its pipeline, which is a separate responsibility.
C:Role separation allows each pipeline action to run under the permissions approved for its target environment; this can help teams isolate permissions between staging and production delivery, but the reported workflow needs to run a deployment action in a different AWS Region from its pipeline. It does not perform that required function.
Question 179
Two technical outcomes must be delivered together: validate recovery performance against business-approved thresholds and automate DNS-level cutover after the primary regional endpoint fails. Which pair of controls is sufficient for the stated outcomes?
- Run regular failover game days and measure actual RTO and RPO; implement warm standby with reduced running capacity in a secondary Region
- Run regular failover game days and measure actual RTO and RPO; define AWS Backup plans and selections using resource tags
- Run regular failover game days and measure actual RTO and RPO; use Route 53 health-checked failover records for a pretested recovery endpoint
- Use backup-and-restore DR for a workload with a generous recovery target; use Route 53 health-checked failover records for a pretested recovery endpoint
- Implement a pilot-light DR architecture in a secondary Region; enable AWS Backup Vault Lock in an appropriate mode
Explanation
Correct Answer
C:The first outcome depends on the behavior that controlled recovery tests expose dependencies, manual delays, and replication gaps before incidents. Separately, failover routing can resolve the standby record based on health state, subject to client caching. Together these meet the two requested outcomes, with the operational limits that success must be measured from observed restoration and data loss rather than architecture diagrams and endpoint health evaluation and TTL caching effects must be included in drills.
Incorrect Answers
A:Warm standby keeps a smaller but operational workload in the recovery Region. That alternative supports the ability to meet a short recovery objective while keeping DR spend below a full duplicate production stack, but it is not the requested second outcome (automate DNS-level cutover after the primary regional endpoint fails). Even though the first half addresses validate recovery performance against business-approved thresholds, this pair is incomplete.
B:Combining a suitable first control with this second one misses the secondary acceptance criterion; AWS Backup plans and tag-based selections assign eligible resources to backup rules; it helps apply centralized backup schedules to eligible resources as fleets change rather than automate DNS-level cutover after the primary regional endpoint fails.
D:The second implementation is relevant; the problem is the first. Backup-and-restore recreates infrastructure and data only when needed, trading longer RTO for lower cost; it can help minimize steady-state disaster recovery costs where hours of recovery are acceptable, whereas the stated first requirement is to validate recovery performance against business-approved thresholds.
E:The pair changes the problem instead of completing it. One option addresses maintain replicated core data while minimizing always-on application compute cost; the other addresses protect retained backup recovery points from early deletion. The release, however, needs to validate recovery performance against business-approved thresholds as well as automate DNS-level cutover after the primary regional endpoint fails.
Question 180
An operations runbook has 2 acceptance criteria: (1) correlate requests across independent container services in a central log search; (2) protect exported audit objects with a controlled at-rest encryption boundary. Which TWO AWS actions satisfy these requirements? Choose TWO.
- Publish PutMetricData custom metrics with stable dimensions
- Use CloudWatch Embedded Metric Format in structured JSON logs
- Publish application logs in structured JSON with stable correlation identifiers
- Encrypt long-term S3 log objects with a customer managed KMS key
- Install and configure the unified CloudWatch agent on EC2
Explanation
Correct Answers
C:Structured log fields and propagated request IDs enable targeted multi-service incident investigation; among the listed outcomes, it addresses correlate requests across independent container services in a central log search, rather than merely contributing a related signal or support step.
D:This covers the specific result 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. Writers and readers must be authorized by both storage and KMS policies.
Incorrect Answers
A:CloudWatch custom metrics accept namespace, metric name, dimensions, values, and timestamps for aggregation; that would be appropriate to track a domain-specific success count broken down by deployed service, but this is a different objective from the numbered obligations in the stem.
B:This mechanism supports the ability to emit high-cardinality application measurements together with diagnostic context: embedded Metric Format embeds metric definitions in structured log events for CloudWatch extraction. It would not satisfy a different obligation just by appearing in the same workflow.
E:The CloudWatch agent collects supported host metrics and logs beyond the standard EC2 metric set; that would be appropriate to publish guest memory and disk-usage metrics not available from default EC2 metrics, but this is a different objective from the numbered obligations in the stem.