Question 150
A network administrator wants an SNS notification if a firewall drop metric exceeds a justified baseline. Which change is the most appropriate?
- Compare time-aligned service metrics with CloudTrail change records
- Examine TargetResponseTime and target HTTP code CloudWatch metrics
- Create a CloudWatch alarm on the relevant firewall or derived metric
- Alarm on per-tunnel VPN TunnelState metrics in CloudWatch
- Include Direct Connect ConnectionState and appropriate error counters
Explanation
Correct Answer
C:The approach applies a threshold and evaluation window to a measured security signal; CloudWatch dashboards show data but are not themselves notification rules, directly enabling automated drop-rate anomaly alerting in this situation.
Incorrect Answers
A:The proposed action combines operational signal timing with configuration mutation history; checking only current route tables omits the event that triggered the change, supporting change-correlated network incident diagnosis but leaving automated drop-rate anomaly alerting unmet.
B:This approach distinguishes slow target processing and target-generated error rates; front-end DNS TTL values do not explain target application latency, which helps with quantitative load-balancer-to-backend performance diagnosis instead of delivering automated drop-rate anomaly alerting.
D:Although this setting evaluates AWS-provided tunnel state against alert conditions, an aggregate monthly data-transfer chart would not identify which tunnel dropped; this concerns early degraded-resiliency notification, not the specified automated drop-rate anomaly alerting.
E:The proposed action tracks link state independently of the amount of traffic transferred; low throughput can mean idle workloads, not necessarily a failed circuit, supporting observability of hybrid physical or connection faults but leaving automated drop-rate anomaly alerting unmet.
Question 151
Several accounts should launch workloads into subnets that one central network account owns. Which solution best addresses these network requirements?
- Use an interface VPC endpoint to consume an already published third-party PrivateLink service
- Connect the VPCs to an AWS Transit Gateway with segmented route tables
- Establish a VPC peering connection and add reciprocal routes
- Share selected VPC subnets using AWS RAM
Explanation
Correct Answer
D:With this choice, the selected action lets participant accounts create permitted resources in centrally owned shared subnets; participants do not receive ownership of core VPC network constructs, providing multi-account shared-VPC subnet administration for the network described.
Incorrect Answers
A:Although this setting supplies a consumer-side ENI for connecting to an existing endpoint service, publishing a new private API requires the provider to expose an endpoint service; this concerns third-party service consumption rather than provider-side service publication, not the specified multi-account shared-VPC subnet administration.
B:The proposed action provides a scalable hub for routing among selected attachments; each VPC's subnet routes still must point to the transit gateway, supporting centrally controlled many-to-many VPC networking but leaving multi-account shared-VPC subnet administration unmet.
C:This approach enables direct private IP forwarding between the two peer VPCs; VPC peering does not act as transitive routing to a third peer, which helps with simple one-to-one private VPC connectivity instead of delivering multi-account shared-VPC subnet administration.
Question 152
An application must redirect all HTTP visitors to HTTPS and encrypt traffic again between the ALB and its EC2 targets. Which configurations satisfy these requirements? Choose TWO.
- Add a matching listener rule with a fixed deny response
- Use an HTTPS ALB listener and an HTTPS target group
- Configure multiple listener certificates with Server Name Indication support
- Configure ALB authenticate-oidc listener actions
- Configure an HTTP listener with a redirect to HTTPS
Explanation
Correct Answers
B:This component terminates and initiates separate TLS sessions on each load-balancer hop; HTTPS to the load balancer does not automatically encrypt the backend leg, contributing encryption on both sides of the ALB to the combined requirement for enforced client-facing HTTPS navigation and encryption on both sides of the ALB.
E:This component returns the redirect response that tells clients to use encrypted HTTPS; a backend TLS listener alone does not redirect a client that entered through HTTP, contributing enforced client-facing HTTPS navigation to the combined requirement for enforced client-facing HTTPS navigation and encryption on both sides of the ALB.
Incorrect Answers
A:This alternative evaluates HTTP headers and can return a configured HTTP status without forwarding; plain security group rules cannot examine HTTP header values, so it addresses header-based denial at the application ingress rather than the required enforced client-facing HTTPS navigation and encryption on both sides of the ALB.
C:The proposed action selects an appropriate certificate based on the TLS client's requested server name; the client must support SNI to select among the additional certificates, supporting multiple TLS identities on one HTTPS listener but leaving enforced client-facing HTTPS navigation and encryption on both sides of the ALB unmet.
D:This approach performs supported OpenID Connect authentication before forwarding requests; a network ACL cannot execute a web identity-provider sign-in flow, which helps with identity-aware access on the HTTP listener instead of delivering enforced client-facing HTTPS navigation and encryption on both sides of the ALB.
Question 153
A pipeline needs to share a Transit Gateway resource after creating it in the network account. What is the most suitable design or configuration?
- Assume scoped cross-account IAM roles using STS during deployment
- Narrow its IAM permissions and resource conditions where supported
- Use CloudFormation StackSets with organizational deployment targets
- Include an AWS RAM resource-share step with authorized principals
Explanation
Correct Answer
D:This configuration publishes the owned gateway to the consuming accounts; gateway creation alone does not grant external accounts attachment rights, so it delivers reproducible cross-account transit gateway sharing under the stated constraints.
Incorrect Answers
A:This approach grants temporary least-privilege credentials in the destination account; embedding access keys into pipeline code creates an avoidable secret-management risk, which helps with controlled multi-account IaC execution instead of delivering reproducible cross-account transit gateway sharing.
B:This alternative limits API changes to the resources and operations required by the function; broad wildcard permissions increase the impact of bugs or compromised automation, so it addresses least-privilege network remediation automation rather than the required reproducible cross-account transit gateway sharing.
C:Although this setting deploys a consistent stack across selected accounts and Regions, an individual stack exists in one account and Region instead of the whole target fleet; this concerns centrally distributed network logging baseline, not the specified reproducible cross-account transit gateway sharing.
Question 154
A security group in a new member account permits TCP 22 from 0.0.0.0/0 and the organization wants automatic policy visibility. Which change is the most appropriate?
- Configure supported AWS Firewall Manager Network Firewall policies
- Review Firewall Manager policy compliance findings with read-only access
- Use AWS Firewall Manager security-group policies across designated accounts
- Deploy a Firewall Manager WAF policy with scoped resources
Explanation
Correct Answer
C:This configuration centrally evaluates and manages eligible security-group rule posture; a single EC2 console audit cannot cover newly created accounts consistently, so it delivers organization-scale detection of overly broad access under the stated constraints.
Incorrect Answers
A:The proposed action coordinates firewall resources and policies across AWS accounts; local-only firewall rules lack organization-level orchestration, supporting centrally managed VPC network inspection governance but leaving organization-scale detection of overly broad access unmet.
B:This approach separates assessment of centrally managed protection from remediation authority; a monitoring role need not have broad permissions to edit every rule, which helps with oversight of firewall policy compliance instead of delivering organization-scale detection of overly broad access.
D:Although this setting manages compatible web ACL protections across organization members, merely sharing a web ACL object does not attach it to eligible ALBs; this concerns uniform application firewall baselines, not the specified organization-scale detection of overly broad access.
Question 155
A network inventory job must list route tables and connections across several accounts without manual console exports. What is the best next configuration decision?
- Implement explicit error handling and compensation in the automation workflow
- Make the resource automation idempotent with discovery before create operations
- Ensure CloudTrail management events are recorded and retained
- Use AWS SDK or CLI Describe and List APIs with assumed account roles
- Query the relevant route tables through EC2 or Transit Gateway APIs
Explanation
Correct Answer
D:The approach queries networking resource metadata through authorized API calls; console screenshots are not structured or repeatable inventory feeds, directly enabling automated cross-account network inventory in this situation.
Incorrect Answers
A:Although this setting prevents incomplete sequences from continuing silently across environments, success messages alone cannot guarantee all dependent resources were updated; this concerns fail-safe orchestration of network API changes, not the specified automated cross-account network inventory.
B:The proposed action reconciles desired configuration without repeatedly creating duplicate resources; blind create calls can generate unnecessary objects on retries, supporting repeatable safe network API automation but leaving automated cross-account network inventory unmet.
C:This approach audits API activity that mutates control-plane network configurations; VPC Flow Logs capture traffic metadata rather than who invoked the route API, which helps with attribution of networking configuration changes instead of delivering automated cross-account network inventory.
E:Although this setting retrieves configured route entries for a testable deployment assertion, a ping test cannot reliably expose which route entry matched; this concerns machine-checkable routing-state verification, not the specified automated cross-account network inventory.
Question 156
A provider must distinguish customer-owned prefixes without creating thousands of host-specific BGP routes. Which option should the architect select?
- Use routing policy to prefer one BGP path while retaining a valid alternate
- Use dynamic BGP reachability across the hybrid connection
- Advertise suitable summarized CIDR prefixes over BGP
- Prepend the on-premises ASN on the less-preferred BGP advertisement where applicable
Explanation
Correct Answer
C:The approach aggregates adjacent networks into fewer routing announcements; summaries must not accidentally include unreachable networks or overlapping ownership, directly enabling scalable dynamic prefix advertising in this situation.
Incorrect Answers
A:This alternative influences BGP path selection without removing the standby advertisement; simply deleting the backup route would prevent automatic rerouting, so it addresses active-passive hybrid routing rather than the required scalable dynamic prefix advertising.
B:Although this setting withdraws routes learned from peers when routing sessions fail, static next hops cannot infer the same route withdrawal from a BGP session loss; this concerns control-plane-driven hybrid failover, not the specified scalable dynamic prefix advertising.
D:This approach lengthens the AS_PATH attribute seen by peers for route choice; AWS route priorities and local connection details can affect the complete decision, which helps with inbound path preference toward the shorter advertised AS path instead of delivering scalable dynamic prefix advertising.
Question 157
A telemetry application uses unicast but recipients require individualized personalized payloads. What is the best next configuration decision?
- Place cacheable delivery behind CloudFront
- Use Transit Gateway multicast where supported and correctly configure membership
- Register compatible multicast sources and members against the TGW multicast domain
- Keep targeted unicast transport to the distinct destinations
Explanation
Correct Answer
D:With this choice, the selected action sends separate messages when every receiver has different data; multicast replication is valuable only when multiple receivers should get the same content, providing recipient-specific delivery semantics for the network described.
Incorrect Answers
A:This approach serves repeated HTTP objects from edge caches rather than repeatedly fetching the origin; raw IP multicast is not a supported replacement for public web CDN distribution, which helps with efficient one-to-many HTTP content delivery instead of delivering recipient-specific delivery semantics.
B:This alternative replicates multicast group traffic to registered receivers through supported transit multicast domains; ordinary VPC unicast does not automatically replicate to an IP multicast group, so it addresses one-to-many multicast stream delivery rather than the required recipient-specific delivery semantics.
C:Although this setting establishes the designated sender and receiver bindings, receivers must join or be registered under the selected multicast model; this concerns functioning group-delivery distribution, not the specified recipient-specific delivery semantics.
Question 158
A network architect needs to reduce the blast radius of compromised VPN key material during ongoing branch connectivity. Which solution best addresses these network requirements?
- Manage strong VPN pre-shared keys and secure tunnel settings for customer gateways
- Configure compatible IKEv2 on both VPN peers
- Rotate IPsec tunnel credentials under a coordinated, redundant tunnel procedure
- Deploy an appropriate VPN over Direct Connect architecture where supported
Explanation
Correct Answer
C:With this choice, the selected action changes the authentication secret while preserving a managed cutover path; abrupt unsynchronized changes may take down both tunnels at once, providing controlled IPsec key lifecycle management for the network described.
Incorrect Answers
A:The proposed action authenticates the negotiating IPsec peer using agreed credentials; BGP next-hop attributes are not an IPsec peer authentication mechanism, supporting trustworthy site-to-site tunnel establishment but leaving controlled IPsec key lifecycle management unmet.
B:This approach establishes an approved newer IKE negotiation protocol for IPsec; a matching route prefix cannot overcome an IKE version mismatch, which helps with policy-compliant VPN control-plane cryptography instead of delivering controlled IPsec key lifecycle management.
D:Although this setting carries IPsec-protected sessions on top of the dedicated network connectivity, private routing and traffic confidentiality are separate properties; this concerns encryption in addition to private hybrid transport, not the specified controlled IPsec key lifecycle management.
Question 159
A SOC needs full packet payload visibility for a supported EC2 workload to inspect unusual TLS handshakes. Which AWS networking approach meets this constraint?
- Enable the appropriate load balancer access logs
- Run VPC Reachability Analyzer between the selected endpoints
- Use AWS Network Manager network topology and monitoring features
- Use VPC Traffic Mirroring to a compatible collector
Explanation
Correct Answer
D:This configuration copies supported ENI network packets toward inspection or capture targets; flow logs contain metadata and not the packet bytes needed for protocol analysis, so it delivers packet-level traffic inspection under the stated constraints.
Incorrect Answers
A:Although this setting emits request-level records with load-balancer fields for analysis, a network flow log cannot show HTTP URLs or status codes from the application layer; this concerns detailed application ingress request evidence, not the specified packet-level traffic inspection.
B:The proposed action reasons over supported network configuration to explain a path or blocking component; it does not generate live probe packets or test application response times, supporting configuration-based network path diagnosis but leaving packet-level traffic inspection unmet.
C:This approach represents registered global network resources and their relationships; its topology view is not the same as a packet capture, which helps with aggregated WAN and TGW topology awareness instead of delivering packet-level traffic inspection.
Question 160
Traffic from application VPCs must traverse a central stateful firewall VPC attached to TGW before reaching shared services. Which option should the architect select?
- Deploy AWS Network Firewall endpoints and steer subnet routes through them
- Turn on TGW appliance mode on the inspection VPC attachment
- Correct the return route so both sides use the same stateful inspection chain
- Insert the inspection attachment into TGW route tables and return subnet routes
- Deploy Gateway Load Balancer and endpoint service routing
Explanation
Correct Answer
D:With this choice, the selected action makes the central appliance a required hop for both directions of permitted flows; an attached firewall without appropriate transit route steering sees no packets, providing routed inline inspection between spokes for the network described.
Incorrect Answers
A:This alternative inspects stateful traffic according to configured rule groups; endpoint deployment alone does not redirect workload routing, so it addresses managed policy-based network filtering at a central hop rather than the required routed inline inspection between spokes.
B:Although this setting maintains flow-consistent AZ selection for the inspection path, security-group changes do not fix reverse-flow placement within a stateful fleet; this concerns stateful firewall session symmetry across AZs, not the specified routed inline inspection between spokes.
C:The proposed action ensures state tracking sees both directions of the session; policy correctness alone cannot repair asymmetric data-plane forwarding, supporting symmetric routed firewall traversal but leaving routed inline inspection between spokes unmet.
E:This alternative supplies GENEVE-based traffic distribution to supported appliances; a conventional NLB does not implement the same service-insertion endpoint path, so it addresses scaled transparent inspection with third-party devices rather than the required routed inline inspection between spokes.