What this quiz covers
This quiz focuses on Wireshark Basics, giving you a quick way to practice the rules, question types, and explanations that matter most for Cyber Security.
An analyst starts a Wireshark capture using the capture filter tcp port 443. After stopping the capture, the analyst suspects that the workstation also sent DNS queries during the same period and applies the display filter dns, but no packets appear.
Which conclusion is best supported by this result?
udp port 53.Cyber Security Quiz
Practice Wireshark Basics in Cyber Security with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.
This quiz focuses on Wireshark Basics, giving you a quick way to practice the rules, question types, and explanations that matter most for Cyber Security.
Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.
An analyst starts a Wireshark capture using the capture filter tcp port 443. After stopping the capture, the analyst suspects that the workstation also sent DNS queries during the same period and applies the display filter dns, but no packets appear.
Which conclusion is best supported by this result?
udp port 53.tcp port 443, which captures only TCP traffic on port 443 (HTTPS). DNS queries typically travel over UDP port 53 — a completely different protocol and port. Because the capture filter blocked all non-HTTPS traffic from being recorded, applying the dns display filter afterward finds nothing. That's why B is correct: the DNS packets were almost certainly never captured, and changing the display filter cannot retrieve what was never stored.
A is wrong because there's no "precedence rule" where capture filters hide packets until a file is reopened — packets excluded at capture time are permanently gone. C is wrong on two levels: display filters use Wireshark's own syntax (e.g., dns or udp.port == 53), not BPF syntax, and the real problem is absence of data, not a syntax mismatch. D is wrong because Wireshark can absolutely capture multiple protocol types simultaneously — that's a fabricated limitation.
For the exam, remember this rule: capture filters decide what you keep; display filters decide what you see. If the data was never captured, no display filter can save you.Wireshark uses relative TCP sequence numbers for a connection. After the handshake, a server sends one segment with sequence number 1 and TCP payload length 600. The client then sends an acknowledgment with acknowledgment number 601.
What does the client's acknowledgment number indicate?
601 and is still waiting for bytes 1 through 600.600 and expects the next segment to begin at byte 601. (correct answer)601 payload bytes because the acknowledgment field increments from zero, not one.601, not the sequence range of the data.1 and carries 600 bytes of payload. That means the segment occupies bytes 1 through 600 (inclusive). Once the client receives all of those bytes intact, it sets its acknowledgment number to 1+600=601, signaling: "I have everything up through byte 600; send me byte 601 next." That's exactly what B describes, making it correct.
A has the logic completely backwards. An acknowledgment number of 601 confirms receipt up to and including byte 600 — it does not mean the client is missing bytes 1 through 600 and only has byte 601.
C introduces a false arithmetic rule. The acknowledgment number is not counting a total of bytes received from zero; it reflects the next expected byte offset in the stream. The client received 600 bytes, not 601.
D is a category error. Acknowledgment numbers operate at the data-stream layer and reference byte positions, never port numbers. Port 601 has no relevance to this calculation.
As a study habit, remember the phrase: "ACK = last byte received + 1." On exam questions involving sequence and acknowledgment numbers, sketch the byte range the segment covers, then add one — that's always your acknowledgment number.A Wireshark capture contains a TLS connection. The unencrypted ClientHello shows a Server Name Indication value of store.example, followed by encrypted TLS application-data records. The analyst does not possess session keys or a server private key usable for decryption.
What can the analyst most reasonably infer from this capture?
store.example, but the exact HTTP path and response body are not visible. (correct answer)store.example, although the response body remains hidden.store.example) because SNI is unencrypted. However, without session keys or a decryptable private key, everything after the handshake — the encrypted application-data records — is opaque. The analyst sees that data was exchanged, but not what was exchanged. Answer A correctly captures this boundary: the destination hostname is knowable, but the HTTP path, method, and response body are not.
Answer B is wrong because "definitely downloaded the home page" introduces a false certainty. The client could have requested any resource — an API endpoint, an image, a checkout page — not necessarily the home page. You cannot infer the specific resource from SNI alone.
Answer C is wrong because while traffic analysis (using record sizes and timing) can produce probabilistic inferences in research contexts, it does not reconstruct the exact HTTP request. That claim overstates what metadata reveals.
Answer D is wrong and describes the opposite of reality. SNI exposes the hostname in plaintext; it does not encrypt it. The HTTP path is inside the encrypted application data, not "readable."
Study tip: On TLS questions, always mentally separate the handshake (partially visible) from application data (fully encrypted). SNI = visible; HTTP content = hidden.An analyst wants to display both directions of every HTTPS connection involving host 10.0.0.8. The capture also contains HTTPS conversations between other systems.
Which Wireshark display filter most precisely meets the requirement?
ip.src == 10.0.0.8 && tcp.srcport == 443ip.src == 10.0.0.8 && ip.dst == 10.0.0.8 && tcp.port == 443ip.addr == 10.0.0.8 || tcp.port == 443ip.addr == 10.0.0.8 && tcp.port == 443 (correct answer)10.0.0.8, you need packets where that host appears as either source or destination, restricted to port 443 traffic. The field ip.addr matches either direction (source or destination), and tcp.port matches port 443 on either end of the connection. Combining them with && (AND) gives you exactly what's needed: D — ip.addr == 10.0.0.8 && tcp.port == 443 — captures every HTTPS packet touching that host, inbound or outbound, without over-selecting.
A fails immediately because ip.src == 10.0.0.8 only captures outbound packets from that host — you'd miss all the returning HTTPS responses. B is logically broken: requiring ip.src == 10.0.0.8 AND ip.dst == 10.0.0.8 simultaneously means a packet must originate and terminate at the same host, which no normal packet does — this filter returns nothing. C uses OR (||) instead of AND, which is far too broad: it shows every packet from 10.0.0.8 (on any port) plus every port-443 packet in the capture regardless of host, pulling in all those other HTTPS conversations you're trying to exclude.
A reliable study tip: when you need bidirectional traffic for a single host and protocol, always pair ip.addr (not ip.src/ip.dst) with && and the port field — OR logic almost always over-captures on these exam questions.On a client, Wireshark marks the TCP checksum of many outbound packets as incorrect. Applications work normally, and corresponding packets captured on a separate monitoring device show valid TCP checksums.
Which explanation is most consistent with both observations?
A packet captured on a workstation has these fields: Ethernet source 00:11:22:33:44:55, Ethernet destination 00:aa:bb:cc:dd:ee, IPv4 source 10.20.30.40, and IPv4 destination 198.51.100.20. The Ethernet destination belongs to the workstation's default gateway.
What is the most accurate interpretation of the destination fields?
198.51.100.20 identifies the next local Ethernet hop.198.51.100.20, which is an external (non-local) host. The workstation knows it can't deliver that packet directly, so it wraps the IP packet inside an Ethernet frame addressed to the default gateway's MAC address (00:aa:bb:cc:dd:ee). The gateway receives the frame, strips the Layer 2 header, reads the IP destination, and forwards the packet onward. This is exactly what C describes — the frame targets the gateway locally, while the IP packet targets the remote host end-to-end. C is correct.
A has it completely backwards. 198.51.100.20 is the IP destination (the remote application endpoint), not an Ethernet hop identifier. The gateway is the Ethernet destination, not the "application destination."
B is incorrect because Wireshark doesn't fabricate or resolve one destination into another. The two addresses belong to different protocol layers and are both real; no tool is "resolving" one from the other.
D introduces a false threat narrative. Differing Layer 2 and Layer 3 destinations are completely normal and expected for any traffic leaving a local subnet — not evidence of tampering.
Study tip: Always ask yourself, "Which layer am I looking at?" When traffic crosses a router, the MAC destination changes at every hop, but the IP destination stays constant all the way to the final host. That distinction is a frequent exam target.A DNS query from a client to its configured resolver contains transaction ID 0x41a2, the query name portal.example, query type A, and a flag indicating that it is a query rather than a response. Several DNS packets follow.
Which packet is the best candidate for the corresponding DNS response?
0x41a2, the response flag set, and an answer for portal.example. (correct answer)0x41a3, the response flag set, and an answer for portal.example.0x41a2, the query flag set, and the name portal.example.0x41a2, the response flag set, and an answer for mail.example.0x41a2 (matching the query), the response flag is set (confirming it's a reply, not another question), and the answer is for portal.example (the name that was actually queried). This is your correct answer.
Option B fails on the transaction ID — 0x41a3 is off by one. This mismatch is the hallmark of a DNS spoofing attempt, where an attacker floods a resolver with forged responses hoping one lands before the real reply. A properly implemented resolver will silently drop any response whose ID doesn't match the outstanding query.
Option C fails in two ways: it's a client-to-resolver packet with the query flag set, meaning it's another outgoing question, not an incoming answer. Responses always flow from resolver to client.
Option D has the correct ID and response flag, but answers for mail.example instead of portal.example. A mismatched query name — even with a matching transaction ID — indicates either a misconfiguration or a forged packet, and should be discarded.
Study tip: DNS response validation is a favorite exam topic because it directly ties to cache poisoning attacks. Always check all three fields — ID, direction flag, and query name — as a complete unit.A plaintext web application uses TCP port 8088. Wireshark labels its packets as TCP rather than HTTP, but following the TCP stream reveals readable text beginning with GET /status HTTP/1.1.
What is the best next step to make Wireshark dissect the traffic as HTTP?
http port 8088 so the existing packets are decoded again as HTTP.http port 8088 that retroactively changes dissection.
C is wrong because the question explicitly tells you the traffic is plaintext — you can already read the HTTP request in plain text. TLS decryption is only relevant when traffic is encrypted (e.g., HTTPS).
Study tip: On Wireshark questions, watch for the distinction between capture filters (what you collect) and display filters/Decode As (how you interpret it). "Decode As" is always your tool for nonstandard port dissection.A technician enables promiscuous mode on a laptop connected to an ordinary access port on a switched network. Wireshark shows the laptop's own unicast traffic and some broadcast traffic, but it does not show a file transfer between two other wired hosts.
Which action would most directly allow inspection of that file-transfer traffic?
For one captured Ethernet packet, Wireshark reports a frame length of 1514 bytes and an IPv4 Total Length value of 1500 bytes. No VLAN tag is present.
Which explanation best accounts for the 14-byte difference?