0% found this document useful (0 votes)
1K views

Ngin 2

Apache cannot handle 10K connections because it is a thread based webserver. Nginx supports reverse proxying through SCGI protocol and load balancing through round robin algorithm. Apache HTTP was introduced in 1995 as a traditional webserver, while Apache Tomcat was introduced primarily to support Java servlets. Nginx can function as a webserver, reverse proxy, and load balancer.

Uploaded by

Amit Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views

Ngin 2

Apache cannot handle 10K connections because it is a thread based webserver. Nginx supports reverse proxying through SCGI protocol and load balancing through round robin algorithm. Apache HTTP was introduced in 1995 as a traditional webserver, while Apache Tomcat was introduced primarily to support Java servlets. Nginx can function as a webserver, reverse proxy, and load balancer.

Uploaded by

Amit Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 5

Apache cannot handle 10K connections because it is a _____________ webserver.

thread based*

event-driven

traditional

single worker

Nginx supports __________ through SCGI protocol.

Web resource sharing

Load balancing

Reverse Proxying*

DNS

___________ was introduced in the year 1995.

Apache HTTP*

IBM Websphere

Apache Tomcat

Nginx

___________ webserver was introduced primarily to support Java servlets.

Apache Tomcat*

Apache HTTP

Nginx

IBM Websphere

Choose the best option. Nginx is a ___________. A) Webserver B) Reverse proxy C)


Loadbalancer D) Hub

Options A and B

All the options

Options A,B and C*

Options A,B and D

Nginx supports __________ through round robin algorithm.


DNS

Nginx can be started using _____________.

service nginx begin


service nginx -s start
nginx -s start
service nginx start *

You can ask Nginx to refresh its configuration file using _____________.

nginx -s reload*
nginx -s restart
nginx -s reopen

It is always recommended to install ___________ version of Nginx.

binary

legacy

development*

stable

For smooth shutdown of Nginx, you must use _____________.

nginx -s exit
nginx -s quit*
nginx -s shutdown
nginx -s stop

The event-polling nature of Nginx can be dealt with using _____________.

main context

events*

Directives

In nginx.conf, a block of lines defined within a pair of curly braces is called


_____________.

Context*
Directive

Server

Each resource has its own _____________.

URI*

worker_connections is a directive contained within ___________.

location

events*

http

127.0.0.1 is an IP address of _____________.

localhost

Nginx

Apache*

All web servers


----------------------------------------------------------------------------------

A server block may contain another server block.

True*

False

How many default servers can you configure?

Any number of

Depends upon the application

One*
Which of the following line can be used to install Nginx?

apt-get nginx install -g


apt-get install nginx
yum-get install nginx*
sudo install nginx -g

When you configure Nginx as a reverse proxy for Apache, both may listen to a same
port.

False

True*

IBM Websphere was introduced in the year __________.

1996

1999

1998*

1995

A server block may contain _________ location block.

any number of*

two

Only one

If you define more than one default server, Nginx will _________.

work as usual

OR

fail to load

3. Choose the best option. Nginx is a ___________. A) Webserver B) Reverse proxy


C)Loadbalancer D)Hub
Options A,B and C
Options A,B and D
Options A and B

You might also like