What does the following display filter do in Wireshark?
ip.src == 192.168.1.1
Information Security | CP
Quiz
•
Computers
•
University
•
Medium
Muhammad Abdullah Nasim
Used 4+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
What does the following display filter do in Wireshark?
ip.src == 192.168.1.1
Displays only TCP packets where the SYN flag is set and the source IP is 192.168.1.1
Displays all packets sent from and to 192.168.1.1
Displays packets with the ACK flag set and originating from 192.168.1.1
Filters all TCP packets regardless of their source
2.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
What is the main difference between a capture filter and a display filter in Wireshark?
Capture filters are applied to live traffic, while display filters refine what is shown after capture.
Capture filters can use logical operators, while display filters cannot.
Display filters are permanent, while capture filters are temporary.
Capture filters only work for specific protocols, while display filters work for all protocols.
3.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
In the following Python code, what will be the output?
def mystery(x):
return x * 2 if x % 2 == 0 else x + 1
print(mystery(3))
print(mystery(4))
6 and 8
4 and 5
4 and 8
6 and 5
4.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
What is the purpose of the following line in Python, commonly used in file handling?
with open("data.txt", "r") as file:
content = file.read()
Opens the file and reads its content, automatically closing the file afterward.
Opens the file for writing only.
Opens the file without closing it, ensuring faster execution.
Deletes the file after reading its content.
5.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
What happens if the Caesar cipher is implemented with a key equal to 26?
The plaintext is encrypted into a completely different ciphertext.
The ciphertext is identical to the plaintext.
It causes an error because the key must be between 1 and 25.
It results in a reversed version of the plaintext.
10 questions
FIREWALL
Quiz
•
University
10 questions
Network Security
Quiz
•
University
10 questions
Initial Assessment - CompTIA IT fundamentals
Quiz
•
University
10 questions
Internet & HTTP
Quiz
•
University
10 questions
Exploring Python: Input and Output Essentials
Quiz
•
9th Grade - University
9 questions
HTML Basics
Quiz
•
9th Grade - Professio...
8 questions
Linux File System
Quiz
•
University
10 questions
Intro to Linux Network Management Quiz
Quiz
•
University
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade