Nginx software is an open source based web server which is used as a reverse proxy, HTTP cache, and load balancer.

Nginx Software MCQs
Question# 1 Choose the best option. Nginx is a _.
A) Webserver
B) Reverse proxy
C) Loadbalancer
D) Hub
1) A, B and C
2) A, B and D
3) A and B
4) All the options
Correct Answer : A, B and C
Question# 2 _ was introduced in the year 1995.
1) Apache Tomcat
2) Nginx
3) Apache HTTP
Correct Answer : Apache HTTP
Question# 3 Nginx supports __ through round-robin algorithm.
1) Web resource sharing
2) Load balancing
3) DNS
4) Reverse Proxying
Correct Answer : Load balancing
Question# 4 Apache cannot handle 10K connections because it is a _ webserver.
1) Single worker
2) Traditional
3) Thread-based
4) Event-driven
Correct Answer : Thread-based
Question# 5 Nginx was introduced in the year _.
1) 1997
2) 1999
3) 1998
4) 1996
Correct Answer : 1999
Question# 6 Nginx supports __ through SCGI protocol.
1) Load balancing
2) DNS
3) Web resource sharing
4) Reverse Proxying
Correct Answer : Reverse Proxying
Question# 7 The world’s first web server was developed in _.
1) 1060s
2) 1090s
3) 1080s
4) 1070s
Correct Answer : 1090s
Question# 8 IBM WebSphere was introduced in the year __.
1) 1996
2) 1995
3) 1998
4) 1999
Correct Answer : 1998
Question# 9 Nginx can be started using _.
1) service nginx begin
2) service nginx start
3) service nginx -s start
4) nginx -s start
Correct Answer : service nginx start
Question# 10 For smooth shutdown of Nginx, you should use _.
1) nginx -s quit
2) nginx -s stop
3) nginx -s shutdown
4) nginx -s exit
Correct Answer : nginx -s quit
Question# 11 Which of the following lines can be used to install Nginx?
1) yum-get install nginx
2) apt-get nginx install -g
3) sudo install nginx -g
4) apt-get install nginx
Correct Answer : apt-get install nginx
Question# 12 It is always recommended to install the _ version of Nginx.
1) development
2) binary
3) stable
4) legacy
Correct Answer : development
Question# 13 Each resource has its own _.
1) URI
2) URA
3) URC
4) URL
Correct Answer : URL
Question# 14 The event-polling nature of Nginx can be dealt using _.
1) Events
2) Contexts
3) Main context
4) Directives
Correct Answer : Events
Question# 15 In nginx.conf, a block of lines defined within a pair of curly braces is called _.
1) Server
2) Directive
3) Context
4) SubContext
Correct Answer : Context
Question# 16 worker_connections is a directive contained within _.
1) Location
2) Events
3) HTTP
4) Server
Correct Answer : Events
Question# 17 How many default servers can you configure?
1) One
2) Any number of
3) Depends upon the capacity
4) Depends upon the application
Correct Answer : One
Question# 18 Nginx has become popular as it resolves __.
1) C10X problem
2) C10M problem
3) C10K problem
4) Event-driven
Correct Answer : C10K problem
Question# 19 127.0.0.1 is an IP address of _.
1) localhost
2) Nginx
3) Apache
4) All web servers
Correct Answer : localhost
Question# 20 When you configure Nginx as a reverse proxy for Apache, both may listen to the same port.
1) True
2) False
Correct Answer : False
Question# 21 A server block may contain another server block.
1) True
2) False
Correct Answer : False