1.
//Unit1Which of the following statements about distributed computing are true and which of the statements are false ?
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.
2.
Can you match the distributed application architectures against their corresponding descriptions ?Includes client sending requests and server processing the requests.
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.
3.
Can you match the distributed application architectures against their corresponding descriptions ?Includes virtual address spaces to handle multiple requests.
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.
4.
Can you match the distributed application architectures against their corresponding descriptions ?Includes connected nodes where each of them acts as client and server.
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.
5.
Can you match the distributed application architectures against their corresponding descriptions ?
Includes executing functions on another address space.
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.
6.
Can you match the distributed application architectures against their corresponding descriptions ?Provides applications with queuing services
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.
7.
Which of the following statements about Web-based applications and Web Services are true and which of the statements are false ?
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.
8.
Can you match the layer of the generic Web Service architecture against their corresponding descriptions ?Provides the data needed by the Web Services.
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.
9.
Can you match the layer of the generic Web Service architecture against their corresponding descriptions ?Maintains data integrity.
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.
10.
Can you match the layer of the generic Web Service architecture against their corresponding descriptions ?Implements the logic of the Web Service.
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.
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.
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.
12.
Can you match the layer of the generic Web Service architecture against their corresponding descriptions ?Accepts the client request and validates it.
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.
13.
Which of the following statements about XML Web Service are true and which of the statements are false ?
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.
14.
Can you match the XML Web Services Infrastructure components against their descriptions ?Uses algorithms to locate an XML Web Service.
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.
15.
Can you match the XML Web Services Infrastructure components against their descriptions ?Provides a central location for publishing XML Web Services.
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.
16.
Can you match the XML Web Services Infrastructure components against their descriptions ?Allow locating the WSDL document.
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.
17.
Can you match the XML Web Services Infrastructure components against their descriptions ?Assists in interacting with an XML Web Service.
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.
18.
Can you match the XML Web Services Infrastructure components against their descriptions ?Consists of UDDI registry.
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.
19.
Which of the statements about WSE are true and which of the statements are false ?
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.
20.
Can you match the features of WSE with their corresponding descriptions ?Implements digital signatures and encryption.
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.
21.
Can you match the features of WSE with their corresponding descriptions ?
Implements the MTOM protocol.
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.
22.
Can you match the features of WSE with their corresponding descriptions ?Host ASP.NET Web Services in Windows Forms Applications.
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.
23.
Can you match the features of WSE with their corresponding descriptions ?Allows using TCP along with ASP.NET Web Services.
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.
24.
Can you match the features of WSE with their corresponding descriptions ?Provides design-time support.
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.