Karteikarten
Linux 3 Midterm
Karten in diesem Stapel (82)
- 1What must be configured to have normal network connectivitiy?Unique MAC address
Unique IP address
Gateway device configured
ETH device is up
Working hardware - 2Telnet port?23
- 3FTP port?21
- 4HTTP port?80
- 5DNS Port?53
- 6Log file to vie overview of system state?/var/log/messages
- 7Command to show end of system log file continuously?tail -f /var/log/messages
- 8xinetdis an open-source super-server daemon which runs on many Unix-like systems and manages Internet-based connectivity.
- 9DNS requires?IP address of DNS server
/etc/nsswitch.conf file - 10To determine PID of a process the best command is?ps aux | grep
- 11List of mounted file systems... use?mount
- 12Connection between client and server is based on?IP address of host
Port # of service - 13To setup static IP, you use: BOOTPROTO=none ONBOOT=yesTrue
- 14To find the port number of a service, you would use? (Google is down)less /etc/services
(If Google was up you would use netstat or ss.) - 15What configuration steps are required to ensure proper network configuration?interface config
Hostname resolution
Routing - 16The location of Apache config files is given by the directive...ServerRoot
- 17A zone transferTransfer of authority from a master to a slave of the same domain
- 18Named bases virtual hosting identifies a site on the Web by using?Server host name
- 19SMTP header Message envelope contains?Message header
Message body - 20Aliasing is performed on the inbound mail server and rewrites the recipient address.True
- 21Basic email flow based on MxAs...MUA>MTA>MTA>MDA
- 22Dig command to verify mail server based on MX record.dig -t MX example.lab @172.16.30.49
- 23MX record formatexample49.lab IN MX # mail.example.lab.
- 24The first thing a name server will verify is?Check its zone(s) of authority
- 25A zone transfer is?The zone of authority from a master to a slave of the same domain.
- 26Named based virtual hosting is identified with the respective client or server?hostname
- 27Apache server protocol?HTTPD port 80
- 28Virtual hosts in Apache require the following directiveOne virtual host directive for each virtual host
One document root directive for each virtual host
One server name directive for each virtual host - 29to enable hostname resolution using both the "hosts file" and the DNS, you require the following files/etc/hosts
/etc/resolv.conf
/etc/nsswitch.conf - 30SMTP port?25 & 587
- 31POP port?110
- 32Resolver configuration /etc/resolve.confContains:
search ns1.example49.lab
nameserver 172.16.30.49 - 33The following utilities can be used to verify a daemon that is currently listeningps
service
netstat
ss - 34What file stores the ports and associated services?/etc/services
- 35FTP ports20 for data
21 for control - 36Configuration file for SSHD/etc/ssh/ssh_config
- 37private/public key generation with SSHssh-keygen
- 38Testing Apache web server by entering?http://localhost
- 39With named based hosts, multiple Web sites share the same ____ address.IP
- 40HTML tagsstart
ends - 41DNS is a....distributed and hierarchical database.
- 42BIND open source software resolves hostnames to ip addressesmemorize!
- 43DNS lookup utilitydig
- 44DHCP is used to assign IP addresses for each network hostmemorize
- 45File that stores static hostname to ip address/etc/hosts
- 46Server AliasUsed to define multiple names for a virtual host.
- 47DNS slave servers are considered to be ...Authoritative servers
- 48ifup ifdownifup activates nic interface
ifdown deactivates nic interface - 49Computer names are called?hostnames
- 50Firewall chains in the filter table?input
output
forward - 51Remote client connection to DNS server is on port?80
- 52MIMEis an Internet standard that extends the format of email to support: Text in character sets other than ASCII; Non-text ...
It describes the content type of a resource. - 53What records are required in a typical delegation?NS record of child domain
A record f the parent domain name server - 54The resource record to perform forward resolution is?A record
- 55To access a lab partner DNS server, do the following.use dig @[IP]
Edit resolv.conf - 56Convert to PTR record www.happy.org IN A 74.168.0.22 PTR www.happy.org.
Both forward and reverse zone files require periods at the end of all entries!!! - 57A zone transfer is?The zone of authority from a master to a slave of the same domain.
- 58Masquerading is performed on the... mail server and rewrites the ...... address.Outbound and sender
- 59Bind configuration file contains...Location of file that lists root servers
Location of all forward zones
Location of all reverse zones
Zone transfer configuration - 60What two directives must be included within a virtual host block directive ?ServerName, DocumentRoot
- 61DHCP is used to...assign IP addresses automatically for each network host.
- 62Which file lists the order in which name resolution is to be used?/etc/nsswitch.conf
- 63Open source software containing DNS protocols needed to resolve hostnames to IP addresses?BIND
- 64Apache default setting that defines the URL users enter to reach your web page?Server Name
- 65POPPost Office Protocol
- 66The /etc/resolve.conf file can contain how many DNS servers?3
- 67Possible causes of network loss. Hardware levelNetwork cable unplugged
Faulty network card - 68Decentralized Administration Zone of Authority Cuts?Cuts between two adjacent(parent/child) domains so that they can be administered separately
- 69Loss of network Operating System (OS)interface disabled
(ifup or ifdown) - 70Loss of network connectivity VMwareMAC address conflict
Interfaces not bridged to proper network card - 71Loss of network connectivity LinuxWrong network service started
DHCP client not started by network service
Interfaces (nic) renamed by udev
Incorrect interface configuration
Incomplete routing table
Multiple default gateways
Hostname resolution no setup (static/dynamic) - 72Command to list default gatewayip route
- 73File to show preferred name server/etc/resolv.conf
- 74File to set host name/etc/hostname
- 75File to list hostname resolution order/etc/nsswitch.conf
- 76Dig command that performs name resolution using preferred name serverdig www.happy.org
- 77Command to change comment field of user accountusermod -c
- 78Error log file for HTTPD/var/log/httpd/error_log
- 79Forward and reverse zone files are located in? (named.example49.lab, named.16.172)/var/named/
- 80netcat command to listen on port 49999 netcat command for client to access 49999nc -l 49999
nc 49999 - 81Reverse name resolution with dig resolve 172.16.30.200 from server 172.16.30.46dig @ 172.16.30.200 -x 172.16.30.46
- 82—
Informationen
- Beschreibung
- Information Technology Karteikarten am Linux 3 Midterm , erstellt von Brian Nichols am 12/03/2017.
- Erstellt von
- Brian Nichols
- Aufrufe
- 5
- Bewertung