After enabling Layer 7 visibility, you can now observe DNS domains and FQDN in your Hubble logs, like the one below.
Nov 16 13:52:07.279: endor/xwing-9bd8f454d-m46mm:34706 (ID:3817) <> example.com:443 (ID:16777217) Policy denied DROPPED (TCP Flags SYN)
Suggested Answer:
A
Explanation:
A is clearly the intended answer because its filters correspond to the displayed source namespace (endor), destination port (443), and verdict (DROPPED). However, it contains example.con, whereas the observed flow names example.com. Therefore, none of the options would literally return this exact flow if the FQDN filter is matched as written. The corrected command is:
hubble observe --to-fqdn example.com --from-namespace endor --to-port 443 --verdict DROPPED
Option B is malformed in two additional places and filters port 80 rather than 443. Option C selects the wrong FQDN and source namespace. Option D requests forwarded flows, directly contradicting the Policy denied DROPPED verdict; its wildcard also does not repair the verdict mismatch.
Hubble's observe filters are cumulative: a returned flow must satisfy the specified destination FQDN, originating namespace, destination port, and verdict. Layer 7 visibility is enabled with a Cilium network policy containing the relevant L7 rules, which redirects selected traffic through the proxy so that application-level details can be reported.
Official references
Inspecting Network Flows with the Hubble CLI, Layer 7 Protocol Visibility
Study Guide topic: Hubble flow filtering, FQDN visibility, namespaces, ports, and verdicts.