Question 50
After a configuration change, the delivery engineering team sees this issue: A credential embedded in buildspec files has been committed and is now exposed to contributors. What best restores the ability to supply a rotating database credential to CI jobs without placing the secret in source control?
- Use an immutable artifact identifier when promoting a release
- Restrict build credentials to a CodeBuild service role with least privilege
- Use a customer managed KMS key and grant the target deployment role decrypt permission
- Resolve runtime secrets from Secrets Manager during the build
Explanation
Correct Answer
D:Secrets Manager stores secret values and supports managed rotation integrations; runtime retrieval avoids committing values; it restores the ability to supply a rotating database credential to CI jobs without placing the secret in source control, provided the implementation also observes that the value must be retrieved at execution time by an authorized build role.
Incorrect Answers
A:The choice is useful when engineers need to promote the exact tested package between environments rather than rebuilding source independently: promoting a fixed artifact identity prevents environment-specific rebuilds from silently changing the delivered bytes. It would not establish the control needed to supply a rotating database credential to CI jobs without placing the secret in source control.
B:CodeBuild runs under its assigned IAM service role, which needs access to referenced buckets, logs, and relevant keys; this is a reasonable option when the requirement is to let automated builds read only the required inputs and publish expected outputs, but it operates at a different workflow boundary from the stated need to supply a rotating database credential to CI jobs without placing the secret in source control.
C:Choosing this would aim to make encrypted CodePipeline artifacts usable by an authorized cross-account action instead of supply a rotating database credential to CI jobs without placing the secret in source control. A customer managed key with suitable key policy and IAM permission supports cross-account decrypt access; it cannot replace the mechanism specified by the incident evidence.
Question 51
A platform implementation has two separate dependencies: detect resources that diverge from a defined account-level configuration policy, and remediate eligible noncompliant resources using a controlled runbook. Select the combination that addresses both rather than only one.
- Use Systems Manager Automation assumeRole for scoped API execution; attach an SSM Automation remediation action to an AWS Config rule
- Use AWS Config custom or managed rules for compliance evaluation; use Systems Manager Distributor for controlled software-package deployment
- Use EventBridge Scheduler for per-task scheduled API invocations; use Systems Manager Patch Manager and patch baselines
- Use AWS Config custom or managed rules for compliance evaluation; attach an SSM Automation remediation action to an AWS Config rule
Explanation
Correct Answer
D:For the requirement to detect resources that diverge from a defined account-level configuration policy, config rules evaluate supported resource configurations against policy and report compliance outcomes. For the requirement to remediate eligible noncompliant resources using a controlled runbook, config remediation configurations can invoke Systems Manager Automation documents for matching findings. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.
Incorrect Answers
A:Automation can assume an assigned IAM role to run documented steps with explicit API permissions; that is intended to run an approved automation document under a dedicated role rather than a user's permissions, not to detect resources that diverge from a defined account-level configuration policy. The second half can meet the requirement to remediate eligible noncompliant resources using a controlled runbook, but the first is still missing.
B:Distributor manages software packages that can be installed or updated through Systems Manager workflows; that alternative supports the ability to publish an internal agent package and distribute it to managed nodes, but it is not the requested second outcome (remediate eligible noncompliant resources using a controlled runbook). Even though the first half addresses detect resources that diverge from a defined account-level configuration policy, this pair is incomplete.
C:The pair changes the problem instead of completing it. One option addresses invoke a service API at a one-time or recurring schedule without hosting a cron instance; the other addresses scan and install operating-system updates according to approved patch classifications. The release, however, needs to detect resources that diverge from a defined account-level configuration policy as well as remediate eligible noncompliant resources using a controlled runbook.
Question 52
An engineer will implement the following change: Configure CodeBuild test reports with the supported report-file format. Which operational boundary most directly applies to the intended outcome to expose test-suite pass rates and failing cases for each build execution?
- The report file path and test report format must match buildspec configuration
- Validation must execute for proposed revisions and feed status to the review process
- User-journey availability should be measured beyond instance resource metrics
- The test stage must consume the staged endpoint and block the next stage if it fails
- Authorization checks must include explicit denied or ungranted actions
Explanation
Correct Answer
A:The report file path and test report format must match buildspec configuration. That is the governing deployment boundary for the selected control: CodeBuild reads supported report files from configured paths and associates results with report groups. If the boundary is missed, the design can fail to expose test-suite pass rates and failing cases for each build execution.
Incorrect Answers
B:PR-triggered builds can test changes earlier than post-merge releases and support branch protection workflows; its own dependency is that validation must execute for proposed revisions and feed status to the review process. Those details concern the separate objective of being able to evaluate a proposed change before it merges into a protected branch, rather than to the named control required to expose test-suite pass rates and failing cases for each build execution.
C:The proposed condition makes sense in an implementation designed to exercise a critical HTTP journey regularly with externally visible outcomes; it concerns CloudWatch Synthetics canaries run scheduled scripts against endpoints and report pass or failure measurements, whereas this question tests the prerequisite of the named control.
D: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 expose test-suite pass rates and failing cases for each build execution.
E:This condition governs the different mechanism used to verify the release role cannot perform actions outside its approved scope. IAM policy simulation and access analysis can help test whether planned principal actions are allowed; for the selected control, the relevant boundary is instead that the report file path and test report format must match buildspec configuration.
Question 53
A technical change review names the selected control as follows: Require a Systems Manager Change Manager approval for high-risk production automation. To review a sensitive operational change before executing its runbook, which constraint must be addressed for this design?
- The event rule should invoke a scoped runbook instead of an unmanaged shell script
- The change must be tracked with an approval workflow and appropriate permissions
- Targets must be selected by tags and have the required SSM managed-node permissions
- The fleet must converge through controlled replacement rather than only updating the template
Explanation
Correct Answer
B:The change must be tracked with an approval workflow and appropriate permissions. Without this, choosing the named service is not enough to produce the promised outcome. Change Manager supports governed change requests and approval workflows for operations.
Incorrect Answers
A:An EventBridge rule can start Systems Manager Automation documents as supported targets. Its own dependency is that the event rule should invoke a scoped runbook instead of an unmanaged shell script. Those details concern the separate objective of being able to run a documented multi-step configuration repair after a matching event, rather than to the named control required to review a sensitive operational change before executing its runbook.
C:This proposed constraint belongs to a separate objective: targets must be selected by tags and have the required SSM managed-node permissions. The corresponding goal is to apply a one-off configuration command to all affected managed instances, not the selected architecture's goal to review a sensitive operational change before executing its runbook.
D:This condition governs the different mechanism used to roll out a corrected launch template to already-running fleet instances; instance refresh gradually replaces existing Auto Scaling instances according to updated configuration; for the selected control, the relevant boundary is instead that the change must be tracked with an approval workflow and appropriate permissions.
Question 54
The architecture record specifies: Enable AWS Backup Vault Lock in an appropriate mode. To support the goal to protect retained backup recovery points from early deletion, which consideration should the engineer validate?
- Protection must follow tags and backup policies rather than manual resource selection
- The cutover should have explicit sequencing, permissions, and failure handling
- The recovery environment must reproduce network, IAM, and compute configuration deterministically
- Retention enforcement must be harder to bypass than ordinary IAM permissions
Explanation
Correct Answer
D:The requested behavior is to protect retained backup recovery points from early deletion, and retention enforcement must be harder to bypass than ordinary IAM permissions. The underlying AWS behavior is that backup Vault Lock enforces supported WORM retention protections according to its configured mode.
Incorrect Answers
A:The proposed condition makes sense in an implementation designed to apply centralized backup schedules to eligible resources as fleets change. It concerns AWS Backup plans and tag-based selections assign eligible resources to backup rules, whereas this question tests the prerequisite of the named control.
B:This proposed constraint belongs to a separate objective: the cutover should have explicit sequencing, permissions, and failure handling; the corresponding goal is to coordinate repeatable dependency-sensitive recovery actions with recorded outcomes, not the selected architecture's goal to protect retained backup recovery points from early deletion.
C:This condition governs the different mechanism used to recreate known-good application capacity from immutable infrastructure definitions; versioned IaC and images allow consistent restoration of application infrastructure; for the selected control, the relevant boundary is instead that retention enforcement must be harder to bypass than ordinary IAM permissions.
Question 55
A release design adopts this mechanism: Use CloudFormation resource import for supported existing resources. Which implementation detail is most relevant to its proposed use to bring an already-created resource under stack management without rebuilding it?
- AWS Organizations integration should avoid manually creating cross-account IAM roles
- The consumer should use an explicit stack export instead of hard-coded values
- The migration must preserve the physical resource while creating IaC ownership
- Reusable components should remain stacks with their own update boundaries
Explanation
Correct Answer
C:The requested behavior is to bring an already-created resource under stack management without rebuilding it, and the migration must preserve the physical resource while creating IaC ownership. The underlying AWS behavior is that resource import associates supported existing resources with logical resources in a stack template.
Incorrect Answers
A:This proposed constraint belongs to a separate objective: AWS Organizations integration should avoid manually creating cross-account IAM roles; the corresponding goal is to deploy a common baseline across organization accounts and selected Regions, not the selected architecture's goal to bring an already-created resource under stack management without rebuilding it.
B:This condition governs the different mechanism used to reference a networking stack's output from an application stack in the same Region; CloudFormation exports and Fn::ImportValue share supported values between stacks within the same account and Region; for the selected control, the relevant boundary is instead that the migration must preserve the physical resource while creating IaC ownership.
D:The proposed condition makes sense in an implementation designed to compose a large deployment from smaller lifecycle-managed CloudFormation templates. It concerns nested stacks allow a parent stack to reference reusable child templates through stack resources, whereas this question tests the prerequisite of the named control.
Question 56
A cross-team infrastructure plan specifies 2 measurable outcomes: (1) remediate eligible noncompliant resources using a controlled runbook; (2) invoke a service API at a one-time or recurring schedule without hosting a cron instance. Which TWO solutions address them? Choose TWO.
- Use EventBridge Scheduler for per-task scheduled API invocations
- Use Systems Manager Patch Manager and patch baselines
- Use Systems Manager Inventory to collect managed-node software metadata
- Use Systems Manager Maintenance Windows for scheduled fleet operations
- Attach an SSM Automation remediation action to an AWS Config rule
Explanation
Correct Answers
A:EventBridge Scheduler manages time-based invocation schedules with supported targets and retry policies; this fulfills the stated requirement to invoke a service API at a one-time or recurring schedule without hosting a cron instance; the operational limitation is that retries and dead-letter delivery need managed scheduling controls.
E:Config remediation configurations can invoke Systems Manager Automation documents for matching findings; this fulfills the stated requirement to remediate eligible noncompliant resources using a controlled runbook. The operational limitation is that remediation must invoke a scoped automation role and handle failed attempts.
Incorrect Answers
B:This mechanism supports the ability to scan and install operating-system updates according to approved patch classifications: patch Manager applies selected baselines to supported managed nodes for scan or install operations; it would not satisfy a different obligation just by appearing in the same workflow.
C:It supports a separate administrative task, namely to report installed applications and instance configuration across the managed fleet. Systems Manager Inventory collects supported software and configuration metadata for fleet reporting; the prompt's required outcomes are not achieved by substituting this control.
D:Maintenance Windows schedule supported tasks against registered targets at specified times. If the requirement were to run approved node maintenance tasks during designated service windows, that would matter. The requested outcomes are separate from the one this option addresses.
Question 57
A delivery review exposes two requirements in the same release: centrally share approved Maven or npm packages across build projects; in addition, cache vetted public-package dependencies through the organization's package repository. Which paired set of AWS controls meets both requirements?
- Publish versioned language dependencies to AWS CodeArtifact; use CodeArtifact upstream repositories for approved external packages
- Publish versioned language dependencies to AWS CodeArtifact; use an EC2 Image Builder container recipe to generate a hardened container image
- Enable ECR scan-on-push or enhanced scanning according to policy; use EC2 Image Builder pipelines to produce hardened AMIs
- Pin image promotion to an ECR image digest instead of a mutable tag; use CodeArtifact upstream repositories for approved external packages
Explanation
Correct Answer
A:The first outcome depends on the behavior that CodeArtifact hosts versioned package repositories with upstream connections and permission policies. Separately, CodeArtifact upstream relationships can retrieve dependency versions while concentrating package access management. Together these meet the two requested outcomes, with the operational limits that repository access should be controlled by IAM and scoped package versions and builds should resolve dependencies through the same curated repository endpoint.
Incorrect Answers
B:Image Builder supports container recipes and workflows to build and test image outputs. That alternative supports the ability to automate container base-image patching and validation for approved images, but it is not the requested second outcome (cache vetted public-package dependencies through the organization's package repository). Even though the first half addresses centrally share approved Maven or npm packages across build projects, this pair is incomplete.
C:The pair changes the problem instead of completing it. One option addresses surface vulnerable container packages before images are approved; the other addresses automate repeatable golden-image builds with validation tests. The release, however, needs to centrally share approved Maven or npm packages across build projects as well as cache vetted public-package dependencies through the organization's package repository.
D:Image digests identify content; mutable tags can be repointed and are unsuitable as sole provenance; that is intended to deploy exactly the image bytes tested during CI, not to centrally share approved Maven or npm packages across build projects. The second half can meet the requirement to cache vetted public-package dependencies through the organization's package repository, but the first is still missing.
Question 58
A reliability review exposes two requirements in the same release: restore database service availability without promoting a cross-Region read replica; in addition, minimize regional failover downtime for workloads designed to accept distributed traffic. Which paired set of AWS controls meets both requirements?
- Use RDS Multi-AZ automatic failover for a local Availability Zone failure; implement warm standby with reduced running capacity in a secondary Region
- Use RDS Multi-AZ automatic failover for a local Availability Zone failure; use active-active multi-Region deployment with regional traffic steering
- Use SSM Automation to execute approved disaster recovery cutover steps; use Route 53 health-checked failover records for a pretested recovery endpoint
- Use AWS Elastic Disaster Recovery replication and recovery launch plans; use active-active multi-Region deployment with regional traffic steering
- Use RDS Multi-AZ automatic failover for a local Availability Zone failure; copy supported AWS Backup recovery points to another Region
Explanation
Correct Answer
B:RDS Multi-AZ can fail over to a maintained standby in another zone using the managed DB endpoint; this handles the first acceptance condition, subject to the boundary that regional disaster recovery should not be triggered when native Multi-AZ failover is adequate. The remaining condition is handled separately: active-active systems keep multiple regional stacks serving requests, reducing activation time at the cost of complexity, with both Regions must be able to serve production traffic and reconcile state correctly.
Incorrect Answers
A:Combining a suitable first control with this second one misses the secondary acceptance criterion; warm standby keeps a smaller but operational workload in the recovery Region; it helps meet a short recovery objective while keeping DR spend below a full duplicate production stack rather than minimize regional failover downtime for workloads designed to accept distributed traffic.
C:These are legitimate AWS controls for different outcomes: automation runbooks sequence service API operations so recovery steps can be repeated and audited, whereas failover routing can resolve the standby record based on health state, subject to client caching. The problem instead requires the ability to restore database service availability without promoting a cross-Region read replica and to minimize regional failover downtime for workloads designed to accept distributed traffic.
D: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 restore database service availability without promoting a cross-Region read replica.
E:The first half is appropriate: RDS Multi-AZ can fail over to a maintained standby in another zone using the managed DB endpoint. However, AWS Backup copy rules replicate supported recovery points to destination vaults in other Regions; that serves a different objective (preserve recoverable backups outside the source Region) and leaves the explicit need to minimize regional failover downtime for workloads designed to accept distributed traffic unmet.
Question 59
The operations backlog groups related changes into one implementation window: (1) reduce scale-out readiness time for an application with lengthy initialization; (2) scale pod replicas for demand without changing each pod's compute limits. Which TWO controls directly meet the listed goals? Choose TWO.
- Configure RDS storage autoscaling with a maximum threshold
- Configure Auto Scaling warm pools for slow-starting instances
- Use API Gateway throttling to bound request rates to a serverless backend
- Use ElastiCache for repeated hot-key application lookups
- Configure Kubernetes Horizontal Pod Autoscaler with relevant metrics
Explanation
Correct Answers
B:An Auto Scaling warm pool holds initialized instances in a supported state for later scale-out; this fulfills the stated requirement to reduce scale-out readiness time for an application with lengthy initialization. The operational limitation is that preinitialized instances should be available for faster activation.
E:This covers the specific result to scale pod replicas for demand without changing each pod's compute limits: HPA adjusts the replica count of supported Kubernetes workloads from configured metrics. Scaling should change replicas rather than only increase a container resource limit.
Incorrect Answers
A:RDS storage autoscaling grows allocated storage under supported conditions up to its configured maximum; if the requirement were to grow database storage as data expands without frequent manual storage modifications, that would matter. The requested outcomes are separate from the one this option addresses.
C:This mechanism supports the ability to protect Lambda and downstream systems from excessive caller traffic: API Gateway throttling controls supported request rates and can return 429 responses when limits are exceeded. It would not satisfy a different obligation just by appearing in the same workflow.
D:It supports a separate administrative task, namely to reduce database read pressure for frequently requested reusable data; an in-memory cache serves hot keys without a round trip to the primary database for every read; the prompt's required outcomes are not achieved by substituting this control.
Question 60
An automated check detects: Management sees high coverage but a production workflow still lacks assertions. Which remediation directly supports the requirement to track executed source coverage while retaining assertions-based acceptance gates?
- Publish code coverage in CodeBuild reports without treating it as proof of behavior
- Use canary synthetic checks against a published test endpoint
- Run controlled load tests in a dedicated performance environment
- Separate performance threshold checks from functional correctness tests
Explanation
Correct Answer
A:Coverage reports show which code paths execute; they cannot prove that behavior or assertions are correct; in this case the control is appropriate because it supports track executed source coverage while retaining assertions-based acceptance gates. Coverage is an informative measure, not a substitute for scenario validation.
Incorrect Answers
B:That service solves a different operating problem: the need to exercise a critical HTTP journey regularly with externally visible outcomes; its behavior is that CloudWatch Synthetics canaries run scheduled scripts against endpoints and report pass or failure measurements; the requested outcome remains track executed source coverage while retaining assertions-based acceptance gates.
C:The choice is useful when engineers need to measure throughput and latency under expected concurrency without degrading production: dedicated performance testing reveals scale and bottleneck behavior while isolating intentional high load. It would not establish the control needed to track executed source coverage while retaining assertions-based acceptance gates.
D:Performance testing assesses response-time and throughput targets distinct from pass or fail functionality; this is a reasonable option when the requirement is to fail a release when latency regresses even though all APIs still return successful status codes, but it operates at a different workflow boundary from the stated need to track executed source coverage while retaining assertions-based acceptance gates.