Question 480
A baseline check must run against security groups across newly created AWS Organization accounts without adding bespoke Lambda scheduling in each account. Which service capability fits organization-wide rule compliance?
- Deploy an AWS Config organization rule or conformance pack through the organization's configuration governance model
- Enable only VPC Flow Logs in the management account
- Create a Route 53 weighted DNS policy for each new AWS account
- Use one subnet NACL in the management account as the organization-wide security baseline
Explanation
Correct Answer
A:AWS Config organization compliance controls can apply approved resource evaluations across member accounts when organizational prerequisites are met. Central policy deployment supports consistent detection as accounts are added.
Incorrect Answers
B:Flow Logs record network connections in configured VPCs, not security-group configuration compliance across all member accounts. Management account logging alone cannot evaluate remote account rules.
C:Weighted DNS records select among endpoint answers and are unrelated to enforcing configuration policies for EC2 security groups in member accounts.
D:Network ACLs apply to specific subnets in particular VPCs. They cannot serve as cross-account AWS Config compliance rules for all security-group resources.
Question 481
A secure document bucket is an S3 origin, and administrators want the bucket readable only through their CloudFront distribution. Which solution best addresses these network requirements?
- Create path-pattern cache behaviors with dedicated origin assignments
- Use Lambda@Edge for the supported CloudFront trigger
- Apply CloudFront geographic restrictions to the distribution
- Configure CloudFront Origin Access Control and restrict the bucket policy accordingly
Explanation
Correct Answer
D:With this choice, the selected action signs requests from CloudFront to the S3 origin under a scoped resource policy; blocking all public bucket access remains compatible with approved distribution-origin requests, providing private S3 origin access through CloudFront for the network described.
Incorrect Answers
A:This approach matches requests to ordered cache behaviors and sends them to their selected origins; behavior ordering matters when path patterns overlap, which helps with routing CDN paths to separate application backends instead of delivering private S3 origin access through CloudFront.
B:This alternative runs richer request or response logic at regional edge locations with supported network operations; supported events and runtime restrictions must be checked before selecting the integration, so it addresses edge logic requiring capabilities beyond CloudFront Functions rather than the required private S3 origin access through CloudFront.
C:Although this setting restricts viewer requests using country-level geographic information at the edge, the control is geographic rather than a substitute for identity-aware authorization; this concerns country-based CDN access enforcement, not the specified private S3 origin access through CloudFront.
Question 482
A Traffic Mirroring session and filter are configured on a supported EC2 interface, and routing reaches the collector. The collector's security group blocks UDP 4789, so no encapsulated packets arrive. Which correction is required?
- Allow VXLAN traffic on UDP 4789 from the mirror source to the traffic mirror target's security group
- Allow only TCP port 443 inbound to the EC2 source and leave the collector rule unchanged
- Enable VPC Flow Logs instead and expect them to reproduce mirrored packet payloads
- Change Traffic Mirroring to GENEVE on UDP port 6081 without altering the target configuration
Explanation
Correct Answer
A:VPC Traffic Mirroring encapsulates copied packets using VXLAN over UDP 4789. The target's security group must admit that encapsulated traffic from the source, in addition to having a valid path and compatible collector software.
Incorrect Answers
B:The source application's HTTPS ingress is different from the copy sent to the traffic mirror target. Opening TCP 443 on the source cannot overcome UDP 4789 filtering at the collector.
C:VPC Flow Logs are connection metadata records, not full packet capture. Enabling them would not deliver the missing mirrored payload bytes to the collector for analysis.
D:GENEVE over UDP 6081 is used by Gateway Load Balancer, not the VPC Traffic Mirroring VXLAN transport. Substituting its port and protocol would fail to address the collector's actual deny rule.
Question 483
A private API uses certificate-based machine authentication and requires different issuing policies for services. What is the best next configuration decision?
- Define AWS Private CA subordinate CA and issuance controls
- Request an ACM public certificate with successful domain validation
- Revoke the affected private CA certificate and publish supported revocation information
- Distribute the private CA trust anchor to intended client trust stores
Explanation
Correct Answer
A:This configuration delegates private certificate issuance within a governed PKI hierarchy; a single unrestricted public certificate issuance workflow cannot enforce internal machine identity policy, so it delivers controlled workload certificate identities under the stated constraints.
Incorrect Answers
B:The proposed action obtains publicly trusted certificates for supported integrated services; a certificate from an internal private CA is not automatically trusted by internet browsers, supporting public domain TLS identity and trust but leaving controlled workload certificate identities unmet.
C:This approach tells relying parties that the compromised certificate should no longer be trusted; merely removing the certificate from one server does not invalidate all copies, which helps with controlled PKI response to exposed keys instead of delivering controlled workload certificate identities.
D:This alternative establishes certificate-chain trust for privately issued endpoint certificates; server-side certificate installation alone does not make clients trust a private issuer, so it addresses accepted private-service TLS validation rather than the required controlled workload certificate identities.
Question 484
An administrator must create a public DNS alias for the root domain that points to a CloudFront distribution. What is the best next configuration decision?
- Add the child zone's authoritative NS records in the parent hosted zone
- Replace the domain registration's NS delegation with the new hosted-zone set
- Use a Route 53 alias A/AAAA record as appropriate to the distribution
- Update the private hosted zone's record set to the new reachable target
Explanation
Correct Answer
C:This configuration maps apex names to supported AWS resources without an apex CNAME; ordinary CNAME records are restricted at a zone apex, so it delivers valid apex routing to CloudFront under the stated constraints.
Incorrect Answers
A:This alternative publishes delegated name-server referrals for that subdomain; creation of the child zone alone does not redirect recursion to it, so it addresses separate administrative authority for a child namespace rather than the required valid apex routing to CloudFront.
B:Although this setting aligns the parent delegation with the active Route 53 nameservers, simply updating an A record cannot fix a stale delegation at the registrar; this concerns restored public DNS authority after zone recreation, not the specified valid apex routing to CloudFront.
D:This approach refreshes the authoritative internal DNS answer for associated VPCs; DNS TTL propagation must be considered when assessing when clients observe changes, which helps with correct private service address after migration instead of delivering valid apex routing to CloudFront.
Question 485
A CloudFront cache behavior sends too many origin requests because its TTL is effectively zero despite public static content. What is the most suitable design or configuration?
- Reduce applicable DNS TTLs before planned changes and consider stable anycast ingress where required
- Use Route 53 latency-based records among regional endpoints
- Use AWS Global Accelerator for supported regional application endpoints
- Reduce needless cache-key dimensions in the CloudFront cache policy
- Set suitable cache TTL controls consistent with origin Cache-Control headers
Explanation
Correct Answer
E:This configuration permits safe edge reuse of static responses for a defined period; caching private personalized responses by extending TTL would be unsafe, so it delivers fewer unnecessary origin fetches under the stated constraints.
Incorrect Answers
A:This approach limits the duration of stale DNS answers during endpoint migrations; lowering a TTL after clients already cache a larger value cannot retroactively expire those caches, which helps with managed DNS cutover convergence instead of delivering fewer unnecessary origin fetches.
B:This alternative bases DNS selection on AWS regional latency observations; DNS caching and resolver placement affect what end users observe, so it addresses resolver-directed traffic toward lower-latency Regions rather than the required fewer unnecessary origin fetches.
C:Although this setting routes traffic into the AWS backbone through anycast edge addresses, caching with CloudFront is a different optimization for eligible HTTP objects; this concerns global dynamic-traffic ingress optimization, not the specified fewer unnecessary origin fetches.
D:The proposed action shares equivalent cached responses across more viewer requests; necessary content-variation dimensions must remain in the key to prevent incorrect responses, supporting improved CDN cache efficiency but leaving fewer unnecessary origin fetches unmet.
Question 486
An incident responder needs a record of attempted connections to a sensitive EC2 database, including denied network flows. What should the network specialist configure?
- Add supported pkt-srcaddr and pkt-dstaddr fields to the Flow Logs format
- Use Athena over a suitable Flow Logs dataset and aggregate by IP fields
- Account for Flow Logs exclusions, aggregation intervals, and collection limitations
- Turn on VPC Flow Logs at the database ENI and retain ACCEPT/REJECT records
Explanation
Correct Answer
D:This configuration records packet-flow metadata and network allow or reject disposition; application database logs will not see packets denied before arrival, so it delivers forensic visibility into database connection attempts under the stated constraints.
Incorrect Answers
A:The proposed action exposes packet-origin addressing distinct from some observation-interface values; the default field set may not capture the original addresses needed for this question, supporting better attribution of original communicating IP endpoints but leaving forensic visibility into database connection attempts unmet.
B:This approach supports SQL analysis of archived network records; CloudTrail does not provide per-connection byte counts for data-plane network flows, which helps with historical large-scale flow anomaly investigation instead of delivering forensic visibility into database connection attempts.
C:This alternative treats absence of flow metadata as incomplete evidence rather than certainty; not all AWS-reserved traffic is recorded like an ordinary ENI flow, so it addresses defensible interpretation of VPC flow record gaps rather than the required forensic visibility into database connection attempts.
Question 487
An operations team needs AWS Config to control which accounts can modify a private DNS zone. Which action provides the required behavior?
- Apply resource-scope IAM and governance controls to hosted-zone management
- Share the appropriate Resolver rule via RAM and associate the recipient VPCs
- Create separate private hosted zones and scope their VPC associations
- Associate the workload VPC with the appropriate private hosted zone
Explanation
Correct Answer
A:With this choice, the selected action regulates who can change private DNS record sets; VPC association grants resolution, not the authority to edit records, providing restricted administrative changes to private DNS for the network described.
Incorrect Answers
B:The proposed action distributes conditional forwarding policy across accounts; zone association serves AWS-hosted private records rather than external DNS forwarding, supporting cross-account use of a central forwarding rule but leaving restricted administrative changes to private DNS unmet.
C:This approach selects different private record sets depending on the VPC resolver context; one shared global private zone would give the same records to all associated VPCs, which helps with environment-specific split-private DNS answers instead of delivering restricted administrative changes to private DNS.
D:This alternative extends the private authoritative namespace to the new VPC resolver; TGW connectivity between VPCs does not imply shared hosted-zone resolution, so it addresses private record visibility for the workload account rather than the required restricted administrative changes to private DNS.
Question 488
A private subnet has a 0.0.0.0/0 route to a NAT gateway and an S3 gateway endpoint route pointing to the AWS-managed S3 prefix list. When a workload contacts an S3 address that matches the prefix list, which VPC route is selected?
- The more-specific S3 prefix-list route toward the gateway endpoint, rather than the default NAT route
- The existing NAT default route, because routes are processed in creation-time order
- No route, because an S3 gateway endpoint cannot coexist with internet egress through NAT
- The route to the internet gateway in the public subnet, bypassing the private subnet's table
Explanation
Correct Answer
A:VPC routing uses the best matching destination route. For S3 addresses included in the endpoint's managed prefix list, its specific destination route takes precedence over a 0.0.0.0/0 NAT route, avoiding unnecessary NAT processing.
Incorrect Answers
B:A default route is a catch-all used when no more specific destination is matched. VPC routes are not selected according to when they were created, so the S3 endpoint route wins for matching traffic.
C:Gateway endpoint routes and a NAT default route can exist in the same private subnet route table. The endpoint changes the path for eligible service addresses without eliminating other outbound connectivity.
D:An instance uses its own subnet's effective route table. The public subnet's internet gateway route does not automatically override the private subnet's chosen endpoint path.
Question 489
A Transit Gateway route table must deliberately reject all traffic to a decommissioned 10.80.0.0/16 network even if other propagated aggregate routes would otherwise match it. Which entry should an administrator create?
- Create a static blackhole route for 10.80.0.0/16 in the applicable transit gateway route table
- Associate the VPC attachment with every available transit gateway route table
- Add a more-specific propagating attachment route for the retired CIDR
- Create a Route 53 private hosted zone for the retired CIDR
Explanation
Correct Answer
A:A transit gateway blackhole route discards packets matching the destination prefix. The explicit more-specific route can prevent packets from following a broader available route toward an attachment for that retired network.
Incorrect Answers
B:Each transit gateway attachment is associated with one route table for its ingress lookup. Attempting broader association does not specify a drop policy for the decommissioned prefix.
C:Advertising a destination route would make traffic eligible to be forwarded rather than explicitly discarded. The requested control is a deterministic blackhole, not connectivity to another attachment.
D:DNS authoritative zones map names to records, not IP-prefix forwarding decisions in a transit gateway. A DNS zone cannot block packets addressed directly to 10.80.0.0/16.
Question 490
A TCP service behind Network Load Balancer requires the original connecting client's address and port in a protocol header consumed by an application that cannot rely on source-IP preservation. Which feature should be enabled on the target group?
- Enable X-Forwarded-For headers on a Network Load Balancer TCP listener
- Create a Route 53 TXT record containing every active client's IP address
- Enable Proxy Protocol v2 on the Network Load Balancer target group and update the backend to parse it
- Attach a VPC gateway endpoint policy that permits the original client CIDR
Explanation
Correct Answer
C:Proxy Protocol v2 adds connection metadata at the start of a proxied stream, including client addressing information. The application must explicitly understand this binary header; enabling it without backend support can break request parsing.
Incorrect Answers
A:X-Forwarded-For is an HTTP header normally added by application-layer proxies, not a reliable NLB TCP listener mechanism for arbitrary byte streams. The backend expects Proxy Protocol metadata.
B:DNS TXT records do not convey a unique live TCP connection's source address and port to a backend process. The data must accompany each connection at the transport proxy boundary.
D:Endpoint policies govern supported private service access and do not pass connection source metadata to an NLB target. They cannot supply the requested protocol header.