Question 410
After a configuration change, the infrastructure automation group sees this issue: Lambda scales quickly but overwhelms a third-party rate-limited API. What best restores the ability to cap parallel invocations before a sensitive backend is saturated?
- Configure Karpenter or a supported EKS node autoscaler for unschedulable pods
- Use API Gateway throttling to bound request rates to a serverless backend
- Use an ECS capacity provider strategy for EC2 cluster capacity
- Use Lambda reserved concurrency to protect a downstream dependency
Explanation
Correct Answer
D:Reserved concurrency caps simultaneously executing Lambda instances for the configured function; it restores the ability to cap parallel invocations before a sensitive backend is saturated, provided the implementation also observes that concurrency must be constrained at the function boundary.
Incorrect Answers
A:The choice is useful when engineers need to add cluster nodes when pods cannot schedule due to insufficient capacity: node autoscalers provision or adjust worker capacity in response to pending pods and cluster constraints; it would not establish the control needed to cap parallel invocations before a sensitive backend is saturated.
B:API Gateway throttling controls supported request rates and can return 429 responses when limits are exceeded; this is a reasonable option when the requirement is to protect Lambda and downstream systems from excessive caller traffic, but it operates at a different workflow boundary from the stated need to cap parallel invocations before a sensitive backend is saturated.
C:Choosing this would aim to coordinate ECS service task placement with managed EC2 capacity instead of cap parallel invocations before a sensitive backend is saturated. ECS capacity providers can couple task placement and managed scaling of EC2 Auto Scaling capacity; it cannot replace the mechanism specified by the incident evidence.
Question 411
A new AWS operations standard requires the ability to restore supported misconfigured resource settings when drift is detected and allow private subnet workloads to reach S3 without NAT for supported traffic in the same operating environment. Which proposed pair delivers both?
- Use an AWS WAF rate-based rule for abusive clients; use an S3 gateway VPC endpoint and appropriate bucket policy constraints
- Use AWS Config rule evaluations with automatic remediation for policy violations; enable GuardDuty across organization accounts to detect suspicious activity
- Use AWS Config rule evaluations with automatic remediation for policy violations; use an S3 gateway VPC endpoint and appropriate bucket policy constraints
- Use security group rules for stateful instance or ENI traffic control; request an ACM-issued public certificate for a supported HTTPS endpoint
- Use AWS Config rule evaluations with automatic remediation for policy violations; use AWS Shield Advanced for enhanced DDoS protection of eligible public resources
Explanation
Correct Answer
C:The first outcome depends on the behavior that AWS Config rules evaluate configurations and can integrate with Systems Manager remediation. Separately, S3 gateway endpoints use VPC route entries to access S3 privately from eligible subnets. Together these meet the two requested outcomes, with the operational limits that the corrective runbook must execute with narrowly authorized permissions and routing and endpoint policy must match the supported S3 gateway endpoint model.
Incorrect Answers
A:WAF rate-based rules track request rates for defined aggregation keys and act on matching excess traffic; that is intended to limit repeated HTTP requests from sources that exceed an approved threshold, not to restore supported misconfigured resource settings when drift is detected. The second half can meet the requirement to allow private subnet workloads to reach S3 without NAT for supported traffic, but the first is still missing.
B:GuardDuty analyzes supported telemetry and uses threat detection to generate security findings; that alternative supports the ability to surface suspicious credentials and network behavior without building a custom detector, but it is not the requested second outcome (allow private subnet workloads to reach S3 without NAT for supported traffic); even though the first half addresses restore supported misconfigured resource settings when drift is detected, this pair is incomplete.
D:Neither control directly supplies both requested behaviors. Security groups apply stateful allow rules to supported network interfaces and resources; AWS Certificate Manager provisions and renews eligible certificates for integrated AWS services. Those mechanisms address different objectives. The specified capabilities are to restore supported misconfigured resource settings when drift is detected and to allow private subnet workloads to reach S3 without NAT for supported traffic.
E:Shield Advanced offers enhanced detection, response capabilities, and protections for supported resources; that alternative supports the ability to apply additional DDoS protection and response capabilities to critical endpoints, but it is not the requested second outcome (allow private subnet workloads to reach S3 without NAT for supported traffic); even though the first half addresses restore supported misconfigured resource settings when drift is detected, this pair is incomplete.
Question 412
An operational design is incomplete until it can prevent CI workers from embedding persistent AWS keys in build scripts and avoid distributing durable access keys for central administration in member accounts. Which two-part implementation fills both gaps?
- Require MFA for privileged human sign-in and sensitive actions; use IAM Identity Center with an external identity provider federation
- Use IAM roles and temporary credentials for CodeBuild service integration; use an IAM role with STS temporary credentials for cross-account operations
- Enable Secrets Manager rotation with a supported rotation strategy; use an IAM role with STS temporary credentials for cross-account operations
- Use IAM roles and temporary credentials for CodeBuild service integration; configure IAM role trust conditions with an external ID for a third-party provider
Explanation
Correct Answer
B:The first outcome depends on the behavior that CodeBuild obtains temporary service-role credentials to call authorized AWS APIs during builds. Separately, STS AssumeRole issues expiring credentials for a trusted role rather than persistent user secrets; together these meet the two requested outcomes, with the operational limits that the build project role should authorize only required artifact and deployment operations and trust and permission policies must explicitly govern the destination role.
Incorrect Answers
A:The pair changes the problem instead of completing it. One option addresses add possession-based verification to administrator authentication; the other addresses centralize workforce lifecycle while retaining the corporate identity provider. The release, however, needs to prevent CI workers from embedding persistent AWS keys in build scripts as well as avoid distributing durable access keys for central administration in member accounts.
C:The second implementation is relevant; the problem is the first. Secrets Manager rotation workflows update stored credentials and, with integration, the underlying service credential; it can help rotate an application database password without manual quarterly updates, whereas the stated first requirement is to prevent CI workers from embedding persistent AWS keys in build scripts.
D:Combining a suitable first control with this second one misses the secondary acceptance criterion; the sts:ExternalId condition helps a provider distinguish authorized cross-account assume-role requests; it helps reduce confused-deputy risk when a SaaS vendor assumes customer roles rather than avoid distributing durable access keys for central administration in member accounts.
Question 413
The infrastructure automation group reports the following failure: Overall request latency rises while every EC2 CPU metric remains low. Which action directly restores the requirement to find which dependency slows a distributed API request?
- Inspect CloudFormation stack events for the first failed resource
- Inspect application retry behavior and SQS ApproximateAgeOfOldestMessage
- Inspect X-Ray traces for downstream service latency
- Check ALB target-group health reason codes and the configured health path
Explanation
Correct Answer
C:X-Ray traces expose service dependencies and timing across instrumented operations. In this case the control is appropriate because it supports find which dependency slows a distributed API request. A correlated request trace should reveal slow downstream segments.
Incorrect Answers
A:Although CloudFormation stack events show per-resource transitions and service error messages, the scenario does not ask for identify the underlying resource error that triggered a stack rollback. It requires the ability to find which dependency slows a distributed API request, which is a separate responsibility.
B:SQS age metrics help reveal processing delay that count metrics alone can obscure. This can help teams identify whether queue-processing latency is growing from a slow consumer, but the reported workflow needs to find which dependency slows a distributed API request. It does not perform that required function.
D:The choice is useful when engineers need to diagnose why valid backend instances receive no load balancer traffic: ALB target-group status reason codes and health settings show why endpoints fail checks. It would not establish the control needed to find which dependency slows a distributed API request.
Question 414
The service maintenance group reports the following failure: New application code produces errors but the deployment remains active until manual intervention. Which action directly restores the requirement to reverse a release that triggers the defined customer error alarm?
- Use an AWS AppConfig deployment strategy with automatic rollback alarms
- Apply CloudFormation drift remediation through a reviewed template update
- Use CodeDeploy CloudWatch-alarm integration for automatic deployment rollback
- Perform an Auto Scaling instance refresh after updating a launch template
- Use a CloudFormation Change Set for emergency infrastructure adjustments
- Require a Systems Manager Change Manager approval for high-risk production automation
Explanation
Correct Answer
C:To reverse a release that triggers the defined customer error alarm, the architecture relies on this AWS behavior: CodeDeploy can stop and roll back eligible deployments when configured CloudWatch alarms enter ALARM. Rollback should follow a specific monitored release failure signal.
Incorrect Answers
A:AppConfig can roll back a configuration deployment when monitored CloudWatch alarms indicate failure; this can help teams revert a dynamic feature flag after application health degrades, but the reported workflow needs to reverse a release that triggers the defined customer error alarm. It does not perform that required function.
B:That service solves a different operating problem: the need to restore a resource's intended IaC state after manual infrastructure changes; its behavior is that a reviewed stack update can bring supported drifted resources back toward declared template state; the requested outcome remains reverse a release that triggers the defined customer error alarm.
D: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 reverse a release that triggers the defined customer error alarm.
E:Choosing this would aim to review the actual resource mutations before applying a critical IaC patch instead of reverse a release that triggers the defined customer error alarm; CloudFormation Change Sets preview resource actions including potential replacements before execution; it cannot replace the mechanism specified by the incident evidence.
F:Although change Manager supports governed change requests and approval workflows for operations, the scenario does not ask for review a sensitive operational change before executing its runbook. It requires the ability to reverse a release that triggers the defined customer error alarm, which is a separate responsibility.
Question 415
During root-cause analysis, the team identifies the following: The dashboard shows CPU and network metrics but has no operating-system free-memory measurement. To publish guest memory and disk-usage metrics not available from default EC2 metrics, what should be configured?
- Configure CloudWatch Logs subscription filters to stream events to an eligible destination
- Create CloudWatch metric streams to Amazon Data Firehose
- Install and configure the unified CloudWatch agent on EC2
- Publish PutMetricData custom metrics with stable dimensions
Explanation
Correct Answer
C:The CloudWatch agent collects supported host metrics and logs beyond the standard EC2 metric set; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: a least-privilege instance role must authorize the agent to publish custom telemetry.
Incorrect Answers
A:That service solves a different operating problem: the need to process matching log records as they arrive instead of polling stored logs. Its behavior is that subscription filters route new matching CloudWatch Logs events to supported streaming or processing destinations. The requested outcome remains publish guest memory and disk-usage metrics not available from default EC2 metrics.
B:The choice is useful when engineers need to continuously export supported metrics to an external observability platform: CloudWatch metric streams continuously send metric data to supported delivery services; it would not establish the control needed to publish guest memory and disk-usage metrics not available from default EC2 metrics.
D:Choosing this would aim to track a domain-specific success count broken down by deployed service instead of publish guest memory and disk-usage metrics not available from default EC2 metrics. CloudWatch custom metrics accept namespace, metric name, dimensions, values, and timestamps for aggregation; it cannot replace the mechanism specified by the incident evidence.
Question 416
After a configuration change, the site reliability team sees this issue: A security group was edited manually but the stack reports its last deployment as successful. What best restores the ability to identify unmanaged configuration changes made outside the IaC deployment?
- Use CloudFormation stack policies to protect critical resources from updates
- Enable CloudFormation drift detection on supported stack resources
- Use CloudFormation resource import for supported existing resources
- Use CloudFormation hooks to validate resource configuration during stack operations
Explanation
Correct Answer
B:Drift detection compares actual and expected configurations for supported resources and properties; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: the audit must compare actual supported resource properties with expected template state.
Incorrect Answers
A:The choice is useful when engineers need 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; it would not establish the control needed to identify unmanaged configuration changes made outside the IaC deployment.
C:Choosing this would aim to bring an already-created resource under stack management without rebuilding it instead of identify unmanaged configuration changes made outside the IaC deployment. Resource import associates supported existing resources with logical resources in a stack template; it cannot replace the mechanism specified by the incident evidence.
D:Although CloudFormation hooks can enforce pre-provisioning or operation-time checks for supported resource types, the scenario does not ask for intercept stack resource operations that violate central deployment rules. It requires the ability to identify unmanaged configuration changes made outside the IaC deployment, which is a separate responsibility.
Question 417
The platform engineering group cannot close its release review until both of these are possible: apply baseline stacks when new accounts join a targeted organizational unit; reject templates that violate machine-readable resource configuration standards. Which implementation pair satisfies the review?
- Enable automatic deployment for an OU-targeted CloudFormation StackSet; define an AWS CDK construct for a reusable platform pattern
- Use CloudFormation dynamic references for protected parameter values; apply CloudFormation Guard rules in the infrastructure validation stage
- Enable automatic deployment for an OU-targeted CloudFormation StackSet; apply CloudFormation Guard rules in the infrastructure validation stage
- Deploy dynamic configuration using AWS AppConfig gradual rollout; use AWS SAM transform resources for Lambda and API infrastructure
Explanation
Correct Answer
C:StackSet automatic deployment creates or removes managed instances as accounts move into or out of targeted OUs; this handles the first acceptance condition, subject to the boundary that accounts that enter or leave a target OU should follow explicit stack lifecycle policy. The remaining condition is handled separately: CloudFormation Guard checks supported template structures against declarative compliance rules, with policy validation must happen before CloudFormation executes changes.
Incorrect Answers
A:The first half is appropriate: StackSet automatic deployment creates or removes managed instances as accounts move into or out of targeted OUs. However, CDK constructs encapsulate infrastructure resources and synthesize AWS CloudFormation definitions; that serves a different objective (package a standardized multi-resource infrastructure pattern into application code) and leaves the explicit need to reject templates that violate machine-readable resource configuration standards unmet.
B:The second implementation is relevant; the problem is the first. Dynamic references let CloudFormation retrieve supported values from SSM Parameter Store or Secrets Manager; it can help avoid hardcoding a sensitive input in reusable infrastructure templates, whereas the stated first requirement is to apply baseline stacks when new accounts join a targeted organizational unit.
D:Neither control directly supplies both requested behaviors. AppConfig deployment strategies gradually distribute hosted or sourced configuration and can roll back on alarms; AWS SAM expands serverless resource declarations into supported CloudFormation resources during transformation; those mechanisms address different objectives; the specified capabilities are to apply baseline stacks when new accounts join a targeted organizational unit and to reject templates that violate machine-readable resource configuration standards.
Question 418
A platform review exposes two requirements in the same release: let application teams self-service compliant infrastructure without broad template authoring access; in addition, reject templates that violate machine-readable resource configuration standards. Which paired set of AWS controls meets both requirements?
- Publish approved infrastructure products through AWS Service Catalog; use AWS CloudFormation Change Sets before updating a stack
- Use AWS SAM transform resources for Lambda and API infrastructure; use CloudFormation StackSets with service-managed permissions
- Publish approved infrastructure products through AWS Service Catalog; apply CloudFormation Guard rules in the infrastructure validation stage
- Use CloudFormation dynamic references for protected parameter values; apply CloudFormation Guard rules in the infrastructure validation stage
Explanation
Correct Answer
C:Service Catalog portfolios expose governed infrastructure products to authorized consumers; CloudFormation Guard checks supported template structures against declarative compliance rules. The first control satisfies the need to let application teams self-service compliant infrastructure without broad template authoring access; the second addresses the need to reject templates that violate machine-readable resource configuration standards. Platform owners must constrain which templates and versions can be provisioned; policy validation must happen before CloudFormation executes changes.
Incorrect Answers
A:Combining a suitable first control with this second one misses the secondary acceptance criterion; a change set previews how CloudFormation intends to modify or replace resources before execution; it helps inspect the proposed resource replacements and updates before executing infrastructure changes rather than reject templates that violate machine-readable resource configuration standards.
B:Neither control directly supplies both requested behaviors. AWS SAM expands serverless resource declarations into supported CloudFormation resources during transformation; service-managed StackSets use AWS Organizations integration to provision stack instances across eligible accounts. Those mechanisms address different objectives. The specified capabilities are to let application teams self-service compliant infrastructure without broad template authoring access and to reject templates that violate machine-readable resource configuration standards.
D:This combination solves only the latter acceptance test. The substituted first control supports avoid hardcoding a sensitive input in reusable infrastructure templates: dynamic references let CloudFormation retrieve supported values from SSM Parameter Store or Secrets Manager. It does not implement let application teams self-service compliant infrastructure without broad template authoring access.
Question 419
The production plan uses this approach: Use AWS WAF managed rules on the web-facing ALB. The goal is to filter common malicious HTTP request patterns before they reach the application. Which prerequisite or limitation should receive focused review?
- The design should keep plaintext data keys controlled and protect their encrypted form
- The policy must target supported resources through Organizations and configured security administration
- Layer 7 inspection should apply at a supported web application entry point
- The service owner is prepared to enable a paid advanced protection subscription
Explanation
Correct Answer
C:The requested behavior is to filter common malicious HTTP request patterns before they reach the application, and layer 7 inspection should apply at a supported web application entry point. The underlying AWS behavior is that AWS WAF web ACLs evaluate HTTP requests against configured rules and can block matching traffic.
Incorrect Answers
A:This proposed constraint belongs to a separate objective: the design should keep plaintext data keys controlled and protect their encrypted form; the corresponding goal is to encrypt bulk data using data keys protected by an AWS managed cryptographic boundary, not the selected architecture's goal to filter common malicious HTTP request patterns before they reach the application.
B:This condition governs the different mechanism used to enforce an approved web ACL policy on supported public application endpoints across member accounts; firewall Manager manages supported security policies across accounts and can apply WAF protections to in-scope resources; for the selected control, the relevant boundary is instead that layer 7 inspection should apply at a supported web application entry point.
D:The proposed condition makes sense in an implementation designed to apply additional DDoS protection and response capabilities to critical endpoints. It concerns shield Advanced offers enhanced detection, response capabilities, and protections for supported resources, whereas this question tests the prerequisite of the named control.
Question 420
During root-cause analysis, the team identifies the following: Disaster restoration is blocked because runbooks rely on ad hoc manual console settings. To recreate known-good application capacity from immutable infrastructure definitions, what should be configured?
- Use RDS Multi-AZ automatic failover for a local Availability Zone failure
- Use AWS Elastic Disaster Recovery replication and recovery launch plans
- Enable S3 versioning and implement recovery for deleted object versions
- Maintain tested IaC and AMI releases in the disaster recovery Region
- Run regular failover game days and measure actual RTO and RPO
Explanation
Correct Answer
D:Versioned IaC and images allow consistent restoration of application infrastructure. It restores the ability to recreate known-good application capacity from immutable infrastructure definitions, provided the implementation also observes that the recovery environment must reproduce network, IAM, and compute configuration deterministically.
Incorrect Answers
A:RDS Multi-AZ can fail over to a maintained standby in another zone using the managed DB endpoint; this can help teams restore database service availability without promoting a cross-Region read replica, but the reported workflow needs to recreate known-good application capacity from immutable infrastructure definitions. It does not perform that required function.
B:That service solves a different operating problem: the need to reduce recovery time for supported server workloads using block-level replication; its behavior is that elastic Disaster Recovery continuously replicates supported source-server data for recovery launches into AWS; the requested outcome remains recreate known-good application capacity from immutable infrastructure definitions.
C:The choice is useful when engineers need to recover an overwritten or deleted application object from an earlier version: S3 versioning preserves prior object versions so authorized users can restore selected versions; it would not establish the control needed to recreate known-good application capacity from immutable infrastructure definitions.
E:Choosing this would aim to validate recovery performance against business-approved thresholds instead of recreate known-good application capacity from immutable infrastructure definitions; controlled recovery tests expose dependencies, manual delays, and replication gaps before incidents; it cannot replace the mechanism specified by the incident evidence.