Search Your Question...!

Nginx MCQ's

1. ___________ was introduced in the year 1995.

a) Apache HTTP
b) Apache Tomcat
c) Nginx
d) IBM Websphere

   View Answer   

   Apache HTTP



2. ___________ webserver was introduced primarily to support Java servlets.

a) Apache Tomcat
b) IBM Websphere
c) Nginx
d) Apache HTTP

   View Answer   

   Apache Tomcat



3. Nginx was introduced in the year _________.

a) 1998
b) 1999
c) 1996
d) 1997

   View Answer   

   1999



4. IBM Websphere was introduced in the year __________.

a) 1999
b) 1995
c) 1996
d) 1998

   View Answer   

   1998



5. Nginx has become popular as it resolves __________.

a) C10X problem
b) C10M problem
c) C10K problem
d) Event-driven

   View Answer   

   C10K problem



6. How many default servers can you configure?

a) Any number of
b) Depends upon the application
c) Depends upon the capacity
d) One

   View Answer   

   Any number of



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

a) single worker
b) traditional
c) event-driven
d) thread based

   View Answer   

   traditional



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

a) All the options
b) Options A,B and C
c) Options A and B
d) Options A,B and D

   View Answer   

   All the options



9. Nginx supports __________ through SCGI protocol.

a) DNS
b) Reverse Proxying
c) Web resource sharing
d) Load balancing

   View Answer   

   Reverse Proxying



10. Nginx can be started using _____________.

a) nginx -s start 
b) service nginx -s start 
c) service nginx begin
d) service nginx start

   View Answer   

   service nginx start



11. Which of the following line can be used to install Nginx?

a) apt-get nginx install -g
b) yum-get install nginx
c) sudo install nginx -g
d) apt-get install nginx

   View Answer   

   apt-get install nginx



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

a) nginx -s restart
b) nginx -s reopen
c) nginx -s reload
d) nginx -s refresh

   View Answer   

   nginx -s reload



13. It is always recommended to install ___________ version of Nginx.

a) legacy
b) stable
c) development
d) binary

   View Answer   

   development



14. For smooth shutdown of Nginx, you must use _____________.

a) nginx -s quit
b) nginx -s shutdown
c) nginx -s stop
d) nginx -s exit

   View Answer   

   nginx -s quit



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

a) SubContext
b) Context
c) Server
d) Directive

   View Answer   

   Context



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

a) events
b) Contexts
c) Directives
d) main context

   View Answer   

   events



17. Each resource has its own _____________.

a) URL
b) URI
c) URA
d) URC

   View Answer   

   URI



18. worker_connections is a directive contained within ___________.

a) server
b) location
c) events
d) http

   View Answer   

   events



19. A server block may contain _________ location block.

a) two
b) any number of
c) Only one

   View Answer   

   two



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

a) fail to load
b) work as multiple subdomain server
c) work as usual
d) work as multiple domain server

   View Answer   

   work as multiple domain server



21. A server block may contain another server block.

a) False
b) True

   View Answer   

   False



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

a) False
b) True

   View Answer   

   True



23. Nginx supports __________ through round robin algorithm.

a) Reverse Proxying
b) Load balancing
c) DNS
d) Web resource sharing

   View Answer   

   Load balancing



24. 127.0.0.1 is an IP address of _____________.

a) Apache
b) localhost
c) Nginx
d) All web servers

   View Answer   

   localhost



No comments:

Post a Comment