IIS QA

download IIS QA

of 6

Transcript of IIS QA

  • 8/15/2019 IIS QA

    1/6

    What is Web Farm?When we hosted our web Application on multiple web server under a load balancercall the Web Farm. This is generally used for heavy load web application where thereare many user requests at a time. So When Web Application is hosted on Different IISServer over a load balancer !oad balancer is responsible for distribute the load on

    different server.

    What is Web Garden?A Web garden is configured on a single server by specifying multiple wor"er processesfor an application pool. Web farms use multiple physical servers for supporting asingle Web site.

    What is the default Identity of an Application Pool ?#etwor" Services

    What is the available Identity of an Application Pool?In IIS $.% & #etwor"Services ' !ocalService ' !ocalSystemIn IIS (.% & #etwor"Services ' !ocalService ' !ocalSystem ' Application)oolIdentityWhat are the worker process for IIS 5! and IIS "# and IIS $#?For IIS *.+ , aspnet-wp.eeFor IIS $.% , w/wp.eeFor IIS (.% , w/wp.ee

    Types of Authentication available in IIS $.% and (.%

    What are the different type of application pool available in IIS $# ?+. DefaultApp)ool 0Integrated12. 3lassicApp)ool

    Where is the default location for IIS %o& files ?345WI#D6WS5system/25!ogFiles5W/S73+

    What is the use of aspnet're&iis (i command ?This is used automatically register the .#8T Framewor" with your IIS.

    )ow to check Installed *et +ersion on IIS345WI#D6WS59icrosoft.#8T5Framewor"5v+.+.:/22,aspnet-regiis.ee ;lv

    If there are multiple worker process runnin& on IIS, then how can you attach aparticular worker process for application ?run cscript iisapivbs script to find out the process ID and Application )ool name .

  • 8/15/2019 IIS QA

    2/6

    This is located at 4 59icrosoft 7isual Studio =53ommon(5ID8>emote Debugger=$5

    IIS Port numbers??TT) 4 =% 0default port for iis1 SS! 4 ::/FT) 4 2+S9T) 4 2*)6)2 4 +%@)6)/ 4++%I9A) 4 +:/##T) 4 ++@!DA) 4 =@ D#S 4 */D?3) 4 $(

    IIS Services?+. www services2. FT) services/. S9T) services:. ##T) services

     IIS Application pool ?Group of web applications are called application pool.An application pool is a group of one or more >!s that are served by a wor"erprocess or set of wor"er processes. Any Web directory or virtual directory can beassigned to an application pool. so that one webiste cannot be effected by other if u

    used seperated application pool.

    What is App Pool and App /omain? What is the difference between these two?Application )ool is created the each and every website.Application Domain is created to one domain )urpose.

    What is the properties of App Pool in IIS?+.>ecycling2.)erfomance/.?ealth:.Identity

    )ow do I stop and restart Internet services?8S8TC command

    )ow can I confirm that a server certificate is attached to a Web site?+.In IIS 9anager right&clic" the Web site and clic" )roperties.2.3lic" the Directory Security tab./.nder Secure communications if the 7iew 3ertificate button is activated there is acertificate attached to the Web site. If the button is not activated you must attach aserver certificate to the site to use the Secure Soc"ets !ayer 0SS!1 features.

    What is the Role of IIS?

     Visual studio has ASP.NET Engine which is capable to run Asp.net web application. So we

     just click on Run button to start the application.

    IIS provides a redesigned architecture which can help !ou achieve better

    per"or#ance$ scalabilit!$ reliabilit! and securit! "or our eb sites. IIS supports "ollowing

    Protocol HTTP/HTTPS, FTP, FTPS, SMTPEtc. e need to host the site on IIS$ when re%uest

    co#es "ro# client it &rst hits the IIS Server$ then the server passed it to ASP.NET worker

  • 8/15/2019 IIS QA

    3/6

    process to e'ecute. Then the response also passes to client via IIS itsel". Note onl! (osting

    o" Site we can create our )TP Server$ S*TP Server using IIS itsel". There are di+erent version

    o" IIS available like ,.-$ ./$ 0./ etc

    What is the dierent version on IIS that you have worked on?

    1e"ore answering this %uestion !ou need to know what are the di+erent IIS version is

    available in di+erent 2S. 1elow is the list o" IIS version with di+erent 2perating s!ste#.

    indows Server 3//4 5 indows Vista 5 (o#e Pre#iu#6 7lti#ate 5 IIS 0./

    indows Server 3//8 5 IIS ./

    indows 9P Pro"essional 5 IIS ,.-

    Now based on !our working e'perience !ou can sa! that !ou have worked on IIS ,.- and ./

    or onl! IIS 0. Etc. Now$ the ne't %uestion that can asked a"ter answering this %uestion is

    :what is the diference between them ? ; 5 ell I will co#e with this later.

    What is the Role of Http.Sys in IIS?

    (TTP.S

  • 8/15/2019 IIS QA

    4/6

     Though we can create new application pool IIS with di+erent settings$ but IIS having its own

    de"ault application pool na#ed @ >e"aultAppPool.

    What are the dierent types of Identity availa+le in IIS '.(?

    IIS having three di+erent Identities.-. ocal S!ste#

    3. ocal Services

    8. Network Services

    ,a&e of default Identity of IIS'.(?

    >e"ault Identit! o" IIS ./ is Network Services. hich is having ver! #ini#u# rights on !our

    s!ste#B The user can onl! have the read access o" the site.

    What is Re"y"ling of %ppli"ation *ool?

    Rec!cling Application pool #eans rec!cle the orker process Cw8wp.e'eD and the #e#or!

    used "or the web application. There are two types o recycling related with Application pool

    -. Rec!cling orker Process 5 Prede&ned Settings

    3. Rec!cling orker Process 5 1ased on *e#or!

    What are the &ain layers of IIS %r"hite"ture?

     IIS having #ainl! two la!ers =ernel *ode and 7ser *ode

     1elow are the subsection o" both o" the#.

    -. =ernel *ode

    o (TTP.Sirector!

    o Application Pool

    What is the Role of Http.Sys in IIS?

     (TTP.S

  • 8/15/2019 IIS QA

    5/6

    What are the dierent se"urity settings availa+le in IIS?

    1elow are the co##onl! used IIS Securit! settings

    - Anon!#ous

    3 Integrated indows Authentication8. 1asic Authentication

    ?. >igest Authentication

    ,. Passport Authentication

    )or Set securit! per#ission !ou need to go to Virtual >irector! Right Flick Properties

    >irector! Securit!

    Flick on Edit 1utton.

    What are the default authenti"ation settings for IIS?

    Anon!#ous authentication is the de"ault authentication #ode "or an! site that is hosted on

    IIS$ and it runs under the :I7SRGHServer Na#e; account.

    What is we+ garden?

    1! de"ault Each Application Pool runs with a Single orker Process C8p.e'eD. e can

    assign #ultiple orker Process ith a Single Application Pool. An Application Poll with

    #ultiple orker process called eb Jardens. Each orker Process Should has their own

     Thread and 2wn *e#or! space.

    Jenerall! its not reco##ended to use InProc Session #ode while we are using eb Jarden.

    Where session data stores in "ase of -In*ro"/ Session &ode?

    Session data store inside process #e#or! o" worker process Hw8wp.e'e .

    How we "an "reate an we+ garden?

    )or creating web garden we need to go to Application Pool$ then Right Flick on Application

    Pool Properties Jo to Per"or#ance Tab

    In eb Jarden Section$ increase the nu#ber o" worker process. 1! de"ault it is -.

    How we "an de+ug a we+ appli"ation whi"h is hosted on IIS?

    e can easil! debug an! web application that is hosted on IIS b! using Attaching o" orker

    Process.

    )ro# Visual Studio I>E Tools Attach To Process

    Select the particular Process$ then start debugging.

  • 8/15/2019 IIS QA

    6/6

    How we "an open IIS $onguration &anager?

     Kust si#pl! Run inet#gr 2r we can open it "ro# control panel Ad#inistrative tools.

    How we "an "reate a 0irtual Dire"tory on IIS?

    2pen IIS Fon&guration *anager

    )irst o" all Right Flick on >e"ault web sites New Virtual >irector!.

    1rowse the Ph!sical Path. Set the properties. Flick on 2= 

    What are the per&ission settings are availa+le for 0irtual Dire"tory?

    1elow are the lists o" per#ission that can be set during virtual director! creation

    -. Read

    3. Run Scripts

    8. E'ecute@

    ?. rite@

    ,. 1rowse