CH 18 WEB SERVER QUESTIONS Flashcards

1
Q
The Apache web server has over \_\_\_\_\_\_ percent of the web server market.
Question options:
 A)  90
 B)  25
 C)  5
 D)  50
A

D) 50

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which is NOT a reason for Apache’s popularity
A) Apache is free and open-source software
B) Apache runs exclusively on Linux
C) Apache runs on multiple platforms
D) Apache can be easily extended with modules

A

B) Apache runs exclusively on Linux

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
HTTP is a \_\_\_\_\_\_\_\_\_ protocol.
Question options:
 A)  stateful
 B)  response only
 C)  request only
 D)  request/response
A

D) request/response

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Apache, like all web servers, runs HTTP traffic on port ________ and HTTPS traffic on port _________.

A

80 (http) and 443 (https)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
A single Apache installation can be configured to serve multple web sites by configuring \_\_\_\_\_\_\_\_\_\_\_\_\_\_.
Question options:
 A)  modules
 B)  virtual hosts
 C)  logical hosts
 D)  virtual sites
A

B) virtual hosts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
Apache can be extended using precompiled \_\_\_\_\_\_\_\_\_\_, which provide additional functionality.
Question options:
 A)  kernels
 B)  sequences
 C)  binaries
 D)  modules
A

D) modules

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
HTTP stands for \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_.
 A)  hypertext transmission protocol
 B)  hypertext transfer protocol
 C)  hypertext transmission properties
 D)  holding text transfer protocol
A

B) hypertext transfer protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

When responding to a client request, Apache will respond to a successful HTTP request with a response code of _________, and in the event a page cannot be found the server responds with code _________.

A

SUCCESSFUL RESPONSE CODE 200

PAGE CANNOT BE FOUND CODE 404

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
Despite being called Apache, the programs and commands surrouding Apache are called \_\_\_\_\_\_\_.
 A)  apached
 B)  http
 C)  serverd
 D)  httpd
A

D) httpd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The two main HTTP commands that are sent by web browsers are _________ and _________.

A

GET and POST

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The main difference between HTTP and HTTPS is __________.
A) security
B) complexity
C) potential financial cost for certificate registration
D) All of the above

A

D) All of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
Apache can be configured to start at boot time using the \_\_\_\_\_\_\_\_\_\_ command.
 A)  chkconfig
 B)  startx
 C)  httpd
 D)  su
A

A) chkconfig

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

You can test an Apache installation by going onto the server and going to http://localhost:80
True
False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
Apache (when installed from a package) has its default pages to serve located in the \_\_\_\_\_\_\_\_\_\_\_\_ directory.
 A)  /tmp/www
 B)  /etc/htdocs
 C)  /var/www
 D)  /home/www
A

C) /var/www

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
Apache can be configured with different directories for virtual sites by using the \_\_\_\_\_\_\_\_\_ directive.
 A)  ServerRoot
 B)  ServerAdmin
 C)  DocumentRoot
 D)  ServerName
A

not sure. need to verify the answer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
Apache stores a record of which files have been access by people visiting a website in the \_\_\_\_\_\_\_\_\_\_ file.
 A) access_log
 B) error_log
 C) system_log
 D) content_log
A

A) access_log

17
Q
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ define various characteristics of the data transfer that is requested or the data that is provided in the message body.
 A)  Headers
 B)  MIMEs
 C)  Servers
 D)  Protocols
A

A) Headers