CSE 446 MIDTERM EXAM
QUESTIONS & ANSWERS
(VERIFIED) | LATEST UPDATE |
GRADED A+
QUESTIONS AND ANSWERS
Software integration typically deals with software packages. ANSWER -from
different vendors
A system is a collection of interconnected components defined at these levels: (Select
all that apply). ANSWER --Architecture, -Interface, -Behavior
The endpoints in ASMX and in WCF services are different at programming language
level. However, they are the same at the service level. Their interfaces are both
described in. ANSWER -WSDL
When creating a self-hosting service, the library class ServiceMetadataBehavior is
used for. ANSWER -adding and enabling HTTP GET.
What part of the C# code is used for defining the service contract in the WCF
endpoint?. ANSWER -interface
What are the main reasons of using self-hosting for WCF services, instead of using
server hosting? Select all that apply.. ANSWER --Increased flexibility in starting and
closing a service
-Reduced overhead in managing the services.
,What project template we use for creating the self-hosting service?. ANSWER --
Console Application
What level of behaviors deals with creating multiple instances of a service to process
requests?. ANSWER -Service behaviors
What is the benefit of using asynchronous calls, instead of using synchronous calls?.
ANSWER -Asynchronous calls do not block the callers.
What binding protocol is used for exposing a service RESTful services, instead of
SOAP services?. ANSWER -WebHttpBinding
What type of service instances in WCF allows data sharing among different clients
(different sessions) of a service?. ANSWER -Single
Given a function:
int foo(int x, int y);
What is the appropriate way of expressing the function for asynchronous calls?.
ANSWER -void foo(int x, int y, out int z);
Which of the following statements are correct about HTTP?. ANSWER --HTTP is
Stateless, -HTTP messages are always two ways
What data formats does a WCF RESTful service support to return a set of data
items? Select all that apply.. ANSWER --JSON, -RSS
, When we convert a SOAP service to a RESTful service in WCF, what must be
removed?. ANSWER -The endpoint
What is the application level protocol employed in RESTful services?. ANSWER -
HTTP
A sidecar in a service mesh is. ANSWER -a proxy to a microservice service.
What is NOT a part of a WCF endpoint?. ANSWER -messageType
What are the main reasons of paradigm shift from object orientation to service
orientation? Select all that apply.. ANSWER --Internet provisioning of services, -
Interoperability among different platforms
What concept of service orientation involves most detail?. ANSWER -Service-
Oriented Development
The synchronous communication between the client and server requires. ANSWER -
the client to block-wait for the response.
How are asynchronous communications implemented in WCF? Select all that apply.
ANSWER --A one-way call from client to server, and an independent call back from
the server, -A pair of one-way calls from the client to server.
QUESTIONS & ANSWERS
(VERIFIED) | LATEST UPDATE |
GRADED A+
QUESTIONS AND ANSWERS
Software integration typically deals with software packages. ANSWER -from
different vendors
A system is a collection of interconnected components defined at these levels: (Select
all that apply). ANSWER --Architecture, -Interface, -Behavior
The endpoints in ASMX and in WCF services are different at programming language
level. However, they are the same at the service level. Their interfaces are both
described in. ANSWER -WSDL
When creating a self-hosting service, the library class ServiceMetadataBehavior is
used for. ANSWER -adding and enabling HTTP GET.
What part of the C# code is used for defining the service contract in the WCF
endpoint?. ANSWER -interface
What are the main reasons of using self-hosting for WCF services, instead of using
server hosting? Select all that apply.. ANSWER --Increased flexibility in starting and
closing a service
-Reduced overhead in managing the services.
,What project template we use for creating the self-hosting service?. ANSWER --
Console Application
What level of behaviors deals with creating multiple instances of a service to process
requests?. ANSWER -Service behaviors
What is the benefit of using asynchronous calls, instead of using synchronous calls?.
ANSWER -Asynchronous calls do not block the callers.
What binding protocol is used for exposing a service RESTful services, instead of
SOAP services?. ANSWER -WebHttpBinding
What type of service instances in WCF allows data sharing among different clients
(different sessions) of a service?. ANSWER -Single
Given a function:
int foo(int x, int y);
What is the appropriate way of expressing the function for asynchronous calls?.
ANSWER -void foo(int x, int y, out int z);
Which of the following statements are correct about HTTP?. ANSWER --HTTP is
Stateless, -HTTP messages are always two ways
What data formats does a WCF RESTful service support to return a set of data
items? Select all that apply.. ANSWER --JSON, -RSS
, When we convert a SOAP service to a RESTful service in WCF, what must be
removed?. ANSWER -The endpoint
What is the application level protocol employed in RESTful services?. ANSWER -
HTTP
A sidecar in a service mesh is. ANSWER -a proxy to a microservice service.
What is NOT a part of a WCF endpoint?. ANSWER -messageType
What are the main reasons of paradigm shift from object orientation to service
orientation? Select all that apply.. ANSWER --Internet provisioning of services, -
Interoperability among different platforms
What concept of service orientation involves most detail?. ANSWER -Service-
Oriented Development
The synchronous communication between the client and server requires. ANSWER -
the client to block-wait for the response.
How are asynchronous communications implemented in WCF? Select all that apply.
ANSWER --A one-way call from client to server, and an independent call back from
the server, -A pair of one-way calls from the client to server.