Question 200

A DNS record points to an ALB, but the ALB changes its node IP addresses after scaling. Which Route 53 record form removes hardcoded IP maintenance?

  1. Provide unique set identifiers and weights on the weighted record sets
  2. Create an alias A or AAAA record to the ALB DNS target as appropriate
  3. Create Route 53 Resolver inbound endpoint IP addresses and point conditional forwarding to them
  4. Ensure bidirectional network routing and endpoint security-group permission for DNS traffic

Explanation

Correct Answer

B:

The alias resolves through the AWS endpoint's managed addresses without storing individual ephemeral balancer node IPs.

Incorrect Answers

A:

Weighted record sets of the same name need distinct identifiers and configured weights so Route 53 can select among them; that addresses independently managed weighted DNS alternatives, rather than dynamic AWS endpoint resolution through Route 53 aliases.

C:

Inbound endpoints provide supported external DNS ingress into a VPC's resolver context; a random instance IP is not equivalent; this changes DNS ingress from corporate resolvers into Route 53 Resolver, not the necessary dynamic AWS endpoint resolution through Route 53 aliases.

D:

In the return-path reachability for hybrid DNS endpoints workflow, resolver forwarding requires network reachability between endpoint addresses and target resolvers in both directions; the current case needs dynamic AWS endpoint resolution through Route 53 aliases.

Question 201

A company has recursive DNS servers both in an AWS VPC and at headquarters. Each side must look up the other side’s privately hosted names using existing hybrid connectivity. Which TWO AWS DNS components are necessary? Choose TWO.

  1. Share the Resolver rule with participating accounts by using AWS RAM
  2. Publish an SRV record for the relevant service and protocol
  3. Provide unique set identifiers and weights on the weighted record sets
  4. Add a Route 53 Resolver outbound endpoint and forwarding rule with target resolver IPs
  5. Create Route 53 Resolver inbound endpoint IP addresses and point conditional forwarding to them

Explanation

Correct Answers

D:

Resolver outbound rules direct matching VPC queries across network connectivity to selected external name servers; this covers the outbound conditional forwarding to enterprise DNS component of the combined scenario.

E:

Inbound endpoints provide supported external DNS ingress into a VPC's resolver context; a random instance IP is not equivalent; this covers the DNS ingress from corporate resolvers into Route 53 Resolver component of the combined scenario.

Incorrect Answers

A:

AWS RAM distributes rule access while consumers associate the rule with their VPCs; that addresses reusable hybrid DNS rules across AWS accounts, rather than inbound and outbound hybrid DNS resolution.

B:

SRV records indicate service endpoints, ports, and priorities, whereas A records convey only IPv4 addresses; this belongs to service-and-port discovery through DNS, while the problem is inbound and outbound hybrid DNS resolution.

C:

Weighted record sets of the same name need distinct identifiers and configured weights so Route 53 can select among them; this changes independently managed weighted DNS alternatives, not the necessary inbound and outbound hybrid DNS resolution.

Question 202

A Resolver outbound rule forwards `internal.example` to datacenter servers, but those targets cannot route replies to the endpoint ENI IPs. What infrastructure work is necessary?

  1. Ensure bidirectional network routing and endpoint security-group permission for DNS traffic
  2. Associate the outbound forwarding rule with the workload VPC
  3. Add a Route 53 Resolver outbound endpoint and forwarding rule with target resolver IPs
  4. Add outbound endpoint IP addresses in subnets spanning multiple Availability Zones
  5. Create Route 53 Resolver inbound endpoint IP addresses and point conditional forwarding to them
  6. Permit required DNS traffic on both UDP and TCP port 53 to endpoint addresses

Explanation

Correct Answer

A:

Resolver forwarding requires network reachability between endpoint addresses and target resolvers in both directions.

Incorrect Answers

B:

A rule controls resolution only for VPCs associated with it; merely creating a rule in an account has no global DNS effect; this belongs to activating conditional forwarding in a specific VPC, while the problem is return-path reachability for hybrid DNS endpoints.

C:

Resolver outbound rules direct matching VPC queries across network connectivity to selected external name servers; this changes outbound conditional forwarding to enterprise DNS, not the necessary return-path reachability for hybrid DNS endpoints.

D:

In the zonally resilient hybrid DNS forwarding workflow, multi-AZ resolver endpoints reduce dependency on one zone's networking while sending DNS queries toward corporate servers; the current case needs return-path reachability for hybrid DNS endpoints.

E:

This produces DNS ingress from corporate resolvers into Route 53 Resolver: Inbound endpoints provide supported external DNS ingress into a VPC's resolver context; a random instance IP is not equivalent; the stem instead tests return-path reachability for hybrid DNS endpoints.

F:

For supported DNS transport to inbound Resolver endpoints, recursive DNS primarily uses UDP but may require TCP for larger messages or protocol fallback; both must be routable and permitted; however, the present requirement is return-path reachability for hybrid DNS endpoints.

Question 203

A platform team must deploy identical networking primitives to ten AWS accounts under one organization. Which CloudFormation capability is designed for this?

  1. Use AWS CloudFormation StackSets with organization-aware deployment targets
  2. Model the networks in AWS Cloud Development Kit constructs
  3. Create and review a CloudFormation change set before executing the update
  4. Version route-table IaC and deploy changes through staged pipelines with rollback points
  5. Pass environment-specific IDs as parameters or use supported cross-stack references

Explanation

Correct Answer

A:

StackSets replicate stacks to selected accounts and Regions from central administration while tracking their deployment states.

Incorrect Answers

B:

CDK lets developers author infrastructure in supported languages and synthesize repeatable CloudFormation deployments; this belongs to programmatic generation of declarative AWS infrastructure, while the problem is multi-account IaC rollout from a centralized definition.

C:

A change set previews planned resource additions, modifications, and replacements so operators can detect unintended network disruption; this changes previewing planned networking infrastructure changes, not the necessary multi-account IaC rollout from a centralized definition.

D:

In the controlled promotion and rollback of network routing changes workflow, versioned deployment records make network policy changes reviewable and allow restoration of a previously tested desired state; the current case needs multi-account IaC rollout from a centralized definition.

E:

This produces deployable IaC across account-specific resource IDs: Parameterization removes deployment-specific identifiers from the reusable template and makes substitutions explicit; the stem instead tests multi-account IaC rollout from a centralized definition.

Question 204

An enterprise keeps editing route tables manually and cannot review changes. What production process should replace ad hoc edits?

  1. Review stack events and the rollback state before retrying controlled changes
  2. Manage route tables in versioned infrastructure-as-code templates with reviewable change sets
  3. Version route-table IaC and deploy changes through staged pipelines with rollback points
  4. Give its execution role only the necessary TGW API permissions and resource scope

Explanation

Correct Answer

B:

Versioned IaC records intended routing state and allows peer review and controlled updates before resources change.

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 auditable declarative network configuration.

C:

Versioned deployment records make network policy changes reviewable and allow restoration of a previously tested desired state; this changes controlled promotion and rollback of network routing changes, not the necessary auditable declarative network configuration.

D:

In the least-privilege permissions for network remediation code workflow, automation uses the function's IAM role, so bounded control-plane authority reduces impact if code or input is compromised; the current case needs auditable declarative network configuration.

Question 205

A team uses hardcoded VPC IDs in CloudFormation that differ between environments. Which template mechanism improves portability?

  1. Pass environment-specific IDs as parameters or use supported cross-stack references
  2. Run CloudFormation drift detection on supported stack resources
  3. Parameterize egress requirements and create optional NAT or address resources only where needed
  4. Use AWS CloudFormation StackSets with organization-aware deployment targets

Explanation

Correct Answer

A:

Parameterization removes deployment-specific identifiers from the reusable template and makes substitutions explicit.

Incorrect Answers

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 deployable IaC across account-specific resource IDs.

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 deployable IaC across account-specific resource IDs.

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 deployable IaC across account-specific resource IDs.

Question 206

An IaC pipeline updates a subnet and must check the proposed effects before applying them. Which CloudFormation workflow is appropriate?

  1. Create and review a CloudFormation change set before executing the update
  2. Run CloudFormation drift detection on supported stack resources
  3. Pass environment-specific IDs as parameters or use supported cross-stack references
  4. Manage route tables in versioned infrastructure-as-code templates with reviewable change sets

Explanation

Correct Answer

A:

A change set previews planned resource additions, modifications, and replacements so operators can detect unintended network disruption.

Incorrect Answers

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 previewing planned networking infrastructure changes.

C:

Parameterization removes deployment-specific identifiers from the reusable template and makes substitutions explicit; this changes deployable IaC across account-specific resource IDs, not the necessary previewing planned networking infrastructure changes.

D:

In the auditable declarative network configuration workflow, versioned IaC records intended routing state and allows peer review and controlled updates before resources change; the current case needs previewing planned networking infrastructure changes.

Question 207

A subnet was manually modified after CloudFormation deployed it. How can a maintainer identify the configuration mismatch?

  1. Export the subnet output and import it with supported cross-stack references
  2. Detect configuration drift and invoke approved automated remediation through managed orchestration
  3. Run CloudFormation drift detection on supported stack resources
  4. Create and review a CloudFormation change set before executing the update

Explanation

Correct Answer

C:

Drift detection compares current resource state with template-declared properties to expose untracked manual changes.

Incorrect Answers

A:

Cross-stack references connect stack outputs to dependent resources and reduce manual handling of dynamically assigned IDs; that addresses dependency-safe exchange of IaC network resource identifiers, rather than detection of manual divergence from IaC declarations.

B:

Detection alone reports divergence; a remediation workflow must execute the sanctioned resource repair under controlled permissions; this belongs to correction of missing networking telemetry resources, while the problem is detection of manual divergence from IaC declarations.

D:

In the previewing planned networking infrastructure changes workflow, A change set previews planned resource additions, modifications, and replacements so operators can detect unintended network disruption; the current case needs detection of manual divergence from IaC declarations.

Question 208

A developer wants to describe a multi-VPC architecture using familiar programming constructs that synthesize CloudFormation. Which tool fits?

  1. Use the AWS SDK or AWS CLI with scoped IAM credentials
  2. Model the networks in AWS Cloud Development Kit constructs
  3. Use AWS CloudFormation StackSets with organization-aware deployment targets
  4. Run CloudFormation drift detection on supported stack resources

Explanation

Correct Answer

B:

CDK lets developers author infrastructure in supported languages and synthesize repeatable CloudFormation deployments.

Incorrect Answers

A:

CLI and SDK tools call AWS network control-plane APIs, enabling repeatable actions without interactive console workflows; that addresses authenticated automation of VPC route management, rather than programmatic generation of declarative AWS infrastructure.

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 programmatic generation of declarative AWS infrastructure.

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 programmatic generation of declarative AWS infrastructure.

Question 209

A network engineer must create one-off emergency inspection routes using a script authenticated to AWS. Which interface directly supports scripted network API calls?

  1. Model the networks in AWS Cloud Development Kit constructs
  2. Use AWS CloudFormation StackSets with organization-aware deployment targets
  3. Use the AWS SDK or AWS CLI with scoped IAM credentials
  4. Use Amazon VPC IP Address Manager pools with allocation rules and organizational visibility
  5. Give its execution role only the necessary TGW API permissions and resource scope

Explanation

Correct Answer

C:

CLI and SDK tools call AWS network control-plane APIs, enabling repeatable actions without interactive console workflows.

Incorrect Answers

A:

CDK lets developers author infrastructure in supported languages and synthesize repeatable CloudFormation deployments; that addresses programmatic generation of declarative AWS infrastructure, rather than authenticated automation of VPC route management.

B:

StackSets replicate stacks to selected accounts and Regions from central administration while tracking their deployment states; this belongs to multi-account IaC rollout from a centralized definition, while the problem is authenticated automation of VPC route management.

D:

In the consistent centrally governed CIDR allocation workflow, IPAM centrally tracks address allocations and can govern CIDR distribution to reduce overlapping or noncompliant network assignments; the current case needs authenticated automation of VPC route management.

E:

This produces least-privilege permissions for network remediation code: Automation uses the function's IAM role, so bounded control-plane authority reduces impact if code or input is compromised; the stem instead tests authenticated automation of VPC route management.

Question 210

A network health event should trigger a remediation Lambda function when CloudWatch changes an alarm state. Which event orchestration service fits?

  1. Create an Amazon EventBridge rule for the alarm-state event invoking Lambda
  2. Make remediation idempotent by checking current network state before applying changes
  3. Give its execution role only the necessary TGW API permissions and resource scope
  4. 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.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests