Deck 25: Windows Communication Foundation Wcf Web Services in Vb

ملء الشاشة (f)
exit full mode
سؤال
The JSON format is _________ compared to the XML format.

A) of higher quality
B) more verbose
C) less verbose
D) None of the above
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
To have the same object of a web service class handle all calls to the service, the ServiceBehavior attribute's InstanceContextMode must be set to ___________.

A) PerSession
B) Single
C) PerCall
D) PerInstance
سؤال
An XML data object is converted to a custom type via the process of ____________.

A) deserialization
B) SOAP decoding
C) typecasting
D) None of the above.
سؤال
Once the user's information is stored in a session variable, ______.

A) web methods can return personalized and localized results
B) the application will perform better because less information needs to pass between the client and the server.
C) Both (a) and (b).
D) None of the above.
سؤال
Which is a not requirement of a custom data type to be used in web services

A) Any variables to be accessed during runtime must be declared WebVar.
B) The class with the web methods must provide a Public default constructor.
C) Properties and instance variables that should be serialized must be declared Public.
D) Properties that should be serialized must provide both get and set accessors.
سؤال
In the Web.config file, the service binding in the endpoint element must be set to ________ to support REST-based HTTP requests.

A) webHttpBinding
B) wsHttpBinding
C) basicHttpBinding
D) netHttpBinding
سؤال
SOAP is based on ________.

A) HTML
B) XML
C) HTTP
D) All of the above
سؤال
A WCF web service in Visual Web Developer consists of ________.

A) a code-behind file
B) a Web.config file
C) an SVC file
D) All of the above
سؤال
An application that consumes a SOAP-based web service consists of a ________ class and a ________ application.

A) client, virtual
B) proxy, client
C) virtual, proxy
D) user, proxy
سؤال
REST-based web services differ from SOAP-based web services in that ________.

A) REST operations must be accessed through a web service proxy object
B) REST services are less verbose than SOAP-based services
C) the request and response of REST services are not wrapped in envelopes and are not necessarily in XML format
D) None of the above.
سؤال
The machine on which the web service resides is commonly referred to as the ___________.

A) web service host
B) service machine
C) web machine
D) None of the above.
سؤال
The ________ attribute exposes a class to client access.

A) DataEndpoint
B) DataBinding
C) DataMember
D) DataContract
سؤال
All of the following are key components of a WCF service except:

A) contract
B) operation
C) address
D) binding
سؤال
For a WCF web service to return data in JSON format, WebGet's ResponseFormat property must be set to ________.

A) WebMessageFormat.Json
B) MessageFormat.Json
C) an SVC file
D) All of the above
سؤال
Each SOAP call is packaged in an XML message called a SOAP _________

A) envelope
B) packet
C) transfer
D) None of the above
سؤال
JSON is a text-based data-interchange format used to represent objects in JavaScript as collections of _________ represented as strings.

A) data/format pairs
B) primary key/data rows
C) definition/key pairs
D) name/value pairs
سؤال
Each operation in a RESTful web service is identified by a unique _________.

A) URL
B) proxy object
C) interface
D) None of the above
سؤال
Which of the following is false

A) WCF is a set of technologies for building distributed systems in which system components communicate with one another over networks.
B) Since WCF is a common framework for all communication between systems, it allows you to learn only one programming model to use WCF.
C) Web services promote software reusability in distributed systems that typically execute across the Internet.
D) Web services allow its methods to be called by methods on other machines via different data formats and protocols.
سؤال
The ________ attribute maps a method to a unique URL that can be accessed via an HTTP GET operation programmatically or in a web browser.

A) OperationContract
B) WebGet
C) OperationBinding
D) UriTemplate
سؤال
A web service's methods can be called by methods on other machines using ___________.

A) Representational State Transfer (REST) architecture
B) Simple Object Access Protocol
C) Both (a) and (b).
D) None of the above.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/20
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 25: Windows Communication Foundation Wcf Web Services in Vb
1
The JSON format is _________ compared to the XML format.

A) of higher quality
B) more verbose
C) less verbose
D) None of the above
C
2
To have the same object of a web service class handle all calls to the service, the ServiceBehavior attribute's InstanceContextMode must be set to ___________.

A) PerSession
B) Single
C) PerCall
D) PerInstance
B
3
An XML data object is converted to a custom type via the process of ____________.

A) deserialization
B) SOAP decoding
C) typecasting
D) None of the above.
A
4
Once the user's information is stored in a session variable, ______.

A) web methods can return personalized and localized results
B) the application will perform better because less information needs to pass between the client and the server.
C) Both (a) and (b).
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
5
Which is a not requirement of a custom data type to be used in web services

A) Any variables to be accessed during runtime must be declared WebVar.
B) The class with the web methods must provide a Public default constructor.
C) Properties and instance variables that should be serialized must be declared Public.
D) Properties that should be serialized must provide both get and set accessors.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
6
In the Web.config file, the service binding in the endpoint element must be set to ________ to support REST-based HTTP requests.

A) webHttpBinding
B) wsHttpBinding
C) basicHttpBinding
D) netHttpBinding
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
7
SOAP is based on ________.

A) HTML
B) XML
C) HTTP
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
8
A WCF web service in Visual Web Developer consists of ________.

A) a code-behind file
B) a Web.config file
C) an SVC file
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
9
An application that consumes a SOAP-based web service consists of a ________ class and a ________ application.

A) client, virtual
B) proxy, client
C) virtual, proxy
D) user, proxy
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
10
REST-based web services differ from SOAP-based web services in that ________.

A) REST operations must be accessed through a web service proxy object
B) REST services are less verbose than SOAP-based services
C) the request and response of REST services are not wrapped in envelopes and are not necessarily in XML format
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
11
The machine on which the web service resides is commonly referred to as the ___________.

A) web service host
B) service machine
C) web machine
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
12
The ________ attribute exposes a class to client access.

A) DataEndpoint
B) DataBinding
C) DataMember
D) DataContract
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
13
All of the following are key components of a WCF service except:

A) contract
B) operation
C) address
D) binding
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
14
For a WCF web service to return data in JSON format, WebGet's ResponseFormat property must be set to ________.

A) WebMessageFormat.Json
B) MessageFormat.Json
C) an SVC file
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
15
Each SOAP call is packaged in an XML message called a SOAP _________

A) envelope
B) packet
C) transfer
D) None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
16
JSON is a text-based data-interchange format used to represent objects in JavaScript as collections of _________ represented as strings.

A) data/format pairs
B) primary key/data rows
C) definition/key pairs
D) name/value pairs
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
17
Each operation in a RESTful web service is identified by a unique _________.

A) URL
B) proxy object
C) interface
D) None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
18
Which of the following is false

A) WCF is a set of technologies for building distributed systems in which system components communicate with one another over networks.
B) Since WCF is a common framework for all communication between systems, it allows you to learn only one programming model to use WCF.
C) Web services promote software reusability in distributed systems that typically execute across the Internet.
D) Web services allow its methods to be called by methods on other machines via different data formats and protocols.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
19
The ________ attribute maps a method to a unique URL that can be accessed via an HTTP GET operation programmatically or in a web browser.

A) OperationContract
B) WebGet
C) OperationBinding
D) UriTemplate
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
20
A web service's methods can be called by methods on other machines using ___________.

A) Representational State Transfer (REST) architecture
B) Simple Object Access Protocol
C) Both (a) and (b).
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.