The Theory Test Of Webservice - Asp.Net - Accp 2007

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Vietha
V
Vietha
Community Contributor
Quizzes Created: 11 | Total Attempts: 9,614
Questions: 24 | Attempts: 208

SettingsSettingsSettings
Programming Quizzes & Trivia

A beo dien khung


Questions and Answers
  • 1. 

    //Unit1Which of the following statements about distributed computing are true and which of the statements are false ?

    • A.

      Distributed computing divides an application into different parts which exist on multiple locations on a network

    • B.

      The peer-to-peer architecture uses a central machine to manage network resources.

    • C.

      The solution for server failures problem in distributed computing includes spacing servers in close proximity.

    • D.

      RPC supports asynchronous architecture to allow clients to perform other tasks while the method is being executed.

    • E.

      Message queuing guarantees delivery of messages.

    Correct Answer(s)
    A. Distributed computing divides an application into different parts which exist on multiple locations on a network
    C. The solution for server failures problem in distributed computing includes spacing servers in close proximity.
    E. Message queuing guarantees delivery of messages.
    Explanation
    The first statement is true because distributed computing involves dividing an application into different parts that exist on multiple locations on a network. The second statement is false because the peer-to-peer architecture does not use a central machine to manage network resources; instead, it allows all computers to act as both clients and servers. The third statement is true because spacing servers in close proximity helps in addressing server failures in distributed computing. The fourth statement is false because RPC (Remote Procedure Call) does not inherently support asynchronous architecture. The fifth statement is true because message queuing systems ensure the guaranteed delivery of messages.

    Rate this question:

  • 2. 

    Can you match the distributed application architectures against their corresponding descriptions ?Includes client sending requests and server processing the requests.

    • A.

      Peer-to-peer

    • B.

      Message-based

    • C.

      Client-Server

    • D.

      Space-based

    • E.

      RPC

    Correct Answer
    C. Client-Server
    Explanation
    The client-server architecture involves the client sending requests to the server, which then processes these requests. In this architecture, the client is responsible for initiating the communication and requesting services, while the server is responsible for providing those services and processing the client's requests. This architecture is commonly used in networked systems where there is a clear distinction between the client and the server roles.

    Rate this question:

  • 3. 

    Can you match the distributed application architectures against their corresponding descriptions ?Includes virtual address spaces to handle multiple requests.

    • A.

      Peer-to-peer

    • B.

      Message-based

    • C.

      Client-Server

    • D.

      Space-based

    • E.

      RPC

    Correct Answer
    D. Space-based
    Explanation
    Space-based architecture is a distributed application architecture that includes virtual address spaces to handle multiple requests. In this architecture, the data is distributed across multiple nodes and each node has its own memory space. The virtual address spaces allow for efficient handling of multiple requests by providing a scalable and flexible approach to managing data. This architecture is commonly used in large-scale distributed systems where high scalability and fault-tolerance are required.

    Rate this question:

  • 4. 

    Can you match the distributed application architectures against their corresponding descriptions ?Includes connected nodes where each of them acts as client and server.

    • A.

      Peer-to-peer

    • B.

      Message-based

    • C.

      Client-Server

    • D.

      Space-based

    • E.

      RPC

    Correct Answer
    A. Peer-to-peer
    Explanation
    Peer-to-peer architecture includes connected nodes where each of them acts as a client and server. In this architecture, there is no central server, and each node can directly communicate and share resources with other nodes. This decentralized approach allows for greater scalability and fault tolerance as there is no single point of failure.

    Rate this question:

  • 5. 

    Can you match the distributed application architectures against their corresponding descriptions ? Includes executing functions on another address space.

    • A.

      Peer-to-peer

    • B.

      Message-based

    • C.

      Client-Server

    • D.

      Space-based

    • E.

      RPC

    Correct Answer
    E. RPC
    Explanation
    RPC stands for Remote Procedure Call and is a distributed application architecture where functions are executed on another address space. In RPC, a client program can call functions on a remote server as if they were local functions, making it easier to develop distributed applications. This architecture is commonly used in client-server systems where the client sends a request to the server, and the server processes the request and sends back the response.

    Rate this question:

  • 6. 

    Can you match the distributed application architectures against their corresponding descriptions ?Provides applications with queuing services

    • A.

      Peer-to-peer

    • B.

      Message-based

    • C.

      Client-Server

    • D.

      Space-based

    • E.

      RPC

    Correct Answer
    B. Message-based
    Explanation
    Message-based architecture provides applications with queuing services. In this architecture, applications communicate by sending messages to each other. It allows for asynchronous communication and decouples the sender and receiver, as the sender does not need to know the identity or location of the receiver. This architecture is commonly used in systems where multiple components need to communicate and exchange information in a loosely coupled manner.

    Rate this question:

  • 7. 

    Which of the following statements about Web-based applications and Web Services are true and which of the statements are false ?

    • A.

      XML Web Services allow communication among applications, which uses dissimilar protocols over the Web.

    • B.

      The data layer of the Web Services architecture knows that it is a part of Web Services.

    • C.

      RMI uses binary protocols to communicate over the Web

    • D.

      The application layer provides data sources to store and retrieve data on the Internet

    • E.

      Web Service provides the service interface, which is an XML document.

    Correct Answer(s)
    A. XML Web Services allow communication among applications, which uses dissimilar protocols over the Web.
    C. RMI uses binary protocols to communicate over the Web
    E. Web Service provides the service interface, which is an XML document.
    Explanation
    XML Web Services do allow communication among applications that use dissimilar protocols over the Web. This is one of the main advantages of using XML Web Services as it enables interoperability between different systems. RMI (Remote Method Invocation) does use binary protocols to communicate over the Web. This allows for efficient and secure communication between distributed systems. Web Services do provide the service interface, which is an XML document. This interface describes the operations and data formats that the Web Service supports.

    Rate this question:

  • 8. 

    Can you match the layer of the generic Web Service architecture against their corresponding descriptions ?Provides the data needed by  the Web Services.

    • A.

      Data Access

    • B.

      Listener

    • C.

      Data

    • D.

      Web Service logic

    • E.

      Web Service Facade

    Correct Answer
    C. Data
    Explanation
    The layer of the generic Web Service architecture that provides the data needed by the Web Services is the Data layer. This layer is responsible for accessing and retrieving the necessary data to fulfill the requests made by the Web Services. It acts as a bridge between the Web Services and the underlying data sources, ensuring that the required data is available and accessible for processing.

    Rate this question:

  • 9. 

    Can you match the layer of the generic Web Service architecture against their corresponding descriptions ?Maintains data integrity.

    • A.

      Data Access

    • B.

      Listener

    • C.

      Data

    • D.

      Web Service logic

    • E.

      Web Service Facade

    Correct Answer
    A. Data Access
    Explanation
    The layer of the generic Web Service architecture that maintains data integrity is the Data Access layer. This layer is responsible for interacting with the database and ensuring that data is accessed and manipulated in a consistent and secure manner. It handles tasks such as querying the database, performing data validation and transformation, and enforcing data integrity constraints.

    Rate this question:

  • 10. 

    Can you match the layer of the generic Web Service architecture against their corresponding descriptions ?Implements the logic of the Web Service.

    • A.

      Data Access

    • B.

      Listener

    • C.

      Data

    • D.

      Web Service logic

    • E.

      Web Service Facade

    Correct Answer
    D. Web Service logic
    Explanation
    The layer of the generic Web Service architecture that implements the logic of the Web Service is the Web Service logic layer. This layer is responsible for handling the business logic and processing the requests received from clients. It interacts with the data layer to retrieve and manipulate data, and also communicates with the Web Service facade layer to expose the functionality to clients.

    Rate this question:

  • 11. 

    Can you match the layer of the generic Web Service architecture against their corresponding descriptions ?Maps to the functions exposed by the Web Service.

    • A.

      Data Access

    • B.

      Listener

    • C.

      Data

    • D.

      Web Service logic

    • E.

      Web Service Facade

    Correct Answer
    E. Web Service Facade
    Explanation
    The Web Service Facade layer in the generic Web Service architecture corresponds to the functions exposed by the Web Service. The facade layer acts as an interface between the external clients and the internal layers of the Web Service. It encapsulates the complex logic and functionality of the Web Service and provides a simplified and standardized interface for clients to interact with. Clients can access and utilize the functions exposed by the Web Service through the Web Service Facade layer.

    Rate this question:

  • 12. 

    Can you match the layer of the generic Web Service architecture against their corresponding descriptions ?Accepts the client request and validates it.

    • A.

      Data Access

    • B.

      Listener

    • C.

      Data

    • D.

      Web Service logic

    • E.

      Web Service Facade

    Correct Answer
    B. Listener
    Explanation
    The correct answer is "Listener" because in a generic Web Service architecture, the listener is responsible for accepting the client request and validating it. The listener acts as the entry point for the web service and ensures that the incoming requests are valid and can be processed further.

    Rate this question:

  • 13. 

    Which of the following statements about XML Web Service are true and which of the statements are false ?

    • A.

      XML Web Services Directories allow you to discover documents related to the required XML Web Service.

    • B.

      The XML Web Services infrastructure serializes and deserializes SOAP messages.

    • C.

      A proxy class is a client-side representation of the XML Web Service method.

    • D.

      XML Web Services Wire Formats use WSDL and UDDI to exchange information over the Web.

    • E.

      XML Web Services support stateless communication.

    Correct Answer(s)
    B. The XML Web Services infrastructure serializes and deserializes SOAP messages.
    C. A proxy class is a client-side representation of the XML Web Service method.
    E. XML Web Services support stateless communication.
    Explanation
    The statement "The XML Web Services infrastructure serializes and deserializes SOAP messages" is true because SOAP (Simple Object Access Protocol) is a protocol used for exchanging structured information in web services, and the XML Web Services infrastructure handles the serialization and deserialization of SOAP messages.

    The statement "A proxy class is a client-side representation of the XML Web Service method" is true because a proxy class is a generated class that acts as a client-side interface for invoking methods on a web service. It represents the XML Web Service method and provides a convenient way for the client to interact with the web service.

    The statement "XML Web Services support stateless communication" is true because web services are designed to be stateless, meaning that each request from a client to a web service is independent and does not rely on any previous requests or stored state. This allows for scalability and flexibility in distributed systems.

    Therefore, the correct answers are:
    - The XML Web Services infrastructure serializes and deserializes SOAP messages.
    - A proxy class is a client-side representation of the XML Web Service method.
    - XML Web Services support stateless communication.

    Rate this question:

  • 14. 

    Can you match the XML Web Services Infrastructure components against their descriptions ?Uses algorithms to locate an XML Web Service.

    • A.

      XML Web Service Discovery

    • B.

      XML Web Services Directories

    • C.

      XML Web Services Discovery

    • D.

      XML Web Service Description

    • E.

      XML Web Service Directories

    Correct Answer
    A. XML Web Service Discovery
    Explanation
    XML Web Service Discovery is the correct answer because it refers to the process of locating an XML Web Service using algorithms. This component helps in finding and accessing XML Web Services by providing a mechanism for service discovery.

    Rate this question:

  • 15. 

    Can you match the XML Web Services Infrastructure components against their descriptions ?Provides a central location for publishing XML Web Services.

    • A.

      XML Web Service Discovery

    • B.

      XML Web Services Directories

    • C.

      XML Web Services Discovery

    • D.

      XML Web Service Description

    • E.

      XML Web Service Directories

    Correct Answer
    B. XML Web Services Directories
    Explanation
    XML Web Services Directories provide a central location for publishing XML Web Services. This means that XML Web Services Directories serve as a repository where developers can publish their XML Web Services, making it easier for other developers to discover and use these services. By centralizing the publication of XML Web Services, XML Web Services Directories simplify the process of finding and accessing these services, promoting interoperability and reusability in the development of web applications.

    Rate this question:

  • 16. 

    Can you match the XML Web Services Infrastructure components against their descriptions ?Allow locating the WSDL document.

    • A.

      XML Web Services Discovery

    • B.

      XML Web Services Directories

    • C.

      XML Web Service Discovery

    • D.

      XML Web Service Description

    • E.

      XML Web Service Directories

    Correct Answer
    C. XML Web Service Discovery
    Explanation
    XML Web Service Discovery is the correct answer because it refers to the process of locating and identifying available web services. This component allows clients to find and access the WSDL (Web Service Description Language) document, which contains the information needed to interact with the web service. It enables clients to discover and understand the functionality and capabilities of the web service before using it.

    Rate this question:

  • 17. 

    Can you match the XML Web Services Infrastructure components against their descriptions ?Assists in interacting with an XML Web Service.

    • A.

      XML Web Services Discovery

    • B.

      XML Web Services Directories

    • C.

      XML Web Service Discovery

    • D.

      XML Web Service Description

    • E.

      XML Web Service Directories

    Correct Answer
    D. XML Web Service Description
    Explanation
    The XML Web Service Description component assists in interacting with an XML Web Service. It provides information about the web service, such as its methods, parameters, and data types, allowing clients to understand how to interact with the service. This description is usually provided in the form of a WSDL (Web Services Description Language) document.

    Rate this question:

  • 18. 

    Can you match the XML Web Services Infrastructure components against their descriptions ?Consists of UDDI registry.

    • A.

      XML Web Services Discovery

    • B.

      XML Web Service Directories

    • C.

      XML Web Service Discovery

    • D.

      XML Web Service Description

    • E.

      XML Web Services Directories

    Correct Answer
    E. XML Web Services Directories
    Explanation
    The correct answer is XML Web Services Directories. The given description states that the component consists of a UDDI registry. UDDI (Universal Description, Discovery, and Integration) is a directory service that allows businesses to publish and discover web services. Therefore, the XML Web Services Directories component matches the given description.

    Rate this question:

  • 19. 

    Which of the statements about WSE are true and which of the statements are false ?

    • A.

      WSE is a class library that allows applying the latest Web Services protocols to Web Services.

    • B.

      WSE supports SOAP messaging using MTOM protocol.

    • C.

      Header route the messages to their destinations

    • D.

      A policy manages message filter by defining their behavior over the Web

    • E.

      WSE provides best practices to build secure Web Services

    Correct Answer(s)
    A. WSE is a class library that allows applying the latest Web Services protocols to Web Services.
    D. A policy manages message filter by defining their behavior over the Web
    E. WSE provides best practices to build secure Web Services
    Explanation
    WSE is a class library that allows applying the latest Web Services protocols to Web Services. This means that WSE provides a set of tools and features that enable developers to implement and utilize the latest protocols and standards for building and consuming web services.

    A policy manages message filter by defining their behavior over the Web. This statement suggests that WSE includes a policy management system that allows developers to define and configure filters for messages, which control their behavior and processing over the web.

    WSE provides best practices to build secure Web Services. This statement implies that WSE offers guidelines and recommendations for building secure web services, ensuring that developers follow industry best practices to protect the integrity and confidentiality of their services.

    Rate this question:

  • 20. 

    Can you match the features of WSE with their corresponding descriptions ?Implements digital signatures and encryption.

    • A.

      Larger Data Transfer

    • B.

      Security

    • C.

      Integration with .NET Framework 2.0

    • D.

      Web Services Hosting Outside IIS

    • E.

      WSE SOAP Messaging

    Correct Answer
    B. Security
    Explanation
    WSE (Web Services Enhancements) is a framework that provides additional security features for web services. It implements digital signatures and encryption to ensure the confidentiality and integrity of data transmitted between web services and clients. By using WSE, developers can enhance the security of their web services by implementing these security measures.

    Rate this question:

  • 21. 

    Can you match the features of WSE with their corresponding descriptions ? Implements the MTOM protocol.

    • A.

      Larger Data Transfer

    • B.

      Security

    • C.

      Integration with .NET Framework 2.0

    • D.

      Web Services Hosting Outside IIS

    • E.

      WSE SOAP Messaging

    Correct Answer
    A. Larger Data Transfer
    Explanation
    The feature of "Larger Data Transfer" refers to the ability of WSE (Web Services Enhancements) to handle and transfer larger amounts of data efficiently. This feature is essential when dealing with large files or datasets that need to be transferred over a network. WSE ensures that the data transfer is optimized and can handle larger payloads without any performance issues.

    Rate this question:

  • 22. 

    Can you match the features of WSE with their corresponding descriptions ?Host ASP.NET Web Services in Windows Forms Applications.

    • A.

      Larger Data Transfer

    • B.

      Security

    • C.

      Integration with .NET Framework 2.0

    • D.

      Web Services Hosting Outside IIS

    • E.

      WSE SOAP Messaging

    Correct Answer
    D. Web Services Hosting Outside IIS
    Explanation
    Web Services Hosting Outside IIS refers to the ability of WSE (Web Services Enhancements) to host ASP.NET Web Services in applications other than Internet Information Services (IIS). This feature allows developers to host their web services in different environments, such as Windows Forms Applications, instead of being limited to hosting them only in IIS.

    Rate this question:

  • 23. 

    Can you match the features of WSE with their corresponding descriptions ?Allows using TCP along with ASP.NET Web Services.

    • A.

      Larger Data Transfer

    • B.

      Security

    • C.

      Integration with .NET Framework 2.0

    • D.

      Web Services Hosting Outside IIS

    • E.

      WSE SOAP Messaging

    Correct Answer
    E. WSE SOAP Messaging
    Explanation
    WSE SOAP Messaging is a feature of WSE (Web Services Enhancements) that allows using TCP along with ASP.NET Web Services. It provides a secure and reliable communication channel for transferring larger amounts of data. Additionally, it integrates with the .NET Framework 2.0 and enables web services hosting outside of IIS.

    Rate this question:

  • 24. 

    Can you match the features of WSE with their corresponding descriptions ?Provides design-time support.

    • A.

      Larger Data Transfer

    • B.

      Security

    • C.

      Integration with .NET Framework 2.0

    • D.

      Web Services Hosting Outside IIS

    • E.

      WSE SOAP Messaging

    Correct Answer
    C. Integration with .NET Framework 2.0
    Explanation
    Integration with .NET Framework 2.0 refers to the feature of WSE that allows it to seamlessly integrate with the .NET Framework 2.0. This integration enables developers to leverage the functionalities and capabilities of the .NET Framework 2.0 while using WSE. It provides access to various libraries, APIs, and tools offered by the .NET Framework 2.0, allowing developers to enhance and extend the functionality of their web services. This integration simplifies the development process and improves the overall performance and reliability of the web services.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Dec 04, 2009
    Quiz Created by
    Vietha
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.