Question 200
A security operations team wants VPC workloads blocked from resolving domains in a maintained threat intelligence list. Which action directly resolves the stated problem?
- Configure an ordered DNS Firewall rule group with intended allow and block actions
- Enable Route 53 Resolver query logging and associate the query log configuration
- Correct DHCP options to use accessible DNS servers that can reach the VPC resolver
- Associate Resolver DNS Firewall rule groups that block the relevant domain lists
- Check actual resolver association and DNS record semantics rather than DNS letter case
Explanation
Correct Answer
D:The approach filters recursive DNS names before normal resolution where configured; a public hosted zone health check does not inspect workload resolver traffic, directly enabling enforced malicious-domain DNS query blocking in this situation.
Incorrect Answers
A:This alternative evaluates matching queries using prioritized DNS Firewall domain list rules; rule group association alone is not sufficient if action priorities are wrong, so it addresses predictable DNS policy ordering rather than the required enforced malicious-domain DNS query blocking.
B:Although this setting emits supported recursive query events from included VPCs, authoritative public-zone query logging covers a different query vantage point; this concerns central VPC resolver query evidence, not the specified enforced malicious-domain DNS query blocking.
C:The proposed action ensures instances send DNS questions to a functioning recursive path; published records do not help clients that query the wrong DNS server, supporting usable instance resolver configuration but leaving enforced malicious-domain DNS query blocking unmet.
E:This alternative recognizes that ordinary DNS names are case-insensitive for matching; rewriting labels in uppercase will not resolve missing VPC associations, so it addresses troubleshooting grounded in DNS protocol behavior rather than the required enforced malicious-domain DNS query blocking.
Question 201
Several regional TGWs must use the same DX entry and the networking team wants minimal per-VPC VIF administration. What should the network specialist configure?
- Create a VPN attachment to AWS Transit Gateway
- Associate regional TGWs with one DX gateway using a transit VIF
- Create a Site-to-Site VPN connection using the VPC's VGW as the target
- Enable VGW route propagation in the relevant VPC route table
Explanation
Correct Answer
B:With this choice, the selected action links multiple regional transit routing domains to the on-premises circuit; allowed prefixes and ASN constraints need attention during association, providing centralized hybrid routing across regional hubs for the network described.
Incorrect Answers
A:This approach terminates the managed VPN service at the shared routing hub; transit gateway route tables must grant each destination access deliberately, which helps with consolidated VPN access to selected VPC attachments instead of delivering centralized hybrid routing across regional hubs.
C:Although this setting terminates the AWS-side VPN tunnels at the virtual private gateway, a transit gateway is a different termination pattern with broader attachment routing; this concerns VPC-local hybrid VPN termination, not the specified centralized hybrid routing across regional hubs.
D:The proposed action installs eligible propagated hybrid routes in a VPC route table; merely bringing up a BGP session is not enough when the subnet route table lacks a path, supporting learned routes from a virtual private gateway but leaving centralized hybrid routing across regional hubs unmet.
Question 202
A deployment team needs a small controlled canary share of public DNS resolutions to a new regional endpoint. What is the best next configuration decision?
- Use Route 53 weighted records with relative weights
- Configure Route 53 multivalue answer records with associated health checks
- Use Route 53 latency-based routing records
- Use Route 53 geoproximity routing with bias controls
Explanation
Correct Answer
A:With this choice, the selected action selects an answer in proportion to configured record weights for a shared name and type; cached answers can cause observed request percentages to differ from assigned resolution weights, providing DNS-level canary distribution for a release for the network described.
Incorrect Answers
B:This approach returns multiple healthy values for a DNS name within supported multivalue semantics; it is not a connection-aware load balancer and does not proxy requests, which helps with simple health-aware DNS answer diversity instead of delivering DNS-level canary distribution for a release.
C:This alternative selects regional DNS answers using AWS latency measurements for the origin of the query; it evaluates DNS resolver location and does not provide a fixed anycast application IP, so it addresses DNS routing toward a lower-latency Region rather than the required DNS-level canary distribution for a release.
D:Although this setting chooses destinations according to geographic proximity and optional traffic-shifting bias, latency-routing measurements and proximity maps are different decision inputs; this concerns fine-grained proximity-based geographic routing, not the specified DNS-level canary distribution for a release.
Question 203
A compliance analyst needs traffic evidence from an appliance that cannot be accessed interactively during an incident. Which AWS networking approach meets this constraint?
- Inspect AWS Network Firewall alert and flow log entries
- Centralize its network captures and security logs in a protected evidence account
- Correlate VPC Flow Logs with CloudTrail route-change events
- Combine VPC Flow Logs with Reachability Analyzer and policy inspection
Explanation
Correct Answer
B:This configuration preserves investigation data outside a potentially compromised workload; keeping the sole copy on the appliance leaves it vulnerable to deletion, so it delivers independent retention of inspection evidence under the stated constraints.
Incorrect Answers
A:Although this setting reports traffic observations and stateful policy matches for the deployed inspection, packet retransmission counters cannot reveal the matched Suricata rule; this concerns evidence of firewall decision criteria, not the specified independent retention of inspection evidence.
C:This approach links data-plane network activity to control-plane API identity; relying on only a flow log would omit the change principal, which helps with end-to-end incident timeline of traffic and configuration instead of delivering independent retention of inspection evidence.
D:This alternative correlates observed rejects with a modeled AWS path and controls; ACCEPT/REJECT alone does not identify the exact rule that caused every outcome, so it addresses precise isolation of a blocked network path rather than the required independent retention of inspection evidence.
Question 204
A CloudFront team wants to test a changed cache policy with a small share of real viewer requests before promoting it to the production distribution. Which deployment approach supports this controlled rollout?
- Change the production distribution's default behavior immediately for all viewers
- Use CloudFront continuous deployment with a staging distribution and a controlled traffic allocation policy
- Create an Amazon Route 53 PTR record for a subset of viewer source addresses
- Alter the VPC's NAT gateway route for ten percent of backend subnets
Explanation
Correct Answer
B:CloudFront continuous deployment supports staging-distribution configuration testing on an allocation of live traffic before promoting the configuration. It reduces the need to make an immediate all-viewer change to the production distribution.
Incorrect Answers
A:A direct production update sends every affected request through the untested behavior after deployment. It does not provide a staging distribution or limited-traffic validation.
C:PTR records map IP addresses to hostnames and do not allocate percentages of CloudFront distribution requests. Reverse DNS is unrelated to progressive delivery of edge configuration.
D:A NAT gateway route changes private subnet egress, not the viewer-to-CloudFront edge behavior. It cannot stage CloudFront cache policies by viewer traffic fraction.
Question 205
An S3 archive of flow logs must be queried for repeated high-volume connections from one CIDR. What should the network specialist configure?
- Turn on VPC Flow Logs at the database ENI and retain ACCEPT/REJECT records
- Deliver VPC Flow Logs to a protected central S3 destination with retention controls
- Add supported pkt-srcaddr and pkt-dstaddr fields to the Flow Logs format
- Account for Flow Logs exclusions, aggregation intervals, and collection limitations
- Use Athena over a suitable Flow Logs dataset and aggregate by IP fields
Explanation
Correct Answer
E:The approach supports SQL analysis of archived network records; CloudTrail does not provide per-connection byte counts for data-plane network flows, directly enabling historical large-scale flow anomaly investigation in this situation.
Incorrect Answers
A:This approach records packet-flow metadata and network allow or reject disposition; application database logs will not see packets denied before arrival, which helps with forensic visibility into database connection attempts instead of delivering historical large-scale flow anomaly investigation.
B:This alternative archives flow records for long-term cross-account audit; local instance disks are not a reliable organization-wide log store, so it addresses durable governed network activity evidence rather than the required historical large-scale flow anomaly investigation.
C:Although this setting exposes packet-origin addressing distinct from some observation-interface values, the default field set may not capture the original addresses needed for this question; this concerns better attribution of original communicating IP endpoints, not the specified historical large-scale flow anomaly investigation.
D:The proposed action treats absence of flow metadata as incomplete evidence rather than certainty; not all AWS-reserved traffic is recorded like an ordinary ENI flow, supporting defensible interpretation of VPC flow record gaps but leaving historical large-scale flow anomaly investigation unmet.
Question 206
A target group is marked unhealthy but the instance process is running; the engineer wants to find the discrepancy. Which action provides the required behavior?
- Compare configured health-check protocol, path, port, and matcher with the target's responses
- Analyze ALB access logs including target status and processing information
- Inspect CloudFront access logs or real-time logs and result types
- Inspect the Route 53 health check result and target or alarm condition
Explanation
Correct Answer
A:The approach tests exactly the request used for health evaluation; process liveness does not guarantee the configured health route returns a passing status, directly enabling source of health-check mismatch in this situation.
Incorrect Answers
B:This approach records request and target-response context from HTTP ingress; VPC Flow Logs cannot decode response status and request URL, which helps with distinguishing load-balancer errors from target failures instead of delivering source of health-check mismatch.
C:This alternative shows edge request handling and cache result information; direct EC2 host logs omit requests satisfied entirely at the CDN, so it addresses identifying caching and origin-fetch behavior rather than the required source of health-check mismatch.
D:Although this setting establishes which configured health evidence caused primary DNS selection to fail, server power state is not equivalent to the configured application's health signal; this concerns root cause of unexpected DNS failover, not the specified source of health-check mismatch.
Question 207
An ALB-backed app must serve both IPv4 and IPv6 clients through one public hostname. How should this network requirement be implemented?
- Route IPv6 outbound traffic through an egress-only internet gateway
- Enable a supported dualstack load-balancer IP address type and publish the appropriate DNS
- Add a ::/0 route to an internet gateway and allow appropriate IPv6 network controls
- Associate an IPv6 CIDR block with the subnet and configure assignment settings
Explanation
Correct Answer
B:With this choice, the selected action exposes reachable IPv4 and IPv6 service addresses; an IPv4-only listener address family cannot answer IPv6 client connections, providing dual-stack client access at the load-balancer edge for the network described.
Incorrect Answers
A:Although this setting provides stateful outbound-only IPv6 internet reachability, an ordinary internet gateway would not enforce the same outbound-only property; this concerns IPv6 egress without inbound initiation, not the specified dual-stack client access at the load-balancer edge.
C:This approach forwards public IPv6 packets to the internet egress target; IPv4 NAT gateway routes do not create an IPv6 default path, which helps with direct IPv6 internet routing for dual-stack workloads instead of delivering dual-stack client access at the load-balancer edge.
D:This alternative allocates a portion of the VPC IPv6 range to subnet interfaces; giving the VPC an IPv6 range does not allocate one to each subnet automatically, so it addresses routable subnet IPv6 addresses for workloads rather than the required dual-stack client access at the load-balancer edge.
Question 208
Two nonoverlapping VPCs have an active peering connection and correct private-IP routes. When an EC2 instance in the requester VPC resolves the peer instance's public IPv4 DNS hostname, it still receives the public address rather than the private one. What peering-specific configuration addresses this?
- Enable DNS resolution options for the VPC peering connection in the required direction, with DNS hostnames and DNS support enabled on both VPCs
- Replace the peering connection with an internet gateway in each VPC
- Add a VPC endpoint policy that permits all DNS queries to the public IP
- Create a transit gateway blackhole route to the peer's private prefix
Explanation
Correct Answer
A:VPC peering DNS options can cause the public DNS hostname of an EC2 instance in the peer VPC to resolve to its private IPv4 address for peering traffic. The active peering relationship and VPC DNS attributes are prerequisites to this private resolution behavior.
Incorrect Answers
B:Internet gateways are public-internet routing components and do not change the peering-specific DNS behavior for a peer instance's public hostname. The private path already exists.
C:Endpoint policies constrain supported interface or gateway service access; they do not enable the EC2 public-hostname-to-private-address resolution option on VPC peering connections.
D:A blackhole route discards packets to a destination and would undermine working private connectivity. It cannot rewrite DNS answers for the active VPC peering link.
Question 209
A customer's PrivateLink interface endpoint shows pendingAcceptance after a provider deployed a new endpoint service. Which change is the most appropriate?
- Have the endpoint service provider accept the connection when acceptance is required
- Check enabled service AZs and the consumer endpoint's selected subnets
- Inspect source and destination security groups and NACL rules
- Verify the provider's private DNS verification and consumer endpoint DNS settings
Explanation
Correct Answer
A:The approach completes the provider approval needed before endpoint traffic is active; security-group changes do not change the provider's endpoint approval state, directly enabling accepted private service consumer connection in this situation.
Incorrect Answers
B:This alternative aligns endpoint-service availability with consumer zone placement; creating a second public DNS alias does not provision a missing endpoint subnet ENI, so it addresses zone-appropriate PrivateLink service access rather than the required accepted private service consumer connection.
C:Although this setting distinguishes network authorization from established peering route topology, peer activation and route correctness do not override security-group denial; this concerns permitted instance-level traffic over VPC peering, not the specified accepted private service consumer connection.
D:The proposed action checks how a PrivateLink service name maps to local endpoint ENIs; generic public Route 53 records do not necessarily control private endpoint DNS overrides, supporting correct private DNS mapping after provider changes but leaving accepted private service consumer connection unmet.
Question 210
A batch job writes confidential data to S3 using public service hostnames but needs TLS in transit. What is the most suitable design or configuration?
- Validate certificate chain and requested hostname in the TLS client
- Implement service-to-service TLS or mTLS according to the threat model
- Deploy a managed certificate distribution and renewal workflow to the EC2 web server
- Require the database engine's supported TLS connection option and client verification
- Use HTTPS S3 requests and an appropriate bucket policy denying insecure transport
Explanation
Correct Answer
E:With this choice, the selected action enforces secure transport for S3 API operations; server-side encryption of stored objects is a separate at-rest control, providing encrypted data movement into S3 for the network described.
Incorrect Answers
A:The proposed action prevents accepting an encrypted connection to an impersonating server; encryption without peer identity validation remains vulnerable to man-in-the-middle attacks, supporting authenticated outbound HTTPS service communication but leaving encrypted data movement into S3 unmet.
B:This approach protects application payloads independently of private route placement; a private IP path does not by itself satisfy an explicit in-transit encryption requirement, which helps with confidentiality within private east-west service traffic instead of delivering encrypted data movement into S3.
C:This alternative installs renewed certificates in the software that actually terminates TLS; attaching an ACM certificate to an unrelated ALB does not update Nginx on the instance, so it addresses maintained TLS identity on customer-managed application servers rather than the required encrypted data movement into S3.
D:Although this setting protects client-to-database data in transit using the service's TLS protocol, encrypted EBS volumes do not encrypt network packets in flight; this concerns encrypted managed-database application connections, not the specified encrypted data movement into S3.