Question 210
A network health event should trigger a remediation Lambda function when CloudWatch changes an alarm state. Which event orchestration service fits?
- Create an Amazon EventBridge rule for the alarm-state event invoking Lambda
- Make remediation idempotent by checking current network state before applying changes
- Give its execution role only the necessary TGW API permissions and resource scope
- Record configuration histories with AWS Config
Explanation
Correct Answer
A:EventBridge can route matching service events to automation targets so response is driven by actual state transitions.
Incorrect Answers
B:Idempotent operations converge on the intended configuration, preventing duplicated routes or repeated deletions during retries; this belongs to safe repeated execution of infrastructure automation, while the problem is event-driven network incident response.
C:Automation uses the function's IAM role, so bounded control-plane authority reduces impact if code or input is compromised; this changes least-privilege permissions for network remediation code, not the necessary event-driven network incident response.
D:In the resource-configuration history for network governance workflow, config tracks supported resource configuration states and history, complementing the desired-state templates used for provisioning; the current case needs event-driven network incident response.
Question 211
An organization must automatically prevent new VPCs from using a disallowed IPv4 range. Which preallocation control is suited to address governance?
- Evaluate configuration with AWS Config rules and route findings into an event-driven ticket workflow
- Use Amazon VPC IP Address Manager pools with allocation rules and organizational visibility
- Allocate CIDRs from Amazon VPC IPAM pools during provisioning
- Use the AWS SDK or AWS CLI with scoped IAM credentials
Explanation
Correct Answer
B:IPAM centrally tracks address allocations and can govern CIDR distribution to reduce overlapping or noncompliant network assignments.
Incorrect Answers
A:Compliance evaluation surfaces nonconforming security-group settings, and events connect the findings to organization-standard handling; that addresses continuous network policy evaluation and response, rather than consistent centrally governed CIDR allocation.
C:IPAM pools track and distribute address space, allowing deployment automation to request coherent ranges rather than hardcoding overlapping networks; this changes automated conflict-resistant IP space assignment, not the necessary consistent centrally governed CIDR allocation.
D:In the authenticated automation of VPC route management workflow, CLI and SDK tools call AWS network control-plane APIs, enabling repeatable actions without interactive console workflows; the current case needs consistent centrally governed CIDR allocation.
Question 212
A deployed VPC flow-log resource should automatically be re-created if a developer deletes it outside IaC. What is an appropriate operational pattern?
- Implement a CloudFormation custom resource backed by controlled service logic
- Run CloudFormation drift detection on supported stack resources
- Detect configuration drift and invoke approved automated remediation through managed orchestration
- Record configuration histories with AWS Config
Explanation
Correct Answer
C:Detection alone reports divergence; a remediation workflow must execute the sanctioned resource repair under controlled permissions.
Incorrect Answers
A:Custom resources let stack create, update, and delete operations invoke application code to manage external configuration; that addresses IaC lifecycle support for otherwise unsupported networking APIs, rather than correction of missing networking telemetry resources.
B:Drift detection compares current resource state with template-declared properties to expose untracked manual changes; this belongs to detection of manual divergence from IaC declarations, while the problem is correction of missing networking telemetry resources.
D:In the resource-configuration history for network governance workflow, config tracks supported resource configuration states and history, complementing the desired-state templates used for provisioning; the current case needs correction of missing networking telemetry resources.
Question 213
Network resources change across hundreds of stacks and compliance staff require a historical inventory of security-group changes. Which service complements IaC?
- Evaluate configuration with AWS Config rules and route findings into an event-driven ticket workflow
- Create an Amazon EventBridge rule for the alarm-state event invoking Lambda
- Execute changes through a traceable IAM role and capture CloudTrail API audit history
- Record configuration histories with AWS Config
Explanation
Correct Answer
D:Config tracks supported resource configuration states and history, complementing the desired-state templates used for provisioning.
Incorrect Answers
A:Compliance evaluation surfaces nonconforming security-group settings, and events connect the findings to organization-standard handling; that addresses continuous network policy evaluation and response, rather than resource-configuration history for network governance.
B:EventBridge can route matching service events to automation targets so response is driven by actual state transitions; this belongs to event-driven network incident response, while the problem is resource-configuration history for network governance.
C:CloudTrail records API actions and identities, giving reviewers evidence of when authorized automation changed network configuration; this changes auditable ownership and timing of automated network edits, not the necessary resource-configuration history for network governance.
Question 214
A team uses a CloudFormation template that provisions an elastic IP to every subnet even where unnecessary. What design change improves cost efficiency?
- Record configuration histories with AWS Config
- Pass environment-specific IDs as parameters or use supported cross-stack references
- Parameterize egress requirements and create optional NAT or address resources only where needed
- Run CloudFormation drift detection on supported stack resources
Explanation
Correct Answer
C:Conditional resource creation prevents costly network components from being provisioned in environments without a matching traffic need.
Incorrect Answers
A:Config tracks supported resource configuration states and history, complementing the desired-state templates used for provisioning; that addresses resource-configuration history for network governance, rather than cost-aware conditional creation of network egress components.
B:Parameterization removes deployment-specific identifiers from the reusable template and makes substitutions explicit; this belongs to deployable IaC across account-specific resource IDs, while the problem is cost-aware conditional creation of network egress components.
D:In the detection of manual divergence from IaC declarations workflow, drift detection compares current resource state with template-declared properties to expose untracked manual changes; the current case needs cost-aware conditional creation of network egress components.
Question 215
An automated deployment needs to pass a generated subnet ID from a networking stack into an application stack. Which CloudFormation technique reduces copied identifiers?
- Review stack events and the rollback state before retrying controlled changes
- Export the subnet output and import it with supported cross-stack references
- Parameterize egress requirements and create optional NAT or address resources only where needed
- Implement a CloudFormation custom resource backed by controlled service logic
- Run CloudFormation drift detection on supported stack resources
Explanation
Correct Answer
B:Cross-stack references connect stack outputs to dependent resources and reduce manual handling of dynamically assigned IDs.
Incorrect Answers
A:CloudFormation records failing operations and attempts rollback based on configuration; blind repeats can compound partial dependencies; that addresses diagnosis of infrastructure deployment and rollback failures, rather than dependency-safe exchange of IaC network resource identifiers.
C:Conditional resource creation prevents costly network components from being provisioned in environments without a matching traffic need; this changes cost-aware conditional creation of network egress components, not the necessary dependency-safe exchange of IaC network resource identifiers.
D:In the IaC lifecycle support for otherwise unsupported networking APIs workflow, custom resources let stack create, update, and delete operations invoke application code to manage external configuration; the current case needs dependency-safe exchange of IaC network resource identifiers.
E:This produces detection of manual divergence from IaC declarations: Drift detection compares current resource state with template-declared properties to expose untracked manual changes; the stem instead tests dependency-safe exchange of IaC network resource identifiers.
Question 216
A Lambda automation function should modify transit gateway route tables but not create IAM users. What authorization principle applies?
- Create an Amazon EventBridge rule for the alarm-state event invoking Lambda
- Give its execution role only the necessary TGW API permissions and resource scope
- Manage route tables in versioned infrastructure-as-code templates with reviewable change sets
- Make remediation idempotent by checking current network state before applying changes
Explanation
Correct Answer
B:Automation uses the function's IAM role, so bounded control-plane authority reduces impact if code or input is compromised.
Incorrect Answers
A:EventBridge can route matching service events to automation targets so response is driven by actual state transitions; that addresses event-driven network incident response, rather than least-privilege permissions for network remediation code.
C:Versioned IaC records intended routing state and allows peer review and controlled updates before resources change; this changes auditable declarative network configuration, not the necessary least-privilege permissions for network remediation code.
D:In the safe repeated execution of infrastructure automation workflow, idempotent operations converge on the intended configuration, preventing duplicated routes or repeated deletions during retries; the current case needs least-privilege permissions for network remediation code.
Question 217
A network pipeline should not run remediation twice for the same repeated event. Which automation property should be built in?
- Evaluate configuration with AWS Config rules and route findings into an event-driven ticket workflow
- Create an Amazon EventBridge rule for the alarm-state event invoking Lambda
- Give its execution role only the necessary TGW API permissions and resource scope
- Make remediation idempotent by checking current network state before applying changes
Explanation
Correct Answer
D:Idempotent operations converge on the intended configuration, preventing duplicated routes or repeated deletions during retries.
Incorrect Answers
A:Compliance evaluation surfaces nonconforming security-group settings, and events connect the findings to organization-standard handling; that addresses continuous network policy evaluation and response, rather than safe repeated execution of infrastructure automation.
B:EventBridge can route matching service events to automation targets so response is driven by actual state transitions; this belongs to event-driven network incident response, while the problem is safe repeated execution of infrastructure automation.
C:Automation uses the function's IAM role, so bounded control-plane authority reduces impact if code or input is compromised; this changes least-privilege permissions for network remediation code, not the necessary safe repeated execution of infrastructure automation.
Question 218
An organization wants to detect permissive security groups and automatically start a ticket workflow across accounts. Which combination is relevant?
- Create an Amazon EventBridge rule for the alarm-state event invoking Lambda
- Record configuration histories with AWS Config
- Evaluate configuration with AWS Config rules and route findings into an event-driven ticket workflow
- Use AWS CloudFormation StackSets with organization-aware deployment targets
Explanation
Correct Answer
C:Compliance evaluation surfaces nonconforming security-group settings, and events connect the findings to organization-standard handling.
Incorrect Answers
A:EventBridge can route matching service events to automation targets so response is driven by actual state transitions; that addresses event-driven network incident response, rather than continuous network policy evaluation and response.
B:Config tracks supported resource configuration states and history, complementing the desired-state templates used for provisioning; this belongs to resource-configuration history for network governance, while the problem is continuous network policy evaluation and response.
D:In the multi-account IaC rollout from a centralized definition workflow, stackSets replicate stacks to selected accounts and Regions from central administration while tracking their deployment states; the current case needs continuous network policy evaluation and response.
Question 219
A CloudFormation deployment of network resources fails partway through, leaving the service unavailable. What should operators understand about the stack process?
- Version route-table IaC and deploy changes through staged pipelines with rollback points
- Review stack events and the rollback state before retrying controlled changes
- Export the subnet output and import it with supported cross-stack references
- Implement a CloudFormation custom resource backed by controlled service logic
Explanation
Correct Answer
B:CloudFormation records failing operations and attempts rollback based on configuration; blind repeats can compound partial dependencies.
Incorrect Answers
A:Versioned deployment records make network policy changes reviewable and allow restoration of a previously tested desired state; that addresses controlled promotion and rollback of network routing changes, rather than diagnosis of infrastructure deployment and rollback failures.
C:Cross-stack references connect stack outputs to dependent resources and reduce manual handling of dynamically assigned IDs; this changes dependency-safe exchange of IaC network resource identifiers, not the necessary diagnosis of infrastructure deployment and rollback failures.
D:In the IaC lifecycle support for otherwise unsupported networking APIs workflow, custom resources let stack create, update, and delete operations invoke application code to manage external configuration; the current case needs diagnosis of infrastructure deployment and rollback failures.
Question 220
A platform team must gradually switch between TGW route configurations while preserving a documented rollback plan. Which practice best supports this?
- Review stack events and the rollback state before retrying controlled changes
- Manage route tables in versioned infrastructure-as-code templates with reviewable change sets
- Use AWS CloudFormation StackSets with organization-aware deployment targets
- Version route-table IaC and deploy changes through staged pipelines with rollback points
Explanation
Correct Answer
D:Versioned deployment records make network policy changes reviewable and allow restoration of a previously tested desired state.
Incorrect Answers
A:CloudFormation records failing operations and attempts rollback based on configuration; blind repeats can compound partial dependencies; that addresses diagnosis of infrastructure deployment and rollback failures, rather than controlled promotion and rollback of network routing changes.
B:Versioned IaC records intended routing state and allows peer review and controlled updates before resources change; this belongs to auditable declarative network configuration, while the problem is controlled promotion and rollback of network routing changes.
C:StackSets replicate stacks to selected accounts and Regions from central administration while tracking their deployment states; this changes multi-account IaC rollout from a centralized definition, not the necessary controlled promotion and rollback of network routing changes.