Question 70
A delivery change request has linked acceptance tests: the system must pass an approved environment-specific value into a reusable pipeline action, and it must automate build and deployment of CDK infrastructure changes with reviewable application source. Which two controls should the engineers combine?
- Configure pipeline variables for explicitly parameterized executions; use an AWS CDK pipeline with dedicated synth and deployment steps
- Configure pipeline variables for explicitly parameterized executions; enable CodeBuild report groups for automated test results
- Use distinct CodePipeline stages with a separate integration test action; use an AWS CDK pipeline with dedicated synth and deployment steps
- Restrict build credentials to a CodeBuild service role with least privilege; connect a CodePipeline source action to an approved Git provider through CodeConnections
Explanation
Correct Answer
A:For the requirement to pass an approved environment-specific value into a reusable pipeline action, pipeline variables expose execution-specific values to actions that support variable substitution. For the requirement to automate build and deployment of CDK infrastructure changes with reviewable application source, CDK Pipelines synthesize application definitions into cloud assemblies and orchestrate subsequent stack deployments. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.
Incorrect Answers
B:The first half is appropriate: Pipeline variables expose execution-specific values to actions that support variable substitution. However, CodeBuild report groups ingest supported test and code-coverage files generated during a build; that serves a different objective (publish structured test reports that reviewers can inspect after a CI run) and leaves the explicit need to automate build and deployment of CDK infrastructure changes with reviewable application source unmet.
C:The second implementation is relevant; the problem is the first. A failed test action makes the stage fail and prevents subsequent deployment stages from proceeding; it can help stop an unsafe revision before it can reach the deployment stage, whereas the stated first requirement is to pass an approved environment-specific value into a reusable pipeline action.
D:The pair changes the problem instead of completing it. One option addresses let automated builds read only the required inputs and publish expected outputs; the other addresses start pipeline executions from commits on the approved application branch. The release, however, needs to pass an approved environment-specific value into a reusable pipeline action as well as automate build and deployment of CDK infrastructure changes with reviewable application source.
Question 71
The security engineering team reports the following failure: A project administrator can create a new role with more privileges than the administrator should delegate. Which action directly restores the requirement to allow a development platform team to create roles without granting unlimited privileges?
- Apply an IAM permissions boundary to delegated role creation
- Assign AWS IAM Identity Center permission sets to workforce groups
- Use EKS IAM Roles for Service Accounts or supported EKS Pod Identity
- Configure IAM role trust conditions with an external ID for a third-party provider
Explanation
Correct Answer
A:To allow a development platform team to create roles without granting unlimited privileges, the architecture relies on this AWS behavior: permissions boundaries constrain the effective identity permissions of a user or role without granting access; the maximum permissions of created roles must be bounded independently of identity policy allows.
Incorrect Answers
B:IAM Identity Center provisions account roles through permission-set assignments to users and groups; this can help teams provide centrally managed access to many AWS accounts for federated employees, but the reported workflow needs to allow a development platform team to create roles without granting unlimited privileges. It does not perform that required function.
C:That service solves a different operating problem: the need to grant a Kubernetes workload AWS permissions without using the node IAM role. Its behavior is that EKS workload identity mechanisms associate an AWS IAM role with a Kubernetes service account or pod. The requested outcome remains allow a development platform team to create roles without granting unlimited privileges.
D:The choice is useful when engineers need to reduce confused-deputy risk when a SaaS vendor assumes customer roles: the sts:ExternalId condition helps a provider distinguish authorized cross-account assume-role requests. It would not establish the control needed to allow a development platform team to create roles without granting unlimited privileges.
Question 72
The production plan uses this approach: Configure Security Hub organization integration and central settings policies. The goal is to standardize security finding aggregation and enabled standards across accounts. Which prerequisite or limitation should receive focused review?
- Member accounts must not be able to silently erase centrally stored audit evidence
- The policy must govern tag conventions rather than grant IAM access
- Security monitoring policy should be managed from the security administration model
- Supported security administration should be separated from the management account
Explanation
Correct Answer
C:Security monitoring policy should be managed from the security administration model. Without this, choosing the named service is not enough to produce the promised outcome; Security Hub central configuration can apply supported policies across an organization hierarchy.
Incorrect Answers
A:This condition governs the different mechanism used to collect supported account activity centrally across an AWS organization. An organization trail covers member accounts with centralized delivery and separately controlled storage; for the selected control, the relevant boundary is instead that security monitoring policy should be managed from the security administration model.
B:Tag policies define permitted capitalization and values and can enforce supported tagging operations; its own dependency is that the policy must govern tag conventions rather than grant IAM access; those details concern the separate objective of being able to report and enforce valid tag keys or values across organizational accounts where supported, rather than to the named control required to standardize security finding aggregation and enabled standards across accounts.
D:This proposed constraint belongs to a separate objective: supported security administration should be separated from the management account; the corresponding goal is to let a security account administer a supported service for organization members, not the selected architecture's goal to standardize security finding aggregation and enabled standards across accounts.
Question 73
Investigators observe: An RDS instance runs low on free storage as transaction history accumulates. Engineers still need to grow database storage as data expands without frequent manual storage modifications. Which corrective action is most appropriate?
- Use ElastiCache for repeated hot-key application lookups
- Use DynamoDB auto scaling for provisioned read and write capacity
- Configure Kubernetes Horizontal Pod Autoscaler with relevant metrics
- Use SQS to buffer bursts between request intake and worker processing
- Configure RDS storage autoscaling with a maximum threshold
- Use API Gateway throttling to bound request rates to a serverless backend
Explanation
Correct Answer
E:RDS storage autoscaling grows allocated storage under supported conditions up to its configured maximum; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: the database storage ceiling must remain within budget and service limits.
Incorrect Answers
A:That service solves a different operating problem: the need to reduce database read pressure for frequently requested reusable data. Its behavior is that an in-memory cache serves hot keys without a round trip to the primary database for every read. The requested outcome remains grow database storage as data expands without frequent manual storage modifications.
B:The choice is useful when engineers need to adapt provisioned throughput targets to changing demand: DynamoDB Application Auto Scaling can change provisioned read or write capacity based on utilization targets. It would not establish the control needed to grow database storage as data expands without frequent manual storage modifications.
C:HPA adjusts the replica count of supported Kubernetes workloads from configured metrics. This is a reasonable option when the requirement is to scale pod replicas for demand without changing each pod's compute limits, but it operates at a different workflow boundary from the stated need to grow database storage as data expands without frequent manual storage modifications.
D:Choosing this would aim to decouple transient producer spikes from a bounded worker fleet instead of grow database storage as data expands without frequent manual storage modifications; SQS queues hold pending work and let consumers process it asynchronously with retry semantics; it cannot replace the mechanism specified by the incident evidence.
F:API Gateway throttling controls supported request rates and can return 429 responses when limits are exceeded; this can help teams protect Lambda and downstream systems from excessive caller traffic, but the reported workflow needs to grow database storage as data expands without frequent manual storage modifications. It does not perform that required function.
Question 74
Investigators observe: A hard-coded environment string causes the wrong service endpoint to be deployed. Engineers still need to pass an approved environment-specific value into a reusable pipeline action. Which corrective action is most appropriate?
- Configure a cross-Region artifact store for the target action Region
- Configure pipeline variables for explicitly parameterized executions
- Configure stage-level failure handling to stop and roll back supported pipeline executions
- Connect a CodePipeline source action to an approved Git provider through CodeConnections
Explanation
Correct Answer
B:Pipeline variables expose execution-specific values to actions that support variable substitution; in this case the control is appropriate because it supports pass an approved environment-specific value into a reusable pipeline action. A release operator must choose from controlled parameters without altering source files.
Incorrect Answers
A:The choice is useful when engineers need 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; it would not establish the control needed to pass an approved environment-specific value into a reusable pipeline action.
C:Choosing this would aim to restore a known successful release when a new stage execution fails instead of pass an approved environment-specific value into a reusable pipeline action. CodePipeline supports stage failure actions including rollback for eligible pipeline types and stages; it cannot replace the mechanism specified by the incident evidence.
D:Although the source connection supplies authorized repository events and revisions to a pipeline source action, the scenario does not ask for start pipeline executions from commits on the approved application branch; it requires the ability to pass an approved environment-specific value into a reusable pipeline action, which is a separate responsibility.
Question 75
One team is accountable for the AWS workflow to permit a cross-account deployment action to retrieve the intended pipeline artifact objects. A second acceptance condition requires it to promote the exact tested package between environments rather than rebuilding source independently. Which combination should be approved?
- Grant the target-account role access through the S3 artifact bucket policy; use an immutable artifact identifier when promoting a release
- Use a deployment action with a production-account IAM role; configure pipeline variables for explicitly parameterized executions
- Enable CodeBuild local caching for reusable build dependencies; 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
Explanation
Correct Answer
A:A resource-based bucket policy can authorize the trusted destination principal to read specific artifact objects; this handles the first acceptance condition, subject to the boundary that the grant must be limited to the pipeline artifact location rather than every bucket. The remaining condition is handled separately: promoting a fixed artifact identity prevents environment-specific rebuilds from silently changing the delivered bytes, with release provenance must refer to a single versioned artifact or image digest.
Incorrect Answers
B:These are legitimate AWS controls for different outcomes: role separation allows each pipeline action to run under the permissions approved for its target environment, whereas pipeline variables expose execution-specific values to actions that support variable substitution. The problem instead requires the ability to permit a cross-account deployment action to retrieve the intended pipeline artifact objects and to promote the exact tested package between environments rather than rebuilding source independently.
C:This combination solves only the latter acceptance test. The substituted first control supports reduce time spent re-fetching dependencies in repeated builds on compatible environments: local caches can reuse permitted source or dependency data on a build host, subject to environment and cache limitations; it does not implement permit a cross-account deployment action to retrieve the intended pipeline artifact objects.
D:The first half is appropriate: A resource-based bucket policy can authorize the trusted destination principal to read specific artifact objects. However, a customer managed key with suitable key policy and IAM permission supports cross-account decrypt access; that serves a different objective (make encrypted CodePipeline artifacts usable by an authorized cross-account action) and leaves the explicit need to promote the exact tested package between environments rather than rebuilding source independently unmet.
Question 76
An engineer is addressing a two-part security requirement: determine how an audited resource's settings changed over time, without losing the ability to evaluate a collection of resource configuration controls against a standard. Which set of actions is suitable?
- Enable AWS Config recording and resource configuration history; use AWS Config conformance packs for grouped compliance evaluation
- Enable AWS Config recording and resource configuration history; use VPC Flow Logs to investigate rejected network flows
- Use CloudWatch metric filters with alarms on sensitive security log patterns; use Amazon Detective for investigation of related security activity
- Enable AWS Config recording and resource configuration history; create an organization CloudTrail trail to a separately secured S3 logging bucket
- Use Amazon Macie sensitive-data findings for S3 exposure investigations; use AWS Config conformance packs for grouped compliance evaluation
Explanation
Correct Answer
A:AWS Config records supported resource configuration items and their change history; conformance packs package AWS Config rules and supported remediation actions for consistent evaluation. The first control satisfies the need to determine how an audited resource's settings changed over time; the second addresses the need to evaluate a collection of resource configuration controls against a standard. The evidence should preserve recorded resource state changes and their timestamps; rules should be bundled with any supported remediation definitions as a deployable unit.
Incorrect Answers
B:The first half is appropriate: AWS Config records supported resource configuration items and their change history. However, VPC Flow Logs record accepted and rejected flow metadata without capturing full packet payloads; that serves a different objective (identify source, destination, and action details for a suspected network denial) and leaves the explicit need to evaluate a collection of resource configuration controls against a standard unmet.
C:These are legitimate AWS controls for different outcomes: metric filters turn matching log events into CloudWatch measurements that can trigger alarms, whereas detective assists security investigations by correlating supported activity and entity relationships. The problem instead requires the ability to determine how an audited resource's settings changed over time and to evaluate a collection of resource configuration controls against a standard.
D:Combining a suitable first control with this second one misses the secondary acceptance criterion; an organization trail delivers supported account activity events centrally for member accounts; it helps retain management API events from all AWS Organizations member accounts rather than evaluate a collection of resource configuration controls against a standard.
E:Macie analyzes supported S3 objects and reports sensitive-data discovery findings. That is intended to identify buckets and objects that contain potentially regulated data, not to determine how an audited resource's settings changed over time. The second half can meet the requirement to evaluate a collection of resource configuration controls against a standard, but the first is still missing.
Question 77
An automated check detects: An ECS service continues to use the old digest after a new image is built. Which remediation directly supports the requirement to roll out a changed container image while retaining the previous task definition?
- Use CodeDeploy ECS blue/green with two target groups
- Use an ECS deployment with a new immutable task definition revision
- Apply Kubernetes readiness probes before routing traffic to EKS pods
- Configure ECS service deployment circuit breaker and rollback
- Choose a supported ECS canary traffic-shift configuration
- Choose CodeDeploy in-place deployment with minimum healthy hosts
Explanation
Correct Answer
B:An ECS service update selects a task definition revision and schedules replacement tasks to converge to it; it restores the ability to roll out a changed container image while retaining the previous task definition, provided the implementation also observes that the service scheduler must be told which task definition revision to run.
Incorrect Answers
A:Although CodeDeploy blue/green ECS deployments use replacement task sets and load balancer target groups for traffic shifts, the scenario does not ask for shift load balancer traffic from the old ECS task set to the new task set. It requires the ability to roll out a changed container image while retaining the previous task definition, which is a separate responsibility.
C:That service solves a different operating problem: the need to keep requests away from containers until the application is ready. Its behavior is that readiness probes control whether pods are considered ready for service endpoint traffic. The requested outcome remains roll out a changed container image while retaining the previous task definition.
D:The choice is useful when engineers need to automatically restore an earlier task deployment after a rolling deployment cannot stabilize: the ECS deployment circuit breaker can mark rolling deployments failed and roll back to a prior completed deployment. It would not establish the control needed to roll out a changed container image while retaining the previous task definition.
E:Canary deployment configurations shift an initial percentage before the remaining cutover. This is a reasonable option when the requirement is to send a small fraction of user traffic to a replacement task set before full cutover, but it operates at a different workflow boundary from the stated need to roll out a changed container image while retaining the previous task definition.
F:Choosing this would aim to update an existing EC2 fleet in batches while preserving required available capacity instead of roll out a changed container image while retaining the previous task definition. CodeDeploy EC2 in-place configurations control host update concurrency using healthy-host thresholds; it cannot replace the mechanism specified by the incident evidence.
Question 78
An AWS design review will approve a solution only if it meets these criteria: (1) detect external failures in a multi-step website journey before users report them; (2) find when an infrastructure resource drifted from its previous configuration. Select the TWO needed changes. Choose TWO.
- Set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately
- Use metric math to alarm on ALB 5xx errors as a request ratio
- Use CloudWatch Synthetics canaries to validate a customer workflow
- Use CloudWatch dashboard widgets for a shared service SLO view
- Use AWS Config resource timelines to inspect configuration history
Explanation
Correct Answers
C:Synthetics canaries execute scripts and publish availability and step-level results. This fulfills the stated requirement to detect external failures in a multi-step website journey before users report them. The operational limitation is that the check must exercise actual HTTP or browser behavior on a defined schedule.
E:AWS Config configuration history tracks supported resource state changes over time. Among the listed outcomes, it addresses find when an infrastructure resource drifted from its previous configuration, rather than merely contributing a related signal or support step.
Incorrect Answers
A:It supports a separate administrative task, namely to avoid triggering rollbacks on one isolated noisy metric datapoint; evaluation periods and datapoints-to-alarm control how many recent breaches cause an alarm state; the prompt's required outcomes are not achieved by substituting this control.
B:CloudWatch metric math combines compatible metrics to evaluate derived rates or ratios. If the requirement were to detect user-visible error-rate regression independent of total request volume, that would matter. The requested outcomes are separate from the one this option addresses.
D:This mechanism supports the ability to show latency, errors, and saturation to incident responders in one panel: CloudWatch dashboards visualize selected metrics, logs, and alarms in a shared operational view; it would not satisfy a different obligation just by appearing in the same workflow.
Question 79
The architecture record specifies: Use an S3 gateway VPC endpoint and appropriate bucket policy constraints. To support the goal to allow private subnet workloads to reach S3 without NAT for supported traffic, which consideration should the engineer validate?
- The corrective runbook must execute with narrowly authorized permissions
- Routing and endpoint policy must match the supported S3 gateway endpoint model
- The policy must target supported resources through Organizations and configured security administration
- The rule should attach to the workload network interface boundary
Explanation
Correct Answer
B:Routing and endpoint policy must match the supported S3 gateway endpoint model. That is the governing deployment boundary for the selected control: S3 gateway endpoints use VPC route entries to access S3 privately from eligible subnets. If the boundary is missed, the design can fail to allow private subnet workloads to reach S3 without NAT for supported traffic.
Incorrect Answers
A:This proposed constraint belongs to a separate objective: the corrective runbook must execute with narrowly authorized permissions. The corresponding goal is to restore supported misconfigured resource settings when drift is detected, not the selected architecture's goal to allow private subnet workloads to reach S3 without NAT for supported traffic.
C:Firewall Manager manages supported security policies across accounts and can apply WAF protections to in-scope resources; its own dependency is that the policy must target supported resources through Organizations and configured security administration; those details concern the separate objective of being able to enforce an approved web ACL policy on supported public application endpoints across member accounts, rather than to the named control required to allow private subnet workloads to reach S3 without NAT for supported traffic.
D:The proposed condition makes sense in an implementation designed to restrict inbound application ports while permitting corresponding return traffic. It concerns security groups apply stateful allow rules to supported network interfaces and resources, whereas this question tests the prerequisite of the named control.
Question 80
A cross-team infrastructure plan specifies 2 measurable outcomes: (1) keep cacheable web content reachable if the primary origin fails; (2) allow Linux application instances in multiple zones to access a common managed file system. Which TWO solutions address them? Choose TWO.
- Use an Aurora Global Database with secondary Region clusters
- Use ElastiCache replication groups spanning multiple Availability Zones
- Use EFS mount targets in each client Availability Zone
- Configure DynamoDB global tables for multi-Region active-active access
- Use an RDS cross-Region read replica where the engine supports it
- Use CloudFront origins with origin failover for eligible requests
Explanation
Correct Answers
C:EFS mount targets provide VPC network access to a Regional shared file system from selected zones; among the listed outcomes, it addresses allow Linux application instances in multiple zones to access a common managed file system, rather than merely contributing a related signal or support step.
F:The corresponding obligation is to keep cacheable web content reachable if the primary origin fails. CloudFront origin groups can switch eligible requests to a secondary origin on configured primary failures; that behavior is the reason this action belongs in the selected answer set.
Incorrect Answers
A:Aurora Global Database replicates from a primary cluster to secondary regional clusters for reads and recovery; that would be appropriate to provide low-latency cross-Region database reads and a regional recovery path, but this is a different objective from the numbered obligations in the stem.
B:This mechanism supports the ability to improve availability of supported Redis or Valkey cache workloads: supported ElastiCache replication groups use replicas and automatic failover to recover from primary loss; it would not satisfy a different obligation just by appearing in the same workflow.
D:DynamoDB global tables replicate data among participating Regions and support multi-Region writes; if the requirement were to allow application writes in more than one AWS Region with replication, that would matter; the requested outcomes are separate from the one this option addresses.
E:Cross-Region read replicas copy database changes asynchronously and can be promoted under supported conditions; that would be appropriate to provide off-Region read capacity and a possible promotion-based recovery option, but this is a different objective from the numbered obligations in the stem.