InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What Are The Various Ways Of Accessing A Web Service ? |
|
Answer» Asynchronous Call Asynchronous Call |
|
| 2. |
Testing And Consuming A .net Web Service? |
|
Answer» Testing a Web Service Testing a Web Service |
|
| 3. |
What Is Cross-site Scripting? |
|
Answer» An attack technique that forces a web site to echo CLIENT-supplied DATA, which execute in a users web browser. When a user is Cross-Site Scripted, the attacker will have access to all web browser content (cookies, history, APPLICATION version, etc). XSS attacks do not typically DIRECTLY target the web server or application, but are RATHER aimed at the client. The web server is merely used as a conduit for the XSS data to be presented to the end client. An attack technique that forces a web site to echo client-supplied data, which execute in a users web browser. When a user is Cross-Site Scripted, the attacker will have access to all web browser content (cookies, history, application version, etc). XSS attacks do not typically directly target the web server or application, but are rather aimed at the client. The web server is merely used as a conduit for the XSS data to be presented to the end client. |
|
| 4. |
How To Install Our Web Application In Iis Web Server? |
|
Answer» There are DIFFERENT WAY to deploy the web APPLICATION in web server like:
There are different way to deploy the web application in web server like: |
|
| 5. |
Can We Run Multiple Websites With Same Port Number And Different Ip Address? |
|
Answer» YES, We can use multiple websites with same port NUMBER and different IP ADDRESS. Yes, We can use multiple websites with same port number and different IP address. |
|
| 7. |
What Is App Pool And App Domain? What Is The Difference Between The Two In Iis? |
| Answer» | |
| 8. |
What Is The Difference Between Iis 5.1 And Iis 6 Administration? |
|
Answer» IIS 5.1 is for Windows XP. IIS 6 is for Windows Server, We can CREATE SEPARATE APPLICATION pool with WORKER process for a separate WEBSITE in IIS 6.0 Server only. IIS 5.1 is for Windows XP. IIS 6 is for Windows Server, We can create separate application pool with worker process for a separate website in IIS 6.0 Server only. |
|
| 9. |
What Are The Properties Of Application Pool In Iis? |
|
Answer» The properties of APPLICATION Pool in IIS is:
The properties of application Pool in IIS is: |
|
| 10. |
What Is Presentation Layer Responsible For In The Osi Model? |
|
Answer» The presentation layer establishes the data format prior to passing it along to the NETWORK APPLICATION’s interface. TCP/IP NETWORKS PERFORM this task at the application layer. The presentation layer establishes the data format prior to passing it along to the network application’s interface. TCP/IP networks perform this task at the application layer. |
|
| 11. |
Does Windows Server 2003 Support Ipv6? |
|
Answer» YES, RUN ipv6.exe from COMMAND LINE to DISABLE it. Yes, run ipv6.exe from command line to disable it. |
|
| 12. |
Can Windows Server 2003 Function As A Bridge? |
|
Answer» Yes, and it’s a new feature for the 2003 PRODUCT. You can COMBINE several networks and devices connected VIA several adapters by enabling IP routing. Yes, and it’s a new feature for the 2003 product. You can combine several networks and devices connected via several adapters by enabling IP routing. |
|
| 13. |
What Is The Difference Between The Basic Disk And Dynamic Disk? |
|
Answer» The basic type contains PARTITIONS, extended partitions, LOGICAL drivers, and an assortment of STATIC volumes. The dynamic type does not use partitions but dynamically manages volumes and provides ADVANCED storage OPTIONS. The basic type contains partitions, extended partitions, logical drivers, and an assortment of static volumes. The dynamic type does not use partitions but dynamically manages volumes and provides advanced storage options. |
|
| 14. |
What Script Ship With Iis 6.0? |
|
Answer» iisweb.vsb to create, delete, start, stop, and list Web SITES, iisffp.vsb to create, delete, start, stop, and list FTP sites, iisdir.vsb to create, delete, start, stop, and DISPLAY virtual directories, iisftpdr.vsb to create, delete, start, stop, and display virtual directories under an FTP root, iiscnfg.vbs to export and import IIS CONFIGURATION to an XML file. iisweb.vsb to create, delete, start, stop, and list Web sites, iisffp.vsb to create, delete, start, stop, and list FTP sites, iisdir.vsb to create, delete, start, stop, and display virtual directories, iisftpdr.vsb to create, delete, start, stop, and display virtual directories under an FTP root, iiscnfg.vbs to export and import IIS configuration to an XML file. |
|
| 15. |
What Is The Name Of The User Who Connects To The Web Site Anonymously? |
|
Answer» IUSR_computername. IUSR_computername. |
|
| 16. |
What Secure Authentication And Encryption Mechanisms Are Supported By Iis 6.0? |
|
Answer» Basic AUTHENTICATION, Digest authentication, Advanced digest authentication, CERTIFICATE- based WEB transactions that use PKCS #7/PKCS #10, Fortezza, SSL, Server-Gated Cryptography, Transport Layer SECURITY. Basic authentication, Digest authentication, Advanced digest authentication, Certificate- based Web transactions that use PKCS #7/PKCS #10, Fortezza, SSL, Server-Gated Cryptography, Transport Layer Security. |
|
| 17. |
What Is The Relation Between Ssl And Tls? |
|
Answer» TRANSPORT LAYER SECURITY (TLS) EXTENDS SSL by providing cryptographic authentication. Transport Layer Security (TLS) extends SSL by providing cryptographic authentication. |
|
| 18. |
What Is The Role Of Http.sys In Iis? |
|
Answer» It is the POINT of contact for all incoming HTTP requests. It listens for requests and QUEUES them until they are all PROCESSED, no more queues are available, or the WEB server is SHUT down. It is the point of contact for all incoming HTTP requests. It listens for requests and queues them until they are all processed, no more queues are available, or the Web server is shut down. |
|
| 19. |
Where Is Asp Cache Located On Iis 6.0? |
|
Answer» On DISK, as OPPOSED to memory, as it used to be in IIS 5. On disk, as opposed to memory, as it used to be in IIS 5. |
|
| 20. |
For The Document Of Size I Nib, What Size Would You Expect The Index To Be With Indexing Service? |
|
Answer» 150-300 KB, 15-30% is a REASONABLE EXPECTATION. 150-300 KB, 15-30% is a reasonable expectation. |
|
| 21. |
What Is A Vector Space Query? |
|
Answer» A multiple-word query where the weight can be ASSIGNED to each of the SEARCH words. For EXAMPLE, if you want to FIGHT information on ‘black hole’, but would prefer to give more weight to the word hole, you can enter black hole into the search WINDOW. A multiple-word query where the weight can be assigned to each of the search words. For example, if you want to fight information on ‘black hole’, but would prefer to give more weight to the word hole, you can enter black hole into the search window. |
|
| 22. |
What Is Webhost Manager (wiim)? |
|
Answer» WEBHOST Manager (WI-EM) is a WEB-based TOOL USED by server administrators and resellers to manage hosting accounts on a web server. WI-IM listens on PORTS 2086 and 2087 by default. WebHost Manager (WI-EM) is a web-based tool used by server administrators and resellers to manage hosting accounts on a web server. WI-IM listens on ports 2086 and 2087 by default. |
|
| 23. |
Which Tool Installs The Dll On Your Local Computer And Installs The Windows Service In A Transactional Manner? |
|
Answer» The Installutil.exe TOOL. The Installutil.exe tool. |
|
| 24. |
Which Namespace Must Be Included In A Code That Enables A Xml Web Service To Write Events In An Event Log File? |
|
Answer» The System.Diagnostics is the namespace, which MUST be included in a code to enable a Web service for WRITING events in an event log FILE. The System.Diagnostics is the namespace, which must be included in a code to enable a Web service for writing events in an event log file. |
|
| 25. |
Does A Web Service Have State? |
|
Answer» The Web services do not have any technique to MAINTAIN state. HOWEVER, it can access ASP.NET objects, such as application and SESSION if they EXTEND from the WebService base class. The Web services do not have any technique to maintain state. However, it can access ASP.NET objects, such as application and session if they extend from the WebService base class. |
|
| 26. |
Mention The Name Of The Directory Where It Is Necessary To Locate The Proxy File To Use A Web Service? |
|
Answer» The proxy file must be STORED in the /bin DIRECTORY. This directory is SITUATED under the root directory of the APPLICATION. The proxy file must be stored in the /bin directory. This directory is situated under the root directory of the application. |
|
| 27. |
What Is The Use Of A .disco File? |
|
Answer» A client application USES a .disco file to locate or discover the DOCUMENTS that CONTAIN the description of a Web service. The .disco file contains links to other resources, which describe essential FEATURES, such as capabilities of a Web service. The links CONTAINED in a .disco file can refer to other discovery documents or XSD schemas. The description about the services and capabilities of a Web service is written in Web services Description Language (WSDL). A .disco file can also contain the information about other XML Web services that reside on the same or a different Web server. A client application uses a .disco file to locate or discover the documents that contain the description of a Web service. The .disco file contains links to other resources, which describe essential features, such as capabilities of a Web service. The links contained in a .disco file can refer to other discovery documents or XSD schemas. The description about the services and capabilities of a Web service is written in Web services Description Language (WSDL). A .disco file can also contain the information about other XML Web services that reside on the same or a different Web server. |
|
| 28. |
What Do You Understand By Soap Encoding? |
|
Answer» The Serialization of the types, such as integers and strings, inside a SOAP MESSAGE is CALLED encoding. The SOAP objects use XML ELEMENTS and attributes to serialized data, for example, encodingStyle is an attribute of theEnvelop element, which is USED to SPECIFY the encoding rules for a SOAP object. The Serialization of the types, such as integers and strings, inside a SOAP message is called encoding. The SOAP objects use XML elements and attributes to serialized data, for example, encodingStyle is an attribute of theEnvelop element, which is used to specify the encoding rules for a SOAP object. |
|
| 29. |
Write The Names Of Public Properties Defined In The Webservice Class? |
|
Answer» There are MANY properties defined in the WebServices class: There are many properties defined in the WebServices class: |
|
| 30. |
Which Property Of The Webmethod Attribute Allows You To Maintain The State Of Objects Across Sessions In A Web Method? |
|
Answer» The WebMethod attribute's EnableSession property enables you to ENABLE SESSION STATE for a Web METHOD. The WebMethod attribute's EnableSession property enables you to enable session state for a Web method. |
|
| 31. |
Which Step Is Necessary To Perform Before A Web Service Can Be Consumed? |
|
Answer» It is necessary to BUILD a PROXY class by using the wsdl.exe UTILITY before a WEB service can be CONSUMED. It is necessary to build a proxy class by using the wsdl.exe utility before a Web service can be consumed. |
|
| 32. |
Which Two Methods Are Used To Discover The Url Of Web Services? |
|
Answer» The two METHODS to DISCOVER the URL of Web services are Web service DISCOVERY TOOL (Disco.exe) and UDDI. The two methods to discover the URL of Web services are Web service discovery tool (Disco.exe) and UDDI. |
|
| 33. |
What Does The Porttype Element Of A Wsdl Document Contain? |
|
Answer» The portType element contains the operations exposed by the WEB service, and the MESSAGES INVOLVED in the communication between the Web service and its CONSUMERS. The portType element contains the operations exposed by the Web service, and the messages involved in the communication between the Web service and its consumers. |
|
| 34. |
Mention The Namespace That You Must Import In Code To Build A Web Service? |
|
Answer» System.Web.Services is the elementary NAMESPACE, which must be IMPORTED to DEVELOP CODE of a Web SERVICE. System.Web.Services is the elementary namespace, which must be imported to develop code of a Web service. |
|
| 35. |
What Advantages Have Web Services Over Component Object Model (com) And Distributed Component Object Model (dcom)? |
|
Answer» The advantages of Web services over COM and DCOM are as FOLLOWS: The advantages of Web services over COM and DCOM are as follows: |
|
| 36. |
Explain The Concept Of Web Services In Brief? |
|
Answer» A Web service may be defined as an independent and self-sustained unit of a software application that is hosted on the Web and implement specific functionalities to execute the business logic. A Web service provides so MANY functionalities, such as generating pay SLIPS for employees, computing tax, broadcasting weather report, and PROVIDING updated news. The Web service allows application to share information or exchange data with other applications ACROSS different operating systems and hardware. A Web service may be defined as an independent and self-sustained unit of a software application that is hosted on the Web and implement specific functionalities to execute the business logic. A Web service provides so many functionalities, such as generating pay slips for employees, computing tax, broadcasting weather report, and providing updated news. The Web service allows application to share information or exchange data with other applications across different operating systems and hardware. |
|
| 37. |
How Can You Prevent Your Web Services From Unauthorized Access? |
|
Answer» The FOLLOWING are the ways to prevent your Web service from UNAUTHORIZED ACCESS: The following are the ways to prevent your Web service from unauthorized access: |
|
| 38. |
Describe The Eventlog Class? |
|
Answer» The EventLog class is used to access the Windows event LOGS from Windows services. Using EventLog, you can also customize Windows event logs that record information about important software and HARDWARE events, such as the events of the .NET controls, KEYBOARD, or other hardware devices. The EventLog class is used to access the Windows event logs from Windows services. Using EventLog, you can also customize Windows event logs that record information about important software and hardware events, such as the events of the .NET controls, keyboard, or other hardware devices. |
|
| 39. |
How Can You Ensure That Only Authorized Users Access Your Web Service? |
|
Answer» You should use the <authorization> ELEMENT to ensure that only authorized USER’s access your WEB service. This element allows or DENIES access to your Web service according to their role. You should use the <authorization> element to ensure that only authorized user’s access your Web service. This element allows or denies access to your Web service according to their role. |
|
| 40. |
What Advantage Uddi Has Over Disco? |
|
Answer» The UDDI directory has an advantage over a DISCO file, as it PROVIDES a single LOCATION where a CLIENT can find the WEB services OFFERED by different organizations. The UDDI directory has an advantage over a DISCO file, as it provides a single location where a client can find the Web services offered by different organizations. |
|
| 41. |
What Is The Use Of The Mustunderstand Attribute In The Header Element Of A Soap Message? |
|
Answer» The mustUnderstand attribute indicates that a HEADER ENTRY is either REQUIRED or optional for the recipient to PROCESS further. The mustUnderstand attribute indicates that a header entry is either required or optional for the recipient to process further. |
|
| 42. |
Which Method Is Used To Uninstall The Windows Services? |
|
Answer» The UNINSTALL() METHOD is USED to uninstall the WINDOWS SERVICES. The Uninstall() method is used to uninstall the Windows services. |
|
| 43. |
Write The File Extension For A Web Service? |
|
Answer» A WEB service FILE extension is .ASM file. For example, service1.asmx is a Web service file. A Web service file extension is .asm file. For example, service1.asmx is a Web service file. |
|
| 44. |
Describe The Services That Uddi Provides To Web Applications? |
|
Answer» UDDI provides the following types of services to a Web application: UDDI provides the following types of services to a Web application: |
|
| 45. |
Which Property Of The Servicebase Class Can Be Used To Specify Whether A Service Can Be Paused And Resumed? |
|
Answer» The CanPauseAndContinue PROPERTY PROVIDES such TYPE of SERVICE. The CanPauseAndContinue property provides such type of service. |
|
| 46. |
While Installing A Windows Service, An Eventloginstaller Class Is Automatically Created To Install The Event Log Related To The Particular Service. Is It True? |
|
Answer» Yes, it is true. |
|
| 47. |
Which Class In .net Is Used To Install A Windows Service? |
|
Answer» The ServiceInstaller class, also KNOWN as the project installer class, is used to INSTALL a WINDOWS service. The ServiceInstaller class, also known as the project installer class, is used to install a Windows service. |
|
| 48. |
In .net, Which Is The Parent Class To Create All Windows Services? |
|
Answer» The SERVICEBASE CLASS is the parent class to CREATE all Windows SERVICES. The ServiceBase class is the parent class to create all Windows services. |
|
| 49. |
Can You Share A Process Between Windows Services? |
|
Answer» YES, you can SHARE a PROCESS between WINDOWS SERVICES. Yes, you can share a process between Windows services. |
|
| 50. |
What Are The Main Web Services Skills That You Possess That Relate To This Position? |
|
Answer» This is where your research of the position will really pay off. XML, for EXAMPLE, is a RELATIVELY NEW concept in web services that is starting to become used more widely. If you know this company uses XML, talk about your training and experience with it. This is where your research of the position will really pay off. XML, for example, is a relatively new concept in web services that is starting to become used more widely. If you know this company uses XML, talk about your training and experience with it. |
|