ASp.Net day

Micro blog



About Satalaj

www.satalaj.com

The best inline translator

Live lookup to see what asp.net developers are searching





asp net interview questions       by Satalaj 30. November 2009 06:24
    

    Days ago my friend want me to write asp.net, iis, sql server interview questions, so that he can conduct an interview  
with candidate having 2-3 years experiance. Here are those questions. 

Q1.  One day you notice your ms sql database is taking lots up CPU and memory resources you also notice the website is running slower than normal 
      what you would do in this situation ?

Q2.  How two computers can communicate with each other using httpWebRequest, webservices, TcpIpclient or socket programming.

Q3. What is web.config and how it works? What if I don;t add web.config file in my web application, will it run or it will throw an error?

Q4. Have you worked on HttpModule. What interesting stuff you had done with HttpWebModule?
 
Q5.  How will you store images in DB and render it ?

Q6.  Have you worked on HttpHandler ? how to use HttpHandler?

Q7.  In what situation do you think you need to use HttpHandler?

Q8. How authentication and authorzation works in ASP.net?

Q9. Can you describe your web application project where you used ASp.net MembershipProvider?

Q10.  What is form authentication / windows / active directory?  In what scenario you will choose what authntication mechanisum ?

Q11. Have you ever used widgets ? Personalisation ? Master pages, Themes and Skins?

Q12. Have you registered assembly in GAC ? if yes why ?

Q13. What is Machine key?

Q14. What is single sign on?

Q15. How will you prevent loged-in users from login again using different machines or browsers?

Q16. How to refer assemblies from GAC in ASP.net project ?

Q17. How Process model affects asp.net web application? 

Q18. If we are using SQL server or State server for storing session objects, why do we need to add attribute [serializable] to classes 
       whose objects we need to store in session ?
Q19. If you have been assigned a task to write robust API using .net, what steps you will do? What factors you need to consider?

Q20. What steps you will cross check if you found that you are loosing values stored inside session?

IIS 6.0.

Q1. How will you configure IIS to run ASp.net web application?

Q2. How will you switch IIS running on 64bit mode to run applications targetting 32 bit mode ?

Q3. How will you create subdomains?

Q4. How will you setup authentcation in iis to use windows authontication?

Q5. what is the role of application pooling? what is role of ISAPI?

Q6. How will you add your own handlers in IIS? How you will restart your iis?

Q7. How will you allow webservices to run using iis?

Q8. Do you know what is cscript command? What it does?

Q9. How will you recycle application pool? If  application pool recycled what will happen to Inpoc session and out of process session?

Q10. How will configure your iis to run PHP, perl cgi scripting?

Q11. What steps you will do, if you found that your iis is not runninng?

Q12. In what situation we execute aspnet_regIIS -i

Q13.How will you stop getting malecious url request like %201=%20 ?

Q14. How will you block ip address? which one is the latest version of iis and its features?

Q15. How will you prevent your IIS  from being hacked? If hacked what is your action plan?

Q16. What is the role of ASpnet user in IIS? how will set permissions to your applciation?

Q17.  What is the role of workerprocess in IIS?

Q18. What is network load balancing ? What is web farming? What is web gardening ?

Q19. How will you take IIS backup.

Q20. Difference between shared hosting and dedicated hosting?

Q21. How will you configure your IIS to run both asp.net framework 1.1 and framework 2.0 applications ? 


SQL SERVER

Q1. Scenario: You are having two server. One sql server and other web application server. 

      Your client wants to switch the sql server from one machine to other upgraded machine
      whats your action plan to replicate the system?

Q2. In what situation you will use  CliConfg or sql network utility ?

Q3. How quickly you can restore the sql server after disaster 
      
Q4. What is transaction log shipping? What is sql server mirroring and how it works?

Q5 What is Linked server?

Q6 What is SSIS, SSRS and SSAS?

General Out box questions:

Q1. What is SEO?

Q2. How will you let search engines to find your site ?

Q3. How will you configure your site to make it more visible to search engines? 

Q4. What  steps you will perform, if you found that your site is not recognised by major search engines?

Q5. how will you notify search engines that your site contents are updated come and eat it ?

Q6. What steps you will do to prevent your site from being hacked ?

Q7. Who keeps the registery of all domains?

Q8. In windows OS do you know hosts file ?

Q9. What is the purpose of windows registery?

Q10. What is server ?  What is data base ?

Q11. If client request a page over http (port 80) , does it mean that both client and and server are communication on port 80?
       In other word, Does it require to have port 80 opened for server as well as client

Q12. Have you used netstat -a command ?

Q13. Can I configure multiple domains to point at single IP address ?

Q14. What is domain and email whitelisting ?

Q15. One day after installing antivirus on server you found that your server is not listening to port 80 or 1433.
       What are the causes ? How will you fix it ?

Q16. How will you configure windows firewall to allow port xx communication ?

Q17. Is it possible to recover deleted data from USB pen drives ?

Q18. Is it possible to recover data from .ldf file if you don;t have .mdf file?

Q19. How will you configure your IIS to and Apache tomcat to run on same machine?


These are all Practical questions, I had written here with my experiance to judge real guy with real experiance.

Thanks, Satalaj.

     
Comments are closed