3X0-202 Dumps
3X0-202 Braindumps
3X0-202 Real Questions
3X0-202 Practice Test
3X0-202 Actual Questions
Sair
3X0-202
Apache Webserver
https://killexams.com/pass4sure/exam-detail/3X0-202
QUESTION: 77
The following is an example of what type of CGI script?
#1/bin/bash
#Hello, World! Script echoContent-type: text/html echo
echo'
Hello, World!
echo'
Hello, World!'
A. PHP script
B. HTML scipt
C. Shell script
D. JavaScript
E. Perl script
Answer: C
QUESTION: 78
Joni, a system administrator, would like to test a Web server to see how it will withstand a
load of 100 simultaneous hits. Which command would she most likely use?
A. ab -<100 http://127.0.0.1:80/htdocs
B. ab -L100 http://127.0.0.1:80/htdocs
C. ab 100 http://127.0.0.1:80/htdocs
D. ab http://127.0.0.1:80/htdocs 100
E. ab -n100 http://127.0.0.1:80/htdocs
Answer: E
QUESTION: 79
Justin has entered the following lines into httpd.conf, but he is not sure what exactly these
new lines will do. Which of the following will be caused by the lines Justin entered?
(Choose two)
ExpiresActive on
ExpiresByType text/html M604800
ExpiresByType image/jpg A2592000
30
A. JPG images will expire after a month in the client's cache.
B. JPG images will expire after a week of non-use.
C. JPG images will expire a month from the time they were changed.
D. HTML documents will remain active for a week from the time they were changed.
E. HTML documents will remain active for a month from the time they were changed.
F. HTML documents will remain active for a week in the client's cache.
Answer: A, B
QUESTION: 80
Which of the following will occur if the StartServer Apache directive is set to five?
A. Five instances of mod_quickstart.o will be started.
B. Five child processes will be started for every request.
C. Five child processes will be started when Apache starts.
D. Five virtual hosts will be started for every request.
Answer: C
QUESTION: 81
Which of the following is NOT an option that is supported by the Linux apachectl script?
A. start
B. restart
C. stop
D. graceful
E. kill
Answer: E
QUESTION: 82
An administrator wishes to install a new Apache module without recompiling Apache. He
wants the modules automatically placed in the proper locations and the appropriate
directive added in the httpd.conf file. Which of the following utilities will allow the
31
administrator to accomplish this task?
A. apmodprobe
B. apxs
C. apachectl
D. apconfig
E. apbuild
Answer: B
QUESTION: 83
Using a name-based virtual host, how does a client make a request to the desired host?
A. The client listens for a particular IP address that is set in the httpd.conf file.
B. The client requests are compared to the server's /etc/hosts file.
C. The client browser provides the host header, which the server matches against the list
of virtual hosts.
D. The client browser provides a virtual script that includes the desired port number.
Answer: C
QUESTION: 84
Eddy is maintaining a large Apache server used for holding and transferring files via the
Web. He has accumulated many archive files with the tar.gz extension and would like to
prevent them from being shown when directories are listed. Which line could he add to
either httpd.conf or .htaccess to accomplish this?
A. IndexHide "tar.gz
B. IndexHide "-tar.gz"
C. IndexIgnore *.tar.gz
D. IndexIgnore!.tar.gz
E. IndexList no .tar.gz
F. IndexList !tar.gz off
Answer: C
32
QUESTION: 85
Which of the following modules MUST be compiled into the Apache server?
A. http_core.c
B. apache_so.c
C. charset_so.c
D. tcpip_core.c
Answer: A
QUESTION: 86
A system administrator has entered the directive below into httpd.conf. Which of the
following will she have to type into the browser to get the aliased page? Assume the file
access permissions are set correctly. Alias /html/ /user/local/my_dir/my_html/
A. http://localhost/
B. http://localhost/html/
C. http://localhost/usr/local/html
D. http://localhost/my_dir/html
Answer: B
QUESTION: 87
Apache servers a document according to certain characteristics provided by the
requesting browser. These characteristics of the document are called the document's
dimensions. What dimension is used when Apache serves a request from a browser that
has a preference for gzip compressed document?
A. type
B. encoding
C. compression
D. format
33
Answer: B
QUESTION: 88
You are the system administrator of an Apache server that houses the Web site
linuxsite.org. This site allows users with normal accounts to have home pages, and it
houses several other mission critical Web sites. A user, Joe, has a home page that requires
a change in one of the Apache configuration directives. Joe wants to allow or deny access
to his home page based on a username/password combination. Which of the following is
the best way to implement this change?
A. Allow Joe to configure the appropriate .htaccess file.
B. Install the mod_runtime_auth module and allow Joe to make the appropriate changes
to httpd.conf.
C. Make the appropriate changes to httpd.conf file and restart httpd.
D. Make the appropriate changes to the global .htaccess file and restart httpd.
Answer: A
QUESTION: 89
Which of the following represents a security concern of programming CGI scripts using
the C programming language?
A. C programs must run with setuid root.
B. If the program receives more data then the amount of memory it has allocated, a buffer
overflow can cause the program to exit to a shell on the server.
C. Many early C compilers lack the ability to dynamically alter file permissions, which
result in many C programs running with root permissions.
D. CGI scripts written in C compile at runtime on the client system, which makes the
client vulnerable.
E. If the server and client do not have identical compiler versions; the lesser compiler is
used, which may known exploits.
Answer: B
QUESTION: 90
Jan wants her Apache server to be able to handle multiple requests over a single TCP
34
connection. Which of the following would allow her to do this?
A. Expirations
B. BrowserMatch
C. KeepAlive
D. PersistentConnect
E. ChunkEncode
Answer: C
35
6$03/( 48(67,216
7KHVH TXHVWLRQV DUH IRU GHPR SXUSRVH RQO\ )XOO YHUVLRQ LV
XS WR GDWH DQG FRQWDLQV DFWXDO TXHVWLRQV DQG DQVZHUV
.LOOH[DPV FRP LV DQ RQOLQH SODWIRUP WKDW RIIHUV D ZLGH UDQJH RI VHUYLFHV UHODWHG WR FHUWLILFDWLRQ
H[DP SUHSDUDWLRQ 7KH SODWIRUP SURYLGHV DFWXDO TXHVWLRQV H[DP GXPSV DQG SUDFWLFH WHVWV WR
KHOS LQGLYLGXDOV SUHSDUH IRU YDULRXV FHUWLILFDWLRQ H[DPV ZLWK FRQILGHQFH +HUH DUH VRPH NH\
IHDWXUHV DQG VHUYLFHV RIIHUHG E\ .LOOH[DPV FRP
$FWXDO ([DP 4XHVWLRQV .LOOH[DPV FRP SURYLGHV DFWXDO H[DP TXHVWLRQV WKDW DUH H[SHULHQFHG
LQ WHVW FHQWHUV 7KHVH TXHVWLRQV DUH XSGDWHG UHJXODUO\ WR HQVXUH WKH\ DUH XS WR GDWH DQG
UHOHYDQW WR WKH ODWHVW H[DP V\OODEXV %\ VWXG\LQJ WKHVH DFWXDO TXHVWLRQV FDQGLGDWHV FDQ
IDPLOLDUL]H WKHPVHOYHV ZLWK WKH FRQWHQW DQG IRUPDW RI WKH UHDO H[DP
([DP 'XPSV .LOOH[DPV FRP RIIHUV H[DP GXPSV LQ 3') IRUPDW 7KHVH GXPSV FRQWDLQ D
FRPSUHKHQVLYH FROOHFWLRQ RI TXHVWLRQV DQG DQVZHUV WKDW FRYHU WKH H[DP WRSLFV %\ XVLQJ WKHVH
GXPSV FDQGLGDWHV FDQ HQKDQFH WKHLU NQRZOHGJH DQG LPSURYH WKHLU FKDQFHV RI VXFFHVV LQ WKH
FHUWLILFDWLRQ H[DP
3UDFWLFH 7HVWV .LOOH[DPV FRP SURYLGHV SUDFWLFH WHVWV WKURXJK WKHLU GHVNWRS 9&( H[DP
VLPXODWRU DQG RQOLQH WHVW HQJLQH 7KHVH SUDFWLFH WHVWV VLPXODWH WKH UHDO H[DP HQYLURQPHQW DQG
KHOS FDQGLGDWHV DVVHVV WKHLU UHDGLQHVV IRU WKH DFWXDO H[DP 7KH SUDFWLFH WHVWV FRYHU D ZLGH
UDQJH RI TXHVWLRQV DQG HQDEOH FDQGLGDWHV WR LGHQWLI\ WKHLU VWUHQJWKV DQG ZHDNQHVVHV
*XDUDQWHHG 6XFFHVV .LOOH[DPV FRP RIIHUV D VXFFHVV JXDUDQWHH ZLWK WKHLU H[DP GXPSV 7KH\
FODLP WKDW E\ XVLQJ WKHLU PDWHULDOV FDQGLGDWHV ZLOO SDVV WKHLU H[DPV RQ WKH ILUVW DWWHPSW RU WKH\
ZLOO UHIXQG WKH SXUFKDVH SULFH 7KLV JXDUDQWHH SURYLGHV DVVXUDQFH DQG FRQILGHQFH WR LQGLYLGXDOV
SUHSDULQJ IRU FHUWLILFDWLRQ H[DPV
8SGDWHG &RQWHQW .LOOH[DPV FRP UHJXODUO\ XSGDWHV LWV TXHVWLRQ EDQN DQG H[DP GXPSV WR
HQVXUH WKDW WKH\ DUH FXUUHQW DQG UHIOHFW WKH ODWHVW FKDQJHV LQ WKH H[DP V\OODEXV 7KLV KHOSV
FDQGLGDWHV VWD\ XS WR GDWH ZLWK WKH H[DP FRQWHQW DQG LQFUHDVHV WKHLU FKDQFHV RI VXFFHVV
7HFKQLFDO 6XSSRUW .LOOH[DPV FRP SURYLGHV IUHH [ WHFKQLFDO VXSSRUW WR DVVLVW FDQGLGDWHV
ZLWK DQ\ TXHULHV RU LVVXHV WKH\ PD\ HQFRXQWHU ZKLOH XVLQJ WKHLU VHUYLFHV 7KHLU FHUWLILHG H[SHUWV
DUH DYDLODEOH WR SURYLGH JXLGDQFH DQG KHOS FDQGLGDWHV WKURXJKRXW WKHLU H[DP SUHSDUDWLRQ
MRXUQH\
'PS .PSF FYBNT WJTJU IUUQT LJMMFYBNT DPN WFOEPST FYBN MJTU
.LOO \RXU H[DP DW )LUVW $WWHPSW *XDUDQWHHG