• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/167

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

167 Cards in this Set

  • Front
  • Back

Squid server can be used to setup a proxy server for client machines T or F?

True

A Web server in Apache is limited to 100 aliases. T or F

False

By default, Apache is configured with no default host and no virtual host. T or F

False

You can choose the IP address and ports on which Apache listens. T or F

True

One of the benefits of using the nginx server is that it USES separate program threads to. T or F

False

The nginx configuration has many of the same features as the Apache web server. T or F

True

You must place all HTML markup on one line. T or F

False

A ____ host makes it possible to run multiple domains on one physical machine.




a. virtual


b. physical


c. logical


d. default

a. virtual

After editing Apache configuration files, you must restart the apache2 service with the ____command.




a. yast reboot


b. apache2 reload


c. rcapache reload


d. apache2ctl restart

c. rcapache reload

After you have installed Apache, you need to start the ____ service.




a. primary


b. main


c. apache


d. apache2

d. apache2

After you have started an Apache Web server, you can test it by starting Firefox and entering ____in the address bar.




a. http://loopback


b. http://localhost


c. http://serverhost


d. http://apachetest

b. http://localhost

Port ____ is a wellknownport used by the Web server (HTTP).




a. 20


b. 80


c. 110


d. 1160

b. 80

The Apache software allows for a variety of popular web programming languages through the useof ____.




a. encapsulations


b. modules


c. segments


d. boxes

b. modules

The ____ directive tells Apache which filter (allow or deny) should be run first.




a. ServerName


b. NameVirtualHost


c. Order


d. ServerAlias

c. Order

The ____ file is the main Web page that’s served by Apache




a. home.html


b. start.html


c. main.html


d. index.html

d. index.html

Which default setting for a Web server in Apache defines the URL that users enter to reach yourWeb page?




a. Alias


b. Servername


c. Include

b. Servername

Which markup tags are considered the container holding all your HTML code?




a. title and title


b. h1and h1


c. body and body


d. html and html

d. html and html

With namebasedhosts, multiple Web sites share the same ____ address




a. port


b. machine


c. server


d. IP

d. IP

You can configure an Apache Web server manually by editing configuration files in the ____directory. (Debianbaseddistributions)




a. /etc/apache2/config


b. /etc/apache2/


c. /etc/apache/config


d. /etc/apache/files

b. /etc/apache2/

You can use the ____ directive to define the default file served when a client requests an index of a directory.




b. ServerName


c. Order


d. DirectoryIndex

d. DirectoryIndex

____ is a serversidescripting language, commonly used to create dynamic Web pages.




a. Javascript


b. Perl


c. HTML


d. ActiveX

b. Perl

Apache web server support what two types of virtual hosting?(Select TWO)




IPBased


Publicbased


Domainbased


Namebased

IPBased


Namebased

Select two valid directives in the nginx.conf main configuration file




listen


DocumentRoot


root


DocumentIndex

listen


root



VOCAB 5/8


Module used for serving Web pages over an HTTPS connection. = a. modssl




Directive specifying the location of the error log.=f.ErrorDocument




This global configurations file applies to all virtual hosts. (Debianbased) = e. global settings




Directive used to associate Apache with IP addresses and ports. = d. Listen




The main Apache configuration file. (Red Hatbased =b.apache2.conf




Directives define which user and group ID Apache runs=c. User, Group




Apache web server settings that define the main configuration and apply whenthe server starts. = h. httpd.conf




Directive sets the default folder for the Apache server=g.DocumentRoot

Terms and answers on front

The TCP/IP suite consists of only two protocols: Transmission Control Protocol and InternetProtocol. T or F

True

By default, the ping command sends an Echo Request every second until you press Ctrl+C




T or F

True

In an IP address, the subnet mask identifies the network portion of the address. T or F

True

TCP is a connectionless protocol. T or F

False

Linux will check the entries in the /etc/hosts file before using DNS for name lookups T or F

True

A common utility used to troubleshoot routing is the ____ command.




route


ip


traceroute


route add

traceroute

A(n) ____ is a unique number that identifies a computer or device on a TCP/IP network




a. port number


b. port address


c. IP address


d. tag number

c. IP address

Each octet in an IP address represents a(n) ____ binary number.




4bit


8bit


4byte


8byte

8 bit

IPv6 IP addresses are written using eight 16bit____ numbers.




hexadecimal


decimal


binary


octal

hexadecimal

One method of setting up trusted access is to add the host names of computers to the ____ file onthe remote computer.




/etc/hosts.trusted


/etc/hosts.tr


/etc/hosts.eq


/etc/hosts.allow

answer is NOT.eq

IPv6 IP addresses are delimited by the ____ character




;


:


.


,

:

The format of an IPv4 address is four numbers separated by ____.




a. spaces


b. periods


c. dashes


d. colons

b. periods

Command line tool used to capture raw network traffic.




iwlist


ping


netstat


tcpdump



tcpdump

The most important protocol at the Internet layer is ____.




a. IP


b. ICMP


c. TCP


d. UDP

a. IP

IPv6 addresses have ____ bits.




a. 6


b. 32


c. 128


d. 256

c. 128

Command line tool used to scan a target machine




netstat


nmap


lsof


ss

nmap

What command is used to configure NICs?




a. niconfig


b. ifconfig


c. ping


d. config

b. ifconfig

Which command can be used to configure both IP addressing and default routes?




ifconfig


ipconfig


iwconfig


ip

ifconfig

Which ping command option forces the ping command to send a specific number of packets?




a. -c n


b. -f


c. -q


d. -wn

a. -c n

Which two commands would be required to fully setup Linux host's network interface forInternet traffic from the 192.168.1.0/24 subnet? (Select TWO)




ifconfig eth0 up 192.168.1.67 netmask 255.255.255.0


ifconfig eth0 up 192.168.1.67 255.255.255.0


route add default gw 192.168.1.1


route add default gateway 192.168.1.1

ifconfig eth0 up 192.168.1.67 netmask 255.255.255.0


route add default gw 192.168.1.1




Remember netmask and gw

Which two Linux OS commands may be used to determine the ip address and subnet mask on aninterface? (Select TWO)




ifconfig


internet config


ipconfigip


addr show

ifconfig


ip addr show

VOCAB


A connectionless protocol that uses IP to get packets from one computer toanother. = h. UDP






Operates on port 80=e. HTTP




A protocol used to generate IP control messages and track connectivity. = g. ICMP




Classic command used to send ICMP messages along a path, tracking eachhop. = i. traceroute




Operates on port 23 = c. Telnet




A protocol used to map a fully qualified domain name with an IP address. = a. DNS




Command used to simulate both a server and a client from the command line. = d. nc




Provides realtimeinformation about network performance, combines trace andping. = b.mtr




A protocol that handles the delivery of data as packets. = f. IP



Answers and vocab on front



The Linux kernel is stored in the ____ directory




/


/boot


/root


/krnl

/boot

The Linux kernel source is stored in the ____ directory.




/usr


/boot


/kernel


/usr/src/linux

/usr/src/linux

The ____ option to the ps command displays all processes that do not run on terminals.




-f


x


a


-l

x

To see a list of modules that have been inserted into the Linux kernel, you can use the ____command.




insmod


lsmod


modprobe


listmod

lsmod

To inserted a module, without dependent modules, into the Linux kernel, you can use the ____command.




insmod


lsmod


modprobe


listmod

insmod

To inserted a module easily with dependent modules, into the Linux kernel, you can use the ____command.




insmod


lsmod


modprobe


listmod

modprobe

When compiling a kernel, the ____ command provides a menubasedinterface that prompts theuser for information regarding kernel configuration in a questionbyquestionformat.




make xconfig


make config


make menuconfig


make gconfig

make menuconfig

Which runlevel gives you access to all services, including the GUI?




a. zero


b. one


c. four


d. five

d. five

Which runlevel is typically not used?




a. three


b. one


c. four


d. five

c. four



Which runlevel shuts down Linux and powers off the computer?




a. zero


b. one


c. four

a. zero




remember INIT 0

Which of the following is NOT a utility to help with configuring the Linux kernel




config


oldconfig


menuconfig


gconfig

config

Ext3 is the traditional filesystem used on Linux.


T or F

False

If a device is mounted to a directory that contains files, those files are temporarily unavailable untilthe device is unmounted.




T or F

True

In Linux, you must use only one type of filesystem on a system.




T or F

False

Linux treats all objects, such as devices and directories, as files




T or F

True

Partitions are physical divisions of hard drives. T or F

False

The Linux file system has a hierarchical directory structure. T or F

True

When a device is mounted, it is attached to a certain directory on the directory tree called a(n)mount point.




T or F

True

In Linux, all devices are accessed as if they were files. T or F

True

The second partition on the first SCSI hard drive is /dev/hds2.




T or F

False

A command that formats swap partitions for use by the Linux system.




mkswap


swapon


swapoff


mkfs s

mkswap

File systems can be mounted with the ____ command.




a. mkfs


b. fdisk


c. mount


d. fsck

c. mount

What is the simplest way to create a file in Linux?




a. Use the touch command.


b. Use the new command.


c. Use the create command.


d. Use the open command.

a. Use the touch command.

If the fsck utility finds a misplaced directory or a file with no inode number, it places thesedirectories and files in the ____ directory, which is created on each partition.




a. /corrupt


b. /lost+found


c. /temp


d. /fdsk

b. /lost+found

In Linux, partitions are named according to their ____.




a. location


b. size


c. type


d. mount point

d. mount point

The File Allocation Table (FAT) is a disk file system developed by ____.




a. Red Hat


b. Oracle


c. Apple


d. Microsoft

d. Microsoft

The NFS file system is accessed with the ____ protocol.




a. DFS


b. FAT


c. networkbased


d. Coda

c. networkbased

The ____ device file represents the first primary partition on the second IDE hard disk drive (primaryslave).




/dev/hdc1


/dev/hdb1


/dev/hda1


/dev/hdc2

/dev/hdb1

The ____ filesystem contains most of the operating system files.




boot


data


mn


troot

root

To check a filesystem for errors, you can use the ____ command, which can check filesystems ofmany different types.




fcheck


fscfscheck


fsck

fsck

What happens if you attempt to unmount a file or directory that is open?




a. You receive a prompt to “close all files to continue” message.


b. You get a“device is busy”error.


c.You receive a message indicating the directory will be closed and the unmountwill occur.


d. The unmount occurs unconditionally without any warnings or prompts.

b. You get a“device is busy”error

What is the command syntax that almost all Linux commands follow?




a. command optionsargument


b. command optionsargument


c. command argumentsoption


d. command argumentsoption

a. command optionsargument

What is the device name assigned to the second IDE/ATA hard drive on your system?




/dev/sda


/dev/sdb


/dev/hda


/dev/hdb

/dev/hdb

What is the device name assigned to the second SATA hard drive on your system?




/dev/sda


/dev/sdb


/dev/hda


/dev/hdb

/dev/sdb

Which command is used to list file and subdirectories in the Linux directory structure?




a. fs


b. list


c. ls


d. lfs

c. ls

Which commandlinetool can create and modify the partition table provided by Linux?




a. mkfs


b. fdisk


c. mount


d. fsck

b. fdisk

Which directory doesn’t have a parent directory?


a. root (/)


b. /bin


c. /boot


d. /etc

a. root (/)

You use the ____ command to create a Linux file system on a device




a. mkfs


b. fsck


c. mount


d. fdisk

a. mkfs

Which of the following would correctly mount the second partition on the second SATA device tothe extras directory inside of /mnt/gentoo?




mount /dev/sda2 /mnt/gentoo/extras


mount /dev/sdb2 extras


mount /dev/sda3 /mnt/gentoo/extras


mount /dev/sdb2 /mnt/gentoo/extras

mount /dev/sdb2 /mnt/gentoo/extras

Which of the following file systems does not support journaling?




Reiser


FS


ext2


ext3


XFS

ext2

Within parted, which command shows the partition table?




unit


set


mklabel


print

print

Which commands could you use to format an ext3 file system on the second partition on the firstIDE hard drive on your system? (Select 2)




mke3fs /dev/hda2


mkfs -text3 /dev/hda2


mkfs.ext3 /dev/hda2


mkfs.ext2 /dev/sda1

mke3fs /dev/hda2


mkfs -text3 /dev/hda2

Which utilities would you use to define new partitions on a hard drive? (Select 2)




partdef


parted


mkfs


fdisk

parted


fdisk

VOCAB


Crossplatformspecification standard primarily for DVDs

D. UDF

Crossplatformfilesystem standard published by the International Organization forStandardization (ISO) for optical media

B.ISO9660

MemoryBasedlinux filesystem

F. /proc

Developed by Microsoft, often requires additional software for readwriteaccess

C. ntfs

One of the original Linux filesystems. Deprecated.

A. btrfs

Newer, highperformancefilesystem that supports large file and filesystem sizes

E. ext2

Directory that stores device files.

D. /dev

File on the hard disk representing a device on a Linux system

E. device file

Command used to create modify filesystem parameters.

C. tune2fs

An interactive utility that can be used to modify metadata

A. debugfs

File that contains a list of devices that are currently used on the system and theirmajor numbers.

B./proc/devices

Modifies a filesystem label

F. e2label

Used to show any SMART information on devices that have SMART capability

G. smartctl

Samba is an opensourcetool developed under the GNU General Public License. T or F

True

With NFS, you can mount shared file systems on remote machines T or F

True

When connecting to the vsftpd daemon using an FTP client utility as the user “anonymous”, you willbe placed in the root user’s home directory T or F

False

To access the Samba server from a Windows machine, you must have a Samba user account thatmatches a regular Linux user account.




T or F

True

Apache is not the world’s most common Web server. T or F

False

The use of NFS is less common than the use of FTP to transfer files on public networks. T or F

True

SMB is typically used in Linux environments. T or F

False

The Very Secure FTP daemon is a standalonedaemon. T or F

True

Web browsers rarely have a builtinFTP client. T or F

False

The passwd command be used to let NIS clients change their NIS password T or F

False

____ provides a means of sharing files on a Microsoft server.




a. RPC


b. DHCP


c. SMB


d. TCP

c. SMB

____ is the Linux OS term for making files appear as though they are on a local machine instead ofon a remote machine.


a. Mount


b. Mirror


c. Map


d. Merge

a. Mount

Windows clients access shares through the ____.


a. WINS service


b. $C directory


c. Network window


d. active directory



d. active directory

Which share definition parameter in the Samba configuration file prevents users of a service frommodifying files in the service’s directory?




a. read only


b. valid users


c. browseable


d. inherit acls

a. read only

Which section of the Samba configuration file is mandatory?




a. [printers]


b. [shares]


c. [homes]


d. [global]



d. [global]

The most common LAN protocol used today is ____.




UDP/IP


IPX/SPX


TCP/IP


DLC

TCP/IP

Where is the Samba password file, smbpasswd, stored?




a. In the [PWD] section of the configuration file.


b. In the /usr/share/ file.


c. In the /etc/xinetd.d/samba file.


d. In the /etc/samba directory





d. In the /etc/samba directory.

What is the default password backend for older versions of Samba?




a. sambapw


b. smbpasswd


c. smbpw


d. sampaswd

b. smbpasswd

What does the smbclient Lwindows01 command do?




a. It locks the server named windows01 to prevent further modifications.


b. It loads the windows01 host into memory.


c. It lists available shares on the windows01 host.


d. It mounts the windows01 server as a local host

c. It lists available shares on the windows01 host.

The preferred passdb backend introduced in Samba 3.4.0 is ____.




a. passsmb


b. tdbsam


c. passwd


d. smbpasswd

b. tdbsam

The ____ ftp utility command uploads the files from the current directory on the local computer tothe current directory on the remote computer, and allows the use of wildcard metacharacters tospecify filenames




upload filename


mput filename


put filename

mput filename

Samba uses the ____ configuration file to provide services.




a. /etc/smb/smb.conf


b. /etc/xinetd.d/config


c. /etc/samba/smb.conf


d. /etc/xinetd.d/smb.conf

answer is NOT a. /etc/smb/smb.conf

Samba handles authentication and authorization of users in both Linux and Windows by usingpasswords and ____.




a. directories


b. shares


c. trusts


d. domains

d. domains

If you want to share information from a Linux machine to a Windows machine, you use ____.




a. Samba


b. RPC


c. NIS


d. DHCP

a. Samba

Computer names are called ____.




host IDs


network names


host names

host names

A standard Samba configuration file is divided into three sections enclosed by ____.




a. brackets


b. parentheses


c. percent signs


d. braces

a. brackets

Samba configuration global setting that defines the directory where roamingprofiles are stored

c.logon path

Samba configuration global setting that is used to include one configuration fileinside another.

a. include

Samba configuration global setting that defines how printer status information isinterpreted

d. printing

Samba configuration global setting that specifies whether userdefinedsharescan be accessed by unauthenticated users.

e.usershareallowguests

Samba configuration global setting that specifies what the Samba serverdaemon does with user login requests that don’t match a valid UNIX user insome way.

b.map toguest

BIND provides DNS services via the named daemon by default opperating on both UDP and TCPports 53. T or F

True

The A (address) RR is the most common resource record. T or F

True

The goal of DNS is to centralize administration T or F

False

Centrally controlled ____ DNS servers are known as root DNS servers.




a. private


b. public


c. remote


d. local

answer is NOT private

DNS is a distributed and ____ database that allows controlling DNS management locally.




a. authoritative


b. linear


c. hierarchical


d. submissive

c. hierarchical

The default timetolive(TTL) value is typically one ____.




a. minute


b. hour


c. day


d. 7 days

d. 7 days

Each level of the DNS hierarchy is separated by ____ in the domain name




a. forward slashes


b. dots


c. hyphens


d. semicolons

b. dots

The zone file ____ entry specifies how often slave name servers check the serial number to seewhether the zone file has changed




a. refresh rate


b. negative TTL


c. timetolive(TTL)


d. expiration entry

a. refresh rate

To start the named daemon (BIND), you use the ____ command




a. systemctl start BINDname


b. rccheck start


c. yast start


d. bind start

answer is NOT bind start

What topleveldomain has no real governing body controlling how it is used?




a. .gov


b. .com


c. .org


d. .net

d. .net

What topleveldomain is used for the United States?




a. .us


b. .gov


c. .com


d. .usa

a. .us

What topleveldomain would the FBI typically use?




a. .net


b. .gov


c. .com


d. .org

b. .gov



Which Bind utility command checks the status of the named daemon?




a. rcstatus


b. rccheck daemon


c. rcnamed status


d. rccheck status

c. rcnamed status

Which resource record defines the name server in charge of the domain?




a. MX RR


b. NS RR


c. A RR


d. PTR RR

b. NS RR

In zone records, this directive is a list of current root name servers.




master


slave


hint


stub

hint

Within the forwarder declaration /etc/named.conf file, what symbol represents a commentedline?




a. semi colon (;)


b. question mark (?)


c. pound sign (#)


d. dollar sign ($)

c. pound sign (#)

____ is opensourcesoftware containing the DNS protocols needed to resolve hostnames to IPaddresses.




a. SOA


b. BIND


c. DHCP


d. PHP

b. BIND

In zone records, this directive indicates this is the zone’s primary name server




slave


master


stub


delegation

master

In the following output from a domain called example.com, what address will be returned from an nslookup of www.example.com?




$ cat /var/named/example.com.zone;;BIND data file for example.com;;Zone Database Directives;$TTL 604800 ; TTL is 7 days




IN SOA serv1.example.com. hostmaster.example.com. (0 ; serial2H ; refresh30M ; retry2W ; expire7D ; minimum);@ IN NS serv1.example.com.serv1 IN A 192.168.64.110;@ IN NS serv2.example.com.serv2 IN A 192.168.64.111;@ IN MX 0 maila.example.com.maila IN A 192.168.64.112;@ IN MX 5 mailb.example.com.mailb IN A 192.168.64.113;LPIC2 IN A 192.168.64.120www IN CNAME LPIC2




192.168.64.110


192.168.64.111


192.168.64.113


192.168.64.120

192.168.64.120 - remember LPIC2 for this one

In the following output from a domain called example.com, what address is preferred for email?


$ cat /var/named/example.com.zone;;BIND data file for example.com;;Zone Database Directives;$TTL 604800 ; TTL is 7 days$ORIGIN example.com.;;Zone Database Resource Records;@ IN SOA serv1.example.com. hostmaster.example.com. (0 ; serial2H ; refresh30M ; retry2W ; expire7D ; minimum);@ IN NS serv1.example.com.


@ IN NS serv2.example.com.serv2 IN A 192.168.64.111;@ IN MX 0 maila.example.com.maila IN A 192.168.64.112;@ IN MX 5 mailb.example.com.mailb IN A 192.168.64.113;LPIC2 IN A 192.168.64.120www IN CNAME LPIC2




192.168.64.110


192.168.64.111


192.168.64.112


192.168.64.113

192.168.64.112 - remember maila for this one

A DNS resolution server that handles requests for ISPs which typically queryexternal name servers like the toplevelDNS servers.

D.recursive

A portion of the Domain Name Space that is administered by one or more DNSservers.

C. zone

A DNS name resolution request whereby an IP address is resolved to a FQDN

E.reverselookup

A server that contains the IP addresses of primary or secondary servers for thepurpose of storing lookups locally

A. caching

A DNS name resolution request whereby a FQDN is resolved to an IP address

B.forwardlookup

An authoritative name server that stores the primary copies of zone records

e.M aster nameserver

Enables you to create an alias for a host

h. CNAME RR

A resource record containing basic information about a zone

i.Start ofAuthority(SOA)

Servers that enable you to forward unresolved queries to an offsite DNS serverand then cache the results on your local DNS server.

a. Forwarder

Identifies mail servers (mail exchangers) for a zone.

d. MX RR

Maintains a copy of the master zone file that’s used as a backup

f.Slave nameserver

Used to resolve a hostname to an IPv4 address for locating a resource

c. A RR

Control the Internet’s topleveldomains (TLDs).

g.Root DNSservers

Used to resolve an IPv4 address to its hostname

b. PTR RR