Service Implementation PBQs: DNS, DHCP, VLANs, and Firewall Direction
Key Takeaways
- PBQs bundle addressing, name resolution, segmentation, and firewall policy into one scenario - read them in dependency order.
- Firewall rules are stateful and directional: for a client-initiated session the source is the client and the destination is the server.
- DHCP scopes and relay must align with each VLAN's subnet and SVI gateway; a wrong gateway option strands clients in their subnet.
- A default-deny posture with explicit allows enforces least privilege and is easier to audit than any-to-any rules.
- Troubleshoot in order: addressing, DNS, routing, firewall, listening port, then the application itself.
Reading a Combined PBQ in Order
The N10-009 exam includes performance-based questions (PBQs) - drag-and-drop or simulation tasks where you configure or repair a small network. They reward candidates who read in dependency order: addressing, then name resolution, then routing, then firewall policy, then service behavior. Guessing wastes the limited 90-minute clock.
Consider this design:
- VLAN 10 - Employees, 10.10.10.0/24, gateway 10.10.10.1
- VLAN 20 - Servers, 10.10.20.0/24, gateway 10.10.20.1
- VLAN 30 - Guests, 10.10.30.0/24, gateway 10.10.30.1
- VLAN 40 - Management, 10.10.40.0/24, gateway 10.10.40.1
- DNS and DHCP server: 10.10.20.10
- Web application: app.example.local at 10.10.20.50
Required behavior: employees reach the web app by name; guests reach only the internet; management administers servers; every VLAN gets correct DHCP options. Each requirement maps to one specific service or rule.
Mapping Requirements to Configuration
| Requirement | Configuration that satisfies it |
|---|---|
| Employee name lookup | DNS A record app.example.local -> 10.10.20.50 |
| Employee addressing | DHCP scope 10.10.10.0/24, gateway 10.10.10.1, DNS 10.10.20.10 |
| Guest addressing | DHCP scope 10.10.30.0/24, gateway 10.10.30.1, approved DNS |
| Central DHCP reachability | DHCP relay/ip-helper on every VLAN SVI outside VLAN 20 |
| Server management | Firewall allow Management VLAN -> servers on admin ports |
A frequent trap is setting a VLAN's gateway option to the server's IP. The gateway must be the routed SVI for that VLAN (10.10.10.1 for employees), never 10.10.20.10. Another trap: pointing every VLAN's DNS at an external resolver, which can break internal name resolution for app.example.local.
Notice how the design separates concerns. DHCP delivers the plumbing (address, mask, gateway, DNS server) so a client can communicate at all. DNS then turns the application name into the server's address. Routing carries the packet between VLANs through the Layer 3 switch. The firewall decides whether that flow is allowed. Finally the server must actually be listening. Each PBQ usually breaks exactly one of these links, and the artistry is recognizing which symptom maps to which link rather than reconfiguring everything.
For example, a client with a 169.254 address has a DHCP problem and you never even reach DNS; a client that resolves a name but cannot connect has already passed DHCP and DNS, so you move down to routing and firewall.
Firewall Direction Is Stateful
Firewall rules are scoped to source, destination, service, and action - and modern firewalls are stateful, so they track each connection by the side that initiates it and automatically permit the return traffic.
| Source | Destination | Service | Action | Reason |
|---|---|---|---|---|
| Employee VLAN | DNS server | DNS (UDP/TCP 53) | Allow | Name resolution |
| Employee VLAN | Web app | HTTPS (TCP 443) | Allow | Business application |
| Guest VLAN | Internal subnets | Any | Deny | Guest isolation |
| Guest VLAN | Internet | DNS / HTTP / HTTPS | Allow | Guest browsing |
| Management VLAN | Servers | SSH 22 / RDP 3389 / HTTPS | Allow | Administration |
| Any | Any | Any | Deny + log | Default deny |
Direction is the load-bearing detail. A rule that allows Server VLAN -> Employee VLAN on HTTPS does not let an employee open a browser session to the server, because for a client-initiated connection the source is the employee and the destination is the server. Because the firewall is stateful, you only write the rule in the initiating direction; the response is allowed automatically.
Troubleshooting Order, Traps, and a Walkthrough
When a user says "the app is down," follow dependencies instead of guessing:
- Verify the client's IP, mask, gateway, and DNS server are correct.
- Verify the name resolves to the intended address.
- Verify the client can route to the destination subnet.
- Verify a firewall rule allows the client-to-service flow.
- Verify the service is listening on the expected port.
- Verify the application itself is healthy.
| Common PBQ trap | Why it is wrong |
|---|---|
| Broad allow from guest to internal | Violates the segmentation requirement |
| DHCP scope with the wrong gateway | Clients cannot route off their subnet |
| DNS A record still points at the old server | Name resolves but reaches the wrong host |
| Firewall source and destination reversed | The intended clients still cannot initiate |
| Missing DHCP relay on a new VLAN | Clients fail though the server is healthy |
| Temporary any-to-any allow | May restore connectivity but breaks least privilege |
PBQ walkthrough
Facts: employees in VLAN 10 hold 10.10.10.x addresses; their DNS is 10.10.20.10; app.example.local resolves to 10.10.20.50; both ping and HTTPS to 10.10.20.50 fail; the only HTTPS rule is Server VLAN -> Employee VLAN. Best answer: leave DHCP and DNS alone (they return correct values), add an allow rule Employee VLAN -> 10.10.20.50 on TCP 443, keep guest-to-internal denied, and log the default-deny rule. The reversed firewall rule is the key clue - a new client-initiated HTTPS session needs the employee as source and the server as destination.
Employees resolve app.example.local to the correct server IP, but HTTPS fails. The only HTTPS allow rule is from the server VLAN to the employee VLAN. What is the best fix?
A new VLAN cannot obtain leases from a centralized DHCP server. Which two items should be checked?
Which principle best describes the correct firewall posture for the design above?