CertSafari

    Free AWS Certified Advanced Networking - Specialty (ANS-C01) Sample Questions

    35 free sample questions from our bank of 350+, covering every exam domain, with answers and detailed explanations. Updated September 2026.

    Domain 1: Network Design

    Subdomain 1.2: Design DNS solutions that meet public, private, and hybrid requirements.

    1.A company is provisioning dozens of new VPCs across many AWS accounts each month. Every VPC needs the same set of private hosted zone associations, Resolver forwarding rules, and DNS Firewall rule groups applied consistently, and updates to that configuration should propagate to all VPCs automatically. What is the most operationally efficient way to manage this in Route 53?

    1. A.A Route 53 Profile with the shared zones, rules, and rule groups, associated to each new VPC
    2. B.A script that re-associates every hosted zone, Resolver rule, and rule group with each new VPC
    3. C.AWS RAM sharing the private hosted zones directly with every account that creates a VPC
    4. D.A CloudFormation template that must be manually redeployed each time a new VPC is provisioned
    Show answer & explanation

    Correct answer: AA Route 53 Profile with the shared zones, rules, and rule groups, associated to each new VPC

    • A. Route 53 Profiles bundle private hosted zones, Resolver rules, and DNS Firewall rule groups so they can be associated with many VPCs at once, and updates to the Profile propagate automatically to every associated VPC.
    • B. A custom script re-associating each resource individually recreates the manual work Profiles are designed to remove, and it doesn't propagate later configuration updates automatically.
    • C. AWS RAM doesn't share private hosted zones directly the way it shares Resolver rules or subnets; cross-account hosted zone access instead uses VPC association authorization or Profiles.
    • D. Manually redeploying a CloudFormation stack per VPC doesn't scale to dozens of new VPCs a month and requires repeated manual action rather than automatic propagation.

    Subdomain 1.2: Design DNS solutions that meet public, private, and hybrid requirements.

    2.A network architect is designing DNS for an organization with many AWS accounts that all need access to a shared set of private hosted zones and Resolver forwarding rules. Which TWO approaches are valid ways to make this shared DNS configuration available across accounts? (Select TWO.)(Select 2)

    1. A.Create a VPC association authorization on the zone, then associate it with VPCs in the other accounts
    2. B.Create a Route 53 Profile with the shared zones and rules, then share it via AWS RAM
    3. C.Enable AWS Organizations service access so every zone becomes visible in every member account
    4. D.Export the hosted zone as a JSON file and import it into a new zone in each target account
    5. E.Attach an S3 bucket policy to the zone so accounts with bucket access inherit DNS resolution
    6. F.Configure each account's DHCP options set to point directly at the zone's authoritative name servers
    Show answer & explanation

    Correct answers: A, BCreate a VPC association authorization on the zone, then associate it with VPCs in the other accounts; Create a Route 53 Profile with the shared zones and rules, then share it via AWS RAM

    • A. VPC association authorization is the standard mechanism for letting a VPC in another account associate with a private hosted zone owned elsewhere.
    • B. Route 53 Profiles can bundle hosted zones and Resolver rules and be shared across accounts through AWS RAM, then associated with VPCs in those accounts.
    • C. Enabling Organizations service access alone doesn't share hosted zones; explicit VPC association or Profile sharing is still required.
    • D. Hosted zones aren't exported and imported as JSON files this way, and duplicating zones across accounts creates configuration drift instead of a single shared source of truth.
    • E. S3 bucket policies control object access and have no relationship to DNS resolution or hosted zone visibility.
    • F. Pointing DHCP options at the authoritative name servers bypasses VPC Resolver entirely and doesn't grant access to private hosted zone records, which only VPC Resolver can answer.

    Subdomain 1.1: Design a solution that incorporates edge network services to optimize user performance and traffic management for global architectures.

    3.A web team pushes frequent updates to CSS and JavaScript bundles served through CloudFront with a 24-hour default cache duration. Broad cache invalidations after every deploy are becoming costly and slow to propagate. They want viewers to always receive the newest bundle immediately after a deploy without invalidating the entire distribution. Which approach best achieves this?

    1. A.Give each build's static assets unique versioned file names or paths so new deployments are automatically treated as new cacheable objects.
    2. B.Reduce the distribution's default TTL to zero so CloudFront revalidates every request against the origin before serving cached content.
    3. C.Schedule a full cache invalidation to run automatically a few minutes after every deployment completes, covering all cached paths.
    4. D.Disable caching entirely for the affected path pattern so every request for CSS and JavaScript bundles is forwarded to the origin server.
    Show answer & explanation

    Correct answer: AGive each build's static assets unique versioned file names or paths so new deployments are automatically treated as new cacheable objects.

    • A. Versioned file names or paths make each deployment's assets distinct objects that CloudFront has never cached before, so viewers fetch the new version immediately while unrelated cached content is left untouched. This avoids invalidation cost entirely going forward.
    • B. Setting the TTL to zero forces origin revalidation on nearly every request across the whole distribution, which sharply increases origin load and reduces the caching benefit the team relies on. It solves the freshness problem too broadly.
    • C. Recurring full invalidations after every deploy are the costly, slow-to-propagate pattern the team is already trying to move away from, so automating it does not remove the underlying expense. It keeps the same operational problem in place.
    • D. Disabling caching for that path pattern removes CloudFront's performance benefit for those assets entirely, sending every viewer request to the origin regardless of whether the content actually changed. This sacrifices caching rather than fixing the freshness workflow.

    Subdomain 1.1: Design a solution that incorporates edge network services to optimize user performance and traffic management for global architectures.

    4.For a CloudFront distribution using an Amazon S3 bucket as its origin, which statement about data transfer costs between the origin and CloudFront is accurate?

    1. A.Data transferred from the S3 origin to CloudFront is free, and billing applies only to data transferred out from CloudFront to viewers.
    2. B.Data transferred from the S3 origin to CloudFront is billed at standard inter-Region rates regardless of which Region the bucket is in.
    3. C.Data transferred from the S3 origin to CloudFront is free only when the distribution has fewer than ten thousand requests per month.
    4. D.Data transferred from the S3 origin to CloudFront is billed the same as CloudFront-to-viewer transfer, doubling the effective delivery cost.
    Show answer & explanation

    Correct answer: AData transferred from the S3 origin to CloudFront is free, and billing applies only to data transferred out from CloudFront to viewers.

    • A. Data transfer from AWS origins such as S3, Elastic Load Balancing, and API Gateway into CloudFront is free, and the customer is billed only for data leaving CloudFront's edge locations to reach viewers. This reflects CloudFront's published pricing model for AWS-based origins.
    • B. Origin-to-CloudFront transfer for AWS origins is not billed at inter-Region rates; it is free regardless of Region, which is part of the incentive to use AWS services as origins. This overstates the actual cost.
    • C. The free origin-to-CloudFront transfer for AWS origins is not conditioned on a request-volume threshold; it applies regardless of how many requests the distribution receives. This introduces a limitation that does not exist in the pricing model.
    • D. Origin fetches from an AWS origin are not charged the same way as edge-to-viewer delivery; only the viewer-facing data transfer is billed. Describing them as equally billed misrepresents the cost structure.

    Subdomain 1.3: Design solutions that integrate load balancing to meet high availability, scalability, and security requirements.

    5.A trading platform sends bursty TCP order-flow traffic that must reach backend matching engines with minimal added latency. Downstream firewall rules at partner sites allow-list the load balancer by fixed IP address, and the design must preserve the source IP of each connecting client. Which load balancer design meets these requirements?

    1. A.A Network Load Balancer with one Elastic IP per subnet and target registration by instance ID
    2. B.An Application Load Balancer with sticky sessions enabled and an Elastic IP assigned per listener
    3. C.A Gateway Load Balancer with GENEVE-encapsulated targets registered behind the appliance fleet
    4. D.A Classic Load Balancer with a DNS-based virtual IP that rotates across multiple public addresses
    Show answer & explanation

    Correct answer: AA Network Load Balancer with one Elastic IP per subnet and target registration by instance ID

    • A. A Network Load Balancer operates at layer 4, delivers millions of requests per second at very low latency, supports a static Elastic IP per subnet for firewall allow-listing, and preserves client source IP when targets are registered by instance.
    • B. An Application Load Balancer does not support assigning a fixed Elastic IP directly to the load balancer node and adds HTTP-layer processing overhead that is unnecessary for raw TCP order flow.
    • C. A Gateway Load Balancer is built for transparent appliance insertion using GENEVE encapsulation, not for exposing a fixed public IP to downstream trading partners.
    • D. A Classic Load Balancer resolves to a DNS name backed by IP addresses that can change over time, which breaks static IP allow-listing at partner firewalls.

    Subdomain 1.3: Design solutions that integrate load balancing to meet high availability, scalability, and security requirements.

    6.A global gaming company runs identical Application Load Balancer deployments in two AWS Regions and needs a single set of static anycast IP addresses that on-premises partner networks can allow-list once, with automatic failover to the healthy Region if one Region's endpoints degrade. Which service should sit in front of both regional load balancers?

    1. A.AWS Global Accelerator, configured with endpoint groups pointing at each Region's Application Load Balancer
    2. B.Amazon CloudFront, configured with an origin group listing each Region's Application Load Balancer as an origin
    3. C.Amazon Route 53 latency-based routing, returning each Region's load balancer DNS name directly to clients
    4. D.AWS Direct Connect Gateway, associating both Regions' virtual private gateways under one gateway resource
    Show answer & explanation

    Correct answer: AAWS Global Accelerator, configured with endpoint groups pointing at each Region's Application Load Balancer

    • A. AWS Global Accelerator provides fixed anycast static IP addresses and continuously monitors endpoint health across Regions, automatically shifting traffic away from a degraded Region without partners needing to update allow-lists.
    • B. CloudFront origin groups provide HTTP-level failover between origins but front the application with CloudFront's edge domain and caching behavior rather than exposing static anycast IPs at the network layer.
    • C. Route 53 latency-based routing resolves to different regional DNS names or IP addresses depending on the resolver, so it does not give partners a single fixed static IP pair to allow-list.
    • D. Direct Connect Gateway extends private connectivity to virtual private gateways across Regions and has no role in providing a public static IP failover for internet-facing load balancers.

    Subdomain 1.4: Define logging and monitoring requirements across AWS and hybrid networks.

    7.A platform team operates Transit Gateways in three Regions, several Direct Connect gateways, and a set of third-party SD-WAN sites connected through Network Manager Connect peers. They want one dashboard that shows the topology and health of the entire hybrid environment.

    1. A.Register the transit gateways, Direct Connect gateways, and SD-WAN sites in AWS Network Manager to build one global network topology and dashboard
    2. B.Create a CloudWatch composite alarm per Region that aggregates Transit Gateway and Direct Connect metrics into a single visual widget
    3. C.Configure VPC Flow Logs on every attached VPC and merge the delivered records into one CloudWatch Logs Insights dashboard
    4. D.Deploy AWS Config aggregators across the Regions and build a topology view from the recorded configuration items
    Show answer & explanation

    Correct answer: ARegister the transit gateways, Direct Connect gateways, and SD-WAN sites in AWS Network Manager to build one global network topology and dashboard

    • A. Correct. AWS Network Manager is purpose-built to register Transit Gateways, Direct Connect gateways, and on-premises SD-WAN sites into a single global network, providing a unified topology view and hybrid health metrics.
    • B. Incorrect. Composite alarms combine alarm states into one alert but do not provide a topology visualization of how the Regions, gateways, and on-premises sites are connected.
    • C. Incorrect. Flow log records describe IP traffic on VPC interfaces and give no visibility into Direct Connect, SD-WAN site status, or overall network topology.
    • D. Incorrect. AWS Config aggregators track resource configuration compliance across accounts and Regions, not live network topology or hybrid connectivity health.

    Subdomain 1.4: Define logging and monitoring requirements across AWS and hybrid networks.

    8.While building a SIEM ingestion pipeline for VPC Flow Logs, an engineer needs to confirm which fields are already present in the default (version 2) flow log record before writing custom parsing rules. Select the fields that are present in the default record format. (Select THREE)(Select 3)

    1. A.protocol (IANA protocol number)
    2. B.action (ACCEPT or REJECT)
    3. C.http-status-code
    4. D.bytes (aggregate byte count for the flow)
    5. E.tls-cipher-suite
    6. F.dns-query-name
    Show answer & explanation

    Correct answers: A, B, Dprotocol (IANA protocol number); action (ACCEPT or REJECT); bytes (aggregate byte count for the flow)

    • A. Correct. The IANA protocol number is one of the fields included in the default version 2 flow log record.
    • B. Correct. The accept-or-reject action for the flow is a standard field in the default flow log record.
    • C. Incorrect. HTTP status codes are recorded in load balancer or CloudFront access logs, not in VPC Flow Log records, which operate at the IP layer.
    • D. Correct. The aggregate byte count for the flow during the capture window is part of the default flow log record.
    • E. Incorrect. TLS cipher suite information is captured in load balancer access logs for HTTPS listeners, not in VPC Flow Log records.
    • F. Incorrect. Flow logs record IP-layer connection metadata and do not parse or include application-layer details such as a DNS query name.

    Subdomain 1.5: Design a routing strategy and connectivity architecture between on-premises networks and the AWS Cloud.

    9.A company has two Direct Connect connections from the same on-premises router to the same Direct Connect Gateway, each advertising the same on-premises prefixes over BGP. The company wants outbound traffic from AWS to strongly prefer connection A whenever it is available, and only use connection B when A is completely down, without touching AS_PATH. Which BGP attribute should the on-premises router set on the routes advertised over connection B to achieve this?

    1. A.A lower Multi-Exit Discriminator value on the routes advertised over connection B
    2. B.A lower local preference value on the routes advertised over connection B
    3. C.A longer AS_PATH prepended only on the routes advertised over connection A
    4. D.A BGP community tag with no corresponding route map applied on either connection
    Show answer & explanation

    Correct answer: BA lower local preference value on the routes advertised over connection B

    • A. MED influences a neighboring AS's choice between multiple entry points into the same AS, but Direct Connect BGP peers are typically within AWS's own routing domain and local preference is the standard control for outbound path selection here, not MED.
    • B. Local preference is evaluated before AS_PATH length in the BGP best-path algorithm and directly controls which egress path an AS prefers for outbound traffic, so setting a lower value on connection B's routes makes AWS prefer connection A whenever it is reachable.
    • C. Prepending AS_PATH on connection A would make it less preferred, which is the opposite outcome the company wants, since a longer AS_PATH is deprioritized during best-path selection.
    • D. A community tag has no effect on route selection unless a route map or policy on the receiving router actually matches the tag and takes an action, so an unused tag changes nothing about path preference.

    Subdomain 1.5: Design a routing strategy and connectivity architecture between on-premises networks and the AWS Cloud.

    10.A network architect is designing a redundant hybrid connectivity model where AWS Site-to-Site VPN acts as a backup path to a primary Direct Connect private virtual interface. Both paths terminate on the same virtual private gateway and both use BGP to advertise the same on-premises prefixes. The architect wants AWS to prefer the Direct Connect path for all outbound traffic whenever it is up. What should the architect configure to achieve this preference without disabling the VPN path?

    1. A.Advertise the on-premises prefixes over the VPN tunnels with a longer AS_PATH than the one advertised over Direct Connect
    2. B.Configure a lower MTU on the VPN tunnels than on the Direct Connect virtual interface
    3. C.Disable BGP on the VPN connection and rely solely on static routes toward the customer gateway
    4. D.Set an identical local preference on both the Direct Connect and VPN advertised routes
    Show answer & explanation

    Correct answer: AAdvertise the on-premises prefixes over the VPN tunnels with a longer AS_PATH than the one advertised over Direct Connect

    • A. Prepending additional AS numbers onto the routes advertised over the VPN tunnels makes their AS_PATH longer than the Direct Connect path, which BGP will deprioritize, causing AWS to prefer Direct Connect while the VPN path remains available as backup.
    • B. MTU affects fragmentation and payload efficiency, not BGP path selection, so a lower MTU on the VPN tunnels would not influence which path AWS prefers for outbound traffic.
    • C. Disabling BGP and using only static routes removes dynamic failover entirely, meaning the backup path would not automatically activate if Direct Connect failed, defeating the purpose of a redundant model.
    • D. Setting identical local preference values on both paths gives them equal weight in path selection, which does not create the desired preference for Direct Connect and could instead result in both being used simultaneously.

    Subdomain 1.6: Design a routing strategy and connectivity architecture that include multiple AWS accounts, AWS Regions, and VPCs to support different connectivity patterns.

    11.A platform team wants five application teams, each in its own AWS account, to deploy EC2 instances into a common set of subnets that the platform team manages centrally, including shared route tables, NACLs, and NAT gateways, without each team creating and peering its own VPC. All five accounts are in the same AWS Organization. What should the platform team do?

    1. A.Use AWS Resource Access Manager to share the owning VPC's subnets with the five application accounts so each team launches resources directly into the shared subnets.
    2. B.Create a separate VPC per application team and connect all five VPCs to the platform team's VPC using AWS Transit Gateway with a common route table.
    3. C.Create a separate VPC per application team, peer each one to the platform team's VPC, and replicate the route tables, NACLs, and NAT gateway configuration in every VPC.
    4. D.Publish the platform team's networking resources as an AWS PrivateLink endpoint service and have each application team connect to it from their own separately managed VPC.
    Show answer & explanation

    Correct answer: AUse AWS Resource Access Manager to share the owning VPC's subnets with the five application accounts so each team launches resources directly into the shared subnets.

    • A. VPC sharing through AWS Resource Access Manager lets participant accounts in the same organization launch resources directly into subnets owned by another account, so route tables, NACLs, and NAT gateways stay centrally managed in the owner account while application teams keep separate billing and IAM boundaries.
    • B. This still requires five separate VPCs and transit gateway attachments, plus duplicated or synchronized route tables and NAT gateways in each VPC, which is exactly the operational overhead the platform team wants to avoid.
    • C. Peering five separate VPCs and manually replicating route tables, NACLs, and NAT gateway configuration in each one creates ongoing configuration drift and does not give the application teams a truly shared subnet.
    • D. PrivateLink exposes individual services through interface endpoints; it does not let application teams deploy general-purpose EC2 instances into subnets that are centrally managed by the platform team.

    Subdomain 1.6: Design a routing strategy and connectivity architecture that include multiple AWS accounts, AWS Regions, and VPCs to support different connectivity patterns.

    12.A company operates VPCs in the us-east-1, eu-west-1, and ap-southeast-1 Regions and wants every VPC in every Region to be able to reach every other VPC, with routing centrally controlled by the network team. Which design meets this requirement using native AWS constructs?

    1. A.Deploy a Transit Gateway per Region, attach the local VPCs, then peer the three Regional transit gateways together with static routes for cross-Region traffic.
    2. B.Create VPC peering connections between every VPC in every Region so that traffic between Regions travels directly over the AWS backbone without any transit hub.
    3. C.Deploy a single Transit Gateway in us-east-1 and attach the eu-west-1 and ap-southeast-1 VPCs to it directly over the public internet using Site-to-Site VPN.
    4. D.Configure Amazon Route 53 latency-based routing so that traffic from each Region is automatically directed to the nearest available VPC without additional routing configuration.
    Show answer & explanation

    Correct answer: ADeploy a Transit Gateway per Region, attach the local VPCs, then peer the three Regional transit gateways together with static routes for cross-Region traffic.

    • A. Deploying one Transit Gateway per Region and peering the Regional transit gateways together, with static routes since transit gateway peering attachments are not automatically propagated, gives one centrally managed hub-and-spoke topology per Region while extending reachability across Regions.
    • B. A full mesh of VPC peering connections across three Regions still requires managing routes and security individually for every pair of VPCs, and it provides no single point of centralized route control the way transit gateway route tables do.
    • C. Transit gateway attachments to VPCs must be in the same Region as the transit gateway, so a VPC in another Region cannot attach directly, and routing everything through Site-to-Site VPN over the internet adds latency and forfeits the AWS backbone that inter-Region transit gateway peering already uses.
    • D. Route 53 latency-based routing directs DNS resolution to the closest endpoint for client requests; it does not create network-layer connectivity between VPCs in different Regions.

    Domain 2: Network Implementation

    Subdomain 2.1: Implement routing and connectivity between on-premises networks and the AWS Cloud.

    13.A company runs an on-premises data center in Frankfurt and connects to a VPC in the Sydney Region over an AWS Site-to-Site VPN. During business hours, users report inconsistent throughput, and traceroutes show the traffic crossing several public transit ISPs before reaching an AWS edge location. Direct Connect is not an option due to procurement timelines. What should the network team configure to reduce latency variability?

    1. A.Enable accelerated Site-to-Site VPN so traffic enters the AWS network at the nearest edge location via AWS Global Accelerator.
    2. B.Add two more IPsec tunnels to the existing customer gateway to spread traffic across more paths to the virtual private gateway.
    3. C.Replace the virtual private gateway with an internet gateway to shorten the routing path between the data center and the VPC.
    4. D.Enable ECMP across the two existing IPsec tunnels on a single virtual private gateway to balance packets across both tunnels.
    Show answer & explanation

    Correct answer: AEnable accelerated Site-to-Site VPN so traffic enters the AWS network at the nearest edge location via AWS Global Accelerator.

    • A. Accelerated Site-to-Site VPN routes traffic onto the AWS global network at the closest edge location using AWS Global Accelerator, which reduces the distance traveled over the public internet and stabilizes latency.
    • B. Adding more tunnels to the same customer gateway does not change where traffic enters the AWS network; the packets still traverse the same public internet path before reaching the VPN endpoint.
    • C. An internet gateway provides public internet access to a VPC and cannot terminate an IPsec Site-to-Site VPN connection, so it cannot replace the virtual private gateway for this purpose.
    • D. A virtual private gateway does not support ECMP across its own tunnels for a single VPN connection; ECMP-style multi-path routing over VPN requires a Transit Gateway VPN attachment instead.

    Subdomain 2.1: Implement routing and connectivity between on-premises networks and the AWS Cloud.

    14.A healthcare company must encrypt traffic between its on-premises router and AWS at the physical layer over a dedicated Direct Connect connection, in addition to any encryption applied by the applications themselves, to satisfy a compliance requirement for link-layer confidentiality. Which capability should they enable on the connection?

    1. A.MACsec on the dedicated Direct Connect connection to encrypt Ethernet frames between the customer router and the AWS Direct Connect device.
    2. B.AWS Certificate Manager on the private virtual interface to issue a TLS certificate that encrypts frames at the data link layer.
    3. C.Site-to-Site VPN encapsulation configured directly on the same physical port used by the dedicated Direct Connect connection.
    4. D.Traffic Mirroring on the private virtual interface to duplicate and encrypt frames before they reach the AWS Direct Connect device.
    Show answer & explanation

    Correct answer: AMACsec on the dedicated Direct Connect connection to encrypt Ethernet frames between the customer router and the AWS Direct Connect device.

    • A. MACsec (IEEE 802.1AE) provides native line-rate encryption of Ethernet frames on supported dedicated Direct Connect connections, protecting data at the physical and data link layer without relying on an overlay tunnel.
    • B. AWS Certificate Manager issues TLS certificates for services like Elastic Load Balancing and CloudFront; TLS operates above the data link layer and is not how Direct Connect frames themselves are encrypted.
    • C. Site-to-Site VPN is an IPsec overlay that runs over a network path, including optionally over a public virtual interface; it is a separate service and is not applied directly to the Direct Connect physical port.
    • D. Traffic Mirroring copies VPC network traffic to a monitoring target for inspection; it does not encrypt Direct Connect frames and is unrelated to link-layer confidentiality.

    Subdomain 2.2: Implement routing and connectivity across multiple AWS accounts, Regions, and VPCs to support different connectivity patterns.

    15.A central networking team owns a Transit Gateway in a dedicated network account and must make it usable by roughly 40 application accounts spread across several organizational units, without those application teams ever seeing each other's account IDs enumerated manually. What should the networking team configure?

    1. A.Create an AWS RAM resource share for the Transit Gateway with the target organizational units, and have each application account accept the shared attachment.
    2. B.Attach an identity-based IAM policy to every application account granting ec2:CreateTransitGatewayVpcAttachment against the network account's Transit Gateway ARN.
    3. C.Publish the Transit Gateway ID in AWS Systems Manager Parameter Store in each application account so teams can reference it when creating attachments.
    4. D.Enable AWS Organizations service control policies that allow the ec2:AttachTransitGateway action for every account within the covered organizational units.
    Show answer & explanation

    Correct answer: ACreate an AWS RAM resource share for the Transit Gateway with the target organizational units, and have each application account accept the shared attachment.

    • A. AWS RAM supports sharing a Transit Gateway with specified organizational units in one operation instead of enumerating every account, and once shared, an application account creates the attachment and, if required, the owner accepts it, which matches the described scale and OU-based targeting.
    • B. An identity-based policy in the application account cannot by itself grant permission to act on a resource owned by a different AWS account; the resource owner must first share the Transit Gateway through a mechanism like AWS RAM before that cross-account permission has any effect.
    • C. Publishing the Transit Gateway ID in Parameter Store only distributes a reference value; it does not grant the cross-account permission needed to actually create an attachment against a Transit Gateway owned by another account.
    • D. A service control policy sets the maximum permissions boundary for accounts in an organization but does not itself grant access to a specific resource in another account, so it cannot substitute for sharing the Transit Gateway through AWS RAM.

    Subdomain 2.2: Implement routing and connectivity across multiple AWS accounts, Regions, and VPCs to support different connectivity patterns.

    16.A VPC has two Route 53 Resolver forwarding rules: one for example.com and one for dev.example.com, both pointing to different on-premises DNS servers. An instance in the VPC queries host1.dev.example.com. Which rule does the Resolver use to forward that query?

    1. A.The rule for dev.example.com, because Resolver forwarding rules match on the most specific domain suffix available for the queried name.
    2. B.The rule for example.com, because Resolver always evaluates forwarding rules in the order they were created within the VPC.
    3. C.Both rules are evaluated and the query is sent to both on-premises DNS servers simultaneously, with the first response accepted.
    4. D.Neither rule is used, because Resolver requires an exact, non-subdomain match between the queried name and the rule's domain.
    Show answer & explanation

    Correct answer: AThe rule for dev.example.com, because Resolver forwarding rules match on the most specific domain suffix available for the queried name.

    • A. Route 53 Resolver applies the most specific matching domain when multiple forwarding rules could apply to a query, so a query for host1.dev.example.com is forwarded using the dev.example.com rule rather than the broader example.com rule.
    • B. Rule selection is based on domain specificity, not the chronological order in which the rules were created, so creation order does not determine which rule wins for an overlapping name.
    • C. Resolver forwards a given query using a single matching rule rather than broadcasting it to every applicable on-premises server and racing the responses, so this dual-forwarding behavior does not occur.
    • D. Resolver forwarding rules do match subdomains of the configured domain, not just exact matches, which is exactly why the more specific dev.example.com rule can take precedence over example.com for this query.

    Subdomain 2.3: Implement complex hybrid and multi-account DNS architectures.

    17.A central networking team owns a Route 53 Resolver outbound endpoint and a forwarding rule for corp.example.com in a Shared-Services account. Twelve application accounts need to use that same rule to resolve corp.example.com from their own VPCs, without each account building its own outbound endpoint. What should the team do?

    1. A.Attach a resource policy to the Resolver rule with PutResolverRulePolicy so each application account can associate the shared rule with its own VPCs.
    2. B.Create a VPC peering connection from Shared-Services to each of the twelve application VPCs and enable DNS resolution support on every peering connection.
    3. C.Publish the forwarding rule as a public hosted zone record so any account in the organization can query it directly over the public internet.
    4. D.Copy the outbound endpoint's elastic network interfaces into each application account's VPC subnets using an AWS CloudFormation StackSet deployment.
    Show answer & explanation

    Correct answer: AAttach a resource policy to the Resolver rule with PutResolverRulePolicy so each application account can associate the shared rule with its own VPCs.

    • A. Sharing a Resolver rule works by attaching a resource policy with PutResolverRulePolicy, which surfaces an AWS RAM invitation that each recipient account accepts, after which that account associates the shared rule with its own VPCs while the rule and endpoint stay owned and managed centrally.
    • B. VPC peering only enables instances to resolve each other's private DNS hostnames across the peering link; it does not distribute a Resolver forwarding rule or let peered VPCs use the Shared-Services outbound endpoint for conditional forwarding.
    • C. A public hosted zone publishes records for internet-wide resolution and has no mechanism to carry a Resolver forwarding rule, and exposing an internal corp domain publicly would also be an unwanted security exposure.
    • D. Elastic network interfaces on a Resolver endpoint are bound to the subnets and VPC where the endpoint was created; they cannot be copied or replicated into other accounts' VPCs, and doing so is not how Resolver endpoints are designed to be reused.

    Subdomain 2.3: Implement complex hybrid and multi-account DNS architectures.

    18.A global streaming company serves subscribers from resource clusters in North America, Europe, and Asia. They want to route users to the cluster physically closest to them and reserve the ability to intentionally shift a defined percentage of traffic from a congested cluster toward a farther one during peak load, using a distance-based bias value. Which routing policy supports this bias-based shifting behavior?

    1. A.Geoproximity routing, using AWS Traffic Flow with a bias value to expand or shrink each resource's geographic catchment area.
    2. B.Geolocation routing, mapping each continent to its nearest cluster with no mechanism to shift traffic between clusters by distance.
    3. C.Latency-based routing, sending each user to whichever cluster measures the lowest round-trip time regardless of geography.
    4. D.Multivalue answer routing, returning up to eight healthy cluster records at random without regard to user location.
    Show answer & explanation

    Correct answer: AGeoproximity routing, using AWS Traffic Flow with a bias value to expand or shrink each resource's geographic catchment area.

    • A. Geoproximity routing, configured through AWS Traffic Flow, routes based on the geographic distance between the user and each resource and lets an operator apply a bias value to expand or shrink a resource's effective catchment area, which is exactly the mechanism needed to intentionally shift load toward a farther cluster.
    • B. Geolocation routing assigns fixed geographic regions to specific resources based on the querier's location, but it has no distance-based bias mechanism for gradually shifting traffic between two resources during peak load.
    • C. Latency-based routing always sends traffic to whichever cluster currently measures the best round-trip time and has no operator-controlled bias value to deliberately shift a percentage of traffic elsewhere during congestion.
    • D. Multivalue answer routing returns a random subset of healthy records without any geographic or bias-based logic, so it cannot deliberately favor a farther cluster to relieve congestion at a nearer one.

    Subdomain 2.3: Implement complex hybrid and multi-account DNS architectures.

    19.A company operates web servers behind an Application Load Balancer and wants the zone apex record example.com, not just a subdomain, to point at the load balancer. A standard CNAME record cannot be created at the zone apex per DNS protocol rules. What should they configure in Route 53?

    1. A.An alias A record at the zone apex targeting the load balancer, which Route 53 resolves to its current IP addresses without a CNAME.
    2. B.A standard CNAME record at the zone apex pointing at the load balancer's DNS name, since Route 53 relaxes the zone apex restriction for load balancer targets.
    3. C.A PTR record at the zone apex mapping example.com to the load balancer's IP addresses so clients can reverse-resolve the load balancer.
    4. D.A TXT record at the zone apex containing the load balancer's DNS name, which browsers use to redirect zone apex requests automatically.
    Show answer & explanation

    Correct answer: AAn alias A record at the zone apex targeting the load balancer, which Route 53 resolves to its current IP addresses without a CNAME.

    • A. Route 53 alias records can be created at the zone apex and can target an Application Load Balancer; internally Route 53 resolves the alias to the load balancer's current IP addresses at query time, which sidesteps the DNS protocol rule against CNAME records at the zone apex.
    • B. The DNS protocol prohibits a CNAME record from coexisting with other records at the zone apex, such as the required SOA and NS records, and Route 53 does not relax this rule for standard CNAME records regardless of the target.
    • C. A PTR record is used for reverse DNS lookups that map an IP address back to a hostname; it does not make a forward-facing zone apex name resolve to a load balancer's addresses.
    • D. A TXT record only stores text data for informational or verification purposes and is not interpreted by browsers or DNS resolvers as a redirect or alias mechanism for the zone apex.

    Subdomain 2.4: Automate and configure network infrastructure.

    20.A CloudFormation template for a multi-AZ NAT Gateway failover solution references a specific Transit Gateway route table ID as a literal string inside a Lambda function's environment variable. After a regional failover test, the team recreates the Transit Gateway in a second Region, and the failover Lambda function begins updating routes in the wrong Region's route table. What is the underlying problem the template should fix?

    1. A.The route table identifier should be supplied dynamically, such as through a parameter or a stack output import, instead of being embedded as a literal value.
    2. B.The Lambda function should be rewritten in a compiled language so that it fails fast when it cannot reach the correct Region.
    3. C.The Transit Gateway should be replaced with a single global route table that is shared automatically across every Region.
    4. D.The CloudFormation stack should be deployed with termination protection enabled so the route table can never be recreated.
    Show answer & explanation

    Correct answer: AThe route table identifier should be supplied dynamically, such as through a parameter or a stack output import, instead of being embedded as a literal value.

    • A. Passing the route table ID in dynamically, for example through a parameter or Fn::ImportValue tied to the Region-specific stack, ensures the Lambda function always points at the route table that actually exists in that Region.
    • B. The programming language used has no bearing on why the function is pointed at a stale identifier; the literal value would still be wrong regardless of how the code is written.
    • C. Transit Gateway route tables are Regional resources and there is no single route table object that spans Regions, so this option does not describe how Transit Gateway actually works.
    • D. Termination protection only prevents accidental stack deletion; it does nothing to fix a template that embeds the wrong Region's identifier as a literal value.

    Subdomain 2.4: Automate and configure network infrastructure.

    21.A network operations team suspects that engineers have been making emergency changes to production Security Group rules directly in the console, bypassing the CloudFormation templates that are supposed to be the source of truth. Before enforcing stricter change controls, they want evidence of exactly which resources and properties have diverged from the deployed template. What should they run first?

    1. A.A CloudFormation drift detection operation on the stack, which compares the current resource configuration against the template's expected state and reports each differing property.
    2. B.A CloudFormation stack update using the existing template, which will silently overwrite any manual changes without reporting them.
    3. C.An AWS Config aggregator query across every Region to list all Security Groups regardless of which stack created them.
    4. D.A VPC Reachability Analyzer path check between two instances to confirm whether traffic is currently allowed.
    Show answer & explanation

    Correct answer: AA CloudFormation drift detection operation on the stack, which compares the current resource configuration against the template's expected state and reports each differing property.

    • A. Drift detection compares each managed resource's live configuration against what the template declares and reports the specific properties that no longer match, which is exactly the evidence the team wants before acting.
    • B. Reapplying the template would overwrite the manual changes without first showing what was different, which destroys the evidence the team needs and skips the investigation step.
    • C. An aggregated Config query would list Security Groups broadly but would not specifically compare them against what each CloudFormation stack expects, so it does not directly answer which properties drifted.
    • D. Reachability Analyzer evaluates whether a specific path is currently allowed between two resources; it does not compare the live Security Group configuration against the CloudFormation template.

    Domain 3: Network Management and Operation

    Subdomain 3.1: Maintain routing and connectivity on AWS and hybrid networks.

    22.A network architect is designing hybrid connectivity for a company that has deployed AWS Transit Gateway to interconnect dozens of VPCs across several accounts, and now wants an on-premises data center to reach every attached VPC through a single Direct Connect connection instead of one private virtual interface per VPC. Which virtual interface type is purpose-built for attaching to a Transit Gateway through a Direct Connect gateway?

    1. A.A transit virtual interface associated with a Direct Connect gateway that is itself associated with the Transit Gateway.
    2. B.A private virtual interface associated directly with the Transit Gateway's default route table.
    3. C.A public virtual interface configured to advertise the Transit Gateway's attached VPC CIDR ranges.
    4. D.A hosted connection virtual interface shared from the Direct Connect gateway to the Transit Gateway.
    Show answer & explanation

    Correct answer: AA transit virtual interface associated with a Direct Connect gateway that is itself associated with the Transit Gateway.

    • A. A transit virtual interface is the interface type designed to reach one or more Transit Gateways through a Direct Connect gateway, letting on-premises routers reach every VPC attached to that Transit Gateway over one connection.
    • B. A private virtual interface attaches to a virtual private gateway for a single VPC, not to a Transit Gateway route table, so it cannot fan out to every attached VPC on its own.
    • C. A public virtual interface reaches public AWS service endpoints over public IP addressing and has no association with Transit Gateway attachments or private VPC CIDR ranges.
    • D. Hosted connection is a Direct Connect connection ownership model, not a virtual interface type, so there is no such thing as a hosted connection virtual interface for reaching a Transit Gateway.

    Subdomain 3.1: Maintain routing and connectivity on AWS and hybrid networks.

    23.An application team has attached two separate AWS Site-to-Site VPN connections to a Transit Gateway, each advertising the same on-premises CIDR block with identical BGP attributes, because a single VPN tunnel's throughput is insufficient for their workload. They want the Transit Gateway to actively use both connections simultaneously to increase aggregate throughput. Which capability enables this?

    1. A.Equal-cost multi-path routing across the two equal-cost VPN attachments in the Transit Gateway route table.
    2. B.Enabling accelerated VPN so AWS Global Accelerator distributes flows across both connections automatically.
    3. C.Associating both VPN attachments with two separate Transit Gateway route tables instead of one shared table.
    4. D.Increasing the number of BGP AS_PATH prepends on one connection so both connections are weighted identically.
    Show answer & explanation

    Correct answer: AEqual-cost multi-path routing across the two equal-cost VPN attachments in the Transit Gateway route table.

    • A. When two VPN attachments advertise the same prefix with equal-cost BGP attributes, Transit Gateway can spread flows across both using equal-cost multi-path routing, which is the mechanism for combining throughput across multiple equal VPN connections.
    • B. Accelerated VPN improves the path from on-premises to a single VPN endpoint over the AWS global network; it does not perform flow distribution across two independent VPN connections attached to a Transit Gateway.
    • C. Splitting the attachments across separate route tables would isolate them from each other rather than letting the Transit Gateway load-share traffic between them over the same prefix.
    • D. Adding AS_PATH prepends makes a path look less preferred, not equally preferred, so this would bias traffic away from one connection rather than enabling simultaneous use of both.

    Subdomain 3.1: Maintain routing and connectivity on AWS and hybrid networks.

    24.A company has VPC A peered with VPC B, and VPC B separately peered with VPC C, using two independent VPC peering connections. An engineer expects instances in VPC A to reach instances in VPC C through VPC B, but connectivity tests fail. What explains this behavior?

    1. A.VPC peering connections are non-transitive, so traffic cannot flow from VPC A to VPC C through VPC B even though both individual peerings are active.
    2. B.The route tables in VPC B were not shared with AWS Resource Access Manager, which is required before transitive peering traffic is permitted.
    3. C.VPC peering requires all three VPCs to reside in the same AWS account before any multi-hop traffic between them is allowed to flow.
    4. D.The two peering connections are using overlapping CIDR blocks between VPC A and VPC C, which silently blocks the transit path through VPC B.
    Show answer & explanation

    Correct answer: AVPC peering connections are non-transitive, so traffic cannot flow from VPC A to VPC C through VPC B even though both individual peerings are active.

    • A. VPC peering connections are explicitly non-transitive: a peering relationship only provides connectivity between the two directly peered VPCs, so VPC A cannot reach VPC C through VPC B no matter how the route tables are configured.
    • B. AWS Resource Access Manager is used for sharing resources like subnets or Transit Gateways across accounts, and has no role in enabling or blocking transitive routing over VPC peering connections.
    • C. VPC peering supports connections across different AWS accounts and does not require all three VPCs to be in one account; the non-transitivity limitation applies regardless of account ownership.
    • D. The scenario does not indicate any CIDR overlap between VPC A and VPC C, and even without overlap, the fundamental limitation is that peering never forwards traffic through an intermediate peered VPC.

    Subdomain 3.3: Optimize AWS networks for performance, reliability, and cost-effectiveness.

    25.An enterprise transfers 8 TB per day between its data center and AWS on a consistent, predictable schedule, and the data transfer charges on its Site-to-Site VPN connection have become the largest line item in its AWS bill. Which change would most reduce ongoing costs for this steady, high-volume transfer?

    1. A.Migrate the connection to AWS Direct Connect, which bills egress at a lower per-GB rate
    2. B.Enable AWS Site-to-Site VPN acceleration to route traffic over the AWS global network
    3. C.Add a second VPN tunnel and use ECMP to split traffic evenly across both tunnels
    4. D.Replace the VPN with Global Accelerator to cut the internet hop count for the transfer
    Show answer & explanation

    Correct answer: AMigrate the connection to AWS Direct Connect, which bills egress at a lower per-GB rate

    • A. Direct Connect data transfer out is billed at a lower per-GB rate than internet-based data transfer over a VPN, so moving a large, steady, predictable volume to Direct Connect directly reduces the dominant cost driver.
    • B. VPN acceleration improves latency and reliability by routing through AWS edge locations, but it does not change the per-GB data transfer pricing that is driving the cost in this scenario.
    • C. Splitting traffic across two VPN tunnels with ECMP increases available throughput and resilience, but both tunnels still bill data transfer at the same internet-based VPN rate, so total cost is not reduced.
    • D. Global Accelerator improves performance for internet-facing endpoints such as load balancers and EC2 instances, but it is not a private connectivity or data transfer pricing mechanism for data center-to-AWS transfer.

    Subdomain 3.3: Optimize AWS networks for performance, reliability, and cost-effectiveness.

    26.A multiplayer game backend uses a custom TCP protocol on a non-standard port and needs a fixed set of IP addresses that clients can allowlist on restrictive corporate firewalls, plus fast failover to a healthy Region if one Region's servers become unavailable. Which AWS service best fits this requirement?

    1. A.Amazon CloudFront with a custom origin pointed at the Network Load Balancer in the primary Region
    2. B.Amazon Route 53 latency-based routing pointed directly at each Region's public IP addresses
    3. C.AWS Global Accelerator with a standard accelerator pointed at Network Load Balancers in each Region
    4. D.An Application Load Balancer with cross-zone load balancing enabled in the primary Region
    Show answer & explanation

    Correct answer: CAWS Global Accelerator with a standard accelerator pointed at Network Load Balancers in each Region

    • A. CloudFront terminates HTTP/HTTPS traffic at edge locations and caches content; it is not designed for a custom TCP protocol on a non-standard port and does not provide the same fixed IP address set for this kind of traffic.
    • B. Route 53 latency routing changes which IP address a DNS query resolves to, but DNS caching by clients and resolvers means failover is not immediate, and it does not provide a small set of fixed IP addresses since it just returns each Region's own IPs.
    • C. Global Accelerator provides a small set of static anycast IP addresses that work for any TCP or UDP port, and it continuously health-checks regional endpoints so it can shift traffic to a healthy Region within seconds, which matches both the fixed-IP allowlisting and fast-failover requirements.
    • D. A single Region's Application Load Balancer has no mechanism to fail traffic over to another Region, and ALBs use DNS names with IP addresses that can change over time rather than fixed static IPs.

    Subdomain 3.2: Monitor and analyze network traffic to troubleshoot and optimize connectivity patterns.

    27.A network engineer is investigating why an application server in a private subnet cannot reach a database instance in another private subnet within the same VPC, despite security group rules on both interfaces explicitly permitting the traffic. Running VPC Reachability Analyzer between the two elastic network interfaces returns a status of not reachable. Which additional network component should the engineer inspect first, based on what Reachability Analyzer evaluates?

    1. A.The route table associated with the destination subnet, since Reachability Analyzer only checks route tables whenever a security group misconfiguration is also present along the path
    2. B.The network ACL associated with the destination subnet, since Reachability Analyzer also evaluates stateless network ACL rules and will report a blocking rule when security groups permit the traffic
    3. C.The AWS PrivateLink endpoint policy attached to the VPC, since Reachability Analyzer treats interface endpoint policies as the sole possible blocking component whenever security groups already match
    4. D.The placement group configuration for the destination instance, since Reachability Analyzer flags placement group conflicts before evaluating any other network path component
    Show answer & explanation

    Correct answer: BThe network ACL associated with the destination subnet, since Reachability Analyzer also evaluates stateless network ACL rules and will report a blocking rule when security groups permit the traffic

    • A. Reachability Analyzer evaluates route tables independently of security group state, not only when a security group misconfiguration is also present, so this describes an incorrect precondition.
    • B. Reachability Analyzer evaluates stateless network ACL rules on both the source and destination subnets, so a network ACL denying the traffic is the correct next component to inspect once security groups are confirmed to permit it.
    • C. Endpoint policies apply to traffic through interface VPC endpoints, not general subnet-to-subnet traffic within a VPC, so this component is not relevant to this scenario and Reachability Analyzer does not treat it as the sole possible cause.
    • D. Placement groups affect instance placement for networking performance, not path reachability, and Reachability Analyzer does not evaluate placement group configuration as part of its path analysis.

    Subdomain 3.2: Monitor and analyze network traffic to troubleshoot and optimize connectivity patterns.

    28.An application team migrating a bulk data transfer job from a Direct Connect connection to a Site-to-Site VPN connection reports a significant increase in retransmissions and reduced throughput, even though available bandwidth is sufficient. The instances involved use the default network interface MTU of 9001 bytes. Which configuration change addresses the most likely cause?

    1. A.Lower the interface MTU, or configure TCP MSS clamping, on hosts sending traffic across the VPN tunnel to fit the roughly 1500-byte path MTU and IPsec overhead, rather than the Direct Connect jumbo frame size
    2. B.Increase the interface MTU on the hosts sending traffic across the VPN tunnel to 9001 bytes on both ends, since Site-to-Site VPN is documented to support the same jumbo frame size as Direct Connect connections
    3. C.Enable Enhanced Networking on the customer gateway device, since IPsec throughput over a VPN tunnel is limited primarily by the network interface driver rather than by packet size
    4. D.Configure Border Gateway Protocol multipath routing across the VPN tunnel, since ECMP load balancing across paths eliminates the retransmissions caused by IPsec encapsulation overhead
    Show answer & explanation

    Correct answer: ALower the interface MTU, or configure TCP MSS clamping, on hosts sending traffic across the VPN tunnel to fit the roughly 1500-byte path MTU and IPsec overhead, rather than the Direct Connect jumbo frame size

    • A. Site-to-Site VPN does not support the 9001-byte jumbo frame size used on Direct Connect transit virtual interfaces, so packets sized for Direct Connect exceed the VPN path MTU after IPsec overhead and require fragmentation; clamping MSS or lowering MTU avoids that fragmentation and the resulting retransmissions.
    • B. Site-to-Site VPN connections do not support the same 9001-byte jumbo frame size as Direct Connect, so increasing the MTU further in this direction would worsen, not resolve, the fragmentation causing retransmissions.
    • C. Enhanced Networking improves packet-per-second performance on EC2 instances, but the reported symptom is caused by packet size relative to the VPN path MTU, not by network interface driver throughput.
    • D. BGP multipath and ECMP distribute traffic across multiple paths or tunnels, but they do not change the MTU of any individual path and therefore do not address fragmentation-related retransmissions.

    Subdomain 3.2: Monitor and analyze network traffic to troubleshoot and optimize connectivity patterns.

    29.Traffic sent from one VPC attachment on a Transit Gateway to an on-premises network through a Direct Connect Gateway attachment is failing intermittently. CloudWatch metrics for the Transit Gateway show non-zero values for `PacketDropCountNoRoute` on the source attachment during the failure windows. Which condition would produce this specific metric?

    1. A.The Transit Gateway route table for the source VPC attachment has no route matching the destination CIDR when the packets arrive, so there is no valid next hop and the traffic is dropped
    2. B.The Direct Connect Gateway attachment has exceeded its maximum number of advertised routes, causing the Transit Gateway to drop packets that match any route beyond the limit, regardless of route table contents
    3. C.The security group attached to the destination on-premises router is rejecting the incoming packets, which the Transit Gateway reports through the `PacketDropCountNoRoute` metric on the source attachment
    4. D.The VPC attachment's subnet has run out of available IP addresses, so the Transit Gateway drops new packets and increments `PacketDropCountNoRoute` continuously until addresses are released
    Show answer & explanation

    Correct answer: AThe Transit Gateway route table for the source VPC attachment has no route matching the destination CIDR when the packets arrive, so there is no valid next hop and the traffic is dropped

    • A. `PacketDropCountNoRoute` specifically counts packets dropped because the Transit Gateway route table had no matching route for the destination, which directly matches a missing or intermittently missing route to the on-premises CIDR.
    • B. Exceeding an advertised route limit would prevent specific routes from being learned at all, but the metric reported is about missing routes at forwarding time, not about a route-count ceiling being enforced per packet.
    • C. On-premises routers are not governed by AWS security groups, and `PacketDropCountNoRoute` reflects a routing decision inside the Transit Gateway, not a security group evaluation at the destination.
    • D. Subnet IP address exhaustion would prevent new elastic network interfaces from being created, but it does not cause the Transit Gateway to drop already-routed traffic or increment a no-route metric.

    Domain 4: Network Security, Compliance, and Governance

    Subdomain 4.1: Implement and maintain network features to meet security and compliance needs and requirements.

    30.Which statement correctly describes what AWS Direct Connect MACsec provides?

    1. A.Layer 2 encryption of Ethernet frames on eligible dedicated connections, using MKA for automated key rotation between the customer router and the AWS Direct Connect device
    2. B.Layer 3 IPsec encryption of IP packets traversing a Direct Connect virtual interface, negotiated through a customer gateway
    3. C.Application-layer TLS encryption terminated at the Direct Connect location before traffic enters the AWS network
    4. D.End-to-end encryption between the originating VPC resource and the on-premises host, independent of the physical connection used
    Show answer & explanation

    Correct answer: ALayer 2 encryption of Ethernet frames on eligible dedicated connections, using MKA for automated key rotation between the customer router and the AWS Direct Connect device

    • A. MACsec operates at the data link layer, encrypting Ethernet frames on the physical link between the customer router and the AWS Direct Connect device on eligible dedicated connections, using the MACsec Key Agreement protocol to automate key rotation without manual intervention.
    • B. MACsec is a Layer 2 technology, not a Layer 3 IPsec mechanism; IPsec encryption at Layer 3 over a Direct Connect virtual interface would instead require a VPN overlay, which is a separate feature from MACsec.
    • C. MACsec encrypts at the Ethernet frame level on the physical link, not at the application layer, and it is not a TLS termination service.
    • D. MACsec protects only the physical point-to-point link between the customer router and the AWS Direct Connect device, not the full path all the way to the originating VPC resource or on-premises host.

    Subdomain 4.1: Implement and maintain network features to meet security and compliance needs and requirements.

    31.An organization's compliance requirement states that a NAT Gateway outage in one Availability Zone must not disrupt outbound internet connectivity for instances running in other Availability Zones. The private subnet in each AZ routes 0.0.0.0/0 to a NAT Gateway deployed in that same AZ. Which test correctly validates this requirement?

    1. A.Temporarily disable or delete the NAT Gateway in one AZ and confirm that instances in the unaffected AZs' private subnets still reach the internet through their own AZ's NAT Gateway
    2. B.Delete the internet gateway attached to the VPC and confirm that instances in every AZ lose outbound connectivity simultaneously
    3. C.Increase the NAT Gateway's assigned Elastic IP allocation in the affected AZ and confirm DNS resolution continues to succeed
    4. D.Move all private subnets into a single Availability Zone and confirm that the shared NAT Gateway handles the combined traffic load
    Show answer & explanation

    Correct answer: ATemporarily disable or delete the NAT Gateway in one AZ and confirm that instances in the unaffected AZs' private subnets still reach the internet through their own AZ's NAT Gateway

    • A. Because each AZ's private subnet routes only to its own AZ's NAT Gateway, disabling one NAT Gateway isolates the failure to that AZ, and confirming the other AZs' subnets remain unaffected directly validates the AZ-isolation requirement the design is meant to provide.
    • B. Deleting the internet gateway removes the shared path to the internet for the entire VPC, which would be expected to disrupt every AZ simultaneously; this tests a different, VPC-wide failure mode rather than validating AZ-level isolation of a single NAT Gateway.
    • C. Changing the Elastic IP allocation on a healthy NAT Gateway does not simulate an AZ outage at all, and DNS resolution success is unrelated to whether NAT Gateway failures are properly isolated per AZ.
    • D. Consolidating every private subnet into a single AZ removes the multi-AZ redundancy the design depends on, making a single NAT Gateway a single point of failure rather than testing whether the existing multi-AZ isolation works as intended.

    Subdomain 4.2: Validate and audit security by using network monitoring and logging services.

    32.A global company operates transit gateways in multiple AWS Regions, connected to on-premises sites through Site-to-Site VPN and Direct Connect. Operations staff want a single dashboard to visualize the topology and monitor the health of these connections across all Regions and accounts. Which two capabilities does AWS Transit Gateway Network Manager provide for this environment? (Select 2)(Select 2)

    1. A.A global network view that visualizes transit gateway attachments, VPN connections, and Direct Connect links across Regions and accounts in one place.
    2. B.Event and health monitoring that surfaces the operational status of registered transit gateways, VPN connections, and Direct Connect links.
    3. C.Automatic enforcement of a common security group policy across every account attached to the registered transit gateways.
    4. D.Automatic encryption of all traffic traversing transit gateway peering attachments between Regions.
    5. E.Continuous compliance evaluation of IAM policies attached to every principal that accesses a registered transit gateway.
    Show answer & explanation

    Correct answers: A, BA global network view that visualizes transit gateway attachments, VPN connections, and Direct Connect links across Regions and accounts in one place.; Event and health monitoring that surfaces the operational status of registered transit gateways, VPN connections, and Direct Connect links.

    • A. Network Manager provides a global network construct that aggregates and visualizes transit gateways, VPN connections, and Direct Connect links spanning multiple Regions and accounts in a single view.
    • B. Network Manager includes event and health monitoring that reports the operational status of the registered network resources, giving operations staff visibility into connection health.
    • C. Enforcing a common security group policy across accounts is the role of AWS Firewall Manager, not Transit Gateway Network Manager, which focuses on topology visualization and health monitoring.
    • D. Transit Gateway does not automatically encrypt traffic between attachments; encryption for inter-Region or inter-VPC traffic requires pairing with a service such as Site-to-Site VPN, and Network Manager does not add this capability.
    • E. Evaluating IAM policy compliance is outside the scope of Network Manager, which is focused on network topology and connection health rather than identity and access governance.

    Subdomain 4.2: Validate and audit security by using network monitoring and logging services.

    33.An application server can establish outbound connections to a database on a custom port, but the database's responses never arrive back at the application server, and VPC Flow Logs show REJECT only on the inbound return traffic. The security group on both resources allows the traffic in both directions. What is the most likely cause?

    1. A.The network ACL associated with the application server's subnet lacks an inbound rule permitting the ephemeral return ports, since NACLs are stateless and evaluate each direction independently.
    2. B.The security group on the application server is misconfigured, since security groups are stateless and require a separate explicit rule for return traffic on ephemeral ports.
    3. C.The flow log aggregation interval is too long to capture return traffic, since inbound responses are dropped whenever the interval exceeds one minute.
    4. D.The database's elastic network interface is attached to a Nitro-based instance, which silently drops response traffic unless Traffic Mirroring is enabled.
    Show answer & explanation

    Correct answer: AThe network ACL associated with the application server's subnet lacks an inbound rule permitting the ephemeral return ports, since NACLs are stateless and evaluate each direction independently.

    • A. Network ACLs are stateless, so an outbound rule permitting the request does not automatically allow the corresponding inbound return traffic on ephemeral ports; a missing explicit inbound rule on the subnet's NACL would produce exactly this REJECT pattern.
    • B. Security groups are stateful, meaning that allowing outbound traffic automatically permits the associated inbound return traffic, so a security group misconfiguration on return traffic is not the correct explanation here.
    • C. The aggregation interval only affects how often captured records are published; it has no bearing on whether inbound response packets are actually delivered or rejected.
    • D. The Nitro platform affects the flow log aggregation interval, not whether response traffic is delivered, and Traffic Mirroring is unrelated to whether packets are permitted through the network.

    Subdomain 4.3: Implement and maintain confidentiality of data and communications of the network.

    34.A financial services company leases a dedicated 100 Gbps AWS Direct Connect connection to move settlement data between its data center and a VPC. Regulators require the dedicated circuit itself to be encrypted, independent of any application-layer encryption, with minimal added latency. Which approach meets this requirement?

    1. A.Enable MACsec on the dedicated Direct Connect connection to encrypt frames between the customer router and the AWS device
    2. B.Establish a Site-to-Site VPN tunnel over a public virtual interface and route settlement traffic through the VPN
    3. C.Configure AWS Shield Advanced on the Direct Connect connection to encrypt traffic during a DDoS event
    4. D.Enable default server-side encryption on the destination S3 bucket so objects are encrypted before they leave
    Show answer & explanation

    Correct answer: AEnable MACsec on the dedicated Direct Connect connection to encrypt frames between the customer router and the AWS device

    • A. MACsec encrypts frames at the data link layer directly on a dedicated connection, satisfying the requirement to encrypt the circuit itself with hardware-based, low-latency processing.
    • B. A VPN over a public virtual interface does encrypt traffic, but it works by tunneling IP packets at layer 3 rather than encrypting the dedicated circuit itself, and it adds IPsec processing overhead.
    • C. Shield Advanced provides DDoS protection and cost protection; it does not encrypt frames traversing a Direct Connect connection.
    • D. S3 server-side encryption protects objects at rest once they arrive in the bucket; it does nothing to protect the confidentiality of the dedicated circuit while data is in transit.

    Subdomain 4.3: Implement and maintain confidentiality of data and communications of the network.

    35.A gaming company uses AWS Global Accelerator to route players to the nearest healthy Application Load Balancer. The security team asks where TLS should be terminated to encrypt player traffic. Where should the team attach the ACM certificate and terminate TLS in this architecture?

    1. A.On the Application Load Balancer that Global Accelerator routes traffic to
    2. B.On the Global Accelerator accelerator itself, using an ACM certificate attached to its static IP addresses
    3. C.On the Global Accelerator listener, which proxies and decrypts TLS before forwarding to the ALB
    4. D.On an AWS Network Firewall endpoint placed in front of the accelerator's static IP addresses
    Show answer & explanation

    Correct answer: AOn the Application Load Balancer that Global Accelerator routes traffic to

    • A. Global Accelerator operates at the network layer and forwards traffic to endpoints such as an Application Load Balancer, so TLS termination and the ACM certificate belong on that ALB.
    • B. Global Accelerator does not support attaching ACM certificates to its static IP addresses, since it is a network-layer routing service and does not terminate application-layer protocols.
    • C. Global Accelerator listeners forward TCP or UDP traffic to endpoints without decrypting TLS; TLS termination happens at the endpoint, not at the accelerator listener.
    • D. AWS Network Firewall inspects and filters traffic; it is not a TLS termination point and is not placed in front of Global Accelerator's static IP addresses for this purpose.

    Want the full experience?

    These are just samples. Practice the full AWS Certified Advanced Networking - Specialty (ANS-C01) question bank in quiz mode — free, no signup, with domain practice and exam simulation.