CYBER 2159 Midterm Study Guide

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

What is the correct display filter for showing all TCP traffic running on port 80 on Wireshark?

1 / 81

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

82 Terms

1

What is the correct display filter for showing all TCP traffic running on port 80 on Wireshark?

tcp and tcp.port == 80

New cards
2

What networks are the same as Wi-Fi except for?

Ethernet LANs

New cards
3

Under which menu item in Wireshark can you recover a file for captured FTP data packets?

Statistics -> conversations

New cards
4

True or False: Wireshark is a packet sniffer used to capture and analyze network packets.

True

New cards
5

What is the correct display filter for showing all Web traffic in Wireshark?

http or https

New cards
6

Which Wireshark feature is used to recover a file for captured FTP data packets?

Follow Stream

New cards
7

True or False: In packet-switched networks, the resources needed along a path are reserved for the duration of the communication session.

False

New cards
8

True or False: In packet-switching networks, computing devices are interconnected through communication links and packet switches.

True

New cards
9

What is NOT defined in a network protocol?

the length of messages sent and received among networking hosts

New cards
10

What term refers to taking a packet arriving on one of a host's incoming links and forwarding it to one of the host's outgoing links based on its destination?

packet switches

New cards
11

True or False: A packet is stored at a router until it has fully arrived.

True

New cards
12

What is the correct display filter for showing all traffic except ARP, DNS, and DHCP in Wireshark?

not (arp or dns or dhcp)

New cards
13

What is the correct display filter for showing everything except FTP traffic in Wireshark?

not ftp

New cards
14

What is the correct display filter for showing all HTTP and FTP traffic with the source or destination IP of 192.168.1.33 in Wireshark?

(http or ftp) and ip.addr == 192.168.1.33

New cards
15

What is NOT a correct statement for the Internet?

N/A

New cards
16

What is the Internet?

A computer network that interconnects billions of devices.

New cards
17

What is layered architecture in computer networking?

A hierarchical approach to organizing network protocols.

New cards
18

Which model uses layered architecture?

TCP/IP model.

New cards
19

Which layer in the OSI model interprets the meaning of data exchanged?

Presentation layer.

New cards
20

Which application-layer protocol is on top of UDP?

SNMP.

New cards
21

What is the data unit at the network layer?

IP datagram.

New cards
22

What is the data unit at the transport layer?

Segment.

New cards
23

What is the data unit at the data link layer?

Frame.

New cards
24

What is the data unit at the physical layer?

Raw bits.

New cards
25

Why is the OSI model preferred for studying network security?

Layering provides modularity and easier implementation changes.

New cards
26

Is it true that the more layers, the better in any protocol models?

No.

New cards
27

What is the TCP/IP protocol model designed for?

Modeling data communication between two applications on different hosts.

New cards
28

Which app-layer protocol only uses TCP services at Layer 4?

HTTPS.

New cards
29

Is it true that delivery of messages to their destinations is not guaranteed in TCP?

No.

New cards
30

Is it true that TCP is more efficient than UDP?

No.

New cards
31

What command can be used to display IP address, subnet mask, and default gateway in Windows?

Ipconfig.

New cards
32

What command with which switch can be used to display IP address, subnet mask, default gateway, DNS server, and DHCP server in Windows?

Ipconfig /all.

New cards
33

What command can be used to display the IP address, subnet mask and default gateway in Linux?

ifconfig

New cards
34

What command is used to lookup DNS information in both Windows and Linux?

Nslookup

New cards
35

What command is used to display connection information of a host in Windows and Linux?

Netstat

New cards
36

What protocol is used to determine the Layer 2 MAC address of a host when its Layer 3 IP address is known?

ARP

New cards
37

Which of the following is NOT a URL protocol?

Snmp

New cards
38

What is the solution to browsers' problem of supporting a rapidly growing collection of file types?

When a server returns a page, it also returns some additional information about the page including its MIME type

A browser plug-in extends the browser for supporting new file types

New cards
39

Web servers can use caching and multiple threading to improve performance.

True

New cards
40

A client browser's state is maintained by using.

Cookies of a browser

New cards
41

What command restarts the DHCP lease process in Windows?

ipconfig /renew

New cards
42

Name the four steps, in order, in a successful DHCP process.

-DHCP server discovery

-Receive DHCP server offer

-DHCP request from server offers

-Server DHCP acknowledgement for request confirming parameters

New cards
43

Which of the following statements is TRUE about HTTP request messages?

Accepts header gives the browser a chance to tell the Web server which format it wants for a resource

New cards
44

The following are the HTTP Request Methods in HTTP 1.0 EXCEPT FOR:

PUT

New cards
45

The arp -a command displays:

the current contents of the ARP cache table on your computer

New cards
46

To clear the arp cache, use the following command:

arp -d

New cards
47

Why would an ARP frame have a destination MAC address of 00:00:00:00:00:00?

To indicate the ARP frame was broadcasted to all the hosts on the network.

New cards
48

What technology allows an HTTP client to retrieve individual data items from Web server to update a section of the webpage without having to reload an entire page?

AJAX

New cards
49

"HTTP 1.1 supports pipeline requests" means.

Multiple requests can be sent without waiting for responses

New cards
50

Can a client browser send a 2nd request before receiving the response to the 1st request?

Yes

New cards
51

What is the purpose of TCP's fast-start procedure?

To increase throughput and improve data communication performance

New cards
52

True or False: HTTP runs on port 80 and HTTPS runs on port 443 by default.

True

New cards
53

How does a browser know how to interpret and display a new file format received from a Web server?

By referring to a table of MIME types

New cards
54

How is the HTML content type identified?

By MIME

New cards
55

Which of the following methods is NOT used to improve the performance of Web applications?

Using a different browser

New cards
56

What is a new HTML 5 feature that is NOT available in HTML 4?

Native audio and video support

New cards
57

What command is used to lookup DNS information in both Windows and Linux?

Nslookup

New cards
58

What command clears the DNS cache on a Windows machine?

ipconfig /flushdns

New cards
59

What is another name for a CNAME record?

Alias

New cards
60

What does an A record hold?

IPv4 address

New cards
61

Which of the following is NOT a network application?

Microsoft PowerPoint application

New cards
62

Why is DNS needed?

To translate domain names to IP addresses

New cards
63

What is a DNS zone?

A portion of the DNS namespace managed by a specific organization or administrator

New cards
64

True or False: DNS namespace is hierarchical from the root down with the root named COM.

False

New cards
65

True or False: A DNS server uses UDP port 53 for all its UDP activities.

True

New cards
66

What command is used to request a new IP address from a DHCP server?

ipconfig /renew

New cards
67

How many columns are in the DNS database table?

5

New cards
68

What protocols does DNS use at the transport layer?

Both TCP and UDP

New cards
69

Which of the following transport service primitives is ONLY called at the server side?

LISTEN

New cards
70

Which of the following transport service primitives is ONLY called at the client side?

CONNECT

New cards
71

For an application with a server and several remote clients calling transport service primitives, a client first executes a CONNECT primitive, and then the server executes a LISTEN primitive.

False

New cards
72

If a socket is created with the socket type SOCK_STREAM, then it is a UDP socket which is connectionless.

False

New cards
73

After a socket is created, it should be bound to a local address (HOST, PORT) before it can listen to incoming connection requests.

True

New cards
74

After the listen() method is called by the server program, it is ready to accept connection requests.

True

New cards
75

The backlog argument provided for the listen() method specifies.

the maximum number of queued connections

New cards
76

The return value of the socket method accept() is a pair (conn, address), where conn is a new socket object that can be used to send and receive data on the connection.

True

New cards
77

the Python statement below opens the file to write f = open(file, 'wb').

the file will be opened in binary mode

New cards
78

The buffer size used in the socket recv() method at the server side program should be equal to the length of the data provided to the socket send() method at the client side program.

True

New cards
79

The port numbers used in the socket server program and client program MUST be the same.

True

New cards
80

In Python, to write to an existing file, you must add a parameter to the open() function:

True

New cards
81

With client-server socket programming, the server program uses two sockets: one socket is used to listen for incoming connection requests, the other one performs data transfer with a client program.

True

New cards
82

How an application at layer 5 uses the services at layer 4 in the TCP/IP model?

through a transport address which is a port number

New cards

Explore top notes

note Note
studied byStudied by 34 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 8 people
Updated ... ago
4.0 Stars(1)
note Note
studied byStudied by 6 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 6 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 170 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 7 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 29 people
Updated ... ago
4.0 Stars(1)
note Note
studied byStudied by 10752 people
Updated ... ago
4.8 Stars(24)

Explore top flashcards

flashcards Flashcard206 terms
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard25 terms
studied byStudied by 25 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard109 terms
studied byStudied by 7 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard60 terms
studied byStudied by 55 people
Updated ... ago
4.0 Stars(2)
flashcards Flashcard96 terms
studied byStudied by 15 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard148 terms
studied byStudied by 226 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard84 terms
studied byStudied by 14 people
Updated ... ago
5.0 Stars(3)
flashcards Flashcard35 terms
studied byStudied by 9 people
Updated ... ago
5.0 Stars(2)