Deck 10: Apache Web Server

Full screen (f)
exit full mode
Question
Apache version 2.2 is included with openSUSE and is installed by default.
Use Space or
up arrow
down arrow
to flip the card.
Question
You can choose the network interface and ports on which Apache listens.
Question
A Web server in Apache is limited to 100 aliases.
Question
By default, Apache is configured with no default host and no virtual host.
Question
You must place all HTML markup on one line.
Question
The Apache software is mostly ____, meaning it's composed of separate parts that handle different functions.

A) boxed
B) modular
C) encapsulated
D) segmented
Question
____ is a server-side scripting language, commonly used to create dynamic Web pages.

A) HTML
B) ActiveX
C) PHP
D) Javascript
Question
After you have installed Apache, you need to start the ____ service.

A) primary
B) main
C) apache
D) apache2
Question
____ processes refer to child processes that have spawned while the server is running.

A) Forked
B) Run away
C) Orphaned
D) Shattered
Question
What rcapache2 command option checks to see whether the Apache configuration has been changed?

A) status
B) probe
C) server-status
D) help
Question
After you have started an Apache Web server, you can test it by starting Firefox and entering ____ in the address bar.

A) http://localhost
B) http://serverhost
C) http://loopback
D) http://apachetest
Question
____ is a YaST module for configuring Apache.

A) HTTP-Server
B) Apache-Server
C) Web-Server
D) Internet-Server
Question
Port ____ is a well-known port used by the Web server (HTTP).

A) 20
B) 80
C) 110
D) 1160
Question
An Apache Web server's ____ host is the first declared virtual host in the configuration file.

A) default
B) local
C) physical
D) logical
Question
A ____ host makes it possible to run multiple domains on one physical machine.

A) default
B) logical
C) physical
D) virtual
Question
Which default setting for a Web server in Apache defines the URL that users enter to reach your Web page?

A) Server Name
B) Include
C) Alias
D) DocumentRoot
Question
You can configure an Apache Web server manually by editing configuration files in the ____ directory.

A) /etc/apache2/config
B) /etc/apache2/
C) /etc/apache/files
D) /etc/apache/config
Question
After editing Apache configuration files, you must restart the apache2 service with the ____ command.

A) apache2 --reload
B) yast -reboot
C) rcapache reload
D) rcapache2 reload
Question
With name-based hosts, multiple Web sites share the same ____ address.

A) server
B) port
C) IP
D) machine
Question
The ____ directive tells Apache which filter (allow or deny) should be run first.

A) ServerName
B) NameVirtualHost
C) ServerAlias
D) Order
Question
You can use the ____ directive to define multiple names for a virtual host.

A) ServerName
B) NameVirtualHost
C) ServerAlias
D) Order
Question
A virtual host configuration file must have a ____ extension.

A) .virt
B) .conf
C) .host
D) .vhc
Question
The ____ file is the main Web page that's served by Apache.

A) home.html
B) start.html
C) index.html
D) main.html
Question
In markup language, the ____ indicates the ending tag.

A) forward slash (/)
B) backward slash (\)
C) pipe (|)
D) semicolon (;)
Question
Which markup tags are considered the container holding all your HTML code?

A) <html> and </html>
B) <body> and </body>
C) <title> and </title>
D) <h1> and </h1>
Question
To create a Web page in openSUSE Linux, you must use a ____ editor.

A) line
B) Web
C) text
D) GUI
Question
A(n) ____________________ is a network computer with the primary role of serving Web pages to clients on request.
Question
____________________ are instructions that tell Apache how to run.
Question
A(n) ____________________ is an interface for connecting a hardware device, such as a disk drive or printer, or in networking, it's a data connection established for communication between hosts.
Question
A(n) ____________________ is an address to a resource on the Internet and it ends with a forward slash (/).
Question
____________________ contains references or links to access other files or text.
Question
Match each statement with an item

-Contains instructions for serving Web pages over an HTTPS connection.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Question
Match each statement with an item

-Contains error response messages that can be modified for all virtual hosts.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Question
Match each statement with an item

-This global configurations file applies to all virtual hosts.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Question
Match each statement with an item

-Contains configuration files that are created automatically during startup when the /usr/sbin/rcapache2 start command is issued.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Question
Match each statement with an item

-Contains general configuration options for controlling Apache's performance.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Question
Match each statement with an item

-Used to associate Apache with IP addresses and ports.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Question
Match each statement with an item

-The main Apache configuration file.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Question
Match each statement with an item

-Defines the character sets for each language.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Question
Match each statement with an item

-Defines which user and group ID Apache runs.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Question
Differentiate between a server and a Web server.
Question
How do you start the apache2 service at the command line?
Question
Explain the difference between the Apache rcapache2 command restart and reload options.
Question
Where is the alias for localhost initially stored and to what address does it resolve?
Question
Describe how to configure an Apache Web server.
Question
Define the Document Root default setting for a Web server in Apache.
Question
Describe the default include directive setting for a Web server in Apache.
Question
Identify the Apache configuration file syntax and explain how to verify the syntax.
Question
How do you create name-based virtual hosts?
Question
Describe the ServerName directive and explain how Apache uses it.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 10: Apache Web Server
1
Apache version 2.2 is included with openSUSE and is installed by default.
False
2
You can choose the network interface and ports on which Apache listens.
True
3
A Web server in Apache is limited to 100 aliases.
False
4
By default, Apache is configured with no default host and no virtual host.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
You must place all HTML markup on one line.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
The Apache software is mostly ____, meaning it's composed of separate parts that handle different functions.

A) boxed
B) modular
C) encapsulated
D) segmented
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
____ is a server-side scripting language, commonly used to create dynamic Web pages.

A) HTML
B) ActiveX
C) PHP
D) Javascript
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
After you have installed Apache, you need to start the ____ service.

A) primary
B) main
C) apache
D) apache2
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
____ processes refer to child processes that have spawned while the server is running.

A) Forked
B) Run away
C) Orphaned
D) Shattered
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
What rcapache2 command option checks to see whether the Apache configuration has been changed?

A) status
B) probe
C) server-status
D) help
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
After you have started an Apache Web server, you can test it by starting Firefox and entering ____ in the address bar.

A) http://localhost
B) http://serverhost
C) http://loopback
D) http://apachetest
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
____ is a YaST module for configuring Apache.

A) HTTP-Server
B) Apache-Server
C) Web-Server
D) Internet-Server
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
Port ____ is a well-known port used by the Web server (HTTP).

A) 20
B) 80
C) 110
D) 1160
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
An Apache Web server's ____ host is the first declared virtual host in the configuration file.

A) default
B) local
C) physical
D) logical
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
A ____ host makes it possible to run multiple domains on one physical machine.

A) default
B) logical
C) physical
D) virtual
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
Which default setting for a Web server in Apache defines the URL that users enter to reach your Web page?

A) Server Name
B) Include
C) Alias
D) DocumentRoot
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
You can configure an Apache Web server manually by editing configuration files in the ____ directory.

A) /etc/apache2/config
B) /etc/apache2/
C) /etc/apache/files
D) /etc/apache/config
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
After editing Apache configuration files, you must restart the apache2 service with the ____ command.

A) apache2 --reload
B) yast -reboot
C) rcapache reload
D) rcapache2 reload
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
With name-based hosts, multiple Web sites share the same ____ address.

A) server
B) port
C) IP
D) machine
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
The ____ directive tells Apache which filter (allow or deny) should be run first.

A) ServerName
B) NameVirtualHost
C) ServerAlias
D) Order
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
You can use the ____ directive to define multiple names for a virtual host.

A) ServerName
B) NameVirtualHost
C) ServerAlias
D) Order
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
A virtual host configuration file must have a ____ extension.

A) .virt
B) .conf
C) .host
D) .vhc
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
The ____ file is the main Web page that's served by Apache.

A) home.html
B) start.html
C) index.html
D) main.html
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
In markup language, the ____ indicates the ending tag.

A) forward slash (/)
B) backward slash (\)
C) pipe (|)
D) semicolon (;)
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
Which markup tags are considered the container holding all your HTML code?

A) <html> and </html>
B) <body> and </body>
C) <title> and </title>
D) <h1> and </h1>
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
To create a Web page in openSUSE Linux, you must use a ____ editor.

A) line
B) Web
C) text
D) GUI
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
A(n) ____________________ is a network computer with the primary role of serving Web pages to clients on request.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
____________________ are instructions that tell Apache how to run.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
A(n) ____________________ is an interface for connecting a hardware device, such as a disk drive or printer, or in networking, it's a data connection established for communication between hosts.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
A(n) ____________________ is an address to a resource on the Internet and it ends with a forward slash (/).
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
____________________ contains references or links to access other files or text.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
Match each statement with an item

-Contains instructions for serving Web pages over an HTTPS connection.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
Match each statement with an item

-Contains error response messages that can be modified for all virtual hosts.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
Match each statement with an item

-This global configurations file applies to all virtual hosts.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
Match each statement with an item

-Contains configuration files that are created automatically during startup when the /usr/sbin/rcapache2 start command is issued.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
Match each statement with an item

-Contains general configuration options for controlling Apache's performance.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
Match each statement with an item

-Used to associate Apache with IP addresses and ports.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
Match each statement with an item

-The main Apache configuration file.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
Match each statement with an item

-Defines the character sets for each language.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
Match each statement with an item

-Defines which user and group ID Apache runs.

A) charset.conv
B) default-server.conf
C) errors.conf
D) uid.conf
E) httpd.conf
F) listen.conf
G) server-tuning.conf
H) ssl-global.conf
I) sysconfig.d/
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
Differentiate between a server and a Web server.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
How do you start the apache2 service at the command line?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
Explain the difference between the Apache rcapache2 command restart and reload options.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
Where is the alias for localhost initially stored and to what address does it resolve?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
Describe how to configure an Apache Web server.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
Define the Document Root default setting for a Web server in Apache.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
Describe the default include directive setting for a Web server in Apache.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
Identify the Apache configuration file syntax and explain how to verify the syntax.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
How do you create name-based virtual hosts?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
Describe the ServerName directive and explain how Apache uses it.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 50 flashcards in this deck.