Exactly same 3X0-202 questions as in real test, WTF!

Page 1

Sair

3X0-202 Apache Webserver

http://killexams.com/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'<html>

<head><title>Hello, World!</title></head>

echo'<body bgcolor=#FFFFFFF">

<h1>Hello, World!</body></html>'

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


For More exams visit https://killexams.com/vendors-exam-list

Kill your exam at First Attempt....Guaranteed!


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.