Question 490
A workload in one account cannot connect to a third-party PrivateLink service because the interface endpoint ENIs block TCP 443. What is the most suitable design or configuration?
- Establish a VPC peering connection instead of publishing an endpoint service
- Modify the interface endpoint security group to allow the client connections
- Configure verified private DNS for the service and enable the consumer endpoint setting
- Restrict allowed service principals and require endpoint connection acceptance
Explanation
Correct Answer
B:With this choice, the selected action permits traffic to reach the private endpoint interface addresses; an endpoint can be active while its ENI security groups reject packets, providing security-group-authorized PrivateLink client access for the network described.
Incorrect Answers
A:This alternative creates direct private routing between two VPC address spaces rather than publishing one TCP service; VPC peering cannot join networks with overlapping address ranges, so it addresses broad bidirectional VPC routing for nonoverlapping networks rather than the required security-group-authorized PrivateLink client access.
C:The proposed action maps the published service DNS name to endpoint IPs when the VPC resolver is used; the provider must verify domain ownership before the custom private DNS name is active, supporting transparent private service hostname resolution but leaving security-group-authorized PrivateLink client access unmet.
D:This approach controls who can request and receive a functioning endpoint-service connection; network routing alone cannot enforce the service provider's attachment approval workflow, which helps with provider-approved PrivateLink access instead of delivering security-group-authorized PrivateLink client access.
Question 491
A private VIF has been created but no network routes are exchanged with the customer router. Which change is the most appropriate?
- Configure the customer BGP peer ASN, peering addresses, VLAN, and session settings correctly
- Configure the public VIF with appropriate publicly routable prefixes and BGP requirements
- Provision a transit VIF connected to a Direct Connect gateway
- Configure allowed prefixes on the Direct Connect gateway association
Explanation
Correct Answer
A:With this choice, the selected action establishes the BGP adjacency required to exchange reachable private prefixes; a physical up state does not establish BGP neighbors automatically, providing active layer-three routing across the private VIF for the network described.
Incorrect Answers
B:This alternative exchanges AWS public endpoint reachability over the public peering session; public peering has separate addressing and advertisement rules from private VIF routing, so it addresses valid public VIF route advertisements rather than the required active layer-three routing across the private VIF.
C:Although this setting provides the VIF type supported for DX gateway-to-TGW route exchange, the transit VIF and TGW-DX gateway association form the supported attachment path; this concerns correct interface type for transit gateway connectivity, not the specified active layer-three routing across the private VIF.
D:The proposed action controls the AWS-side prefixes permitted for advertisement toward on-premises peers; TGW route tables still control packet forwarding independently of allowed prefix lists, supporting controlled hybrid prefix advertisement but leaving active layer-three routing across the private VIF unmet.
Question 492
Security investigators need confidence that archived CloudTrail logs were not silently altered. How should this network requirement be implemented?
- Match relevant CloudTrail events with EventBridge and send notifications
- Enable CloudTrail log file integrity validation and protect the archive
- Search CloudTrail management events for the corresponding route-table API operation
- Configure an organization trail with central delivery and appropriate event coverage
- Inspect CloudTrail user identity and request details for the delete event
Explanation
Correct Answer
B:This configuration supports detecting tampering with delivered log file digests; encryption at rest alone does not prove the historical log sequence was unchanged, so it delivers integrity-verifiable network audit history under the stated constraints.
Incorrect Answers
A:The proposed action converts control-plane audit events into automated responses; manually reviewing monthly log archives would not meet response-time requirements, supporting prompt detection of forbidden route modifications but leaving integrity-verifiable network audit history unmet.
C:This alternative records principal, time and API request metadata for supported networking changes; VPC Flow Logs show packet behavior rather than resource-modification principals, so it addresses attribution of unauthorized network control-plane activity rather than the required integrity-verifiable network audit history.
D:Although this setting collects management events across included accounts under centralized governance, configuring an individual trail in a single account leaves coverage gaps; this concerns organization-wide configuration change evidence, not the specified integrity-verifiable network audit history.
E:The proposed action identifies the credential context used for the control-plane action; packet mirror traces cannot establish IAM API identity, supporting accountable origin of a network policy deletion but leaving integrity-verifiable network audit history unmet.
Question 493
A retailer needs to allow only specific HTTP headers and URI paths through a public web front end. What is the most suitable design or configuration?
- Attach an AWS WAF web ACL with appropriate managed or custom rules
- Use a CloudFront-scope WAF web ACL for the distribution
- Build WAF rules with header and URI matching conditions
- Set the rule action to Count during evaluation and review metrics or logs
Explanation
Correct Answer
C:The approach inspects layer-seven request attributes before the origin receives traffic; security groups operate on network addresses and transport ports instead, directly enabling fine-grained application HTTP request filtering in this situation.
Incorrect Answers
A:Although this setting evaluates supported HTTP request components before forwarding to protected resources, a subnet NACL cannot parse HTTP payload signatures; this concerns application-layer filtering of malicious web requests, not the specified fine-grained application HTTP request filtering.
B:The proposed action applies WAF inspection at the global CDN integration scope; a regional web ACL attached to an ALB does not automatically protect every CloudFront viewer request, supporting security policy for the distribution edge but leaving fine-grained application HTTP request filtering unmet.
D:This alternative records matches without applying the blocking decision; immediately blocking every match can interrupt legitimate application traffic, so it addresses safe observation of candidate WAF rule impact rather than the required fine-grained application HTTP request filtering.
Question 494
A network team has a Direct Connect public virtual interface to reach public AWS services. Its security policy forbids re-advertising AWS-learned public service routes to the public internet. What BGP property should the customer router preserve?
- Advertise the AWS prefixes to the internet with a shorter AS_PATH than the Direct Connect path
- Honor the NO_EXPORT community attached to AWS public prefixes learned on the public VIF
- Convert the public virtual interface to a transit VIF without changing the route filters
- Summarize all received AWS public prefixes into a single default route and advertise it to every peer
Explanation
Correct Answer
B:AWS advertises public service prefixes to public VIFs with NO_EXPORT. The customer router should not redistribute these learned routes to external BGP neighbors beyond the private routing boundary.
Incorrect Answers
A:A shorter AS_PATH influences best-path decisions but still leaks service prefixes into unrelated external routing domains; it does not enforce the required export boundary.
C:A transit VIF provides private connectivity through a Direct Connect gateway and is not a substitute for the public VIF route-export policy.
D:Aggregating received routes into 0.0.0.0/0 would create a different advertisement and potentially attract unrelated traffic rather than keep AWS-learned prefixes within the Direct Connect environment.
Question 495
A private VIF's BGP session is established but selected VPC prefixes do not reach the data center. What is the most suitable design or configuration?
- Compare VLAN tags, peer addressing, ASN values, and ACLs
- Verify route preference and, if needed, eligibility for supported ECMP or LAG design
- Review Direct Connect connection capacity and port-hour billing components
- Inspect DX gateway associations, allowed prefixes, and relevant VGW/TGW route tables
Explanation
Correct Answer
D:This configuration traces which prefixes are permitted and installed along the hybrid path; BGP up alone does not prove every destination is advertised or forwarded, so it delivers usable private VIF reachability for intended networks under the stated constraints.
Incorrect Answers
A:The proposed action checks the logical and IP-level parameters needed for BGP adjacency; link-state success does not establish that the VIF tags or neighbor addresses match, supporting established VIF BGP sessions despite a working physical link but leaving usable private VIF reachability for intended networks unmet.
B:This approach distinguishes routing traffic share from physical aggregation; adding a link without changing routing does not ensure equal traffic utilization, which helps with predictable distribution across available DX capacity instead of delivering usable private VIF reachability for intended networks.
C:This alternative relates recurring line charges to the dedicated or hosted port allocation; VPC Flow Logs do not provide a breakdown of DX port-hour commitments, so it addresses identification of Direct Connect recurring cost drivers rather than the required usable private VIF reachability for intended networks.
Question 496
A nightly compliance job must flag a newly reachable forbidden destination after infrastructure changes. Which AWS networking approach meets this constraint?
- Specify compatible source and destination resources in Reachability Analyzer
- Inspect Reachability Analyzer's modeled intermediate network components
- Run VPC Reachability Analyzer and inspect the path explanation
- Create a Network Access Analyzer finding or scoped network access analysis
- Automate path analysis and evaluate results against approved network intent
Explanation
Correct Answer
E:The approach checks configured paths repeatedly as resources and routes change; a static one-time ping cannot establish policy compliance over time, directly enabling continuous verification of route-based access intent in this situation.
Incorrect Answers
A:Although this setting evaluates supported network paths through routing and security constructs, packet capture requires actual traffic and does not model every configuration condition; this concerns predeployment validation of intended private network reachability, not the specified continuous verification of route-based access intent.
B:The proposed action reasons about supported AWS resources rather than depending on ICMP responses; managed routers do not necessarily respond to classic traceroute probes, supporting AWS resource-path explanation beyond traceroute but leaving continuous verification of route-based access intent unmet.
C:This approach analyzes network configuration and identifies blocking components for a modeled connection; it does not prove that the application process is actually listening, which helps with configuration-based finding for a blocked EC2 path instead of delivering continuous verification of route-based access intent.
D:This alternative evaluates reachability conditions against declared access-intent requirements; a successful app health check would not reveal broad unauthorized paths, so it addresses proactive detection of undesirable network reachability rather than the required continuous verification of route-based access intent.
Question 497
A DNS security architecture requires both authentic signed authoritative answers and confidentiality for resolver queries over an untrusted link. Which distinct protections address these requirements? Choose TWO.
- Enable Route 53 public hosted-zone DNSSEC signing and create the parent chain of trust
- Apply DNSSEC where supported on public authoritative zones and assess private resolver trust separately
- Correct the DS and DNSKEY chain-of-trust relationship
- Enable DNSSEC validation while retaining unencrypted UDP or TCP DNS queries
- Use an appropriately supported encrypted DNS transport such as DNS-over-TLS or DNS-over-HTTPS in the client-resolver design
Explanation
Correct Answers
A:This component authenticates the origin and integrity of supported DNS records for validating resolvers; DNSSEC signs data but does not encrypt the DNS question or response contents, contributing DNSSEC-authenticated public DNS answers to the combined requirement for DNSSEC-authenticated public DNS answers and private DNS query content in transit.
E:This component encrypts DNS transport between compatible participating endpoints; DNSSEC validation by itself cannot hide DNS names from observers, contributing private DNS query content in transit to the combined requirement for DNSSEC-authenticated public DNS answers and private DNS query content in transit.
Incorrect Answers
B:Although this setting respects differences between private DNS scope and public authoritative signing, assuming identical DNSSEC hosting features for all private zones can produce an unsupported configuration; this concerns correctly scoped DNS integrity controls, not the specified DNSSEC-authenticated public DNS answers and private DNS query content in transit.
C:The proposed action restores cryptographic delegation consistency for the zone; changing application A records alone cannot repair a mismatched signer chain, supporting successful DNSSEC validation by external resolvers but leaving DNSSEC-authenticated public DNS answers and private DNS query content in transit unmet.
D:This approach verifies signed DNS data when the chain of trust is valid but sends client resolver queries in cleartext; DNSSEC does not encrypt transport and cannot conceal queried hostnames, which helps with DNS data integrity without query confidentiality instead of delivering DNSSEC-authenticated public DNS answers and private DNS query content in transit.
Question 498
A private VPC needs a route to reach a vendor service through an interface endpoint, but the vendor hostname still resolves to the public endpoint even though the interface endpoint is healthy. Which configuration should be checked first?
- Enable the interface endpoint's private DNS setting when supported and ensure VPC DNS attributes allow private resolution
- Add a 0.0.0.0/0 static route pointing to the interface endpoint network interface
- Disable enableDnsSupport on the VPC and force all queries through the internet gateway
- Configure an S3 gateway endpoint policy for the vendor's custom TCP hostname
Explanation
Correct Answer
A:For supported endpoint services, private DNS lets the standard service hostname resolve to interface endpoint ENI addresses inside the VPC. The endpoint can be healthy yet unused if clients continue resolving the public service address.
Incorrect Answers
B:An interface endpoint is normally reached using DNS that resolves to its private ENI addresses, not by making it a default VPC routing target. This would not fix public hostname resolution.
C:Disabling VPC DNS support undermines the Amazon-provided resolver and private hosted-zone behavior used by private DNS. It cannot make standard service names resolve privately.
D:An S3 gateway endpoint is specific to S3 service access and does not provide DNS mapping for an arbitrary PrivateLink interface endpoint service.
Question 499
A service exposes HTTP endpoints via an ALB but needs to be delivered through PrivateLink to isolated partner accounts. How should this network requirement be implemented?
- Use a gateway endpoint for S3 with the correct subnet route-table associations
- Use an AWS Transit Gateway with distinct attachment routing domains
- Create an interface VPC endpoint to the provider's PrivateLink service
- Put an appropriate NLB-based endpoint-service front end before the application stack
Explanation
Correct Answer
D:The approach provides the supported PrivateLink provider integration for application reachability; an ALB is not directly used as the endpoint-service load balancer type in this pattern, directly enabling NLB-backed private service publication in this situation.
Incorrect Answers
A:Although this setting creates a private route to S3 supported service prefixes, access policy and Region support still determine actual service permissions; this concerns S3 access avoiding NAT and internet paths, not the specified NLB-backed private service publication.
B:The proposed action centralizes routing and segmentation for large private network topologies; ordinary VPC peering creates independent nontransitive links, supporting scalable multi-VPC and hybrid hub connectivity but leaving NLB-backed private service publication unmet.
C:This approach supplies private endpoint ENIs for the specific service consumer; a gateway endpoint is reserved for eligible AWS service integrations, not arbitrary SaaS APIs, which helps with narrowly scoped third-party service connectivity instead of delivering NLB-backed private service publication.
Question 500
An architecture review proposes hosted Direct Connect and demands MACsec on that hosted circuit. How should this network requirement be implemented?
- Align MACsec connectivity association keys and chosen encryption parameters
- Verify current MACsec eligibility and choose an approved dedicated connection when needed
- Add TLS or IPsec where end-to-end encryption is required
- Enable MACsec on supported Direct Connect ports and customer equipment
- Combine diverse physical connections with supported MACsec or suitable IPsec overlays
Explanation
Correct Answer
B:With this choice, the selected action selects a DX connection model that actually supports required physical-link cryptography; hosted connection capabilities are not equivalent to every dedicated-port MACsec option, providing supported link-layer encryption deployment for the network described.
Incorrect Answers
A:This alternative ensures the Ethernet peers can establish compatible link encryption; BGP route preferences are irrelevant until the encrypted physical link works, so it addresses successful authenticated MACsec operation rather than the required supported link-layer encryption deployment.
C:The proposed action encrypts traffic at a higher protocol layer beyond the individual Ethernet link; MACsec protects the applicable physical Ethernet hop rather than all subsequent routes, supporting application or tunnel confidentiality beyond DX link encryption but leaving supported link-layer encryption deployment unmet.
D:This approach encrypts Ethernet frames on eligible Direct Connect connections; MACsec capability depends on connection speed, hardware, and supported location, which helps with link-layer protection on the physical DX segment instead of delivering supported link-layer encryption deployment.
E:This alternative separates circuit redundancy from cryptographic protection; using a single encrypted link still leaves a physical single point of failure, so it addresses resilient encrypted hybrid connectivity rather than the required supported link-layer encryption deployment.