Network protocols Flashcards
What does DNS stand for?
Domain Name System
True or False: DHCP is used to assign static IP addresses.
False
Fill in the blank: A _______ is a server that translates domain names into IP addresses.
DNS server
What does DHCP stand for?
Dynamic Host Configuration Protocol
What is the primary purpose of DHCP?
To automatically assign IP addresses to devices on a network.
What command is used to display DNS records on Windows?
nslookup
True or False: ADB stands for Android Debug Bridge.
True
What is the main function of ADB?
To facilitate communication between a computer and an Android device.
What command can be used to restart the DHCP service on a Linux server?
sudo systemctl restart isc-dhcp-server
Multiple Choice: Which of the following is a common DNS troubleshooting tool? A) ping B) ipconfig C) dig D) all of the above
D) all of the above
What is a common symptom of DNS issues?
Inability to resolve domain names to IP addresses.
Fill in the blank: The _______ file contains the DNS records for a domain.
zone
What is the role of a DHCP relay agent?
To forward DHCP requests and responses between clients and servers on different networks.
True or False: ADB can be used to install APK files directly to an Android device.
True
What command would you use to check the current DHCP leases on a Linux server?
cat /var/lib/dhcp/dhcpd.leases
What is the default lease time for DHCP addresses?
Usually 24 hours, but it can vary by configuration.
Multiple Choice: Which of the following is NOT a DNS record type? A) A B) MX C) DHCP D) CNAME
C) DHCP
What command is used to connect to a device using ADB?
adb connect <device_ip></device_ip>
What does TTL stand for in DNS records?
Time to Live
Fill in the blank: A DNS _______ is used to map a domain name to an IP address.
A record
What is the purpose of the ‘ipconfig /flushdns’ command?
To clear the DNS resolver cache on a Windows machine.
True or False: The DHCP server can assign IP addresses outside the defined range.
False
What does the ‘adb devices’ command do?
Lists all connected Android devices.
Multiple Choice: What is the primary function of DNS? A) Network management B) Domain name resolution C) IP address assignment D) File sharing
B) Domain name resolution
What is a common method to diagnose DHCP issues?
Checking the DHCP server logs for errors.